NetBSD Problem Report #53084

From martin@duskware.de  Fri Mar  9 10:14:32 2018
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 704127A172
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  9 Mar 2018 10:14:32 +0000 (UTC)
Message-Id: <20180309101421.BD6155CC770@emmas.aprisoft.de>
Date: Fri,  9 Mar 2018 11:14:21 +0100 (CET)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: mips64eb crypto failure
X-Send-Pr-Version: 3.95

>Number:         53084
>Category:       lib
>Synopsis:       mips64eb crypto failure
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 09 10:15:00 +0000 2018
>Last-Modified:  Fri Mar 09 10:50:01 +0000 2018
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.12
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD supremacy.duskware.de 8.99.12 NetBSD 8.99.12 (ERLITE) #247: Fri Mar 9 09:43:55 CET 2018 martin@night-owl.duskware.de:/usr/src/sys/arch/evbmips/compile/ERLITE evbmips
Architecture: mips64eb
Machine: evbmips
>Description:

Trying to fetch pkgsrc/x11/libxcb on evbmips64-eb fails reproducably
with:

=> Full dependency libxcb>=1.11.1: NOT found
=> Verifying update for ../../x11/libxcb
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Fetching libxcb-1.13.tar.bz2
=> Total size: 510453 bytes
4294967295:error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac:/usr/src/crypto/external/bsd/openssl/dist/ssl/record/ssl3_record.c:469:
4294967295:error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac:/usr/src/crypto/external/bsd/openssl/dist/ssl/record/ssl3_record.c:469:
ftp: Can't connect to `xcb.freedesktop.org:https'


Running the "make fetch" on another machine (I tried evbarm) does work
just fine.

>How-To-Repeat:

cd /usr/pkgsrc/x11/libxcb
make fetch

