[Qa-jenkins-scm] Build failed in Jenkins: janitor-worker #15

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Fri May 29 19:35:34 BST 2020


See <https://jenkins.debian.net/job/janitor-worker/15/display/redirect>

Changes:


------------------------------------------
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on osuosl-build167-amd64.debian.net (osuosl167 amd64) in workspace <https://jenkins.debian.net/job/janitor-worker/ws/>
[janitor-worker] $ /bin/sh -xe /tmp/jenkins10575480143043051195.sh
+ /srv/jenkins/bin/jenkins_master_wrapper.sh
Processing: python-nmap
Using cached branch https://janitor.debian.net/git/python-nmap,branch=master/
Elapsed time: 0:00:06.664664
Traceback (most recent call last):
  File "/srv/janitor/debian-janitor/breezy/breezy/git/remote.py", line 427, in fetch_pack
    progress)
  File "/srv/janitor/debian-janitor/dulwich/dulwich/client.py", line 1782, in fetch_pack
    progress)
  File "/srv/janitor/debian-janitor/dulwich/dulwich/client.py", line 707, in _handle_upload_pack_tail
    pkt = proto.read_pkt_line()
  File "/srv/janitor/debian-janitor/dulwich/dulwich/protocol.py", line 208, in read_pkt_line
    raise HangupException()
dulwich.errors.HangupException: The remote server unexpectedly closed the connection.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/janitor/debian-janitor/janitor/pull_worker.py", line 267, in main
    possible_transports=possible_transports
  File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
    return next(self.gen)
  File "/srv/janitor/debian-janitor/janitor/worker.py", line 832, in process_package
    pick_additional_colocated_branches(main_branch))) as ws:
  File "/srv/janitor/debian-janitor/silver-platter/silver_platter/proposal.py", line 307, in __enter__
    dir=self._dir, path=self._path)
  File "/srv/janitor/debian-janitor/silver-platter/silver_platter/utils.py", line 88, in create_temp_sprout
    raise e
  File "/srv/janitor/debian-janitor/silver-platter/silver_platter/utils.py", line 82, in create_temp_sprout
    add_branch.push(local_add_branch)
  File "/srv/janitor/debian-janitor/breezy/breezy/branch.py", line 1054, in push
    overwrite, stop_revision, lossy, *args, **kwargs)
  File "/srv/janitor/debian-janitor/breezy/breezy/branch.py", line 2300, in push
    overwrite, stop_revision, tag_selector=tag_selector)
  File "/srv/janitor/debian-janitor/breezy/breezy/git/branch.py", line 1242, in _basic_push
    refs, stop_revision = self.update_refs(stop_revision)
  File "/srv/janitor/debian-janitor/breezy/breezy/git/branch.py", line 1265, in update_refs
    result = interrepo.fetch(branches=[self.source.ref], include_tags=fetch_tags)
  File "/srv/janitor/debian-janitor/breezy/breezy/git/interrepo.py", line 686, in fetch
    self.fetch_objects(wants_recorder, mapping, limit=limit, lossy=lossy)
  File "/srv/janitor/debian-janitor/breezy/breezy/git/interrepo.py", line 771, in fetch_objects
    determine_wants, graphwalker, f.write)
  File "/srv/janitor/debian-janitor/breezy/breezy/git/remote.py", line 434, in fetch_pack
    raise parse_git_error(self.transport.external_url(), e)
breezy.git.remote.RemoteGitError: The remote server unexpectedly closed the connection.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/srv/janitor/debian-janitor/janitor/pull_worker.py", line 317, in <module>
    sys.exit(asyncio.run(main()))
  File "/usr/lib/python3.7/asyncio/runners.py", line 43, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
    return future.result()
  File "/srv/janitor/debian-janitor/janitor/pull_worker.py", line 308, in main
    output_directory)
  File "/srv/janitor/debian-janitor/janitor/pull_worker.py", line 73, in upload_results
    part = mpwriter.append(BytesIO(json.dumps(metadata)))
UnboundLocalError: local variable 'json' referenced before assignment

SSH EXIT CODE: 1
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list