You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Emmanuel Lécharny <el...@gmail.com> on 2023/09/10 15:20:29 UTC

Fixing the Jenkins build effort

Hi!

it's now months (years?) the installers are not anymore working for 
Apache Directory Server for at least two reasons:

- Debian 9 has been moved to archive:
+ bash installers/target/docker/run-deb-tests.sh



Testing deb package (Debian 9, OpenJDK 8, 64bit)
Unable to find image 'debian:9' locally
9: Pulling from library/debian
8372a04f222b: Pulling fs layer
8372a04f222b: Download complete
8372a04f222b: Pull complete
Digest: 
sha256:c5c5200ff1e9c73ffbf188b4a67eb1c91531b644856b4aefe86a58d2f0cb05be
Status: Downloaded newer image for debian:9

+ apt-get -qq update
W: The repository 'http://deb.debian.org/debian stretch Release' does 
not have a Release file.
W: The repository 'http://deb.debian.org/debian stretch-updates Release' 
does not have a Release file.
W: The repository 'http://security.debian.org/debian-security 
stretch/updates Release' does not have a Release file.
E: Failed to fetch 
http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages 
404  Not Found
E: Failed to fetch 
http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages 
  404  Not Found
E: Failed to fetch 
http://security.debian.org/debian-security/dists/stretch/updates/main/binary-amd64/Packages 
  404  Not Found [IP: 151.101.130.132 80]
E: Some index files failed to download. They have been ignored, or old 
ones used instead.
script returned exit code 100


- some DIGEST-MD5 SASL authentication method fails:

+ /opt/apacheds-2.0.0.AM27-SNAPSHOT/bin/apacheds.sh start
+ wait_for_apacheds_up
+ timeout 60 sh -c 'while ! nc -z localhost 10389; do sleep 1; done'
+ ldapmodify -h localhost -p 10389 -x -D uid=admin,ou=system -w secret 
-f /data.ldif
adding new entry "uid=user.1,ou=users,ou=system"
+ ldapwhoami -h localhost -p 10389 -Y DIGEST-MD5 -N -O minssf=128 -U 
user.1 -R example.com -w secret
+ tee /tmp/ldapwhoami.log
ldap_sasl_interactive_bind_s: Unknown authentication method (-6)
	additional info: SASL(-4): no mechanism available: No worthy mechs found
+ grep 'SASL/DIGEST-MD5 authentication started' /tmp/ldapwhoami.log


I think I have fixed the first issue (now working with debian 10 as a 
default, still to check we are using Java 8)

I'm investigation the second error, if anyone has a clue, I'll be glad 
to get some insight!


Thanks!

-- 
*Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
T. +33 (0)4 89 97 36 50
P. +33 (0)6 08 33 32 61
emmanuel.lecharny@busit.com https://www.busit.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org