[FD.io Helpdesk #28181] Honeycomb merge job lacks credentials to publish debs


Vanessa Valderrama via RT <fdio-helpdesk@...>
 

Packages file shows the following package. Is this issue resolved?

Package: honeycomb
Version: 1.16.12-1097
Filename: ./io/fd/honeycomb/honeycomb/1.16.12-1097_all/honeycomb-1.16.12-1097_all-deb.deb

On Tue Aug 30 04:04:22 2016, mmarsale@... wrote:
Thanks,

The .yaml for honeycomb already contains the failure ignoring part.
It's been there for over a month. So this could have been a different
issue.
But we can ignore the alternatives failure for now because nother
interesting thing is that the jobs started to work as expected without
my intervention, which is great e.g.
https://jenkins.fd.io/view/honeycomb/job/honeycomb-integration-master-
ubuntu1404/1071/consoleFull

So the deb packages are now built and published into:
https://nexus.fd.io/content/repositories/fd.io.master.ubuntu.trusty.main/io/fd/honeycomb/honeycomb/

... still great, but what's wrong is that the "packages" index file of
fd.io.master.ubuntu.trusty.main does not contain honeycomb package,
just the vpp stuff. So it cannot be installed automatically using apt-
get install, since apt-get install relies on the index file:
https://nexus.fd.io/content/repositories/fd.io.master.ubuntu.trusty.main/Packages

Is there anything we can do about that ?

Regards,
Maros

-----Original Message-----
From: CJ Collier via RT [mailto:fdio-helpdesk@...]
Sent: Thursday, August 25, 2016 6:20 PM
To: hagbard@...
Cc: honeycomb-dev@...; Maros Marsalek -X (mmarsale - PANTHEON
TECHNOLOGIES at Cisco) <mmarsale@...>
Subject: RE: [FD.io Helpdesk #28181] Honeycomb merge job lacks
credentials to publish debs

Last time I saw this, research showed that the error with alternatives
could be ignored using « || echo ignore failure» after the failing
command. I fixed a few instances of this in the JJB yaml. Please
refer to the .yaml for examples.

Sent from my PDP-11

On Aug 25, 2016 00:42, "Maros Marsalek -X via RT" < fdio-
helpdesk@...> wrote:


<URL: https://rt.linuxfoundation.org/Ticket/Display.html?id=28181 >

From the later job:

"
+ MVN=/opt/apache/maven/bin/mvn
+ GROUP_ID=io.fd.honeycomb
+ BASEURL=https://nexus.fd.io/content/repositories/fd.io.
+ BASEREPOID=fdio-
+ '[' ubuntu1404 == centos7 ']'
[honeycomb-integration-master-ubuntu1404] $ /bin/sh -xe
/tmp/hudson987168679523832107.sh
+ '[' ubuntu1404 == ubuntu1404 ']'
+ sudo update-java-alternatives -s
+ /usr/lib/jvm/java-1.7.0-openjdk-amd64
update-alternatives: error: no alternatives for mozilla-javaplugin.so
update-java-alternatives: plugin alternative does not exist:
/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/IcedTeaPlugin.so
[ssh-agent] Stopped.
"

Some issue with alternatives crashes the ssh execution.

Maros

-----Original Message-----
From: Maros Marsalek -X (mmarsale - PANTHEON TECHNOLOGIES at Cisco)
Sent: Thursday, August 25, 2016 9:40 AM
To: 'fdio-helpdesk@...' <fdio-helpdesk@rt.
linuxfoundation.org>; hagbard@...
Cc: honeycomb-dev@...
Subject: RE: [FD.io Helpdesk #28181] Honeycomb merge job lacks
credentials to publish debs

Hi,

Now for some reason the script that creates the deb package is not
invoked by Jenkins.

Previously, it used to be invoked, but failed e.g.
https://jenkins.fd.io/view/honeycomb/job/honeycomb-
integration-master-ubuntu1404/1048/consoleFull
You can see the invocation:
./packaging/deb/debuild.sh

But now, no invocation e.g.
https://jenkins.fd.io/view/honeycomb/job/honeycomb-
integration-master-ubuntu1404/1055/consoleFull

So there seems to be another issue.

Maros

-----Original Message-----
From: Vanessa Valderrama via RT [mailto:fdio-helpdesk@rt.
linuxfoundation.org]
Sent: Thursday, August 25, 2016 12:34 AM
To: hagbard@...
Cc: honeycomb-dev@...; Maros Marsalek -X (mmarsale -
PANTHEON
TECHNOLOGIES at Cisco) <mmarsale@...>
Subject: [FD.io Helpdesk #28181] Honeycomb merge job lacks
credentials
to publish debs

Ed,

The credentials have been updated. Validated by manually pushing a
package. Please confirm this issue is resolved.

Thank you,
Vanessa

On Wed Aug 24 08:57:36 2016, hagbard wrote:
It appears that honeycomb Jenkins jobs lack credentials to publish
packages.
Please make sure they can do so for all yum/apt repositories:

https://jenkins.fd.io/view/honeycomb/job/honeycomb-integration-
maste
r-
ubuntu1404/1046/console

Ed



Join honeycomb-dev@lists.fd.io to automatically receive all group messages.