Skip to content

Chore: Update security posture and packaging environment #57

Chore: Update security posture and packaging environment

Chore: Update security posture and packaging environment #57

Triggered via push November 21, 2023 14:08
Status Failure
Total duration 27s
Artifacts
Build and push to Quay
15s
Build and push to Quay
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
Build and push to Quay
Error: buildah exited with code 2 Trying to pull registry.access.redhat.com/ubi8/ubi-minimal:latest... Getting image source signatures Copying blob sha256:f4a3c904e5565efee16dbcb82838bbb64a39f8261e4531648bc591c528236c24 Copying blob sha256:f4a3c904e5565efee16dbcb82838bbb64a39f8261e4531648bc591c528236c24 Copying config sha256:09acb701d27daf9e9db8c15d57d303cb57fcd6d8df4d2c809d29b40a90d04444 Writing manifest to image destination Storing signatures (microdnf:2): librhsm-WARNING **: 14:08:47.995: Found 0 entitlement certificates (microdnf:2): librhsm-WARNING **: 14:08:47.999: Found 0 entitlement certificates (microdnf:54): librhsm-WARNING **: 14:08:49.295: Found 0 entitlement certificates (microdnf:54): librhsm-WARNING **: 14:08:49.299: Found 0 entitlement certificates WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead. ERROR: Exception: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 228, in _main status = self.run(options, args) File "/usr/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper return func(self, options, args) File "/usr/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 342, in run requirement_set = resolver.resolve( File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/legacy/resolver.py", line 184, in resolve discovered_reqs.extend(self._resolve_one(requirement_set, req)) File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/legacy/resolver.py", line 391, in _resolve_one abstract_dist = self._get_abstract_dist_for(req_to_install) File "/usr/lib/python3.9/site-packages/pip/_internal/resolution/legacy/resolver.py", line 343, in _get_abstract_dist_for abstract_dist = self.preparer.prepare_linked_requirement(req) File "/usr/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 482, in prepare_linked_requirement abstract_dist = _get_prepared_distribution( File "/usr/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 91, in _get_prepared_distribution abstract_dist.prepare_distribution_metadata(finder, build_isolation) File "/usr/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 33, in prepare_distribution_metadata self.req.load_pyproject_toml() File "/usr/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 505, in load_pyproject_toml pyproject_toml_data = load_pyproject_toml( File "/usr/lib/python3.9/site-packages/pip/_internal/pyproject.py", line 75, in load_pyproject_toml pp_toml = toml.load(f) File "/usr/lib/python3.9/site-packages/pip/_vendor/toml/decoder.py", line 156, in load return loads(f.read(), _dict, decoder) File "/usr/lib/python3.9/site-packages/pip/_vendor/toml/decoder.py", line 477, in loads raise TomlDecodeError("What? " + group + pip._vendor.toml.decoder.TomlDecodeError: What? black already exists?{'pytest': {'ini_options': {'testpaths': 'src/test', 'addopts': '-v'}}, 'mypy': {'warn_unreachable': True, 'ignore_missing_imports': True, 'overrides': [{'module': 'click', 'ignore_missing_imports': True}]}, 'black': {'line-length': 120, 'exclude': '/(\n \\.git\n | \\.tox\n | \\venv\n | \\.venv\n | \\*.env\n | \\build\n | \\dist\n)/\n'}, 'isort': {'multi_line_output': 3, 'include_trailing_comma': True, 'force_grid_wrap': 0, 'use_parentheses': True, 'ensure_newline_before_comments': True, 'line_length': 120, 'profile': 'black'}, 'coverage': {'run': {'omit': ['src/test/*'], 'relative_files': True}}} (line 87 column 1 char 2078) error building at STEP "RUN microdnf -y install shadow-utils && microdnf -y install python39 && pip3 install . && microdnf clean all && rm -rf /var/cache/yum": error while running runtime: exit status 2 time="2023-11-21T14:08:51Z" level=error msg="exit status 2"
Build and push to Quay
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/github-script@v4, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/