Project

General

Profile

Actions

Task #3386

closed

Move code coverage check to Ubuntu 14.04

Added by Junxiao Shi almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Build
Target version:
Start date:
Due date:
03/21/2016
% Done:

100%

Estimated time:
3.00 h

Description

Per NDN platform policy, Ubuntu 12.04 support would be discontinued upon Ubuntu 16.04 release.

In preparation for that, code coverage check should be moved to Ubuntu 14.04.

This task includes:

  1. On Ubuntu 14.04, verify the build script with code coverage turned on works correct, and the code coverage report is as accurate as what's generated on Ubuntu 12.04.
  2. Modify Jenkins configuration to run code coverage checks on Ubuntu 14.04.
  3. Add more Ubuntu 14.04 slaves, if needed.
  4. Retire excessive Ubuntu 12.04 slaves.

Files

ndn-atmos-coverage-1404.html (14.2 KB) ndn-atmos-coverage-1404.html Eric Newberry, 03/30/2016 12:07 PM
ndn-atmos-coverage-1204.html (14.9 KB) ndn-atmos-coverage-1204.html Eric Newberry, 03/30/2016 12:07 PM
ndn-cxx-coverage-1204.html (180 KB) ndn-cxx-coverage-1204.html Eric Newberry, 03/30/2016 12:07 PM
ndn-cxx-coverage-1404.html (179 KB) ndn-cxx-coverage-1404.html Eric Newberry, 03/30/2016 12:07 PM
ndns-coverage-1204.html (26.7 KB) ndns-coverage-1204.html Eric Newberry, 03/30/2016 12:07 PM
ndns-coverage-1404.html (26.7 KB) ndns-coverage-1404.html Eric Newberry, 03/30/2016 12:07 PM
NFD-coverage-1204.html (149 KB) NFD-coverage-1204.html Eric Newberry, 03/30/2016 12:07 PM
NFD-coverage-1404.html (145 KB) NFD-coverage-1404.html Eric Newberry, 03/30/2016 12:07 PM

Related issues 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Junxiao Shi almost 9 years ago

  • Description updated (diff)
  • Due date set to 03/21/2016
  • Estimated time set to 3.00 h

Ubuntu 16.04 will be released on Apr 21, 2016. This task should be completed one month before that.

Actions #2

Updated by Junxiao Shi over 8 years ago

  • Assignee set to Eric Newberry

20160316 call decides to assign this to Eric.

Actions #3

Updated by Eric Newberry over 8 years ago

  • Status changed from New to In Progress
Actions #4

Updated by Eric Newberry over 8 years ago

I tested the code coverage for ndn-atmos, ndn-cxx, ndns, and NFD. The only change that was necessary to get it working was to install gcovr from python pip instead of apt-get.

Actions #5

Updated by Davide Pesavento over 8 years ago

Why is that needed? The packaged gcovr is too old?

Actions #6

Updated by Eric Newberry over 8 years ago

Davide Pesavento wrote:

Why is that needed? The packaged gcovr is too old?

Yes, that appears to be the reason. The version packed with Ubuntu 14.04 (gcovr 2.4) encounters problems parsing the output of gcc 4.8. The version from pip (gcovr 3.2) looks like it works.

Actions #8

Updated by Junxiao Shi over 8 years ago

Reply to note-7:

Do you see major difference between a report on 12.04 and a report on 14.04?

If yes, point out the difference and ask project owner to have a look.

If not, proceed with changing the configuration on production Jenkins.

Actions #9

Updated by Davide Pesavento over 8 years ago

I checked ndn-cxx and NFD. The new reports look ok to me. There are some differences, but I don't think we should waste time investigating them.

Actions #10

Updated by Eric Newberry over 8 years ago

  • % Done changed from 0 to 90

Davide Pesavento wrote:

I checked ndn-cxx and NFD. The new reports look ok to me. There are some differences, but I don't think we should waste time investigating them.

The differences in ndns and ndn-atmos look similar to the differences in ndn-cxx and NFD, so I'll prepare the nodes for the switch.

Actions #11

Updated by Eric Newberry over 8 years ago

Code coverage labels have been moved to 64-bit 14.04 nodes. I'm waiting for the release of 16.04 before retiring the 12.04 nodes.

Actions #12

Updated by Junxiao Shi over 8 years ago

Reply to note-11:

Add more Ubuntu 14.04 slaves, if needed.

Are there sufficient slaves to run two builds at the same time?
This means four 14.04 slaves.

Retire excessive Ubuntu 12.04 slaves.

We only need two 12.04 slaves.
Anything more than that can be retired now.

Actions #13

Updated by Eric Newberry over 8 years ago

Junxiao Shi wrote:

We only need two 12.04 slaves.
Anything more than that can be retired now.

Two of the four 12.04 nodes have been retired.

Actions #14

Updated by Eric Newberry over 8 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100
Actions #15

Updated by Junxiao Shi over 8 years ago

  • Blocks Task #3599: Drop build support for Ubuntu 12.04 added
Actions #16

Updated by Davide Pesavento over 8 years ago

  • Status changed from Resolved to Closed

I suppose we can close this.

Actions

Also available in: Atom PDF