Project

General

Profile

Actions

Task #4300

closed

Jenkins Ubuntu 17.10 agents

Added by Eric Newberry about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Build
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

Ubuntu 17.10 will be released on October 19. Once a Vagrant box is released for 17.10 64-bit, Jenkins agents will need to be deployed. We can host them at Arizona since we already have the 17.04 agents (which these will replace).


Related issues 1 (0 open1 closed)

Blocked by ndn-cxx - Bug #4147: stack-use-after-scope in Mgmt/TestDispatcher/StatusDatasetClosedYanbiao Li

Actions
Actions #1

Updated by Davide Pesavento about 7 years ago

  • Start date deleted (09/24/2017)
Actions #2

Updated by Davide Pesavento about 7 years ago

  • Blocked by Bug #4147: stack-use-after-scope in Mgmt/TestDispatcher/StatusDataset added
Actions #3

Updated by Eric Newberry about 7 years ago

  • Status changed from New to In Progress

Ubuntu 17.10 was released today. I can't find a Vagrant box for it yet, but I'll install it in a VM and make sure the ndn-cxx/NFD/ndn-tools trio builds properly.

Actions #4

Updated by Eric Newberry about 7 years ago

The compilation and tests for NFD and ndn-tools all ran successfully. However, I'm getting some strange FaceUri canonization errors in the ndn-cxx unit tests, perhaps related to what we experienced when deploying 17.04 (#4095).

Running 1008 test cases...
../tests/unit-tests/interest.t.cpp(267): error: in "TestInterest/MatchesInterest": check interest.matchesInterest(other) == false has failed [true != false]
../tests/unit-tests/net/face-uri.t.cpp(88): error: in "Net/TestFaceUri/CanonizeUdpV4": udp4://192.0.2.7:99999 should fail
../tests/unit-tests/net/face-uri.t.cpp(88): error: in "Net/TestFaceUri/CanonizeUdpV6": udp6://[2001:db8::1]:99999 should fail
../tests/unit-tests/net/face-uri.t.cpp(101): error: in "Net/TestFaceUri/CanonizeUdpV6": udp6://google-public-dns-a.google.com should succeed
../tests/unit-tests/net/face-uri.t.cpp(97): error: in "Net/TestFaceUri/CanonizeUdpV6": check tc->m_isCompleted == false has failed [true != false]
../tests/unit-tests/net/face-uri.t.cpp(59): error: in "Net/TestFaceUri/CanonizeUdpV6": check m_nPending == 0 has failed [-1 != 0]
../tests/unit-tests/net/face-uri.t.cpp(88): error: in "Net/TestFaceUri/CanonizeTcpV4": tcp4://192.0.2.7:99999 should fail
../tests/unit-tests/net/face-uri.t.cpp(88): error: in "Net/TestFaceUri/CanonizeTcpV6": tcp6://[2001:db8::1]:99999 should fail
../tests/unit-tests/net/face-uri.t.cpp(101): error: in "Net/TestFaceUri/CanonizeTcpV6": tcp6://google-public-dns-a.google.com should succeed
../tests/unit-tests/net/face-uri.t.cpp(97): error: in "Net/TestFaceUri/CanonizeTcpV6": check tc->m_isCompleted == false has failed [true != false]
../tests/unit-tests/net/face-uri.t.cpp(59): error: in "Net/TestFaceUri/CanonizeTcpV6": check m_nPending == 0 has failed [-1 != 0]
../tests/unit-tests/net/face-uri.t.cpp(428): error: in "Net/TestFaceUri/ParseUnix": check uri.parse("unix://var/run/example.sock") == false has failed [true != false]
../tests/unit-tests/net/face-uri.t.cpp(498): error: in "Net/TestFaceUri/ParseDev": check uri.parse("dev://eth0:8888") == false has failed [true != false]

*** 13 failures are detected (7 failures are expected) in the test module "ndn-cxx Tests"
Actions #5

Updated by Davide Pesavento about 7 years ago

yeah it's DNS-related.

Actions #6

Updated by Davide Pesavento about 7 years ago

We can/should add a /etc/hosts entry for google-public-dns-a.google.com to all jenkins slaves.

Actions #7

Updated by Eric Newberry about 7 years ago

Davide Pesavento wrote:

We can/should add a /etc/hosts entry for google-public-dns-a.google.com to all jenkins slaves.

This doesn't fix the issue on my local VM, even if I add the IPv4 and v6 addresses to /etc/hosts. Additionally, I noticed that it only fails for IPv6, which my ISP supports (and gives me an IP address for). However, while I am able to use v6 from my computer, I am unable to do so from within Virtualbox.

Actions #8

Updated by Davide Pesavento about 7 years ago

Eric Newberry wrote:

This doesn't fix the issue on my local VM, even if I add the IPv4 and v6 addresses to /etc/hosts.

That's odd. What's the content of /etc/nsswitch.conf on the vm?

Actions #9

Updated by Eric Newberry about 7 years ago

Davide Pesavento wrote:

Eric Newberry wrote:

This doesn't fix the issue on my local VM, even if I add the IPv4 and v6 addresses to /etc/hosts.

That's odd. What's the content of /etc/nsswitch.conf on the vm?

/etc/nsswitch.conf:

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat
gshadow:        files

hosts:          files mdns4_minimal [NOTFOUND=return] dns myhostname
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis
Actions #10

Updated by Eric Newberry about 7 years ago

I went ahead and created my own Vagrant base box for artful. I'm going to deploy some agents running on it and see if they work.

Actions #11

Updated by Eric Newberry about 7 years ago

I didn't run into any of the above DNS issues with ndn-cxx in the Vagrant agent I set up. I'm deploying a second agent and will add them to Jenkins shortly. After this is complete, I will retire the 17.04 agents.

Actions #12

Updated by Eric Newberry about 7 years ago

  • Status changed from In Progress to Closed

Two 17.10 agents have been added, all relevant projects have been switched to use 17.10 (and not 17.04), and 17.04 agents have been retired.

Actions #13

Updated by Eric Newberry about 7 years ago

  • % Done changed from 0 to 100
Actions #14

Updated by Davide Pesavento about 7 years ago

  • Target version set to v0.7
Actions

Also available in: Atom PDF