Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Test failure on arm #2

Closed
weierophinney opened this issue Dec 31, 2019 · 2 comments
Closed

Test failure on arm #2

weierophinney opened this issue Dec 31, 2019 · 2 comments

Comments

@weierophinney
Copy link
Member

From Fedora QA
https://apps.fedoraproject.org/koschei/package/php-zendframework-zend-crypt?collection=f28

We encounter erratic test suite failure

  • Test suite fails when builder is an arm computer
  • Test suite passes everywhere else
There were 4 failures:
1) ZendTest\Crypt\Key\Derivation\ScryptTest::testVectorSalsa208Core
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'a41f859c6608cc993b81cacb020cef05044b2181a2fd337dfd7b1c6396682f29b4393168e3c9e6bcfe6bc5b7a06d96bae424cc102c91745c24ad673dc7618f81'
+'65926f050000000028b57eb7d8079020dea4b71fcf1a2ba072c0cab4c93fb6556e2447cb6713f9c4e77fea859a18026c175d2aaba5f484900000000065397009'
/builddir/build/BUILD/zend-crypt-514cef5556bac069e36c2cbded40e529b86bb3f2/test/Key/Derivation/ScryptTest.php:56
2) ZendTest\Crypt\Key\Derivation\ScryptTest::testVectorScryptBlockMix
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'a41f859c6608cc993b81cacb020cef05044b2181a2fd337dfd7b1c6396682f29b4393168e3c9e6bcfe6bc5b7a06d96bae424cc102c91745c24ad673dc7618f8120edc975323881a80540f64c162dcd3c21077cfe5f8d5fe2b1a4168f953678b77d3b3d803b60e4ab920996e59b4d53b65d2a225877d5edf5842cb9f14eefe425'
+'65926f050000000028b57eb7d8079020dea4b71fcf1a2ba072c0cab4c93fb6556e2447cb6713f9c4e77fea859a18026c175d2aaba5f4849000000000653970092a7c7e69abf6e67f2bf8f0b400000000b769a515b7db8485d347f4e2abe448101012149261772322a53e07fdc1ba1c14f0f8df09abdae6ca620f98f800000000'
/builddir/build/BUILD/zend-crypt-514cef5556bac069e36c2cbded40e529b86bb3f2/test/Key/Derivation/ScryptTest.php:90
3) ZendTest\Crypt\Key\Derivation\ScryptTest::testVectorScryptROMix
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'79ccc193629debca047f0b70604bf6b62ce3dd4a9626e355fafc6198e6ea2b46d58413673b99b029d665c357601fb426a0b2f4bba200ee9f0a43d19b571a9c71ef1142e65d5a266fddca832ce59faa7cac0b9cf1be2bffca300d01ee387619c4ae12fd4438f203a0e4e1c47ec314861f4e9087cb33396a6873e8f9d2539a4b8e'
+'226231f300000000c5eefc3d0000000038da7f66d108c506ee48cef300000000e8b3ef4ffcf1b396d308bfe0c90c825800000000073b2afc3cf1324600000000f73554500000000099e71816a8457c49a8e6ce14a6af6b0e88636ac921c78dbe8b3ddc7f1e0c19bf8b30e6b0436369ec867beb125b63f26059db393c297e83f3'
/builddir/build/BUILD/zend-crypt-514cef5556bac069e36c2cbded40e529b86bb3f2/test/Key/Derivation/ScryptTest.php:124
4) ZendTest\Crypt\Key\Derivation\ScryptTest::testVectorScrypt
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'d33c6ec1818daaf728f55afadfeaa558b38efa81305b3521a7f12f4be097e84d184092d2a2e93bf71fd1efe052710f66b956ce45da43aa9099de7406d3a05e2a'
+'caf1c85d0594b50d3ad3b16de5fcda6e5b814fa32bf16bdbd5b43e60af6b227f8496a2a619338c13a996a24d0d8e6bb014e499ba00823121524939f66b4f1c35'
/builddir/build/BUILD/zend-crypt-514cef5556bac069e36c2cbded40e529b86bb3f2/test/Key/Derivation/ScryptTest.php:142

P.S. arm is quite common on low cost devices (ex: raspberry pi)


Originally posted by @remicollet at zendframework/zend-crypt#53

@weierophinney
Copy link
Member Author

@remicollet I'll try to reproduce on a Raspberry Pi.


Originally posted by @ezimuel at zendframework/zend-crypt#53 (comment)

@weierophinney
Copy link
Member Author

This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steering Committee.
If you have a security issue, please follow our security reporting guidelines.
If you wish to take on the role of maintainer, please nominate yourself

gsteel pushed a commit that referenced this issue Jul 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant