Not able to factory reset librem5

I don’t know if it’s just me or something jenkins related from purism…

Here the logs:
cd librem5-flash-image
sudo ./scripts/librem5-flash-image
2024-11-24 20:40:15 INFO Looking for librem5r4 luks byzantium image
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/jenkins/init.py”, line 462, in get_job_info
response = self.jenkins_open(requests.Request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/jenkins/init.py”, line 564, in jenkins_open
return self.jenkins_request(req, add_crumb, resolve_auth).text
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/jenkins/init.py”, line 580, in jenkins_request
self.maybe_add_crumb(req)
File “/usr/lib/python3/dist-packages/jenkins/init.py”, line 369, in maybe_add_crumb
response = self.jenkins_open(requests.Request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/jenkins/init.py”, line 564, in jenkins_open
return self.jenkins_request(req, add_crumb, resolve_auth).text
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/jenkins/init.py”, line 583, in jenkins_request
self._request(req))
^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/jenkins/init.py”, line 557, in _request
return self._session.send(r, **_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/requests/sessions.py”, line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/requests/adapters.py”, line 483, in send
timeout = TimeoutSauce(connect=timeout, read=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/urllib3/util/timeout.py”, line 119, in init
self._connect = self._validate_timeout(connect, “connect”)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/urllib3/util/timeout.py”, line 156, in _validate_timeout
raise ValueError(
ValueError: Timeout value connect was <object object at 0x7c56563c04f0>, but it must be an int, float or None.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/joanisc/librem5-flash-image/./scripts/librem5-flash-image”, line 538, in
sys.exit(main())
^^^^^^
File “/home/joanisc/librem5-flash-image/./scripts/librem5-flash-image”, line 464, in main
image_ref = find_image(args.image_job, board, args.variant, args.dist, args.stable)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/joanisc/librem5-flash-image/./scripts/librem5-flash-image”, line 275, in find_image
return find_image_jenkins(jobname, board, variant, dist)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/joanisc/librem5-flash-image/./scripts/librem5-flash-image”, line 224, in find_image_jenkins
info = server.get_job_info(jobname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/jenkins/init.py”, line 475, in get_job_info
raise JenkinsException(
jenkins.JenkinsException: Could not parse JSON info for job[Images/Image Build]

1 Like

Follow my instructions in this post:

1 Like