#31 Fedora CI errors: No group usr/bin/virtualenv available
Opened 2 years ago by churchyard. Modified 5 months ago

I have no idea if this is a test failure or the test system failure.

+ rm -rf tests/package
+ mkdir -p tests/package
+ cp -rp /workDir/workspace/fedora-rawhide-pr-pipeline/logs/default_provisioners.log /workDir/workspace/fedora-rawhide-pr-pipeline/logs/test_subject.qcow2.guest.log /workDir/workspace/fedora-rawhide-pr-pipeline/logs/test_subject.qcow2.qemu.log /workDir/workspace/fedora-rawhide-pr-pipeline/logs/tests.yml-run.txt tests/package/
+ cat /workDir/workspace/fedora-rawhide-pr-pipeline/logs/test.log
cat: /workDir/workspace/fedora-rawhide-pr-pipeline/logs/test.log: No such file or directory

script returned exit code 1


Yet https://src.fedoraproject.org/rpms/python38/pull-request/4 passed :(

cc @cstratak

https://src.fedoraproject.org/rpms/python38/pull-request/4 passed because it does not require /usr/bin/virtualenv

From @pviktori:

The log says:

TASK [str-common-pkgs : Install test-specific package requirements] ************
failed: [/workDir/workspace/fedora-rawhide-pr-pipeline/images/test_subject.qcow2] (item=/usr/bin/virtualenv) => {"attempts": 5, "changed": false, "item": "/usr/bin/virtualenv", "msg": "No group usr/bin/virtualenv available.", "results": []}

Looks like something thinks /usr/bin/virtualenv in required_packages is a “group”, not a file to be installed?

Replacing /usr/bin/virtualenv with virtualenv workarounds this issue.

Metadata Update from @bookwar:
- Issue tagged with: Standard Test Interface

2 years ago

It seems that install-by-binary-path is not supported by ansible:

- hosts: localhost
  - name: Install packages
      - /usr/bin/virtualenv

Results into the above-mentioned error:

fatal: [localhost]: FAILED! => {
    "changed": false,
    "msg": "No group usr/bin/virtualenv available.",
    "results": []}

Is there any disadvantage of using package name instead? Otherwise I'd suggest to close this issue.

This is a regression. It might be a regression in ansible.

Is there any disadvantage of using package name instead?

The package name changed in between Fedora releases.

@psss I see the above bugzilla got EOL'd and the upstream issue with ansible was closed:


Did we ever come to a satisfactory position on this? The last thing I see was you asking the ansible team a question, and then it was just...closed.

I believe this is be fixed once the pipeline start using the newly build STR (https://bodhi.fedoraproject.org/updates/FEDORA-2020-a906f6f60c) in the new build we will install the packages using dnf command instead of ansible module.

Login to comment on this ticket.