Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1464768 Details for
Bug 1604993
nodejs-mock-fs: FTBFS in Fedora rawhide
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
build.log (text/plain), 32.00 KB, created by
Mohan Boddu
on 2018-07-20 01:32:09 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Mohan Boddu
Created:
2018-07-20 01:32:09 UTC
Size:
32.00 KB
patch
obsolete
>(async) > â includes size in bytes (async) > â includes size in bytes (sync) > â includes non-zero size for directories > #readdir() > â calls callback with file list > â accepts "buffer" encoding > â returns a file list (sync) > â calls callback with file list for symbolic linked dir > â calls callback with file list for link to symbolic linked dir > â calls callback with file list for symbolic linked dir (sync) > â calls callback with error for bogus dir > â calls callback with error for file path > â calls callback with error for dead symbolic link > â calls callback with error for symbolic link to file > â calls callback with error for link to symbolic link to file > #open() > â creates a file descriptor for reading (r) > â generates error if file does not exist (r) > â creates a file descriptor for reading and writing (r+) > â does not truncate (r+) > â generates error if file does not exist (r+) > â creates a file descriptor for reading (rs) > â generates error if file does not exist (rs) > â creates a file descriptor for reading and writing (rs+) > â generates error if file does not exist (rs+) > â opens a new file for writing (w) > â truncates an existing file for writing (w) > â generates error if file exists (wx) > â opens a new file for reading and writing (w+) > â truncates an existing file for writing (w+) > â opens a new file for reading and writing (wx+) > â generates error if file exists (wx+) > â opens a new file for appending (a) > â opens an existing file for appending (a) > â opens a new file for appending (ax) > â generates error if file exists (ax) > â opens a new file for appending and reading (a+) > â opens an existing file for appending and reading (a+) > â opens a new file for appending and reading (ax+) > â opens an existing file for appending and reading (ax+) > #close() > â closes an existing file descriptor > â fails for closed file descriptor > #read() > â reads from a file > â interprets null position as current position > â reads from a symbolic link > â reads from a deeply linked symlink > â throws if not open for reading > #write() > â writes to a file > â can overwrite a file > â can append to a file > â can overwrite part of a file > â throws if not open for writing > #writeBuffers() > â writes to a file > â can append to a file > â can overwrite part of a file > â throws if not open for writing > #rename() > â allows files to be renamed > â allows files to be renamed (sync) > â replaces existing files (sync) > â allows directories to be renamed > â allows directories to be renamed (sync) > â calls callback with error for bogus old path > â calls callback with error for file->dir rename > â calls callback with error for dir->file rename > #mkdir() > â creates a new directory > â fails if parent does not exist > â fails if directory exists > â fails if file exists > #mkdtemp() > â creates a new directory > â fails if parent does not exist > â fails if file exists > #rmdir() > â removes an empty directory > â fails if directory is not empty > â fails if directory does not exist > â fails if a file exists > #ftruncate() > â truncates a file > â fails if directory > â fails if not open for writing > #chown() > â sets the uid and gid for a file > â sets the uid and gid for a directory > #fchown() > â sets the uid and gid for a file > â sets the uid and gid for a directory > #chmod() > â sets the mode for a file > â sets the mode for a directory > #fchmod() > â sets the mode for a file > â sets the mode for a directory > #unlink() > â deletes a file > â fails for directory > â fails for bogus path > #utimes() > â updates atime and mtime for a file > â updates atime and mtime for a directory > â fails for a bogus path > #futimes() > â updates atime and mtime for a file > â updates atime and mtime for a directory > #fsync() > â synchronize file state (noop) > â fails for closed file descriptor > #fdatasync() > â synchronize file state (noop) > â fails for closed file descriptor > #link() > â creates a link to a file > â fails if dest exists > â fails if source is directory > #symlink() > â creates a symbolic link to a file > â fails if dest exists > â works if source is directory > #readlink() > â reads the symbolic link > â can return "buffer" encoding > â fails for regular files > â fails for directories > â fails for bogus paths > #lstat() > â stats symbolic links > #access() > â works if file exists > â throws for dead link > â fails in case of insufficient user permissions > â fails in case of insufficient group permissions > â fails in case of insufficient permissions > â fails for bogus paths > FileDescriptor > constructor > â creates a new descriptor > #getPosition() > â returns zero by default > #setPosition() > â updates the position > #isAppend() > â not opened for appending (r) > â not opened for appending (r+) > â not opened for appending (rs) > â not opened for appending (rs+) > â not opened for appending (w) > â not opened for appending (wx) > â not opened for appending (w+) > â not opened for appending (wx+) > â opened for appending (a) > â opened for appending (ax) > â opened for appending (a+) > â opened for appending (ax+) > #isTruncate() > â not opened for truncating (r) > â not opened for truncating (r+) > â not opened for truncating (rs) > â not opened for truncating (rs+) > â opened for truncating (w) > â opened for truncating (wx) > â opened for truncating (w+) > â opened for truncating (wx+) > â not opened for truncating (a) > â not opened for truncating (ax) > â not opened for truncating (a+) > â not opened for truncating (ax+) > #isCreate() > â not opened for creation (r) > â not opened for creation (r+) > â not opened for creation (rs) > â not opened for creation (rs+) > â opened for creation (w) > â opened for creation (wx) > â opened for creation (w+) > â opened for creation (wx+) > â opened for creation (a) > â opened for creation (ax) > â opened for creation (a+) > â opened for creation (ax+) > #isRead() > â opened for reading (r) > â opened for reading (r+) > â opened for reading (rs) > â opened for reading (rs+) > â not opened for reading (w) > â not opened for reading (wx) > â opened for reading (w+) > â opened for reading (wx+) > â not opened for reading (a) > â not opened for reading (ax) > â opened for reading (a+) > â opened for reading (ax+) > #isWrite() > â not opened for writing (r) > â opened for writing (r+) > â not opened for writing (rs) > â opened for writing (rs+) > â opened for writing (w) > â opened for writing (wx) > â opened for writing (w+) > â opened for writing (wx+) > â opened for writing (a) > â opened for writing (ax) > â opened for writing (a+) > â opened for writing (ax+) > #isExclusive() > â not opened exclusive (r) > â not opened exclusive (r+) > â not opened exclusive (rs) > â not opened exclusive (rs+) > â not opened exclusive (w) > â opened exclusive (wx) > â not opened exclusive (w+) > â opened exclusive (wx+) > â not opened exclusive (a) > â opened exclusive (ax) > â not opened exclusive (a+) > â opened exclusive (ax+) > Directory > constructor > â creates a named directory > #addItem() > â allows a directory to be added > â allows a file to be added > â returns the added item > #getItem() > â retrieves a named directory > â retrieves a named file > â returns null for missing item > #removeItem() > â allows a directory to be removed > â allows a file to be removed > â throws if item is not a child > #list() > â lists all items in a directory > â works for empty dir > â lists one level deep > File > constructor > â creates a named file > #getContent() > â gets the file content > â is initially empty > â updates the atime > #setContent() > â accepts a string > â accepts a buffer > â throws for other types > â updates the ctime and mtime > FileSystem > constructor > â creates a new instance > â accepts a createCwd option > â accepts a createTmp option > #getRoot() > â gets the root directory > #getItem() > â gets an item > â returns null if not found > â gets an item traversing links to symbolic links > FileSystem.file > â creates a factory for files > â accepts a content member > FileSystem.directory > â creates a factory for directories > FileSystem.create > â provides a convenient way to populate a file system > â passes options to the FileSystem constructor > â accepts file factory > â accepts file factory with uid & gid > â accepts directory factory > â accepts directory factory with uid & gid > â accepts directory factory with additional items > â correctly generates link counts > â throws if item content is not valid type > The API > mock() > â configures the real fs module with a mock file system > â provides direct access to the internal filesystem object > â creates process.cwd() and os.tmpdir() by default > â passes the createCwd option to the FileSystem constructor > â passes the createTmp option to the FileSystem constructor > - uses the real fs module in require() calls > mock.restore() > â restores bindings for the real file system > mock.file() > 3) lets you create files with additional properties > mock.directory() > 4) lets you create directories with more properties > â works with a trailing slash > â works without a trailing slash > mock.symlink() > â lets you create symbolic links > mock.fs() > - generates a mock fs module with a mock file system > - passes options to the FileSystem constructor > - accepts an arbitrary nesting of files and directories > Mocking the file system > fs.access(path[, mode], callback) > â works for an accessible file > â works 000 (and no mode arg) > â works F_OK and 000 > â generates EACCES for R_OK and 000 > â generates EACCES for W_OK and 000 > â generates EACCES for X_OK and 000 > â works 111 (and no mode arg) > â works F_OK and 111 > â works X_OK and 111 > â generates EACCES for R_OK and 111 > â generates EACCES for W_OK and 111 > â works for 222 (and no mode arg) > â works F_OK and 222 > â works W_OK and 222 > â generates EACCES for R_OK and 222 > â generates EACCES for X_OK and 222 > â works for 333 (and no mode arg) > â works F_OK and 333 > â works W_OK and 333 > â works X_OK and 333 > â works X_OK | W_OK and 333 > â generates EACCES for R_OK and 333 > â works for 444 (and no mode arg) > â works F_OK and 444 > â works R_OK and 444 > â generates EACCES for W_OK and 444 > â generates EACCES for X_OK and 444 > â works for 555 (and no mode arg) > â works F_OK and 555 > â works R_OK and 555 > â works X_OK and 555 > â works R_OK | X_OK and 555 > â generates EACCES for W_OK and 555 > â works for 666 (and no mode arg) > â works F_OK and 666 > â works R_OK and 666 > â works W_OK and 666 > â works R_OK | W_OK and 666 > â generates EACCES for X_OK and 666 > â works for 777 (and no mode arg) > â works F_OK and 777 > â works R_OK and 777 > â works W_OK and 777 > â works X_OK and 777 > â works X_OK | W_OK and 777 > â works X_OK | R_OK and 777 > â works R_OK | W_OK and 777 > â works R_OK | W_OK | X_OK and 777 > â generates EACCESS for F_OK and an unreadable parent > fs.accessSync(path[, mode]) > â works for an accessible file > â throws EACCESS for broken link > â throws ELOOP for circular link > â throws EACCESS for all but F_OK for 000 > fs.rename(oldPath, newPath, callback) > â allows files to be renamed > â updates mtime of parent directory > â calls callback with error if old path does not exist > â overwrites existing files > â allows directories to be renamed > â calls callback with error if new directory not empty > fs.renameSync(oldPath, newPath) > â allows files to be renamed > â overwrites existing files > â allows directories to be renamed > â replaces existing directories (if empty) > â renames symbolic links > â throws if old path does not exist > â throws if new path basename is not directory > â throws if new dir is not empty dir > fs.stat(path, callback) > - creates an instance of fs.Stats > 5) identifies files > 6) identifies directories > 7) provides file stats > 8) provides directory stats > fs.fstat(fd, callback) > 9) accepts a file descriptor for a file (r) > 10) accepts a file descriptor for a directory (r) > 11) fails for bad file descriptor > fs.fstatSync(fd) > â accepts a file descriptor for a file (r) > â accepts a file descriptor for a directory (r) > â fails for bad file descriptor > fs.exists(path, callback) > â calls with true if file exists > â calls with true if directory exists > â calls with true if empty directory exists > â calls with true if nested directory exists > â calls with true if file exists > â calls with true if empty file exists > â calls with false for bogus path > â calls with false for bogus path (II) > fs.existsSync(path) > â returns true if file exists > â returns true if directory exists > â returns true if empty directory exists > â returns true if nested directory exists > â returns true if file exists > â returns true if empty file exists > â returns false for bogus path > â returns false for bogus path (II) > fs.readdirSync(path) > â lists directory contents > â lists nested directory contents > â throws for bogus path > fs.readdir(path, callback) > â lists directory contents > â lists nested directory contents > â calls with an error for bogus path > fs.readdirSync(path) > â lists directory contents > â lists nested directory contents > â throws for bogus path > fs.open(path, flags, [mode], callback) > â opens an existing file for reading (r) > â fails if file does not exist (r) > â creates a new file for writing (w) > â opens an existing file for writing (w) > â fails if file exists (wx) > fs.openSync(path, flags, [mode]) > â opens an existing file for reading (r) > â fails if file does not exist (r) > â creates a new file for writing (w) > â opens an existing file for writing (w) > â fails if file exists (wx) > fs.close(fd, callback) > â closes a file descriptor > â fails for closed file descriptors > fs.closeSync(fd) > â closes a file descriptor > â fails for closed file descriptors > fs.read(fd, buffer, offset, length, position, callback) > â allows file contents to be read > â allows file contents to be read w/ offset > â allows file contents to be read w/ length > â allows file contents to be read w/ offset & length > â allows file contents to be read w/ position > â allows read w/ offset, length, & position > â fails for closed file descriptor > â fails if not open for reading > fs.readSync(fd, buffer, offset, length, position) > â allows a file to be read synchronously > â allows a file to be read in two parts > â treats null position as current position > fs.readFile(filename, [options], callback) > 12) allows a file to be read asynchronously > 13) fails for directory > â fails for bad path > fs.readFileSync(filename, [options]) > â allows a file to be read synchronously > â fails for directory > â fails for bad path > fs.write(fd, buffer, offset, length, position, callback) > â writes a buffer to a file > â can write a portion of a buffer to a file > â can append to a file > â fails if file not open for writing > fs.writeSync(fd, buffer, offset, length, position) > â writes a buffer to a file > â can write a portion of a buffer to a file > â can append to a file > â fails if file not open for writing > fs.write(fd, data[, position[, encoding]], callback) > â writes a string to a file > â can append to a file > â fails if file not open for writing > fs.writeSync(fd, data[, position[, encoding]]) > â writes a string to a file > â can append to a file > â fails if file not open for writing > fs.writeFile(filename, data, [options], callback) > â writes a string to a file > â updates mtime of parent directory > â writes a buffer to a file > â fails if directory does not exist > fs.writeFileSync(filename, data, [options] > â writes a string to a file > â writes a buffer to a file > â fails if directory does not exist > fs.appendFile(filename, data, [options], callback) > â writes a string to a new file > â appends a string to an existing file > â appends a buffer to a file > â appends via a symbolic link file > â fails if directory does not exist > fs.appendFileSync(filename, data, [options] > â writes a string to a new file > â appends a string to an existing file > â fails if directory does not exist > fs.mkdir(path, [mode], callback) > â creates a new directory > â accepts dir mode > â fails if parent does not exist > â fails if directory already exists > â fails if parent is not writeable > â calls callback with a single argument on success > â calls callback with a single argument on failure > fs.mkdirSync(path, [mode]) > â creates a new directory > â accepts dir mode > â fails if parent does not exist > â fails if directory already exists > â fails if file already exists > â fails if parent is not writeable > fs.mkdtemp(prefix[, options], callback) > â creates a new directory > â accepts a "utf8" encoding argument > â accepts a "buffer" encoding argument > â accepts an options argument with "utf8" encoding > â accepts an options argument with "buffer" encoding > â fails if parent does not exist > â fails if parent is a file > â fails if parent is not writeable > fs.mkdtempSync(prefix[, options]) > â creates a new directory > â accepts a "utf8" encoding argument > â accepts a "buffer" encoding argument > â accepts an options argument with "utf8" encoding > â accepts an options argument with "buffer" encoding > â fails if parent does not exist > â fails if parent is a file > â fails if parent is not writeable > fs.rmdir(path, callback) > â removes an empty directory > â fails if not empty > â fails if parent is not writeable > fs.rmdirSync(path) > â removes an empty directory > â fails if directory does not exist > â fails if not empty > â fails if file > â fails if parent is not writeable > fs.chown(path, uid, gid, callback) > â changes ownership of a file > â fails if file does not exist > fs.chownSync(path, uid, gid) > â changes ownership of a file > â fails if file does not exist > fs.fchown(fd, uid, gid, callback) > â changes ownership of a file > fs.fchownSync(fd, uid, gid) > â changes ownership of a file > fs.chmod(path, mode, callback) > â changes permissions of a file > â fails if file does not exist > fs.chmodSync(path, mode) > â changes permissions of a file > â fails if file does not exist > fs.fchmod(fd, mode, callback) > â changes permissions of a file > fs.fchmodSync(fd, mode) > â changes permissions of a file > fs.unlink(path, callback) > â deletes a file > â updates mtime of parent > â fails for a directory > â respects previously opened file descriptors > fs.unlinkSync(path) > â deletes a file > â respects previously opened file descriptors > fs.utimes(path, atime, mtime, callback) > â updates timestamps for a file > â updates timestamps for a directory > â fails for a bogus path > fs.utimesSync(path, atime, mtime) > â updates timestamps for a file > fs.futimes(fd, atime, mtime, callback) > â updates timestamps for a file > â updates timestamps for a directory > fs.futimesSync(path, atime, mtime) > â updates timestamps for a file > fs.link(srcpath, dstpath, callback) > â creates a link to a file > â works if original is renamed > â works if original is removed > â fails if original is a directory > fs.linkSync(srcpath, dstpath) > â creates a link to a file > â works if original is renamed > â works if original is removed > â fails if original is a directory > fs.symlink(srcpath, dstpath, [type], callback) > â creates a symbolic link to a file > â breaks if original is renamed > â works if original is a directory > fs.symlinkSync(srcpath, dstpath, [type]) > â creates a symbolic link to a file > â breaks if original is renamed > â works if original is a directory > fs.readlink(path, callback) > â reads a symbolic link > â fails for regular files > fs.readlinkSync(path) > â reads a symbolic link > â fails for regular files > fs.lstat(path, callback) > 14) stats a symbolic link > 15) stats a regular file > fs.lstatSync(path) > â stats a symbolic link > â stats a regular file > fs.realpath(path, [cache], callback) > 16) resolves the real path for a symbolic link > 17) resolves the real path regular file > fs.createReadStream(path, [options]) > â creates a readable stream > 18) allows piping to a writable stream > fs.createWriteStream(path[, options]) > 19) provides a write stream for a file > 20) works when write stream is corked > process.cwd() > â maintains current working directory > â allows changing directory > â prevents changing directory to non-existent path > â prevents changing directory to non-directory path > â restores original methods on restore > â restores original working directory on restore > security > â denies dir listing without execute on parent > â denies file read without execute on parent > â denies file read without read on file > â denies file write without write on file > Item > constructor > â creates a new instance > #getATime() > â returns a date > #setATime() > â sets the atime > #getCTime() > â returns a date > #setCTime() > â sets the ctime > #getBirthtime() > â returns a date > #setBirthtime() > â sets the birthtime > #getMTime() > â returns a date > #setMTime() > â sets the mtime > #getMode() > â returns a number > #setMode() > â sets the mode > â updates the ctime > #setUid() > â sets the uid > â updates the ctime > #setGid() > â sets the gid > â updates the ctime > #canRead() > â returns true if owner and 0700 > â returns true if owner and 0600 > â returns true if owner and 0500 > â returns true if owner and 0400 > â returns false if owner and 0300 > â returns false if owner and 0200 > â returns false if owner and 0100 > â returns false if not owner and 0700 (different user) > â returns false if not owner and 0700 (different group) > â returns false if owner and 0170 > â returns true if in group and 0170 > â returns false if not in group and 0770 > â returns true if not in group and 0777 > #canWrite() > â returns true if owner and 0700 > â returns true if owner and 0600 > â returns false if owner and 0500 > â returns false if owner and 0400 > â returns true if owner and 0300 > â returns true if owner and 0200 > â returns false if owner and 0100 > â returns false if not owner and 0700 (different user) > â returns false if not owner and 0700 (different group) > â returns false if owner and 0170 > â returns true if in group and 0170 > â returns false if not in group and 0770 > â returns true if not in group and 0777 > #canExecute() > â returns true if owner and 0700 > â returns false if owner and 0600 > â returns true if owner and 0500 > â returns false if owner and 0400 > â returns true if owner and 0300 > â returns false if owner and 0200 > â returns true if owner and 0100 > â returns false if not owner and 0700 (different user) > â returns false if not owner and 0700 (different group) > â returns false if owner and 0270 > â returns true if in group and 0270 > â returns false if not in group and 0770 > â returns true if not in group and 0777 > 575 passing (34s) > 5 pending > 20 failing > 1) count(dir, callback) counts files in a directory: > Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test. > > 2) count(dir, callback) counts files in another directory: > Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test. > > 3) The API mock.file() lets you create files with additional properties: > Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test. > > 4) The API mock.directory() lets you create directories with more properties: > Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test. > > 5) Mocking the file system fs.stat(path, callback) identifies files: > Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test. > > 6) Mocking the file system fs.stat(path, callback) identifies directories: > Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test. > > 7) Mocking the file system fs.stat(path, callback) provides file stats: > Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test. > > 8) Mocking the file system fs.stat(path, callback) provides directory stats: > Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test. > > 9) Mocking the file system fs.fstat(fd, callback) accepts a file descriptor for a file (r): > Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test. > > 10) Mocking the file system fs.fstat(fd, callback) accepts a file descriptor for a directory (r): > Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test. > > 11) Mocking the file system fs.fstat(fd, callback) fails for bad file descriptor: > Error: EBADF, bad file descriptor > at Binding._getDescriptorById (lib/binding.js:223:11) > at Binding.<anonymous> (lib/binding.js:366:27) > at maybeCallback (lib/binding.js:53:17) > at Binding.fstat (lib/binding.js:365:10) > at Object.fstat (fs.js:771:11) > at Context.<anonymous> (test/lib/index.spec.js:873:10) > 12) Mocking the file system fs.readFile(filename, [options], callback) allows a file to be read asynchronously: > Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test. > > 13) Mocking the file system fs.readFile(filename, [options], callback) fails for directory: > Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test. > > 14) Mocking the file system fs.lstat(path, callback) stats a symbolic link: > Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test. > > 15) Mocking the file system fs.lstat(path, callback) stats a regular file: > Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test. > > 16) Mocking the file system fs.realpath(path, [cache], callback) resolves the real path for a symbolic link: > Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test. > > 17) Mocking the file system fs.realpath(path, [cache], callback) resolves the real path regular file: > Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test. > > 18) Mocking the file system fs.createReadStream(path, [options]) allows piping to a writable stream: > Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test. > > 19) Mocking the file system fs.createWriteStream(path[, options]) provides a write stream for a file: > Error: EBADF, bad file descriptor > at Binding.<anonymous> (lib/binding.js:505:13) > at maybeCallback (lib/binding.js:41:18) > at Binding.writeBuffers (lib/binding.js:502:10) > at writev (internal/fs/streams.js:297:3) > at WriteStream._writev (internal/fs/streams.js:320:3) > at doWrite (_stream_writable.js:408:12) > at clearBuffer (_stream_writable.js:517:5) > at onwrite (_stream_writable.js:465:7) > at fs.write (internal/fs/streams.js:281:5) > at FSReqWrap.wrapper [as oncomplete] (fs.js:509:5) > at lib/binding.js:49:9 > at process._tickCallback (internal/process/next_tick.js:61:11) > 20) Mocking the file system fs.createWriteStream(path[, options]) works when write stream is corked: > Error: EBADF, bad file descriptor > at Binding.<anonymous> (lib/binding.js:505:13) > at maybeCallback (lib/binding.js:41:18) > at Binding.writeBuffers (lib/binding.js:502:10) > at writev (internal/fs/streams.js:297:3) > at WriteStream._writev (internal/fs/streams.js:320:3) > at WriteStream.<anonymous> (internal/fs/streams.js:304:12) > at fs.open (internal/fs/streams.js:255:10) > at FSReqWrap.oncomplete (fs.js:145:20) > at lib/binding.js:49:9 > at process._tickCallback (internal/process/next_tick.js:61:11) >error: Bad exit status from /var/tmp/rpm-tmp.LHpcOd (%check) > Bad exit status from /var/tmp/rpm-tmp.LHpcOd (%check) >RPM build errors: >Child return code was: 1 >EXCEPTION: [Error()] >Traceback (most recent call last): > File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 89, in trace > result = func(*args, **kw) > File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 582, in do > raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) >mockbuild.exception.Error: Command failed. See logs for output. > # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/nodejs-mock-fs.spec
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1604993
: 1464768 |
1464769
|
1464770