Date: Tue, 09 Apr 2019 01:07:27 +0000 From: bugzilla-noreply@freebsd.org To: testing@freebsd.org Subject: [Bug 237130] sys.opencrypto.runtests.main fails on a stable/12 i386 kernel calling ioctl with EINVAL Message-ID: <bug-237130-32464@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237130 Bug ID: 237130 Summary: sys.opencrypto.runtests.main fails on a stable/12 i386 kernel calling ioctl with EINVAL Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: tests Assignee: testing@freebsd.org Reporter: ngie@FreeBSD.org From https://ci.freebsd.org/job/FreeBSD-stable-12-i386-test/754/testReport/junit= /sys.opencrypto/runtests/main/: Error Message Returned non-success exit status 1 Standard Output kern.cryptodevallowsoft: 1 -> 1 Standard Error Test case metadata ------------------ allowed_architectures is empty allowed_platforms is empty description is empty has_cleanup =3D false is_exclusive =3D false required_configs is empty required_disk_space =3D 0 required_files is empty required_memory =3D 0 required_programs is empty required_user is empty timeout =3D 300 Timing information ------------------ Start time: 2019-04-08T21:52:55.997690Z End time: 2019-04-08T21:52:56.055041Z Duration: 0.057s Original stderr --------------- + [ ! -d /usr/local/share/nist-kat ] + loaded_modules=3D'' + trap cleanup_tests EXIT INT TERM + kldstat -q -m nexus/aesni + kldstat -q -m cryptodev + sysctl -e kern.cryptodevallowsoft + oldcdas=3D'kern.cryptodevallowsoft=3D1' + sysctl 'kern.cryptodevallowsoft=3D1' + dirname /usr/tests/sys/opencrypto/runtests + python /usr/tests/sys/opencrypto/cryptotest.py EE.EsEEE.EEE =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ERROR: test_cbc (__main__.GendCryptoTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/tests/sys/opencrypto/cryptotest.py", line 70, in test_cbc self.runCBC(i) File "/usr/tests/sys/opencrypto/cryptotest.py", line 178, in runCBC c =3D Crypto(cryptodev.CRYPTO_AES_CBC, cipherkey, crid=3Dcrid) File "/usr/tests/sys/opencrypto/cryptodev.py", line 181, in __init__ ioctl(_cryptodev, CIOCGSESSION2, s, 1) IOError: [Errno 22] Invalid argument =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ERROR: test_gcm (__main__.GendCryptoTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/tests/sys/opencrypto/cryptotest.py", line 75, in test_gcm self.runGCM(i, 'ENCRYPT') File "/usr/tests/sys/opencrypto/cryptotest.py", line 115, in runGCM mackey=3Dcipherkey, crid=3Dcrid) File "/usr/tests/sys/opencrypto/cryptodev.py", line 181, in __init__ ioctl(_cryptodev, CIOCGSESSION2, s, 1) IOError: [Errno 22] Invalid argument =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ERROR: test_sha1hmac (__main__.GendCryptoTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/tests/sys/opencrypto/cryptotest.py", line 269, in test_sha1hmac self.runSHA1HMAC(i) File "/usr/tests/sys/opencrypto/cryptotest.py", line 314, in runSHA1HMAC crid=3Dcrid) File "/usr/tests/sys/opencrypto/cryptodev.py", line 181, in __init__ ioctl(_cryptodev, CIOCGSESSION2, s, 1) IOError: [Errno 22] Invalid argument =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ERROR: test_xts (__main__.GendCryptoTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/tests/sys/opencrypto/cryptotest.py", line 65, in test_xts self.runXTS(i, cryptodev.CRYPTO_AES_XTS) File "/usr/tests/sys/opencrypto/cryptotest.py", line 211, in runXTS c =3D Crypto(meth, cipherkey, crid=3Dcrid) File "/usr/tests/sys/opencrypto/cryptodev.py", line 181, in __init__ ioctl(_cryptodev, CIOCGSESSION2, s, 1) IOError: [Errno 22] Invalid argument =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ERROR: test_cbc (__main__.GendCryptoTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/tests/sys/opencrypto/cryptotest.py", line 70, in test_cbc self.runCBC(i) File "/usr/tests/sys/opencrypto/cryptotest.py", line 178, in runCBC c =3D Crypto(cryptodev.CRYPTO_AES_CBC, cipherkey, crid=3Dcrid) File "/usr/tests/sys/opencrypto/cryptodev.py", line 181, in __init__ ioctl(_cryptodev, CIOCGSESSION2, s, 1) IOError: [Errno 22] Invalid argument =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ERROR: test_gcm (__main__.GendCryptoTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/tests/sys/opencrypto/cryptotest.py", line 75, in test_gcm self.runGCM(i, 'ENCRYPT') File "/usr/tests/sys/opencrypto/cryptotest.py", line 115, in runGCM mackey=3Dcipherkey, crid=3Dcrid) File "/usr/tests/sys/opencrypto/cryptodev.py", line 181, in __init__ ioctl(_cryptodev, CIOCGSESSION2, s, 1) IOError: [Errno 22] Invalid argument =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ERROR: test_sha1hmac (__main__.GendCryptoTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/tests/sys/opencrypto/cryptotest.py", line 269, in test_sha1hmac self.runSHA1HMAC(i) File "/usr/tests/sys/opencrypto/cryptotest.py", line 314, in runSHA1HMAC crid=3Dcrid) File "/usr/tests/sys/opencrypto/cryptodev.py", line 181, in __init__ ioctl(_cryptodev, CIOCGSESSION2, s, 1) IOError: [Errno 22] Invalid argument =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ERROR: test_tdes (__main__.GendCryptoTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/tests/sys/opencrypto/cryptotest.py", line 226, in test_tdes self.runTDES(i) File "/usr/tests/sys/opencrypto/cryptotest.py", line 252, in runTDES c =3D Crypto(cryptodev.CRYPTO_3DES_CBC, cipherkey, crid=3Dcrid) File "/usr/tests/sys/opencrypto/cryptodev.py", line 181, in __init__ ioctl(_cryptodev, CIOCGSESSION2, s, 1) IOError: [Errno 22] Invalid argument =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ERROR: test_xts (__main__.GendCryptoTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/tests/sys/opencrypto/cryptotest.py", line 65, in test_xts self.runXTS(i, cryptodev.CRYPTO_AES_XTS) File "/usr/tests/sys/opencrypto/cryptotest.py", line 211, in runXTS c =3D Crypto(meth, cipherkey, crid=3Dcrid) File "/usr/tests/sys/opencrypto/cryptodev.py", line 181, in __init__ ioctl(_cryptodev, CIOCGSESSION2, s, 1) IOError: [Errno 22] Invalid argument ---------------------------------------------------------------------- Ran 12 tests in 0.007s FAILED (errors=3D9, skipped=3D1) + cleanup_tests + trap - EXIT INT TERM + set +e + echo + tr ' ' '\n' + sort -r --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237130-32464>