GeezerVison is showing github.com — Intermittent tty timeouts on AIX · Issue #1820 · nodejs/build
Intermittent tty timeouts on AIX #1820DescriptionWe have a different but intermittent problem on AIX:
https://ci.nodejs.org/job/node-test-commit-aix/nodes=aix61-ppc64/23617/console
08:32:35 ok 2550 pseudo-tty/test-async-wrap-getasyncid-tty
08:32:35 ---
08:32:35 duration_ms: 0.166
08:32:35 ...
08:42:35 Build timed out (after 10 minutes). Marking the build as failed.
08:42:35 gmake[1]: *** [test-ci] Terminated
https://ci.nodejs.org/job/node-test-commit-aix/nodes=aix61-ppc64/23618/console
09:35:15 ok 2550 pseudo-tty/test-async-wrap-getasyncid-tty
09:35:15 ---
09:35:15 duration_ms: 0.176
09:35:15 ...
09:45:15 Build timed out (after 10 minutes). Marking the build as failed.
09:45:15 gmake[1]: *** [test-ci] Terminated
https://ci.nodejs.org/job/node-test-commit-aix/nodes=aix61-ppc64/23622/console
11:38:22 ok 2539 message/vm_dont_display_syntax_error
11:38:22 ---
11:38:22 duration_ms: 0.110
11:38:22 ...
11:48:22 Build timed out (after 10 minutes). Marking the build as failed.
11:48:23 gmake[1]: *** [test-ci] Terminated
easy to reproduce:
> su iojs
> cd /home/iojs/build/workspace/node-test-commit-aix/nodes/aix61-ppc64
> NODE_NAME=test-osuosl-aix61-ppc64_be-3 . build/jenkins/scripts/select-compiler.sh
> python tools/test.py pseudo-tty/console-dumb-tty
or
python -m trace -t tools/test.py --report pseudo-tty
to see a trace of all lines. Seems like there's an issue with sub-process spawning and ptty, since the process stalls on:
test.py(648): if faketty:
test.py(649): os.close(rest['stdout'])
where rest['stdout'] is fd_out created by (out_master, fd_out) = pty.openpty()
Originally posted by @refack in #1815 (comment) Activityrichardlau commented on Jun 4, 2019 mhdawson commented on Jun 5, 2019 sam-github commented on Jun 5, 2019 Nope, first I've heard of it.
I seem to recall that years ago, during the first ports to AIX, that there was a problem with python involving ptys. @gireeshpunathil or @richardlau, you were around then, do you remember this? richardlau commented on Jun 5, 2019
Nope, first I've heard of it.
I seem to recall that years ago, during the first ports to AIX, that there was a problem with python involving ptys. @gireeshpunathil or @richardlau, you were around then, do you remember this?
I think it was the nodejs/node#9728 I referenced earlier. sam-github commented on Jun 5, 2019 @refack just to be clear, python tools/test.py --report pseudo-tty is how to repro the issue, but its not what we are actually doing in CI? I ask, because if we were doing that, a possible workaround would be to just stop using --report pseudo-tty. refack commented on Jun 5, 2019 ContributorAuthor More actions @sam-github, yes.
--report pseudo-tty are two independent args --report is just informative, pseudo-tty is a positional arg telling the harness which suite to run.
I updated the recipe to:
> su iojs
> cd /home/iojs/build/workspace/node-test-commit-aix/nodes/aix61-ppc64
> NODE_NAME=test-osuosl-aix61-ppc64_be-3 . build/jenkins/scripts/select-compiler.sh
> python tools/test.py pseudo-tty/console-dumb-tty refack commented on Jun 5, 2019 Author show commentMore actions sam-github commented on Jun 6, 2019 richardlau commented on Jun 6, 2019 mhdawson commented on Jun 7, 2019 bnoordhuis commented on Jun 21, 2019 sam-github commented on Jun 21, 2019 I'm not sure how to read the following failures, they have the same timed out after 10 minutes message, but they did NOT timeout during a tools/test.py run... So, does that mean the problem is not related to tools/test.py and python and PTYs? Or does it mean there are two problems?
ppc64/out/Release/obj.target/tools/v8_gypfiles/libv8_libsampler.a /home/iojs/build/workspace/node-test-commit-aix/nodes/aix61-ppc64/out/Release/obj.target/tools/v8_gypfiles/libv8_compiler.a /home/iojs/build/workspace/node-test-commit-aix/nodes/aix61-ppc64/out/Release/obj.target/tools/v8_gypfiles/libv8_initializers.a -latomic -ldl -lrt -lm -lperfstat
02:10:44 Build timed out (after 10 minutes). Marking the build as failed.
02:10:44 Build was aborted
ppc64/out/Release/obj.target/tools/v8_gypfiles/libv8_compiler.a /home/iojs/build/workspace/node-test-commit-aix/nodes/aix61-ppc64/out/Release/obj.target/tools/v8_gypfiles/libv8_initializers.a -latomic -ldl -lrt -lm -lperfstat
09:15:14 Build timed out (after 10 minutes). Marking the build as failed.
09:15:14 Build was aborted
sam-github commented on Jun 21, 2019 I reviewed all the failures on https://ci.nodejs.org/job/node-test-commit-aix/ from 23960 to 23988 and categorized by failure, and by node number (the : # refers to ....-be-#).
during cc test compiles: Build timed out (after 10 minutes). Marking the build as failed.
- 23988: 3,
- 23987: 1
- 23986: 3
- 23985: 3
- 23984: 3
- 23981: 1
- 23978: 3
during js tests: Build timed out (after 10 minutes). Marking the build as failed.
- 23983: 1
- 23964: 3
- 23960: 3
Those last are possibly related to PTY issues, and I'm leaving them here in this issue.
Found also
sam-github commented on Jun 24, 2019 @bnoordhuis This bug is easily reproduceable, as @refack says, you can do it via ssh:
ssh test-osuosl-aix61-ppc64_be-1
su - iojs
cd /home/iojs/build/workspace/node-stress-single-test/nodes/aix61-ppc64
export NODE_NAME=test-osuosl-aix61-ppc64_be-1
. ./build/jenkins/scripts/select-compiler.sh
time ./out/Release/node test/pseudo-tty/console-dumb-tty.js
# instantly completes
python tools/test.py -p tap --logfile testx.tap --mode=release pseudo-tty/console-dumb-tty
# hangs indefinitely
I added your key to the machine, see #1848, and I suspect the build above will sit around for a while (until the next time a node-stress-single-test is run on that machine, which doesn't happen by default).
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|