From nobody Tue Nov 15 15:59:23 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NBW8C2MQWz4h5wN for ; Tue, 15 Nov 2022 15:59:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NBW8C1FgJz3n8m for ; Tue, 15 Nov 2022 15:59:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668527963; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TCrmM2lksJMpjLa7VOhkrMZ/YP5I98Hk8gZZj95zdXI=; b=mC/urWT916HO2I3Hw7LMXmiawBeIJPgCq+hGDtEyUCHZ54pkx3xFGfvJrS7s/XHDpRFiZJ WoFVmS91ssxxcwbnjBl5FCgjJScJDEp6S9/NKKSXUvv99+Z8so1rPhGZpguN9/XtmzfMCN NnOp0FUUpDIkiaey2wZUyQcFQSWqgXDCIL7ddj+lYzs3Wv0R7ln2DpkXGjsPAVPQvC8T3O VUXxTHRUkky6DkUQNJ8IAyn9rUEVt9gpzKsDTCiWtwXuouMKmJju56Cz+aaJLNqULrmDGR LGX1uMRbsYWM6/u7K5QdFf73Cwkdv+637FsqxQ0KAOFYwRbJPxVDHWKsIE4M9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668527963; a=rsa-sha256; cv=none; b=bRa6gcnjmZJafFXZWYMMfhH4YMAJ5PeqBSms1XExs4+DrZRL5/e/H5e6a6PPDIZSvhAMYF UcVxdN6tpvH1saLAxlFFnjrcfaNe7FN5/FB7TjTXXPVMAVMf+qIQ1PvJKcf+zisvJlQ9NA dK+ElPmxERYuDp+ot5ZAf4CgHEYFZMOgBfap/MUyJIzAs4O5v9NEK4kqmMA/qkzWJ5dQEq d6YzCIHEm7s5AW3T371z8XbhRV34KBKCz8PTz4VJhamuFSxXC7YGzZR2l3mc9RJ705c5Kw FuseGWllQta8dEImKX0nN9h6Gr/vVFYywVqieUDrDIuSQGVeExs0AXC3WgJpTw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NBW8C0425zSbd for ; Tue, 15 Nov 2022 15:59:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2AFFxMh8074829 for ; Tue, 15 Nov 2022 15:59:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2AFFxMne074828 for freebsd-arm@FreeBSD.org; Tue, 15 Nov 2022 15:59:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 267788] Go testsuite fails in armv7 jail on arm64 host, but not on armv7 host Date: Tue, 15 Nov 2022 15:59:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fuz@fuz.su X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267788 Bug ID: 267788 Summary: Go testsuite fails in armv7 jail on arm64 host, but not on armv7 host Product: Base System Version: 13.1-RELEASE Hardware: arm64 URL: https://github.com/golang/go/issues/56729 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: fuz@fuz.su CC: cognet@FreeBSD.org, dmgk@freebsd.org Running the Go 1.19.3 test suite (all.bash in the Go distribution) in an ar= mv7 jail on arm64 FreeBSD 13.1 (RPi 4B), I get weird test suite failures. The same failures do not occur when testing natively on an armv7 machine (RPi 2B) wi= th the same OS version. Could this be a kernel bug? --- FAIL: TestDCT (0.06s) dct_test.go:78: i=3D35: FDCT src { 0x0000, 0x0000, 0x0000, 0x00a6, 0x0000, 0x0000, 0x0064, 0x0= 000,=20 0x00f4, 0x0000, 0x0044, 0x0046, 0x00ed, 0x0072, 0x0000, 0x0= 000,=20 0x0000, 0x0000, 0x0096, 0x0000, 0x0000, 0x0000, 0x0038, 0x0= 000,=20 0x0000, 0x0062, 0x0000, 0x00d3, 0x004e, 0x0000, 0x004b, 0x0= 000,=20 0x00d0, 0x0000, 0x0000, 0x0000, 0x0000, 0x002b, 0x0000, 0x0= 000,=20 0x0000, 0x00ec, 0x006a, 0x0023, 0x0000, 0x004b, 0x0063, 0x0= 000,=20 0x002e, 0x0000, 0x0000, 0x0000, 0x0000, 0x001d, 0x0000, 0x0= 000,=20 0x0000, 0x0086, 0x0000, 0x0000, 0x00b2, 0x0000, 0x000c, 0x0= 0a4,=20 } got { 0xebd8, 0x0292, 0xfee1, 0x0118, 0x00f2, 0x005c, 0xfe31, 0x0= 052,=20 0x00fd, 0x00ad, 0xfce9, 0x00fd, 0x01b4, 0x051e, 0x00fc, 0x0= 0a6,=20 0x0051, 0xfd6f, 0xff67, 0xffe6, 0x022c, 0xfdc6, 0xffb9, 0x0= 106,=20 0xff7e, 0x0169, 0x0154, 0x013d, 0xfdaf, 0x0298, 0xff94, 0xf= d54,=20 0xff9e, 0xfe51, 0x000c, 0xfef1, 0x034c, 0x0071, 0xfcdf, 0xf= dca,=20 0xfc5a, 0xfdfe, 0xfdfe, 0xfbda, 0xfdc4, 0x02fc, 0xfd01, 0xf= d2c,=20 0xffd4, 0xfea3, 0x007d, 0xfab7, 0xfa7c, 0xfee3, 0xfdb5, 0xf= fb1,=20 0xfb03, 0xffc9, 0x02ee, 0x00a8, 0x004f, 0x0262, 0x041b, 0x0= 19a,=20 } want { 0xebd9, 0x0292, 0xfee2, 0x0117, 0x00f2, 0x005c, 0xfe32, 0x0= 052,=20 0x00fd, 0x00ad, 0xfcea, 0x00fd, 0x01b4, 0x051e, 0x00fc, 0x0= 0a5,=20 0x0051, 0xfd70, 0xff67, 0xffe7, 0x022c, 0xfdc7, 0xffba, 0x0= 106,=20 0xff7f, 0x0169, 0x0154, 0x013d, 0xfdb0, 0x0297, 0xff95, 0xf= d56,=20 0xff9f, 0xfe52, 0x000c, 0xfef2, 0x034c, 0x0071, 0xfcdf, 0xf= dcb,=20 0xfc5b, 0xfdff, 0xfdff, 0xfbdb, 0xfdc5, 0x02fc, 0xfd03, 0xf= d2d,=20 0xffd5, 0xfea4, 0xffa3, 0xfab8, 0xfa7d, 0xfee4, 0xfdb7, 0xf= fb2,=20 0xfb04, 0xffc9, 0x02ee, 0x00a8, 0x004f, 0x0262, 0x041b, 0x0= 19a,=20 } FAIL FAIL image/jpeg 26.861s --- FAIL: TestMUDTracking (0.18s) mud_test.go:82: inverse(30) =3D 0.5591381724253374, not =E2=88=88 [0.27= 734375, 0.2783203125) mud_test.go:82: inverse(30) =3D 0.5586624103885134, not =E2=88=88 [0.27= 734375, 0.2783203125) mud_test.go:82: inverse(30) =3D 0.5469651579616419, not =E2=88=88 [0.27= 734375, 0.2783203125) mud_test.go:82: inverse(30) =3D 0.5466046095998363, not =E2=88=88 [0.27= 734375, 0.2783203125) mud_test.go:82: inverse(30) =3D 0.5433567836763477, not =E2=88=88 [0.27= 734375, 0.2783203125) mud_test.go:82: inverse(30) =3D 0.532762368527474, not =E2=88=88 [0.277= 34375, 0.2783203125) mud_test.go:82: inverse(30) =3D 0.5300878709399219, not =E2=88=88 [0.27= 734375, 0.2783203125) mud_test.go:82: inverse(30) =3D 0.5170200550184978, not =E2=88=88 [0.27= 734375, 0.2783203125) mud_test.go:82: inverse(30) =3D 0.5170200550184978, not =E2=88=88 [0.27= 734375, 0.2783203125) mud_test.go:82: inverse(30) =3D 0.5170200550184978, not =E2=88=88 [0.27= 734375, 0.2783203125) mud_test.go:82: inverse(30) =3D 0.5107044797157085, not =E2=88=88 [0.27= 734375, 0.2783203125) mud_test.go:82: inverse(30) =3D 0.5072570054458773, not =E2=88=88 [0.27= 734375, 0.2783203125) mud_test.go:82: inverse(30) =3D 0.5060522326208803, not =E2=88=88 [0.27= 734375, 0.2783203125) mud_test.go:82: inverse(30) =3D 0.5060522326208803, not =E2=88=88 [0.27= 734375, 0.2783203125) mud_test.go:82: inverse(30) =3D 0.5039603713275813, not =E2=88=88 [0.27= 734375, 0.2783203125) mud_test.go:82: inverse(30) =3D 0.5039244467792984, not =E2=88=88 [0.27= 734375, 0.2783203125) mud_test.go:82: inverse(30) =3D 0.4934037493992722, not =E2=88=88 [0.27= 734375, 0.2783203125) FAIL FAIL internal/trace 0.359s stddev NaN !=3D 73.90083445627211 (allowed error 0.0072168783648703235, 0.005773502691896259) stddev NaN !=3D 73.90083445627211 (allowed error 0.0072168783648703235, 0.005773502691896259) stddev NaN !=3D 73.90083445627211 (allowed error 0.0072168783648703235, 0.005773502691896259) --- FAIL: TestReadUniformity (0.27s) rand_test.go:395: stddev NaN !=3D 73.90083445627211 (allowed error 0.0072168783648703235, 0.005773502691896259) rand_test.go:395: stddev NaN !=3D 73.90083445627211 (allowed error 0.0072168783648703235, 0.005773502691896259) rand_test.go:395: stddev NaN !=3D 73.90083445627211 (allowed error 0.0072168783648703235, 0.005773502691896259) FAIL FAIL math/rand 0.815s (...) FAIL net/http 1080.370s 2022/11/14 14:11:46 http: TLS handshake error from 217.197.83.6:54231: remo= te error: tls: bad certificate 2022/11/14 14:11:46 http: TLS handshake error from 217.197.83.6:54238: read= tcp 217.197.83.6:54237->217.19 7.83.6:54238: use of closed network connection --- FAIL: TestServer (0.26s) --- FAIL: TestServer/NewTLSServer (0.10s) --- FAIL: TestServer/NewTLSServer/ServerClient (0.09s) server_test.go:154: Get "https://217.197.83.6:54230": x509: certificate is valid for 127.0.0.1 , ::1, not 217.197.83.6 --- FAIL: TestServer/NewTLSServerManual (0.09s) --- FAIL: TestServer/NewTLSServerManual/ServerClient (0.09s) server_test.go:154: Get "https://217.197.83.6:54237": x509: certificate is valid for 127.0.0.1 , ::1, not 217.197.83.6 2022/11/14 14:11:46 http: TLS handshake error from 217.197.83.6:54249: remo= te error: tls: bad certificate --- FAIL: TestTLSServerWithHTTP2 (0.13s) --- FAIL: TestTLSServerWithHTTP2/http2 (0.12s) server_test.go:287: Failed to make request: Get "https://217.197.83.6:54248": x509: certificate is valid for 127.0.0.1, ::1, not 217.197.83.6 2022/11/14 14:11:47 Get "https://217.197.83.6:54256": x509: certificate is valid for 127.0.0.1, ::1, not 2 17.197.83.6 FAIL net/http/httptest 0.902s --=20 You are receiving this mail because: You are the assignee for the bug.=