Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taskcluster failured due to memory "Cannot allocate memory" #14207

Closed
foolip opened this issue Nov 23, 2018 · 6 comments
Closed

Taskcluster failured due to memory "Cannot allocate memory" #14207

foolip opened this issue Nov 23, 2018 · 6 comments

Comments

@foolip
Copy link
Member

foolip commented Nov 23, 2018

The 7 most recent commits to master at the time of writing all have failed Taskcluster runs:
https://tools.taskcluster.net/groups/f9h2rnpNSGSZtf8XqKsI7g
https://tools.taskcluster.net/groups/PEZ79dY9R2GhxheZKTXC3Q
https://tools.taskcluster.net/groups/MEBnx5kARYKxgH42Ot3zsQ
https://tools.taskcluster.net/groups/HiCTerPsTsGZXTaF_Gz4qQ
https://tools.taskcluster.net/groups/Ekt9SdPFT2umvUiNaiTaWQ (for master)
https://tools.taskcluster.net/groups/DWgMz-OFQOKp5iktSe1gSg (for epochs/daily)
https://tools.taskcluster.net/groups/BotCYMVpT--o_Kz1D99puQ
https://tools.taskcluster.net/groups/DevtLTz6TGeBFy8QOFQh8A

All of them have some task that has failed with "Cannot allocate memory" in the log.

Example from the first above:
Traceback (most recent call last):
  File "./wpt", line 5, in <module>
    wpt.main()
  File "/home/test/web-platform-tests/tools/wpt/wpt.py", line 129, in main
    rv = script(*args, **kwargs)
  File "/home/test/web-platform-tests/tools/wpt/run.py", line 540, in run
    rv = run_single(venv, **kwargs) > 0
  File "/home/test/web-platform-tests/tools/wpt/run.py", line 547, in run_single
    return wptrunner.start(**kwargs)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/wptrunner.py", line 331, in start
    return not run_tests(**kwargs)
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/wptrunner.py", line 188, in run_tests
    env_extras) as test_environment:
  File "/home/test/web-platform-tests/tools/wptrunner/wptrunner/environment.py", line 61, in __init__
    self.cache_manager = multiprocessing.Manager()
  File "/usr/lib/python2.7/multiprocessing/__init__.py", line 99, in Manager
    m.start()
  File "/usr/lib/python2.7/multiprocessing/managers.py", line 524, in start
    self._process.start()
  File "/usr/lib/python2.7/multiprocessing/process.py", line 130, in start
    self._popen = Popen(self)
  File "/usr/lib/python2.7/multiprocessing/forking.py", line 121, in __init__
    self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
Traceback (most recent call last):
  File "./tools/ci/taskcluster-run.py", line 103, in <module>
    main(**vars(parser.parse_args()))
  File "./tools/ci/taskcluster-run.py", line 86, in main
    subprocess.check_call(command)
  File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['python', './wpt', 'run', '--channel=nightly', '--log-wptreport=../artifacts/wpt_report.json', '--no-fail-on-unexpected', '--test-type=testharness', '--this-chunk=14', '--total-chunks=15', '--log-tbpl-level=info', '--log-tbpl=-', '-y', '--no-pause', '--no-restart-on-unexpected', '--install-fonts', '--no-headless', '--install-browser', 'firefox']' returned non-zero exit status 1
@foolip
Copy link
Member Author

foolip commented Nov 23, 2018

It started happening when #14025 was merged. That seems like a somewhat unlikely cause, but I'll try reverting it anyway to see.

foolip added a commit that referenced this issue Nov 23, 2018
Possible but unlikely cause of #14207.

This reverts commit 3657828.
foolip added a commit that referenced this issue Nov 23, 2018
Possible but unlikely cause of #14207.

This reverts commit 3657828.
foolip added a commit that referenced this issue Nov 23, 2018
Reverted in #14208
as possible cause of #14207.

This reverts commit 5438f72.
@foolip
Copy link
Member Author

foolip commented Nov 23, 2018

Ongoing Taskcluster run with #14025 reverted:
https://tools.taskcluster.net/groups/ZKsyjoJTT3CR9SATJf1RHw

@foolip
Copy link
Member Author

foolip commented Nov 23, 2018

Hmm, maybe it's not so implausible that I caused this. The same log I quoted from also says "No generated manifest found" and generating the manifest does use memory.

@foolip foolip self-assigned this Nov 23, 2018
@foolip
Copy link
Member Author

