Traceback (most recent call last):
File "/godata/pipelines/Update.Repos.Factory/./pkglistgen.py", line 8, in <module>
sys.exit(app.main())
File "/usr/lib/python3.10/site-packages/cmdln.py", line 261, in main
return self.cmd(args)
File "/usr/lib/python3.10/site-packages/cmdln.py", line 284, in cmd
retval = self.onecmd(argv)
File "/usr/lib/python3.10/site-packages/cmdln.py", line 422, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python3.10/site-packages/cmdln.py", line 1123, in _dispatch_cmd
return handler(argv[0], opts, *args)
File "/godata/pipelines/Update.Repos.Factory/pkglistgen/cli.py", line 43, in do_handle_update_repos
return update_project(conf.config['apiurl'], project, opts.fixate)
File "/godata/pipelines/Update.Repos.Factory/pkglistgen/update_repo_handler.py", line 298, in update_project
dump_solv(solv_file, opts['url'])
File "/godata/pipelines/Update.Repos.Factory/pkglistgen/update_repo_handler.py", line 144, in dump_solv
if not parse_repomd(repo, baseurl) and not parse_susetags(repo, baseurl):
File "/godata/pipelines/Update.Repos.Factory/pkglistgen/update_repo_handler.py", line 77, in parse_repomd
sha256_expected = primary_element.find('r:checksum[@type="sha256"]', ns).text
AttributeError: 'NoneType' object has no attribute 'text'
[script-executor] Script completed with exit code: 1.
The product has been changed from sha256 to sha512
The pipeline runs:
python3 -u ./pkglistgen.py --apiurl https://api.opensuse.org handle_update_repos openSUSE:Factory
and it errs with:
The product has been changed from sha256 to sha512