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

[CI] Ubuntu packaging test failure #46903

Closed
matriv opened this issue Sep 20, 2019 · 7 comments
Closed

[CI] Ubuntu packaging test failure #46903

matriv opened this issue Sep 20, 2019 · 7 comments
Assignees
Labels
:Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts Team:Delivery Meta label for Delivery team >test-failure Triaged test failures from CI

Comments

@matriv
Copy link
Contributor

matriv commented Sep 20, 2019

Task :qa:os:ubuntu-1804:distroTest.default-deb fails on master

Logs: https://gradle-enterprise.elastic.co/s/xgy5awpx6r326/console-log?task=:qa:os:ubuntu-1804:distroTest.default-deb

Error:


org.elasticsearch.packaging.test.DebMetadataTests > test05CheckLintian FAILED
--
\|     java.lang.RuntimeException: Command was not successful: [bash -c lintian --fail-on-warnings /elasticsearch/distribution/packages/deb/build/distributions/elasticsearch-8.0.0-SNAPSHOT-amd64.deb] result: <org.elasticsearch.packaging.util.Shell$Result exitCode = [1] stdout = [W: elasticsearch: jar-contains-source usr/share/elasticsearch/jdk/demo/jfc/SwingSet2/SwingSet2.jar AquaTheme.java
     N: 397 tags overridden (185 errors, 122 warnings, 90 info)
     ] stderr = [warning: the authors of lintian do not recommend running it with root privileges!
     warning: --fail-on-warnings is deprecated
     ]>
         at __randomizedtesting.SeedInfo.seed([6A0354A806B4E302:AAFDC844BCC086B9]:0)
         at org.elasticsearch.packaging.util.Shell.runScript(Shell.java:94)
         at org.elasticsearch.packaging.util.Shell.run(Shell.java:61)
         at org.elasticsearch.packaging.test.DebMetadataTests.test05CheckLintian(DebMetadataTests.java:41)

Fails also on 7.4: https://gradle-enterprise.elastic.co/s/nmiplie2ink4u/console-log?task=:qa:os:ubuntu-1804:distroTest.default-deb

@matriv matriv added :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts >test-failure Triaged test failures from CI labels Sep 20, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@alpar-t
Copy link
Contributor

alpar-t commented Sep 20, 2019

Possibly related to changing to openjdk @jasontedor .
Perhaps we should exclude the demo folder from the JDK ?
We should also see why this wasn't caught by the snapshot PR check ?Afaik that runs on ubuntu, don't we run lintian there?

@jasontedor
Copy link
Member

I think that it's fine to exclude the demo folder. Will you take up understanding why the PR check didn't fail?

ywelsch added a commit that referenced this issue Sep 25, 2019
ywelsch added a commit that referenced this issue Sep 25, 2019
ywelsch added a commit that referenced this issue Sep 25, 2019
@ywelsch
Copy link
Contributor

ywelsch commented Sep 25, 2019

I've muted test05CheckLintian on master, 7.x and 7.4 (42cc899, db63e78, 61f0eaa). I didn't know how to mute this purely on Ubuntu, so it's a complete mute.

@rjernst
Copy link
Member

rjernst commented Sep 27, 2019

This should be fixed by #47161 and the test has been unmuted. Closing.

@rjernst rjernst closed this as completed Sep 27, 2019
@alpar-t
Copy link
Contributor

alpar-t commented Sep 30, 2019

The test failure is indeed fixed. @rjernst hope you don't mind if I leave this open as a reminder to check why this was not caught as part of PR checks

@alpar-t alpar-t reopened this Sep 30, 2019
@alpar-t alpar-t self-assigned this Sep 30, 2019
@alpar-t
Copy link
Contributor

alpar-t commented Oct 7, 2019

I checked and we do run lintian on unbuntu 1604 as part of the snapshot PR check.
Recent PR runs show this test running, but unfortunately the log for the original is no longer present in Jenkins, so there's not much we can say about it.
The only possibility I see is that Ubuntu 18 ( the failing one ) has a different config than 16 which is part of snapshot.

@alpar-t alpar-t closed this as completed Oct 7, 2019
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts Team:Delivery Meta label for Delivery team >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

7 participants