foolip commented Nov 23, 2018

https://tools.taskcluster.net/groups/T3FYYkzcSU-j6P8S3qSxFQ is the last good run from before the breakage. There the log says "Manifest downloaded".

@foolip
Copy link
Member Author

foolip commented Nov 23, 2018

Ah... We don't even fetch the tags in the Taskcluster setup:

# Initially we just fetch 50 commits in order to save several minutes of fetching
git fetch --quiet --depth=50 origin ${REF}
if [[ ! `git rev-parse --verify -q ${REVISION}` ]];
then
# But if for some reason the commit under test isn't in that range, we give in and
# fetch everything
git fetch -q --unshallow ${REMOTE}
git rev-parse --verify ${REVISION}
fi

@foolip
Copy link
Member Author

foolip commented Nov 23, 2018

All right, it was my fault, Taskcluster is now passing again.

@foolip foolip closed this as completed Nov 23, 2018
jgraham pushed a commit that referenced this issue Dec 10, 2018
Reverted in #14208
as possible cause of #14207.

This reverts commit 5438f72.
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue Dec 11, 2018
…gs instead of commits", a=testonly

Automatic update from web-platform-testsRevert "Find manifest for download by tags instead of commits"

Possible but unlikely cause of web-platform-tests/wpt#14207.

This reverts commit 3657828ff4243fcc2f3b3fa4e7bed34d646ad565.

--

wpt-commits: 5438f72ea0bc2abb3754b2b906a34d497bd8457c
wpt-pr: 14208
xeonchen pushed a commit to xeonchen/gecko that referenced this issue Dec 11, 2018
…gs instead of commits", a=testonly

Automatic update from web-platform-testsRevert "Find manifest for download by tags instead of commits"

Possible but unlikely cause of web-platform-tests/wpt#14207.

This reverts commit 3657828ff4243fcc2f3b3fa4e7bed34d646ad565.

--

wpt-commits: 5438f72ea0bc2abb3754b2b906a34d497bd8457c
wpt-pr: 14208
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue Dec 11, 2018
…gs instead of commits", a=testonly

Automatic update from web-platform-testsRevert "Find manifest for download by tags instead of commits"

Possible but unlikely cause of web-platform-tests/wpt#14207.

This reverts commit 3657828ff4243fcc2f3b3fa4e7bed34d646ad565.

--

wpt-commits: 5438f72ea0bc2abb3754b2b906a34d497bd8457c
wpt-pr: 14208
mykmelez pushed a commit to mykmelez/gecko that referenced this issue Dec 12, 2018
…gs instead of commits", a=testonly

Automatic update from web-platform-testsRevert "Find manifest for download by tags instead of commits"

Possible but unlikely cause of web-platform-tests/wpt#14207.

This reverts commit 3657828ff4243fcc2f3b3fa4e7bed34d646ad565.

--

wpt-commits: 5438f72ea0bc2abb3754b2b906a34d497bd8457c
wpt-pr: 14208
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this issue Dec 14, 2018
…gs instead of commits", a=testonly

Automatic update from web-platform-tests
Reland "Find manifest for download by tags instead of commits"

Reverted in web-platform-tests/wpt#14208
as possible cause of web-platform-tests/wpt#14207.

This reverts commit 5438f72ea0bc2abb3754b2b906a34d497bd8457c.

--

wpt-commits: 94ac45d352cddb9938cdd7bf56d3db652041217e
wpt-pr: 14209
mykmelez pushed a commit to mykmelez/gecko that referenced this issue Dec 15, 2018
…gs instead of commits", a=testonly

Automatic update from web-platform-tests
Reland "Find manifest for download by tags instead of commits"

Reverted in web-platform-tests/wpt#14208
as possible cause of web-platform-tests/wpt#14207.

This reverts commit 5438f72ea0bc2abb3754b2b906a34d497bd8457c.

--

wpt-commits: 94ac45d352cddb9938cdd7bf56d3db652041217e
wpt-pr: 14209
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue Oct 3, 2019
…gs instead of commits", a=testonly

Automatic update from web-platform-testsRevert "Find manifest for download by tags instead of commits"

Possible but unlikely cause of web-platform-tests/wpt#14207.

This reverts commit 3657828ff4243fcc2f3b3fa4e7bed34d646ad565.

--

wpt-commits: 5438f72ea0bc2abb3754b2b906a34d497bd8457c
wpt-pr: 14208

