[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg test suite fails on Alpine Linux starting with 1.21.10



Hi!

On Mon, 2022-12-05 at 16:03:44 +0100, Sören Tempel wrote:
> I just wanted to report that the dpkg 1.21.11 and 1.21.10 test suite
> fails on Alpine Linux Edge. The test suite passed successfully for
> previous version of dpkg.

Thanks for the report!

> The specific test that fails is the ./t/mk.t.
> 
> The output looks as follows:
[…]
>
> These messages are repeated in an infinite loop for both dpkg 1.21.11
> and 1.21.10, the test does not terminate. I suspect that this is related
> to commit c15487a58cfd955ae401c872c95aa375aacd1a88 (author in CC) [1].
> If I revert this commit then the mk.t test passes on Alpine Linux.
> Unfortunately, I don't speak perl so I can't provide a proper fix.
> 
> Please let me know if you need more information.

That's weird. I cannot reproduce this. It works in Debian (but that
could imply some hidden dependency), and I just spawned an alpine:latest
Docker image, and it passes there too with what's currently on git HEAD:

  ,---
  /src/dpkg # cat /etc/alpine-release
  3.17.0
  /src/dpkg # apk --version
  apk-tools 2.12.10, compiled for x86_64.
  /src/dpkg # make -C scripts/ check
  […]
  ./t/merge_changelogs.t ......... ok
  ./t/mk.t ....................... ok
  All tests successful.
  Files=47, Tests=24295, 11 wallclock secs ( 1.11 usr  0.12 sys +  8.06 cusr  1.34 csys = 10.63 CPU)
  Result: PASS
  make[2]: Leaving directory '/src/dpkg/scripts'
  make[1]: Leaving directory '/src/dpkg/scripts'
  make: Leaving directory '/src/dpkg/scripts'
  `---

If you can point a way for me to reproduce, I'm happy to dig further.

Thanks,
Guillem


Reply to: