varnish-cache
varnish-cache copied to clipboard
varnishstatdiff test fails on alpine
observed while trying to package 7.2
on alpine
, apparently due to a awk
incompatibility:
** top === shell {
**** top shell_cmd|exec 2>&1 ;
**** top shell_cmd|\tvarnishstatdiff stat1.txt stat2.txt | tee diff.txt
**** dT 1.367
**** top shell_out|--- stat1.txt
**** top shell_out|+++ stat2.txt
**** top shell_out|awk: cmd. line:6: %*x formats are not supported
**** top shell_status = 0x0000
** top === shell {
**** top shell_cmd|exec 2>&1 ;
**** top shell_cmd|\tsed 's/@/ /' >expected.txt <<-EOF
**** top shell_cmd|\t--- stat1.txt
**** top shell_cmd|\t+++ stat2.txt
**** top shell_cmd|\[email protected]_miss -0 -0.00 Cache misses
**** top shell_cmd|\t@ +1 +0.00
**** top shell_cmd|\t-MAIN.client_req 0 0.00 Good client requests received
**** top shell_cmd|\t+MAIN.esi_req 0 0.00 ESI subrequests
**** top shell_cmd|\[email protected]_object -0 . object structs made
**** top shell_cmd|\t@ +1 .
this is for statdiff_b00000.vtc
I know: 6c7cf83a79ab3570b522c650af9dfb725156482b.
I built varnish on alpine thanks to distrobox (bob on steroids) and the failure was not obvious. Unlike the failure I had on FreeBSD and SunOS where the original awk was behaving differently, but this was my fault for relying on unspecified behavior (3d331ab2961d1de1882f9a9b9aabe3ef54c4cec6).
Since this one looks outlandish, it has low priority.