autopkgtest fails due to netcat-openbsd prints connection info on stderr

Bug #2029465 reported by Shengjing Zhu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
davmail (Debian)
Fix Released
Unknown
davmail (Ubuntu)
Fix Released
Undecided
Unassigned
ganglia (Ubuntu)
New
Undecided
Unassigned
netcat-openbsd (Ubuntu)
New
Undecided
Unassigned

Bug Description

https://autopkgtest.ubuntu.com/results/autopkgtest-mantic/mantic/amd64/d/davmail/20230801_081825_da2e8@/log.gz

260s autopkgtest [08:18:03]: test binary-starts: [-----------------------
261s 2023-08-01 08:18:03,408 DEBUG [main] davmail.DavGateway - Start DavMail in server mode
261s 2023-08-01 08:18:03,443 INFO [main] davmail - DavMail Gateway 6.1.0-trunk listening on SMTP port 1025 POP port 1110 IMAP port 1143 CALDAV port 1080 LDAP port 1389
270s Connection to localhost (::1) 1025 port [tcp/*] succeeded!
270s 2023-08-01 08:18:13,251 DEBUG [davmail.smtp.SmtpServer] davmail - Connection from /0:0:0:0:0:0:0:1 on port 1025
270s 2023-08-01 08:18:13,253 INFO [davmail.smtp.SmtpServer] davmail.connection - CONNECT - 0:0:0:0:0:0:0:1:39534
270s 2023-08-01 08:18:13,254 DEBUG [Shutdown] davmail - Stopping DavMail gateway
270s 2023-08-01 08:18:13,256 INFO [davmail.smtp.SmtpServer] davmail.connection - DISCONNECT - 0:0:0:0:0:0:0:1:39534
271s autopkgtest [08:18:14]: test binary-starts: -----------------------]
271s autopkgtest [08:18:14]: test binary-starts: - - - - - - - - - - results - - - - - - - - - -
271s binary-starts FAIL stderr: Connection to localhost (::1) 1025 port [tcp/*] succeeded!
271s autopkgtest [08:18:14]: test binary-starts: - - - - - - - - - - stderr - - - - - - - - - -

Related branches

Revision history for this message
Shengjing Zhu (zhsj) wrote :

ganglia log
https://autopkgtest.ubuntu.com/results/autopkgtest-mantic/mantic/amd64/g/ganglia/20230803_081044_51469@/log.gz

124s autopkgtest [08:10:31]: test gmetad: [-----------------------
124s Connection to 127.0.0.1 8651 port [tcp/*] succeeded!
124s OK
124s autopkgtest [08:10:31]: test gmetad: -----------------------]
125s gmetad FAIL stderr: Connection to 127.0.0.1 8651 port [tcp/*] succeeded!
125s autopkgtest [08:10:32]: test gmetad: - - - - - - - - - - results - - - - - - - - - -
125s autopkgtest [08:10:32]: test gmetad: - - - - - - - - - - stderr - - - - - - - - - -

tags: added: update-excuse
Revision history for this message
Shengjing Zhu (zhsj) wrote :

With netcat-openbsd 1.219-1ubuntu1

ubuntu@ubuntu-devel:~$ nc.openbsd -z 127.0.0.1 22
ubuntu@ubuntu-devel:~$

It prints nothing.

With netcat-openbsd 1.225-1ubuntu1

$ nc.openbsd -z 127.0.0.1 22
Connection to 127.0.0.1 22 port [tcp/ssh] succeeded!
ubuntu@ubuntu-devel:~$

It prints info on stderr.

Revision history for this message
Shengjing Zhu (zhsj) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package davmail - 6.1.0.3423-4

---------------
davmail (6.1.0.3423-4) unstable; urgency=medium

  * autopkgtest: use specific version of netcat (Closes: #1043143, LP: #2029465)

 -- Alexandre Rossi <email address hidden> Mon, 07 Aug 2023 08:25:04 +0200

Changed in davmail (Ubuntu):
status: New → Fix Released
Changed in davmail (Debian):
status: Unknown → Fix Released
Revision history for this message
Graham Inggs (ginggs) wrote :

autopkgtest is now passing

davmail (6.1.0.3423-5) unstable; urgency=medium

  * autopkgtest: make sure that test server has stopped before test script exit
  * autopkgtest: force use of nc.traditional
  * use upstream memory jvm options (Closes: #1052033)

 -- Alexandre Rossi <email address hidden> Tue, 19 Sep 2023 13:46:43 +0200

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.