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


Maros Marsalek -X (mmarsale - PANTHEON TECHNOLOGIES@Cisco)
 

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@...>; 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@...]
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-master-
ubuntu1404/1046/console

Ed


Maros Marsalek -X via RT <fdio-helpdesk@...>
 

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@...>; 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@...]
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-master-
ubuntu1404/1046/console

Ed


CJ Collier via RT <fdio-helpdesk@...>
 

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-master-
ubuntu1404/1046/console

Ed




Maros Marsalek -X (mmarsale - PANTHEON TECHNOLOGIES@Cisco)
 

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




Maros Marsalek -X via RT <fdio-helpdesk@...>
 

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




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




CJ Collier via RT <fdio-helpdesk@...>
 

I recommend running «apt-get update» on the system on which you're trying
to install the package.

$ curl -s \

https://nexus.fd.io/content/repositories/fd.io.master.ubuntu.trusty.main/Packages
\
| grep -q '^Package: .*honeycomb.*' \
&& echo "Present!"
Present!



On Thu, Sep 1, 2016 at 2:14 PM, Vanessa Valderrama via RT <
fdio-helpdesk@...> wrote:


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

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






Maros Marsalek -X via RT <fdio-helpdesk@...>
 

The problem was that the Package file was not updated after each honeycomb-integration job execution.
Executions between 1076 and 1087 published the deb package, but failed to update the package file (the Packages file only contained 1076 as latest version in nexus). It seemed like those executions did not contain Ed’s fix.

But it all seems fine now. So the issue is resolved.

Maros

From: C.J. Collier [mailto:cjcollier@...]
Sent: Friday, September 02, 2016 2:25 AM
To: fdio-helpdesk@...; Maros Marsalek -X (mmarsale - PANTHEON TECHNOLOGIES at Cisco) <mmarsale@...>
Subject: Re: [FD.io Helpdesk #28181] Honeycomb merge job lacks credentials to publish debs

I recommend running «apt-get update» on the system on which you're trying to install the package.

$ curl -s \
https://nexus.fd.io/content/repositories/fd.io.master.ubuntu.trusty.main/Packages \
| grep -q '^Package: .*honeycomb.*' \
&& echo "Present!"
Present!


On Thu, Sep 1, 2016 at 2:14 PM, Vanessa Valderrama via RT <fdio-helpdesk@...<mailto:fdio-helpdesk@...>> wrote:

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

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@...<mailto: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@...<mailto:fdio-helpdesk@...>]
Sent: Thursday, August 25, 2016 6:20 PM
To: hagbard@...<mailto:hagbard@...>
Cc: honeycomb-dev@...<mailto:honeycomb-dev@...>; Maros Marsalek -X (mmarsale - PANTHEON
TECHNOLOGIES at Cisco) <mmarsale@...<mailto: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@...<mailto: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@...<mailto:fdio-helpdesk@...>' <fdio-helpdesk@rt.
<mailto:fdio-helpdesk@rt.%0b>> > linuxfoundation.org<http://linuxfoundation.org>>; hagbard@...<mailto:hagbard@...>
Cc: honeycomb-dev@...<mailto: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<mailto:fdio-helpdesk@rt>.
linuxfoundation.org<http://linuxfoundation.org>]
Sent: Thursday, August 25, 2016 12:34 AM
To: hagbard@...<mailto:hagbard@...>
Cc: honeycomb-dev@...<mailto:honeycomb-dev@...>; Maros Marsalek -X (mmarsale -
PANTHEON
TECHNOLOGIES at Cisco) <mmarsale@...<mailto: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