Public bug reported:

php8.0 sees 5 test case failures in composer starting with
8.0.8-1build1, following the introduction of libffi 3.4.2-1 on Sept
10th.

There were 5 failures:

1) Composer\Test\Util\Http\ProxyManagerTest::testGetProxyForRequest with data 
set #1 (array('http://user:p%[email protected]', 'https://proxy.com:443', 
'other.repo.org'), 'http://repo.org', 'http://user:p%[email protected]:80', 
array(array('tcp://proxy.com:80', 'Proxy-Authorization: Basic dX...pwQHNz', 
true)), false, 'http://user:***@proxy.com:80')
lastProxy check
Failed asserting that false is true.

/tmp/autopkgtest.kwg55b/build.q8t/src/tests/Composer/Test/Util/Http/ProxyManagerTest.php:92

2) Composer\Test\Util\Http\ProxyManagerTest::testGetStatus with data set #2 
(array('http://user:p%[email protected]:80'), true, 
'http=http://user:***@proxy.com:80')
message check
Failed asserting that false is true.

/tmp/autopkgtest.kwg55b/build.q8t/src/tests/Composer/Test/Util/Http/ProxyManagerTest.php:144

3) Composer\Test\Util\UrlTest::testSanitize with data set #0 
('https://foo:***@example.org/', 'https://foo:[email protected]/')
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'https://foo:***@example.org/'
+'https://foo:[email protected]/'

/tmp/autopkgtest.kwg55b/build.q8t/src/tests/Composer/Test/Util/UrlTest.php:67

4) Composer\Test\Util\UrlTest::testSanitize with data set #3 
('http://***:***@example.org', 'http://10a8f08e8d7b7b9:[email protected]')
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'http://***:***@example.org'
+'http://10a8f08e8d7b7b9:[email protected]'

/tmp/autopkgtest.kwg55b/build.q8t/src/tests/Composer/Test/Util/UrlTest.php:67

5) Composer\Test\Util\UrlTest::testSanitize with data set #4 
('https://foo:***@example.org:123/', 'https://foo:[email protected]:123/')
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'https://foo:***@example.org:123/'
+'https://foo:[email protected]:123/'

/tmp/autopkgtest.kwg55b/build.q8t/src/tests/Composer/Test/Util/UrlTest.php:67

** Affects: composer (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

- php8.0 sees 5 test case failures starting with 8.0.8-1build1, following
- the introduction of libffi 3.4.2-1 on Sept 10th.
- 
+ php8.0 sees 5 test case failures in composer starting with
+ 8.0.8-1build1, following the introduction of libffi 3.4.2-1 on Sept
+ 10th.
  
  There were 5 failures:
  
  1) Composer\Test\Util\Http\ProxyManagerTest::testGetProxyForRequest with data 
set #1 (array('http://user:p%[email protected]', 'https://proxy.com:443', 
'other.repo.org'), 'http://repo.org', 'http://user:p%[email protected]:80', 
array(array('tcp://proxy.com:80', 'Proxy-Authorization: Basic dX...pwQHNz', 
true)), false, 'http://user:***@proxy.com:80')
  lastProxy check
  Failed asserting that false is true.
  
  
/tmp/autopkgtest.kwg55b/build.q8t/src/tests/Composer/Test/Util/Http/ProxyManagerTest.php:92
  
  2) Composer\Test\Util\Http\ProxyManagerTest::testGetStatus with data set #2 
(array('http://user:p%[email protected]:80'), true, 
'http=http://user:***@proxy.com:80')
  message check
  Failed asserting that false is true.
  
  
/tmp/autopkgtest.kwg55b/build.q8t/src/tests/Composer/Test/Util/Http/ProxyManagerTest.php:144
  
  3) Composer\Test\Util\UrlTest::testSanitize with data set #0 
('https://foo:***@example.org/', 'https://foo:[email protected]/')
  Failed asserting that two strings are identical.
  --- Expected
  +++ Actual
  @@ @@
  -'https://foo:***@example.org/'
  +'https://foo:[email protected]/'
  
  /tmp/autopkgtest.kwg55b/build.q8t/src/tests/Composer/Test/Util/UrlTest.php:67
  
  4) Composer\Test\Util\UrlTest::testSanitize with data set #3 
('http://***:***@example.org', 'http://10a8f08e8d7b7b9:[email protected]')
  Failed asserting that two strings are identical.
  --- Expected
  +++ Actual
  @@ @@
  -'http://***:***@example.org'
  +'http://10a8f08e8d7b7b9:[email protected]'
  
  /tmp/autopkgtest.kwg55b/build.q8t/src/tests/Composer/Test/Util/UrlTest.php:67
  
  5) Composer\Test\Util\UrlTest::testSanitize with data set #4 
('https://foo:***@example.org:123/', 'https://foo:[email protected]:123/')
  Failed asserting that two strings are identical.
  --- Expected
  +++ Actual
  @@ @@
  -'https://foo:***@example.org:123/'
  +'https://foo:[email protected]:123/'
  
  /tmp/autopkgtest.kwg55b/build.q8t/src/tests/Composer/Test/Util/UrlTest.php:67

** Package changed: php8.0 (Ubuntu) => composer (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1946033

Title:
  autopkgtest failures after libffi soname change

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/composer/+bug/1946033/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to