[Qa-jenkins-scm] Build failed in Jenkins: reproducible_json #30750

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Mon Dec 2 18:01:27 GMT 2019


See <https://jenkins.debian.net/job/reproducible_json/30750/display/redirect>

Changes:


------------------------------------------
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building on master in workspace <https://jenkins.debian.net/job/reproducible_json/ws/>
[workspace] $ /bin/sh -xe /tmp/jenkins10960934847142142401.sh
+ /srv/jenkins/bin/reproducible_json.py
[2019-12-02 18:01:06] INFO: Starting at 2019-12-02 18:01:06.498138
[2019-12-02 18:01:06] INFO: Creating json dump of current reproducible status for debian
[2019-12-02 18:01:23] INFO: 	processing 445278
Traceback (most recent call last):
  File "/srv/jenkins/bin/reproducible_json.py", line 126, in <module>
    json.dump(data, fd, indent=4, sort_keys=True)
  File "/usr/lib/python3.7/json/__init__.py", line 179, in dump
    for chunk in iterable:
  File "/usr/lib/python3.7/json/encoder.py", line 429, in _iterencode
    yield from _iterencode_list(o, _current_indent_level)
  File "/usr/lib/python3.7/json/encoder.py", line 325, in _iterencode_list
    yield from chunks
  File "/usr/lib/python3.7/json/encoder.py", line 405, in _iterencode_dict
    yield from chunks
  File "/usr/lib/python3.7/json/encoder.py", line 438, in _iterencode
    o = _default(o)
  File "/usr/lib/python3.7/json/encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type datetime is not JSON serializable
[2019-12-02 18:01:26] INFO: Finished at 2019-12-02 18:01:26.531567, took: 0:00:20.033449
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list