canonical / chisel-releases

36 stars 51 forks source link

Ubuntu 24.10: port missing slices from 24.04 #392

Open cjdcordeiro opened 1 week ago

cjdcordeiro commented 1 week ago

Proposed changes

There were some standing 24.04 PRs at the time of opening 24.10 that weren't forward-ported. This PR ports them from 24.04.

Related issues/PRs

Closes #391

Checklist

Additional Context

github-actions[bot] commented 1 week ago

Diff of dependencies:

slices/fontconfig-config.yaml ```diff @@ -1,8 +1 @@ -fonts-croscore fonts-dejavu-core -fonts-freefont-otf -fonts-freefont-ttf -fonts-liberation -fonts-noto-core -fonts-texgyre -fonts-urw-base35 ```
slices/fonts-urw-base35.yaml ```diff @@ -1 +0,0 @@ -xfonts-utils ```
slices/gpg.yaml ```diff @@ -1,4 +1,3 @@ -gpgconf libassuan0 libbz2-1.0 libc6 ```
slices/libzvbi0t64.yaml ```diff @@ -1,3 +1,2 @@ libc6 libpng16-16t64 -libzvbi-common ```
slices/openjdk-11-jre-headless.yaml ```diff @@ -1,11 +1,6 @@ -ca-certificates-java -java-common libc6 libgcc-s1 -libjpeg8 -liblcms2-2 libnss3 libpcsclite1 libstdc++6 -util-linux zlib1g ```
slices/openjdk-17-jre-headless.yaml ```diff @@ -1,11 +1,6 @@ -ca-certificates-java -java-common libc6 libgcc-s1 -libjpeg8 -liblcms2-2 libnss3 libpcsclite1 libstdc++6 -util-linux zlib1g ```
slices/openjdk-8-jre-headless.yaml ```diff @@ -1,20 +1,10 @@ -ca-certificates-java -java-common libc6 -libcups2t64 libfontconfig1 libfreetype6 libgcc-s1 libjpeg-turbo8 -libjpeg8 liblcms2-2 libnss3 libpcsclite1 libstdc++6 -libx11-6 -libxext6 -libxi6 -libxrender1 -libxtst6 -util-linux zlib1g ```
slices/xfonts-encodings.yaml ```diff @@ -1 +0,0 @@ -x11-common ```
slices/xfonts-utils.yaml ```diff @@ -1,6 +1,5 @@ libc6 libfontenc1 libfreetype6 -x11-common xfonts-encodings zlib1g ```

cjdcordeiro commented 1 week ago

@vpa1977 could you please help understand the java errors in these tests: https://github.com/canonical/chisel-releases/actions/runs/11915704026/job/33206594753?pr=392

I can't reproduce them locally. I just copied them from 24.04.

vpa1977 commented 1 week ago

@vpa1977 could you please help understand the java errors in these tests: https://github.com/canonical/chisel-releases/actions/runs/11915704026/job/33206594753?pr=392

I can't reproduce them locally. I just copied them from 24.04.

It looks like spread is reusing the vms?

VM Started: + chroot . usr/lib/jvm/java-11-openjdk-amd64/bin/jcmd MonitoringTest VM.version

[1045](https://github.com/canonical/chisel-releases/actions/runs/11915704026/job/33206594753?pr=392#step:9:1046)10636:

[1046](https://github.com/canonical/chisel-releases/actions/runs/11915704026/job/33206594753?pr=392#step:9:1047)OpenJDK 64-Bit Server VM version 17.0.13+11-Ubuntu-2ubuntu124.10

We should not have java 17 process, but yet it is present. The tests expect the same/lower version Java to be installed.

cjdcordeiro commented 1 week ago

@vpa1977 indeed since this PR is running many tests in parallel, multiple versions of java get installed at the same time and may clash.

I've adjusted the java tests in order to reduce the changes of such clashes by:

vpa1977 commented 1 week ago

@vpa1977 indeed since this PR is running many tests in parallel, multiple versions of java get installed at the same time and may clash.

I've adjusted the java tests in order to reduce the changes of such clashes by:

There is a typo/not critical thing in Java 17 tests - it uses Java 11 on the host, hence the test failure. We can either bump host to 17 or use 11 update-alternatives.

cjdcordeiro commented 1 week ago

thanks for pointing that out @vpa1977