tests.reproducible-builds.org: build logs sent as gzip but no content-encoding, but only sometimes?

Holger Levsen holger at layer-acht.org
Wed Nov 15 09:43:38 UTC 2023


Hi,

On Tue, Nov 14, 2023 at 11:05:02PM +0100, наб wrote:
> Keep me in CC please.

ack, done.
 
> On opening
>   https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/systemd-cron.html
> I see garbage in the log view
> (screenshot at https://101010.pl/@nabijaczleweli/111410835559109343).
> 
> In the network log I see a request for
>   https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/systemd-cron_2.3.0-1.rbuild.log.gz
> which returns an expectedly-gzipped answer, but with no
> Content-Encoding: gzip header.
> 
> This reproduces when opening it directly.

what is the actual problem you are experiencing?
 
> For example, my firefox sees:
>   User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0
[...]
> But another user's firefox sees
>   User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0

those are two very different versions of firefox and OSes.

> I tested this on four machines total:
>   my own           (win32   firefox, "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0"):   bad
>   my brother's     (x11     firefox):                                                                                     good
>   my father's      (win32   firefox, "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0"): bad
>   another tester's (wayland firefox, "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0"):           good

so good on linux and bad on windows?

> the first three are the same exit address so this is not IP-bound,
> the only correlation I see with the data is that it's good when calling
> from UNIX and bad when calling from Win32?

seems like it.

> Requesting with curl/7.88.1 I see Content-Encoding: gzip.
> But adding --compressed I see Content-Encoding: gzip, gzip.
> Either way it's valid, but not an ideal approach.

what would you propose?


-- 
cheers,
	Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

The devel is in the details.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.reproducible-builds.org/pipermail/rb-general/attachments/20231115/876c5f7c/attachment.sig>


More information about the rb-general mailing list