Bug 46004 - Updater tests are failing: E: There were unauthenticated packages and -y was used without --allow-unauthenticated
Updater tests are failing: E: There were unauthenticated packages and -y was ...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 4.3
Other Linux
: P5 normal (vote)
: UCS 4.3
Assigned To: Philipp Hahn
Stefan Gohmann
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-10 15:48 CET by Florian Best
Modified: 2018-03-14 14:37 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2018-01-10 15:48:04 CET
(2018-01-08 20:35:27.788299) 13772 blocks
(2018-01-08 20:35:27.804608) gpg: WARNING: unsafe permissions on homedir '/root/.gnupg'
(2018-01-08 20:35:27.804949) gpg: keybox '/root/.gnupg/pubring.kbx' created
A lot of the 09_updater tests are failing. Most seem to fail with a similar error message:

http://jenkins.knut.univention.de:8080/job/UCS-4.3/job/UCS-4.3-0/job/AutotestJoin/25/SambaVersion=s4,Systemrolle=master/testReport/09_updater/11local/test/

(2018-01-08 20:35:27.805258) gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory
(2018-01-08 20:35:27.805359) gpg: can't connect to the agent: No such file or directory
(2018-01-08 20:35:27.805436) gpg: agent_genkey failed: No agent running
(2018-01-08 20:35:27.805508) gpg: key generation failed: No agent running
(2018-01-08 20:35:27.894163) Warning: apt-key output should not be parsed (stdout is not a terminal)
(2018-01-08 20:35:27.944519) gpg: Keine gültigen OpenPGP-Daten gefunden.
(2018-01-08 20:35:27.974435) gpg: WARNING: unsafe permissions on homedir '/root/.gnupg'
(2018-01-08 20:35:27.974624) gpg: secret key "" not found: Invalid user ID
(2018-01-08 20:35:27.974700) gpg: (check argument of option '--default-key')
(2018-01-08 20:35:27.974767) gpg: all values passed to '--default-key' ignored
(2018-01-08 20:35:27.974877) gpg: no default secret key: No secret key
(2018-01-08 20:35:27.974947) gpg: signing failed: No secret key
(2018-01-08 20:35:27.976236) cp: der Aufruf von stat für '/tmp/tmp.le3AXhBsiz/gpg.chroot/out' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
(2018-01-08 20:35:43.151595) W: The repository 'http://localhost/univention-repository/4.3/maintained 4.3-0/amd64/ Release' is not signed.
[2018-01-08 20:35:43.225540] WARNUNG: Die folgenden Pakete können nicht authentifiziert werden!
[2018-01-08 20:35:43.225599]   test-23169-17377
(2018-01-08 20:35:43.225620) E: There were unauthenticated packages and -y was used without --allow-unauthenticated
[2018-01-08 20:36:25.286573] === RESULT: 110 ===
Comment 1 Philipp Hahn univentionstaff 2018-01-12 18:22:05 CET
c2016d95a8 Bug #46004 test: fix GPG signing in 09_updater/

Package: ucs-test
Version: 8.0.10-2A~4.3.0.201801121821
Branch: ucs_4.3-0
Comment 3 Philipp Hahn univentionstaff 2018-01-17 14:50:20 CET
(In reply to Florian Best from comment #2)
> The only test which failed tonight was:
> http://jenkins.knut.univention.de:8080/job/UCS-4.3/job/UCS-4.3-0/job/
> AutotestJoin/SambaVersion=s4,Systemrolle=master/lastCompletedBuild/
> testReport/09_updater/10online/test/

Should be fixed by
cbab66a5ba Bug #46004 test/up: fix Apache using PrivateTmp=true
e0590b1af2 Bug #46004 test: Copyright 2018

Package: ucs-test
Version: 8.0.14-1A~4.3.0.201801171449
Branch: ucs_4.3-0
Comment 4 Stefan Gohmann univentionstaff 2018-02-02 07:17:15 CET
OK, looks good.
Comment 5 Stefan Gohmann univentionstaff 2018-03-14 14:37:48 CET
UCS 4.3 has been released:
 https://docs.software-univention.de/release-notes-4.3-0-en.html
 https://docs.software-univention.de/release-notes-4.3-0-de.html

If this error occurs again, please use "Clone This Bug".