Skip to content
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

Fixes to the tests: pymssql, psql, user & group #2542

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

sebix
Copy link
Member

@sebix sebix commented Nov 30, 2024

based on #2541 - merge the other one first

  • tests: install freetds-dev for pymssql on python 3.8
    pymssql there are no wheels for 3.8, needs to be built
    install required header files
    fixes tests: pymssql (sql output dependency) installation fails #2539
  • tests: install psql command
    required by tests
    maybe it was already installed on github actions by default? we can't
    rely on it, better do it explicitly
    then it also works on other plattforms, such as act
  • tests: create intelmq user & group if running privileged
    if the tests already run with an unprivileged user, all is good, but if
    running as root, intelmq won't be able to un-privilege itself if there's
    no intelmq user

@sebix sebix force-pushed the fix-tests branch 3 times, most recently from cfa3288 to 630422f Compare December 1, 2024 08:07
@sebix sebix changed the title Fixes to the tests: pymssql, psql, user & group, elasticsearch Fixes to the tests: pymssql, psql, user & group Dec 1, 2024
pymssql there are no wheels for 3.8, needs to be built
install required header files
fixes certtools#2539
sebix added 3 commits December 1, 2024 10:33
required by tests
maybe it was already installed on github actions by default? we can't
rely on it, better do it explicitly
then it also works on other plattforms, such as act
if the tests already run with an unprivileged user, all is good, but if
running as root, intelmq won't be able to un-privilege itself if there's
no intelmq user
this specific tests consistently fails when running on GitHub on Python
3.11 but not everywhere else, so ignore it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tests: pymssql (sql output dependency) installation fails
1 participant