Project

General

Profile

Actions

Task #3600

closed

Jenkins: Ubuntu 16.04 slave

Added by Junxiao Shi about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Build
Target version:
Start date:
04/21/2016
Due date:
05/05/2016
% Done:

100%

Estimated time:
3.00 h

Description

Deploy Ubuntu 16.04 32-bit and 64-bit slaves.

After that, Ubuntu 15.10, Ubuntu 14.04 32-bit, and Ubuntu 12.04 slaves can be discontinued.


Related issues 1 (0 open1 closed)

Related to NFD - Task #3599: Drop build support for Ubuntu 12.04ClosedDavide Pesavento04/21/2016

Actions
Actions #1

Updated by Junxiao Shi about 8 years ago

  • Related to Task #3599: Drop build support for Ubuntu 12.04 added
Actions #2

Updated by Davide Pesavento about 8 years ago

I don't see a reason to upgrade the 32-bit slaves from 14.04 to 16.04. They can be left untouched in my opinion. At least for the next several months, I expect 14.04 will be the most common platform employed by our users.

Actions #3

Updated by Junxiao Shi about 8 years ago

Reply to note-2:

Platform policy indicates that Ubuntu 14.04 32-bit becomes unsupported upon Ubuntu 16.04 release.

If you disagree with platform policy, discuss this matter on ndn-lib mailing list.

Actions #4

Updated by Davide Pesavento about 8 years ago

Well, it says it's optional:

Optional: The previous Ubuntu LTS release with the gcc which comes with apt, 32-bit, 2GB memory

So I'd say we keep the 14.04 32-bit slaves, in addition to the 16.04 slaves (both flavors) as required by the policy. Unless there's a hardware/resource shortage. These 14.04 32-bit slaves can be dropped in 6 months from now, when 16.10 is released, to avoid increasing the total number of VMs required by CI.

Actions #5

Updated by Eric Newberry about 8 years ago

Davide Pesavento wrote:

So I'd say we keep the 14.04 32-bit slaves, in addition to the 16.04 slaves (both flavors) as required by the policy. Unless there's a hardware/resource shortage. These 14.04 32-bit slaves can be dropped in 6 months from now, when 16.10 is released, to avoid increasing the total number of VMs required by CI.

I see no issue with this. It would only be two more nodes.

Actions #6

Updated by Eric Newberry almost 8 years ago

  • Status changed from New to In Progress
Actions #7

Updated by Eric Newberry almost 8 years ago

  • % Done changed from 0 to 40

Ubuntu 12.04 slaves have been retired and the Ubuntu 12.04 label has been removed from all projects on Jenkins.

Actions #8

Updated by Eric Newberry almost 8 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 40 to 100

Ubuntu 16.04 32-bit and 64-bit slaves have been deployed, Ubuntu 15.10 slaves have been retired, and the Jenkins configurations for all projects have been updated to use the new platforms.

Actions #9

Updated by Davide Pesavento almost 8 years ago

  • Status changed from Resolved to Closed
Actions #10

Updated by Alex Afanasyev almost 8 years ago

  • Status changed from Closed to Feedback

Slaves, unfortunately, not working properly. I'm reopening this issue (Eric is already investigating).

Actions #11

Updated by Davide Pesavento almost 8 years ago

  • Status changed from Feedback to Closed

Seems to be working now.

Actions #12

Updated by Alex Afanasyev almost 8 years ago

  • Status changed from Closed to Feedback

Not really :-D I have disabled 16.04 from NFD, tools, nTorrent until we it works...

(I will let Eric to close the issue)

Actions #13

Updated by Junxiao Shi almost 8 years ago

16.04 32-bit nodes seem to be offline. What's up?

Actions #14

Updated by Eric Newberry almost 8 years ago

Junxiao Shi wrote:

16.04 32-bit nodes seem to be offline. What's up?

We were never able to get the official images to work, so we're using an unofficial image. However, this only provides a 64-bit image. We figured it was better to have 64-bit nodes and no 32-bit nodes than no 16.04 nodes at all.

I'm still testing out Vagrant images every once and a while to see if I can finally deploy the 32-bit nodes.

Actions #15

Updated by Junxiao Shi almost 8 years ago

We were never able to get the official images to work

Is the issue with "getting the official images to work with VirtualBox+Vagrant" or "getting Jenkins agent work in the official images"?

What's the specific error?

Is there a bug report at the upstream (either Ubuntu-cloudimg or Vagrant or Jenkins)?

Actions #16

Updated by Alex Afanasyev almost 8 years ago

There are tons of issues with ubuntu/xenial[32|64] vagrant images. Here a "short" list of issues that exist and nobody seem to be fixing them.

One of the critical for us is tiny disk space. In last few days I was looking how to improve things in an automated fashion (it can be done manually).

Actions #17

Updated by Junxiao Shi almost 8 years ago

I notice the 8GB disk space when I deploy my devbox.
I'm adding a secondary disk with a method from http://stackoverflow.com/a/27515150 (the new disk is /dev/sdc), although I can't use my home directory but need to cd to elsewhere.

Actions #18

Updated by Eric Newberry almost 8 years ago

Two Ubuntu 16.04 32-bit nodes have been set up and appear to be building correctly.

Actions #19

Updated by Junxiao Shi almost 8 years ago

Is there a problem with the CAlist of Ubuntu-16.04-32bit-ua-maestro-31820?

http://jenkins.named-data.net/job/ndn-cxx/3516/OS=Ubuntu-16.04-32bit/consoleText

Caused by: hudson.plugins.git.GitException: Command "git -c core.askpass=true fetch --tags --progress http://gerrit.named-data.net/ndn-cxx refs/changes/77/2877/8 --prune" returned status code 128:
stdout: 
stderr: fatal: unable to access 'https://gerrit.named-data.net/ndn-cxx/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Actions #20

Updated by Eric Newberry almost 8 years ago

Junxiao Shi wrote:

Is there a problem with the CAlist of Ubuntu-16.04-32bit-ua-maestro-31820?

http://jenkins.named-data.net/job/ndn-cxx/3516/OS=Ubuntu-16.04-32bit/consoleText

Caused by: hudson.plugins.git.GitException: Command "git -c core.askpass=true fetch --tags --progress http://gerrit.named-data.net/ndn-cxx refs/changes/77/2877/8 --prune" returned status code 128:
stdout: 
stderr: fatal: unable to access 'https://gerrit.named-data.net/ndn-cxx/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

The time on the both 32-bit nodes was set to before the issue date of the new Gerrit SSL certificate. I corrected the time and cloning now appears to work. I retriggered all recent builds that appeared to be affected by this issue.

Actions #21

Updated by Junxiao Shi over 7 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF