[Bug 1930772] Re: currently FTBFS due to TestTLSConfig

Launchpad Bug Tracker 1930772 at bugs.launchpad.net
Tue Aug 17 09:11:28 UTC 2021


This bug was fixed in the package golang-github-prometheus-common -
0.15.0-2ubuntu1

---------------
golang-github-prometheus-common (0.15.0-2ubuntu1) impish; urgency=medium

  * Cherry pick code from upstream to fix an issue with RootCA comparison. As
    of go 1.16 these RootCAs will never be equal, so we just compare the
    subjects instead of the entire value. (LP: #1930772)

 -- William 'jawn-smith' Wilson <william.wilson at canonical.com>  Wed, 23
Jun 2021 17:25:06 +0000

** Changed in: golang-github-prometheus-common (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1930772

Title:
  currently FTBFS due to TestTLSConfig

Status in golang-github-prometheus-common package in Ubuntu:
  Fix Released
Status in golang-github-prometheus-common package in Debian:
  New

Bug description:
  golang-github-prometheus-common package currently FTBFS due to
  TestTLSConfig

  === RUN   TestTLSConfig
  http_config_test.go:519: Unexpected TLS Config result:

  [...]
  RootCAs:0xc00011d470
  [...]
           expected                                                                                                                    
  [...]
  RootCAs:0xc00011cf30
  [...]
  -- FAIL: TestTLSConfig (0.00s) 

  This is reported upstream at https://github.com/prometheus/common/issues/267
  This is also already fixed in commit 10e1378a4a94394e5671c529b7d87833c2b70d13

  This also appears to be related to go 1.16 - previous versions of go appear to                                                       not trigger the issue (or so I infer from the upstream bug report).                                                                  
                                                                                                                                       
  Filing the bug largely to track this as a known issue and mark it in the                                                             
  update-excuses report.  Should be resolved when a new version is uploaded, or                                                        
  the above fix could be cherry-picked if someone is so inclined.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-github-prometheus-common/+bug/1930772/+subscriptions




More information about the Ubuntu-sponsors mailing list