Project

General

Profile

Actions

Support #22679

closed

Build Jenkins image based on Debian 12 and make sure the whole test & build pipeline works

Added by Peter Amstutz about 1 year ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
CI
Target version:
Due date:
Story points:
-

Files

run-tests-remainder-5149.log (1.45 MB) run-tests-remainder-5149.log Brett Smith, 04/17/2025 07:54 PM

Related issues 1 (0 open1 closed)

Blocked by Arvados - Bug #22415: Java SDK fails to build on Debian 12ResolvedBrett SmithActions
Actions #1

Updated by Peter Amstutz about 1 year ago

  • Position changed from -940332 to -940328
Actions #2

Updated by Peter Amstutz about 1 year ago

  • Related to Bug #22415: Java SDK fails to build on Debian 12 added
Actions #3

Updated by Peter Amstutz about 1 year ago

  • Tracker changed from Bug to Support
Actions #4

Updated by Peter Amstutz 12 months ago

  • Target version changed from Development 2025-04-16 to Development 2025-04-30
Actions #5

Updated by Peter Amstutz 11 months ago

  • Target version changed from Development 2025-04-30 to Development 2025-05-14
Actions #6

Updated by Peter Amstutz 11 months ago

  • Target version changed from Development 2025-05-14 to Development 2025-04-30
Actions #7

Updated by Peter Amstutz 11 months ago

  • Related to deleted (Bug #22415: Java SDK fails to build on Debian 12)
Actions #8

Updated by Peter Amstutz 11 months ago

  • Blocked by Bug #22415: Java SDK fails to build on Debian 12 added
Actions #9

Updated by Peter Amstutz 11 months ago

  • Assigned To set to Brett Smith
Actions #10

Updated by Brett Smith 11 months ago

  • Status changed from New to In Progress
  • File developer-run-tests-4738.log added

arvados-dev branch 22679-debian-12-tests @ 80f2107e9a00cbaa492958dcd450ecd93daabac3 - It's small and basically obvious

packer-build-jenkins-image-arvados-tests: #119 - Generated jenkins-image-arvados-tests-20250417181704

developer-run-tests: #4738 - Failures in lib/controller and services/keep-web, see log attached

developer-run-tests-doc-sdk-java-R: #2237

Actions #12

Updated by Brett Smith 11 months ago

  • File deleted (developer-run-tests-4738.log)
Actions #13

Updated by Brett Smith 11 months ago

lib/controller

On Jenkins

IntegrationSuite.SetUpSuite timed out:

----------------------------------------------------------------------
FAIL: integration_test.go:42: IntegrationSuite.SetUpSuite
…
[z3333] time="2025-04-17T19:07:33.488693876Z" level=info msg="supervisor shut down" PID=24964 error="context canceled" 
[z1111] time="2025-04-17T19:07:33.490200619Z" level=info msg="supervisor shut down" PID=24964 error="context canceled" 
integration_test.go:151:
    c.Assert(ok, check.Equals, true)
... obtained bool = false
... expected bool = true

OOPS: 63 passed, 1 FAILED, 25 MISSED
--- FAIL: Test (35.06s)
FAIL
coverage: 82.0% of statements
FAIL    git.arvados.org/arvados.git/lib/controller    35.078s
FAIL
======= lib/controller tests -- FAILED
======= test lib/controller -- 37s

On a clean Jenkins-like VM

Passes (after fixing a misconfiguration in my systemd-nspawn service configuration, oops)

On my development VM with more cruft

Passes

services/keep-web

On Jenkins

IntegrationSuite.TestConcurrentWrites fails:

----------------------------------------------------------------------
FAIL: handler_test.go:2329: IntegrationSuite.TestConcurrentWrites

IntegrationSuite.TestConcurrentWrites: n=2
IntegrationSuite.TestConcurrentWrites: n=4
handler_test.go:2367:
    c.Check(resp.StatusCode, check.Equals, http.StatusCreated, check.Commentf("%s", content))
... obtained int = 409
... expected int = 201
... i=1/j=3

handler_test.go:2367:
    c.Check(resp.StatusCode, check.Equals, http.StatusCreated, check.Commentf("%s", content))
... obtained int = 409
... expected int = 201
... i=1/j=0

handler_test.go:2372:
    c.Check(resp.StatusCode, check.Equals, http.StatusOK, check.Commentf("%s", content))
... obtained int = 404
... expected int = 200
... i=1/j=3

handler_test.go:2374:
    c.Check(strings.TrimSuffix(string(body), filler), check.Equals, content)
... obtained string = "Not Found" 
... expected string = "i=1/j=3" 

handler_test.go:2372:
    c.Check(resp.StatusCode, check.Equals, http.StatusOK, check.Commentf("%s", content))
... obtained int = 404
... expected int = 200
... i=1/j=0

handler_test.go:2374:
    c.Check(strings.TrimSuffix(string(body), filler), check.Equals, content)
... obtained string = "Not Found" 
... expected string = "i=1/j=0" 

On a clean Jenkins-like VM:

passes

On my development VM with more cruft

Passes (after clearing out my test cache and building it back from scratch)

Actions #14

Updated by Brett Smith 11 months ago

Seeing them consistently pass locally, I tried again and this time they all passed: developer-run-tests: #4749 - you can tell they're running on Debian 12 because all the console outputs report Git 2.39.5 (Debian 11 reports 2.30.2).

I will file separate bugs for the individual racey tests and then close this.

Actions #15

Updated by Brett Smith 11 months ago

  • Status changed from In Progress to Resolved

Brett Smith wrote in #note-14:

I will file separate bugs for the individual racey tests and then close this.

#22823, #22824.

Actions

Also available in: Atom PDF