>Fix:
n/a

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: lib/53084: mips64eb crypto failure
Date: Fri, 9 Mar 2018 11:47:27 +0100

 There are a few atf test failures as well:

 tp-start: 1520591730.496514, t_hashes, 6
 tc-start: 1520591730.497061, hmac
 tc-so:Executing command [ /usr/tests/crypto/libcrypto/h_hmactest ]
 tc-se:Fail: incorrect exit status: 3, expected: 0
 tc-se:stdout:
 tc-se:test 0 ok
 tc-se:test 1 ok
 tc-se:test 2 ok
 tc-se:test 3 ok
 tc-se:test 4 ok
 tc-se:Error calculating HMAC on 4 entry'
 tc-se:got b222706b86f7cd258bc66438c3c93956c43dc36c instead of 61afdecb95429ef494d61fdee15990cabf0826fc
 tc-se:Error calculating interim HMAC on test 5
 tc-se:got c8fed0e731945d9bcd6e755c06a61f70767b3544 instead of 61afdecb95429ef494d61fdee15990cabf0826fc
 tc-se:Error calculating HMAC on test 6
 tc-se:got e7f924989b5e7221b5df703e211ff8825603950a instead of a12396ceddd2a85f4c656bc1e0aa50c78cffde3e
 tc-se:
 tc-se:stderr:
 tc-se:
 tc-end: 1520591731.761830, hmac, failed, atf-check failed; see the output of the test for details


 tc-so:Executing command [ /usr/tests/crypto/libcrypto/h_rc4test ]
 tc-se:Fail: incorrect exit status: 1, expected: 0
 tc-se:stdout:
 tc-se:test 0 ok
 tc-se:test 1 ok
 tc-se:test 2 ok
 tc-se:test 3 ok
 tc-se:test 4 ok
 tc-se:test 5 ok
 tc-se:test end processing ....................done
 tc-se:test multi-call ....................done
 tc-se:bulk test error in RC4 bulk test
 tc-se:output: 5d 5f 62 2d 37 3e ae ab a3 a1 cf f0 85 55 a4 de 46 37 5e 01
 tc-se:expect: a4 7b cc 00 3d d0 bd e1 ac 5f 12 1e 45 bc fb 1a a1 f2 7f c5
 tc-se:
 tc-se:stderr:
 tc-se:
 tc-end: 1520591927.23287, rc4, failed, atf-check failed; see the output of the test for details


 tc-so:Executing command [ /usr/tests/crypto/libcrypto/h_dsatest ]
 tc-se:Fail: incorrect exit status: 1, expected: 0
 tc-se:stdout:
 tc-se:
 tc-se:stderr:
 tc-se:test generation of DSA parameters
 tc-se:..error in dsatest
 tc-se:
 tc-end: 1520592092.516174, dsa, failed, atf-check failed; see the output of the test for details


 tc-so:Executing command [ /usr/tests/crypto/libcrypto/h_dsatest ]
 tc-se:Fail: incorrect exit status: 1, expected: 0
 tc-se:stdout:
 tc-se:
 tc-se:stderr:
 tc-se:test generation of DSA parameters
 tc-se:..error in dsatest
 tc-se:
 tc-end: 1520592092.516174, dsa, failed, atf-check failed; see the output of the test for details


 tc-start: 1520592310.743836, ecdh
 tc-so:Executing command [ /usr/tests/crypto/libcrypto/h_ecdhtest ]
 tc-se:Fail: incorrect exit status: 1, expected: 0
 tc-se:stdout:
 tc-se:Testing key generation with NIST Prime-Curve P-192 .... failed
 tc-se:
 tc-se:key a:
 tc-se:private key: DB62426FE8C81747195DED04FD718114CEE9E0126B6FE0B9
 tc-se:public key (x,y): 344DB3AB127D7C4CBCC83F384C8F08753D7C2DC36EDA025B,5CE7082408E17A957A0FDABF8769AE567E435D85DFA16469
 tc-se:key b:
 tc-se:private key: AAAF007F88A8FEC580E3E48E0523BCB094A9B3471244352
 tc-se:public key (x,y): F8D41E2D5D5AC43F22891FDDD88068DEB256C9C4B5B65BFD,57C38E407675CA755F727E6423FE9B05DC76AF021099EA3F
 tc-se:generated key a: 8342F72FF8F6A89AFC9119DD0AE2608C0D5A68AE
 tc-se:generated key b: 040EEE27A82244BEC618493902AAAF3C7E8C300B
 tc-se:
 tc-se:stderr:
 tc-se:Error in ECDH routines
 tc-se:
 tc-end: 1520592312.91039, ecdh, failed, atf-check failed; see the output of the test for details
 tc-start: 1520592312.93605, ecdsa
 tc-so:Executing command [ /usr/tests/crypto/libcrypto/h_ecdsatest ]
 tc-se:Fail: incorrect exit status: 1, expected: 0
 tc-se:stdout:
 tc-se:some tests from X9.62:
 tc-se:testing prime192v1: .. failed
 tc-se:
 tc-se:ECDSA test failed
 tc-se:
 tc-se:stderr:
 tc-se:
 tc-end: 1520592312.930623, ecdsa, failed, atf-check failed; see the output of the test for details
 tc-start: 1520592312.932157, rsa
 tc-so:Executing command [ /usr/tests/crypto/libcrypto/h_rsatest ]
 tc-se:Fail: incorrect exit status: 1, expected: 0
 tc-se:stdout:
 tc-se:PKCS #1 v1.5 encryption/decryption ok
 tc-se:OAEP decryption (encrypted data) failed!
 tc-se:OAEP decryption (test vector data) failed!
 tc-se:PKCS #1 v1.5 encryption/decryption ok
 tc-se:OAEP decryption (encrypted data) failed!
 tc-se:OAEP decryption (test vector data) failed!
 tc-se:PKCS #1 v1.5 encryption/decryption ok
 tc-se:OAEP decryption (encrypted data) failed!
 tc-se:OAEP decryption (test vector data) failed!
 tc-se:
 tc-se:stderr:
 tc-se:
 tc-end: 1520592325.221764, rsa, failed, atf-check failed; see the output of the test for details
 tc-start: 1520592325.223345, srp
 tc-so:Executing command [ /usr/tests/crypto/libcrypto/h_srptest ]
 tc-se:Fail: incorrect exit status: 1, expected: 0
 tc-se:stdout:
 tc-se:N = EEAF0AB9ADB38DD69C33F80AFA8FC5E86072618775FF3C0B9EA2314C9C256576D674DF7496EA81D3383B4813D692C6E0E0D5D8E250B98BE48E495C1D6089DAD15DC7D7B46154D6B6CE8EF4AD69B15D4982559B297BCF1885C529F566660E57EC68EDBC3C05726CC02FD4CBF4976EAA9AFD5138FE8376435B9FC61D2FC0EB06E3
 tc-se:g = 2
 tc-se:Salt = 6C036434C41565F54060F98CC34C9FF6EA88367E
 tc-se:Verifier = 5E0BC9D5427E8672229E69098D882742DC10D0A07C8B5C8048988383ADCB36552DE073EF5607EE70DE3747E81A1560D7A61C744E774351C0D0EE4A449E14DC8B9448EFCEDB43A993789DDFEAB3FEB83130D0BA9BA86AECB5B5DFE5A991E7F3F192CBC86ACDA2A46B6FF515D57ED9A8AA967D88C7F324A3EE912F6B34C06FCEE5
 tc-se:b = 24DA0B57AD6512BC28C5BDC6BBFB4C3087CBDEE2BD1E11EED72F89CD08AA01F2
 tc-se:B = 59A3E822577505B68C98ED12627BB2CD25BEF425E6456D1792E5769965CED3A2471855FDF7DAD340C272B50A6F4F03B64753CBA005CBED50D15823F420AF0FA287FE9A0B4121F1FE8B0016B12747E66B85B03C76103ECED15A42CDE2B86E7953E0D8E0A9FBD50C97597B9A247ED385A45ECCDB066733B138AD69E2E2E7CE45C0
 tc-se:a = 1E84EA64A9B8C373397AD258E918F30633F14DEBAF17DB4BBF974CCC53DE3541
 tc-se:A = 6E41F416D4B5039E92A05CC57516F8EC607AE5785F31C9C53EB95C7595051E6B94936D9DC04C16A138C7608D60D9DA092808D18A222157A85A3B9B283829A31D9CFD4FF72BC81D8964A70A7D0495AA00D1DD5BD2F19243AD46AE291CF9943CFA15C3F63B2ED1FE9B34D4B10BCC38BB05BD7F47B75C95B5BE3A07581E8140D335
 tc-se:Client's key = E126D5D882556064A97527E5B9299D91FA54EBF1C82DF734D74650E665F87359BD754517036C792775F0C64DD56C2F84EFC69878CE67F6AAC9DD60125CAD22259CFCAD2B4311CC4B2D5D99C72A58D9A055BF44E7FA75F518776381FFCAF517BF6FD4C09A3744D32B3BAC3A3FD60B309C84A7D8588551F4F43D987B3E1621847C
 tc-se:Server's key = 3954A75337A5FD445CF817F94E4B344BC2C0C8DF2FBB969AC83AE1DF28A607AB303CA283A7A6567EAC3FC889BACAEE634769A13D315124FC36FAD9C5B6CB8F9B3E99327B2457628C8A91A68562AC699B3306E6F72933832ADD2B2A9706B5F488955BB76CFB02A73A48194AE30917F9CC50AA76DCE941F8FC2548B55AEC5E83BC
 tc-se:N = EEAF0AB9ADB38DD69C33F80AFA8FC5E86072618775FF3C0B9EA2314C9C256576D674DF7496EA81D3383B4813D692C6E0E0D5D8E250B98BE48E495C1D6089DAD15DC7D7B46154D6B6CE8EF4AD69B15D4982559B297BCF1885C529F566660E57EC68EDBC3C05726CC02FD4CBF4976EAA9AFD5138FE8376435B9FC61D2FC0EB06E3
 tc-se:g = 2
 tc-se:Salt = 6FB675A0A432EB9F1F3EB66ABB7E6855AA59C36A
 tc-se:Verifier = 4A7D9EF83AFA58B30A7BBDC66E6E9DF418F367251F7BA744C30893B997F625217EAA0D3C3B0B95DC5C980C6596A87560FB23AAEEAB7EE311527B625C66F225505BBB42732F52844FE5E0E2B6411DCE0E0892AF93D4A524195D8111DBA179FEDADBCE14451EA040F9A4D29A774E4625504230015FE0FA9BA8B6E9FEC694E1166D
 tc-se:b = 331C62D2A810FF2EE311D99D0F26396932CBFE1C7122C8C721183382A8AC9025
 tc-se:B = E3FFEA67B645BA589E7E822711B06017BF8375948D006603E067E6A3B8C8D7E98FE4001D667E6F371ADD3E770CB82A2B813863835689DB4228BC9866D38564DC1285E78AA2EC3A59E7D1D7CFE44A958F322750B92136AD0367D12A81CBDFA7D2269A2738E764AE03693E1D9181680BF02569C642FFAFE080A899617F1C187A39
 tc-se:a = 90067D668649B37D5F82DB71F6AA8C26F2E722346BCE7EAD5A8FAEA5F8DD0059
 tc-se:A = 65B732A4870CC40A66B92DBA638D53A156E08008BCE0037F2BB09A14A4BBD3FE51834781A3AD9A62D3F67750A502D7DA328F18D869C2D88C04AE77A4F43D2AC1038F17E9E76511B4866AE3979A31CA7FC2D5FCAC2ED584EAB32E74D2B930EC6C7F4B1EBD523ACE823BF79B6276DCB607FE7B1447EF9BE3AB805D1E5ACC66FF18
 tc-se:Client's key = C92650AF9BD860D0A949B8AA0FCFA15D131295F969035007A995FCB1EFC0572E8979616EC30E780C7933F6F881A0CBEBF9C7372DA1012F92FA1E415098A8E1561572C215060473F431D3BFDD204B2C83A7551EDC3F9756C32B18F928A514B9291C8F7F6A7461E6158474C85ADD8C68457FE6910527EC4934F5A82F56BD715D8A
 tc-se:Server's key = E2576785CA6B9E4FF96550203E515DFA90A8EBC2D21495867C262E5BF5B8FEF7885C38AA8E78A084DE54FB645CFAF199ACA9ED6378C1CDF82EBEAAC6D0978E2E53F5BA727E5F086AD74FB48BE57767661E7D5A2FFA8248810AB42906C8A8050DE422FF07206694724F9BD54D904C8CAAE3CC9EC379E5722FBEA58427C6B2C128
 tc-se:
 tc-se:stderr:
 tc-se:Keys mismatch
 tc-se:Keys mismatch
 tc-se:Plain SRP run failed
 tc-se:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.