Page MenuHomePhabricator

libup has problems to run karma
Closed, ResolvedPublic

Description

https://libraryupgrader2.wmflabs.org/r/unicodejs

Running "karma:main" (karma) task
26 01 2020 06:11:05.755:INFO [karma-server]: Karma v3.1.4 server started at http://0.0.0.0:9876/
26 01 2020 06:11:05.756:INFO [launcher]: Launching browsers ChromeCustom, FirefoxHeadless with concurrency unlimited
26 01 2020 06:11:05.760:INFO [launcher]: Starting browser ChromeHeadless
26 01 2020 06:11:05.761:ERROR [launcher]: No binary for ChromeHeadless browser on your platform.
  Please, set "CHROME_BIN" env variable.
26 01 2020 06:11:05.762:INFO [launcher]: Starting browser FirefoxHeadless
26 01 2020 06:12:05.770:WARN [launcher]: FirefoxHeadless have not captured in 60000 ms, killing.
26 01 2020 06:12:07.774:WARN [launcher]: FirefoxHeadless was not killed in 2000 ms, sending SIGKILL.
26 01 2020 06:12:09.777:WARN [launcher]: FirefoxHeadless was not killed by SIGKILL in 2000 ms, continuing.
Warning: Task "karma:main" failed. Use --force to continue.

Aborted due to warnings.
npm ERR! Test failed.  See above for more details.

Traceback (most recent call last):
  File "/src/libup/ng.py", line 939, in main
    libup.run(args.repo, args.output)
  File "/src/libup/ng.py", line 889, in run
    self.npm_audit_fix(self.output['npm-audit'])
  File "/src/libup/ng.py", line 179, in npm_audit_fix
    self.check_call(['npm', 'test'])
  File "/src/libup/shell.py", line 38, in check_call
    res.check_returncode()
  File "/usr/lib/python3.7/subprocess.py", line 428, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['npm', 'test']' returned non-zero exit status 1.

It seems a chrome is missing there

Event Timeline

Change 567414 had a related patch set uploaded (by Legoktm; owner: Legoktm):
[labs/libraryupgrader@master] Install firefox-esr and chromium in docker image

https://gerrit.wikimedia.org/r/567414

Change 567414 merged by jenkins-bot:
[labs/libraryupgrader@master] Install firefox-esr and chromium in docker image

https://gerrit.wikimedia.org/r/567414

Umherirrender assigned this task to Legoktm.

karma runs now, thanks for the fix