Project

General

Profile

Actions

Bug #15684

closed

centos7 arvados-api-server package build broken

Added by Peter Amstutz over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
-
Release relationship:
Auto

Description

https://ci.curoverse.com/view/Build-it/job/build-packages-centos7/1796/console

Findings so far.

I think what is happening is something like this:

  1. build arvados-server v1
  2. build arvados-api-server v1
  3. build arvados-server v2
  4. try to install arvados-api-server v1
    1. depends on arvados-server v1
    2. fail because only arvados-server v2 package is available (also a package version conflict since we are pinned to arvados-server v1 but more recently built package would be pinned to arvados-server v2)

Proposed solution: assign version as latest(api-server, arvados-server).

Second finding:
Installing arvados-api-server doesn't appear to pull in arvados-server as a dependency. Which suggests the dependency is missing on all the deb based builds.

Debian packages do have a dependency on arvados-server, but for some reason apt-get doesn't log anything about installing it.

The actual reason that only centos7 is failing:

There is a feature to download already-built dev packages, to avoid building them again.

In the centos7 build, this means it fetches the already existing package, which may have been built depending on an older arvados-server package. This causes the package install test to fail when the arvados-server package is newer than the arvados-api-server package.

However, the "download existing packages" code is presently broken for deb packages (uses the wrong URL). As a result, deb packages are always rebuilt. This means arvados-api-server gets rebuilt at the same version number, but with a dependency on the latest arvados-server package. Testing succeeds, but now we're in a situation where we are be rebuilding a package with the same version number but different metadata.

Actions #1

Updated by Peter Amstutz over 4 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Peter Amstutz over 4 years ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz over 4 years ago

  • Description updated (diff)
Actions #4

Updated by Peter Amstutz over 4 years ago

  • Status changed from In Progress to Resolved
  • Assigned To set to Peter Amstutz
Actions #5

Updated by Peter Amstutz about 4 years ago

  • Release set to 22
Actions

Also available in: Atom PDF