UltraBlame original commit: 9caf650605472e0569cd50ab1d64bd557de4c163
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue Oct 3, 2019
…gs instead of commits", a=testonly

Automatic update from web-platform-testsRevert "Find manifest for download by tags instead of commits"

Possible but unlikely cause of web-platform-tests/wpt#14207.

This reverts commit 3657828ff4243fcc2f3b3fa4e7bed34d646ad565.

--

wpt-commits: 5438f72ea0bc2abb3754b2b906a34d497bd8457c
wpt-pr: 14208

UltraBlame original commit: 18b7ae06e7800497ead84ac4a271867b740d52f5
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue Oct 3, 2019
…gs instead of commits", a=testonly

Automatic update from web-platform-testsRevert "Find manifest for download by tags instead of commits"

Possible but unlikely cause of web-platform-tests/wpt#14207.

This reverts commit 3657828ff4243fcc2f3b3fa4e7bed34d646ad565.

--

wpt-commits: 5438f72ea0bc2abb3754b2b906a34d497bd8457c
wpt-pr: 14208

UltraBlame original commit: 9caf650605472e0569cd50ab1d64bd557de4c163
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue Oct 3, 2019
…gs instead of commits", a=testonly

Automatic update from web-platform-testsRevert "Find manifest for download by tags instead of commits"

Possible but unlikely cause of web-platform-tests/wpt#14207.

This reverts commit 3657828ff4243fcc2f3b3fa4e7bed34d646ad565.

--

wpt-commits: 5438f72ea0bc2abb3754b2b906a34d497bd8457c
wpt-pr: 14208

UltraBlame original commit: 18b7ae06e7800497ead84ac4a271867b740d52f5
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this issue Oct 3, 2019
…gs instead of commits", a=testonly

Automatic update from web-platform-tests
Reland "Find manifest for download by tags instead of commits"

Reverted in web-platform-tests/wpt#14208
as possible cause of web-platform-tests/wpt#14207.

This reverts commit 5438f72ea0bc2abb3754b2b906a34d497bd8457c.

--

wpt-commits: 94ac45d352cddb9938cdd7bf56d3db652041217e
wpt-pr: 14209

UltraBlame original commit: bb7974cb5787e4d9f239e23cbb598e3ea7af92e4
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this issue Oct 3, 2019
…gs instead of commits", a=testonly

Automatic update from web-platform-tests
Reland "Find manifest for download by tags instead of commits"

Reverted in web-platform-tests/wpt#14208
as possible cause of web-platform-tests/wpt#14207.

This reverts commit 5438f72ea0bc2abb3754b2b906a34d497bd8457c.

--

wpt-commits: 94ac45d352cddb9938cdd7bf56d3db652041217e
wpt-pr: 14209

UltraBlame original commit: bb7974cb5787e4d9f239e23cbb598e3ea7af92e4
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue Oct 3, 2019
…gs instead of commits", a=testonly

Automatic update from web-platform-testsRevert "Find manifest for download by tags instead of commits"

Possible but unlikely cause of web-platform-tests/wpt#14207.

This reverts commit 3657828ff4243fcc2f3b3fa4e7bed34d646ad565.

--

wpt-commits: 5438f72ea0bc2abb3754b2b906a34d497bd8457c
wpt-pr: 14208

UltraBlame original commit: 9caf650605472e0569cd50ab1d64bd557de4c163
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue Oct 3, 2019
…gs instead of commits", a=testonly

Automatic update from web-platform-testsRevert "Find manifest for download by tags instead of commits"

Possible but unlikely cause of web-platform-tests/wpt#14207.

This reverts commit 3657828ff4243fcc2f3b3fa4e7bed34d646ad565.

--

wpt-commits: 5438f72ea0bc2abb3754b2b906a34d497bd8457c
wpt-pr: 14208

UltraBlame original commit: 18b7ae06e7800497ead84ac4a271867b740d52f5
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this issue Oct 3, 2019
…gs instead of commits", a=testonly

Automatic update from web-platform-tests
Reland "Find manifest for download by tags instead of commits"

Reverted in web-platform-tests/wpt#14208
as possible cause of web-platform-tests/wpt#14207.

This reverts commit 5438f72ea0bc2abb3754b2b906a34d497bd8457c.

--

wpt-commits: 94ac45d352cddb9938cdd7bf56d3db652041217e
wpt-pr: 14209

UltraBlame original commit: bb7974cb5787e4d9f239e23cbb598e3ea7af92e4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant