Project

General

Profile

Actions

Bug #21255

open

lib/controller/localdb TestLoginLDAPViaPAM is racey

Added by Brett Smith 10 months ago. Updated 7 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Tests
Target version:
Story points:
-

Description

Adding example user entry user=foo-bar pass=secret (retrying until server comes up)
ldap_result: Can't contact LDAP server (-1)
adding new entry "cn=bar,dc=example,dc=org" 

adding new entry "uid=foo-bar,dc=example,dc=org" 

adding new entry "uid=expired,dc=example,dc=org" 

Building arvados controller binary to run in container
2023/12/01 15:50:46 [ERR] yamux: keepalive failed: connection write timeout
2023/12/01 15:50:46 [ERR] yamux: Failed to write header: io: read/write on closed pipe
Starting arvados controller in docker container ctrl-2997
7fe2bc9e55229df92643adaa0005354b5de1b0120f8b3071dbad2a741c6cb37f
Waiting for arvados controller to come up...
....................
Arvados controller is up at http://0.0.0.0:49158
Testing authentication failure
++ curl -s --include -d username=foo-bar -d password=nosecret http://0.0.0.0:49158/arvados/v1/users/authenticate
++ tee /dev/null
ldap-25440
ctrl-2997

----------------------------------------------------------------------
FAIL: login_ldap_docker_test.go:20: LDAPSuite.TestLoginLDAPViaPAM

pgproxy listening at [::]:38863
login_ldap_docker_test.go:35:
    c.Check(err, check.IsNil)
... value *exec.ExitError = &exec.ExitError{ProcessState:(*os.ProcessState)(0xc001b62a80), Stderr:[]uint8(nil)} ("exit status 56")

Files

Actions #1

Updated by Peter Amstutz 7 months ago

  • Target version changed from To be scheduled to Future
Actions

Also available in: Atom PDF