Repository navigation
Consistent ARM test failures: test-fs-readfile{sync}-pipe-large #2261
Copy link
Copy link
Closed
Labels
armIssues and PRs related to the ARM architecture.Issues and PRs related to the ARM architecture.testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.
Description
Been consistently getting these on the ARM CI machines (pi1 and pi2):
not ok 242 - test-fs-readfile-pipe-large.js
# { [Error: Command failed: /bin/sh -c cat /home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/tmp.0/readfile_pipe_large_test.txt | "/home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/out/Release/iojs" "/home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/parallel/test-fs-readfile-pipe-large.js" child
# /home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/common.js:34
# throw e;
# ^
# Error: ENOTEMPTY: directory not empty, rmdir '/home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/tmp.0'
# at Error (native)
# at Object.fs.rmdirSync (fs.js:763:18)
# at rmdirSync (/home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/common.js:49:10)
# at rimrafSync (/home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/common.js:25:7)
# at Object.exports.refreshTmpDir (/home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/common.js:55:3)
# at Object.<anonymous> (/home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/parallel/test-fs-readfile-pipe-large.js:17:8)
# at Module._compile (module.js:430:26)
# at Object.Module._extensions..js (module.js:448:10)
# at Module.load (module.js:355:32)
# at Function.Module._load (module.js:310:12)
# cat: write error: Broken pipe
# ]
# killed: false,
# code: 1,
# signal: null,
# cmd: '/bin/sh -c cat /home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/tmp.0/readfile_pipe_large_test.txt | "/home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/out/Release/iojs" "/home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/parallel/test-fs-readfile-pipe-large.js" child' }
#
# assert.js:89
# throw new assert.AssertionError({
# ^
# AssertionError: it exits normally
# at /home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/parallel/test-fs-readfile-pipe-large.js:34:3
# at ChildProcess.exithandler (child_process.js:204:5)
# at emitTwo (events.js:87:13)
# at ChildProcess.emit (events.js:172:7)
# at maybeClose (internal/child_process.js:764:16)
# at Socket.<anonymous> (internal/child_process.js:319:11)
# at emitOne (events.js:77:13)
# at Socket.emit (events.js:169:7)
# at Pipe._onclose (net.js:468:12)
not ok 245 - test-fs-readfilesync-pipe-large.js
# { [Error: Command failed: /bin/sh -c cat /home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/tmp.0/readfilesync_pipe_large_test.txt | "/home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/out/Release/iojs" "/home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/parallel/test-fs-readfilesync-pipe-large.js" child
# /home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/common.js:34
# throw e;
# ^
# Error: ENOTEMPTY: directory not empty, rmdir '/home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/tmp.0'
# at Error (native)
# at Object.fs.rmdirSync (fs.js:763:18)
# at rmdirSync (/home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/common.js:49:10)
# at rimrafSync (/home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/common.js:25:7)
# at Object.exports.refreshTmpDir (/home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/common.js:55:3)
# at Object.<anonymous> (/home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/parallel/test-fs-readfilesync-pipe-large.js:17:8)
# at Module._compile (module.js:430:26)
# at Object.Module._extensions..js (module.js:448:10)
# at Module.load (module.js:355:32)
# at Function.Module._load (module.js:310:12)
# cat: write error: Broken pipe
# ]
# killed: false,
# code: 1,
# signal: null,
# cmd: '/bin/sh -c cat /home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/tmp.0/readfilesync_pipe_large_test.txt | "/home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/out/Release/iojs" "/home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/parallel/test-fs-readfilesync-pipe-large.js" child' }
#
# assert.js:89
# throw new assert.AssertionError({
# ^
# AssertionError: it exits normally
# at /home/iojs/build/workspace/iojs+pr+arm/nodes/pi1-raspbian-wheezy/test/parallel/test-fs-readfilesync-pipe-large.js:31:3
# at ChildProcess.exithandler (child_process.js:204:5)
# at emitTwo (events.js:87:13)
# at ChildProcess.emit (events.js:172:7)
# at maybeClose (internal/child_process.js:764:16)
# at Socket.<anonymous> (internal/child_process.js:319:11)
# at emitOne (events.js:77:13)
# at Socket.emit (events.js:169:7)
# at Pipe._onclose (net.js:468:12)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
armIssues and PRs related to the ARM architecture.Issues and PRs related to the ARM architecture.testIssues and PRs related to Node.js core tests and test infrastructure.Issues and PRs related to Node.js core tests and test infrastructure.
Activity
Fishrock123 commentedon Jul 28, 2015
cc @nodejs/platform-arm
bnoordhuis commentedon Jul 29, 2015
I think I know what's causing it. If https://jenkins-iojs.nodesource.com/job/iojs+pr+arm/192/ comes out green, I'll file a pull request.
test: fix fs.readFile('/dev/stdin') tests
thefourtheye commentedon Jul 29, 2015
Can this be closed now?
cjihrig commentedon Jul 29, 2015
Yes, closed by bc733f7.