Package: openqa-client
Version: 4.6.1653336570.10bff0d-1
Severity: important

Dear Phil,

openqa-client should probably depend on libcpanel-json-xs-perl. Filing this
with severity 'important' as I'm not sure if there are situations where parts
of it are working without it.

https://jenkins.debian.net/view/live/job/reproducible_debian_live_build_smallest-build_sid/267/console

didn't have it  installed and failed with

Can't locate Cpanel/JSON/XS.pm in @INC (you may need to install the 
Cpanel::JSON::XS module) (@INC contains: /usr/share/openqa/script/../lib 
/etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 
/usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base 
/usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 
/usr/local/lib/site_perl) at /usr/share/openqa/script/../lib/OpenQA/Command.pm 
line 7.
BEGIN failed--compilation aborted at 
/usr/share/openqa/script/../lib/OpenQA/Command.pm line 7.
Compilation failed in require at /usr/share/perl5/Mojo/Base.pm line 134.
BEGIN failed--compilation aborted at 
/usr/share/openqa/script/../lib/OpenQA/CLI/api.pm line 5.
Compilation failed in require at (eval 35) line 1.

openqa-cli there has been called like this:

openqa-cli api -X POST isos ISO=${DESKTOP}_${SUITE}_${TIMESTAMP}.iso 
DISTRI=debian VERSION=${SUITE}_${DESKTOP} FLAVOR=live-build ARCH=x86_64 
BUILD=:${SNAPSHOT_TIMESTAMP}_${SUITE}_${DESKTOP} CHECKSUM=${CHECKSUM} 
TIMESTAMP=${SNAPSHOT_TIMESTAMP} 
ISO_URL=https://tests.reproducible-builds.org/debian_live_build/${ISONAME} 
--odn --apikey ${OPENQA_APIKEY} --apisecret ${OPENQA_APISECRET} 
LIVE_INSTALLER=no

After installing libcpanel-json-xs-perl things work as they should.

Thanks for maintaining openqa in and for Debian!


-- 
cheers,
        Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

Die Faktenlage bzgl. Klimakatastrophe ist so eindeutig und die Folgen sind so
schwerwiegend, dass Parteien und Organisationen, die immer noch wirksame Maß-
nahmen dagegen behindern, als verbrecherisch einzustufen sind.

Attachment: signature.asc
Description: PGP signature

Reply via email to