-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apt unit test failing when running on > Ubuntu 24.04 or debian sid #6028
Labels
Comments
dnegreira
added a commit
to dnegreira/avocado
that referenced
this issue
Sep 13, 2024
The unit test was failing on recent versions of Debian and Ubuntu because the `login` package is no longer installing the binary on `/bin/login` but rather on `/usr/bin/login`. We have added a function which will retrieve the binary path depending on the distro as well. Resolves: avocado-framework#6028 Signed-off-by: David Negreira <[email protected]>
dnegreira
added a commit
to dnegreira/avocado
that referenced
this issue
Sep 13, 2024
The unit test was failing on recent versions of Debian and Ubuntu because the `login` package is no longer installing the binary on `/bin/login` but rather on `/usr/bin/login`. We have added a function which will retrieve the binary path depending on the distro as well. Resolves: avocado-framework#6028 Signed-off-by: David Negreira <[email protected]>
Closed
arif-ali
pushed a commit
to arif-ali/avocado
that referenced
this issue
Jan 27, 2025
This fixes an issue with the Debian version information where it was retrieving a number instead of the codename. This also fixes an issue where the version of Ubuntu was incomplete and it was retrieving only the first part of it, rather than the full version. The unit test was failing on recent versions of Debian and Ubuntu because the `login` package is no longer installing the binary on `/bin/login` but rather on `/usr/bin/login`. We have added a function which will retrieve the binary path depending on the distro as well. Resolves: avocado-framework#6028 Co-authored-by: David Negreira <[email protected]> Signed-off-by: David Negreira <[email protected]> Signed-off-by: Arif Ali <[email protected]>
arif-ali
pushed a commit
to arif-ali/avocado
that referenced
this issue
Jan 27, 2025
This fixes an issue with the Debian version information where it was retrieving a number instead of the codename. This also fixes an issue where the version of Ubuntu was incomplete and it was retrieving only the first part of it, rather than the full version. The unit test was failing on recent versions of Debian and Ubuntu because the `login` package is no longer installing the binary on `/bin/login` but rather on `/usr/bin/login`. We have added a function which will retrieve the binary path depending on the distro as well. Resolves: avocado-framework#6028 Co-authored-by: David Negreira <[email protected]> Signed-off-by: David Negreira <[email protected]> Signed-off-by: Arif Ali <[email protected]>
arif-ali
pushed a commit
to arif-ali/avocado
that referenced
this issue
Jan 27, 2025
This fixes an issue with the Debian version information where it was retrieving a number instead of the codename. This also fixes an issue where the version of Ubuntu was incomplete and it was retrieving only the first part of it, rather than the full version. The unit test was failing on recent versions of Debian and Ubuntu because the `login` package is no longer installing the binary on `/bin/login` but rather on `/usr/bin/login`. We have added a function which will retrieve the binary path depending on the distro as well. Resolves: avocado-framework#6028 Co-authored-by: David Negreira <[email protected]> Signed-off-by: David Negreira <[email protected]> Signed-off-by: Arif Ali <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
As part of the packaging effort for Debian on #5912, we have found that a unit test is failing on more recent distro versions of Ubuntu/Debian.
This is because on more recent distros, the
login
package does not install on/bin/login
but rather on/usr/bin/login
Steps to reproduce
Run the unit tests on a Ubuntu 24.04 or Debian/sid distro.
Expected behavior
Unit test to pass.
Current behavior
Error.
System information (please complete the following information):
lsb_release -a
and
git latest master
Additional information
I am currently working on fixing the unit test for code review, will submit it in a bit.
The text was updated successfully, but these errors were encountered: