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

Package testing #50

Merged
merged 89 commits into from
Oct 3, 2024
Merged

Package testing #50

merged 89 commits into from
Oct 3, 2024

Conversation

strtgbb
Copy link
Collaborator

@strtgbb strtgbb commented Aug 19, 2024

Rewrite clickhouse-regression to use released docker images

  • Update Cluster to use released docker images
    • For clickhouse
    • For keeper
  • Fix fails related to missing cli tools
  • Fix fails related to alpine base
  • Add the ability to install a release package onto a base os image
    • ubuntu/deb
    • alpine/tgz
    • centos/rpm
    • clickhouse-regression-multiarch
  • Create a class to handle binary unpacking and simplify Cluster
  • Test base-os option in all suites
  • Support testing local installs
  • Enable base-os column in uploader
  • Review reuse-env behaviour
  • Update readme

@strtgbb strtgbb mentioned this pull request Aug 19, 2024
4 tasks
@strtgbb
Copy link
Collaborator Author

strtgbb commented Sep 12, 2024

Blocking issues

Alpine

https://github.com/Altinity/clickhouse-regression/actions/runs/10791994233/

Parquet suite fails, unknown cause.

Shell utilities are missing or different (list so far):

  • ps - more verbose output, added grep.
  • stat - restricted syntax, calls updated.
  • useradd - unavailable, installed the shadow package. Can't use adduser, the syntax is incompatible.
  • head | cut - used for checking file headers has different output, fixed by applying head again.
  • curl - does not support kerberos negotiation by default, have not figured out how to enable it.
  • openssl - something's off with cert verification, needs investigation.

OpenSSL error:

C=CA, ST=ON, L=Ottawa, O=Altinity, OU=QA, CN=root, [email protected]
    error 92 at 1 depth lookup: CA cert does not include key usage extension
    error /etc/clickhouse-server/server.crt: verification failed

RHEL-family

Testflows Shell() doesn't instantiate correctly on RHEL-family distros, same result on Fedora and UBI.

[clickhouse1] clickhouse1:/^G[root@clickhouse1 /]# export PS1="bash # "
[clickhouse1] clickhouse1:/^Gbash # echo 1
[clickhouse1] 1

@strtgbb strtgbb marked this pull request as ready for review September 26, 2024 20:05
@strtgbb
Copy link
Collaborator Author

strtgbb commented Oct 2, 2024

Latest runs: https://github.com/Altinity/clickhouse-regression/actions?query=branch%3Apackage-testing
Aggregate functions suite fails in package mode, snapshot not found error.
RHEL mode also has a lot of fails.

If a package is specified, but base-os is not, should base-os be chosen automatically?

@strtgbb strtgbb merged commit f79e550 into main Oct 3, 2024
@strtgbb strtgbb deleted the package-testing branch October 8, 2024 18:24
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.

1 participant