The DEP8 tests of adsys started to fail[1] with my samba 4.15.5 upload.
Some hints:
<didrocks> ahasenack: it seems we can’t start our smbd local daemon to simulate Active Directory smb server
<didrocks> ahasenack: yeah, I’m puzzled because on smbd start failure, we do print stderr (not stdout though): https://github.com/ubuntu/adsys/blob/main/internal/testutils/samba.go#L16 <didrocks> https://github.com/ubuntu/adsys/blob/main/internal/testutils/samba.go#L43 in particular <didrocks> you can see here how we start it: https://github.com/ubuntu/adsys/blob/main/internal/testutils/samba.go#L21 <didrocks> and the config template is at https://github.com/ubuntu/adsys/blob/20e6f962eb87f667f5e29800be0715ab2496a10d/internal/testutils/samba.go#L55 <ahasenack> 2022/02/24 03:13:59 Setup: smbd hasn’t started successfully <ahasenack> that's here: https://github.com/ubuntu/adsys/blob/main/internal/testutils/samba.go#L129 <ahasenack> you wait for the port to be open? <ahasenack> which port is that, 445/tcp? <didrocks> we wait on the port to be opened, and this one is passed as a parameter, see the template. For the argument we pass in ad tests, once sec, looking <didrocks> 1446 <didrocks> https://github.com/ubuntu/adsys/blob/20e6f962eb87f667f5e29800be0715ab2496a10d/cmd/integration_tests/adsys_test.go#L47
<didrocks> you just need to run go test . in internal/ad/ <didrocks> the failure is as the pre-test setup
1. https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/amd64/a/adsys/20220224_031434_4d453@/log.gz
The DEP8 tests of adsys started to fail[1] with my samba 4.15.5 upload.
Some hints:
<didrocks> ahasenack: it seems we can’t start our smbd local daemon to simulate Active Directory smb server
<didrocks> ahasenack: yeah, I’m puzzled because on smbd start failure, we do print stderr (not stdout though): https:/ /github. com/ubuntu/ adsys/blob/ main/internal/ testutils/ samba.go# L16 /github. com/ubuntu/ adsys/blob/ main/internal/ testutils/ samba.go# L43 in particular /github. com/ubuntu/ adsys/blob/ main/internal/ testutils/ samba.go# L21 /github. com/ubuntu/ adsys/blob/ 20e6f962eb87f66 7f5e29800be0715 ab2496a10d/ internal/ testutils/ samba.go# L55 /github. com/ubuntu/ adsys/blob/ main/internal/ testutils/ samba.go# L129 /github. com/ubuntu/ adsys/blob/ 20e6f962eb87f66 7f5e29800be0715 ab2496a10d/ cmd/integration _tests/ adsys_test. go#L47
<didrocks> https:/
<didrocks> you can see here how we start it: https:/
<didrocks> and the config template is at https:/
<ahasenack> 2022/02/24 03:13:59 Setup: smbd hasn’t started successfully
<ahasenack> that's here: https:/
<ahasenack> you wait for the port to be open?
<ahasenack> which port is that, 445/tcp?
<didrocks> we wait on the port to be opened, and this one is passed as a parameter, see the template. For the argument we pass in ad tests, once sec, looking
<didrocks> 1446
<didrocks> https:/
<didrocks> you just need to run go test . in internal/ad/
<didrocks> the failure is as the pre-test setup
1. https:/ /autopkgtest. ubuntu. com/results/ autopkgtest- jammy/jammy/ amd64/a/ adsys/20220224_ 031434_ 4d453@/ log.gz