[SRU] backport golang-1.21 from mantic

Bug #2040269 reported by Shengjing Zhu
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
golang-1.21 (Ubuntu)
Invalid
Undecided
Unassigned
Focal
Fix Released
Undecided
Graham Inggs
Jammy
Fix Released
Undecided
Graham Inggs
Lunar
Fix Released
Undecided
Graham Inggs

Bug Description

[ Impact ]

 * Google requests to update their guest agents packages in the cloud image, which need new version of Go toolchain.

[ Test Plan ]

 * Install golang-1.21
 * Run `/usr/lib/go-1.21/bin/go version` and it should print `go version go1.21.1 linux/amd64`
 * Run the autopkgtest, and it should succeed. The autopkgtest contains two tests, one is simple, which just compiles an example program. Another is to run all regression tests provided by upstream.

[ Where problems could occur ]

 * This is a new package that doesn't have impact on existing archive packages.

Shengjing Zhu (zhsj)
Changed in golang-1.21 (Ubuntu Focal):
assignee: nobody → Shengjing Zhu (zhsj)
Changed in golang-1.21 (Ubuntu Jammy):
assignee: nobody → Shengjing Zhu (zhsj)
Changed in golang-1.21 (Ubuntu Lunar):
assignee: nobody → Shengjing Zhu (zhsj)
Changed in golang-1.21 (Ubuntu Focal):
status: New → In Progress
Changed in golang-1.21 (Ubuntu Jammy):
status: New → In Progress
Changed in golang-1.21 (Ubuntu Lunar):
status: New → In Progress
Changed in golang-1.21 (Ubuntu):
status: New → Invalid
Shengjing Zhu (zhsj)
description: updated
Revision history for this message
Shengjing Zhu (zhsj) wrote :
Revision history for this message
Shengjing Zhu (zhsj) wrote :
Revision history for this message
Shengjing Zhu (zhsj) wrote :
Revision history for this message
Shengjing Zhu (zhsj) wrote :
Revision history for this message
Shengjing Zhu (zhsj) wrote (last edit ):
Download full text (3.2 KiB)

autopkgtest results:

* Results:
  - golang-1.21/1.21.1-1~20.04
    + ✅ golang-1.21 on focal for amd64 @ 26.10.23 05:37:12
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-focal-zhsj-golang-backports/focal/amd64/g/golang-1.21/20231026_053712_82040@/log.gz
    + ✅ golang-1.21 on focal for arm64 @ 26.10.23 05:56:10
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-focal-zhsj-golang-backports/focal/arm64/g/golang-1.21/20231026_055610_78568@/log.gz
    + ✅ golang-1.21 on focal for armhf @ 26.10.23 05:46:45
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-focal-zhsj-golang-backports/focal/armhf/g/golang-1.21/20231026_054645_5719a@/log.gz
     + ✅ golang-1.21 on focal for ppc64el @ 26.10.23 05:50:06
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-focal-zhsj-golang-backports/focal/ppc64el/g/golang-1.21/20231026_055006_7420b@/log.gz
    + ✅ golang-1.21 on focal for s390x @ 26.10.23 05:48:36
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-focal-zhsj-golang-backports/focal/s390x/g/golang-1.21/20231026_054836_df11e@/log.gz
  - golang-1.21/1.21.1-1~22.04
    + ✅ golang-1.21 on jammy for amd64 @ 26.10.23 05:37:44
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-jammy-zhsj-golang-backports/jammy/amd64/g/golang-1.21/20231026_053744_4b558@/log.gz
    + ✅ golang-1.21 on jammy for arm64 @ 26.10.23 05:55:07
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-jammy-zhsj-golang-backports/jammy/arm64/g/golang-1.21/20231026_055507_58649@/log.gz
    + ✅ golang-1.21 on jammy for armhf @ 26.10.23 05:50:06
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-jammy-zhsj-golang-backports/jammy/armhf/g/golang-1.21/20231026_055006_a7022@/log.gz
    + ✅ golang-1.21 on jammy for ppc64el @ 26.10.23 05:48:18
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-jammy-zhsj-golang-backports/jammy/ppc64el/g/golang-1.21/20231026_054818_ea783@/log.gz
    + ✅ golang-1.21 on jammy for s390x @ 26.10.23 05:49:08
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-jammy-zhsj-golang-backports/jammy/s390x/g/golang-1.21/20231026_054908_d9ff3@/log.gz
  - golang-1.21/1.21.1-1~23.04
    + ✅ golang-1.21 on lunar for amd64 @ 26.10.23 04:10:30
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-lunar-zhsj-golang-backports/lunar/amd64/g/golang-1.21/20231026_041030_419d6@/log.gz
    + ✅ golang-1.21 on lunar for arm64 @ 26.10.23 15:20:51
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-lunar-zhsj-golang-backports/lunar/arm64/g/golang-1.21/20231026_152051_14b48@/log.gz
    + ✅ golang-1.21 on lunar for armhf @ 26.10.23 05:46:26
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-lunar-zhsj-golang-backports/lunar/armhf/g/golang-1.21/20231026_054626_df1e6@/log.gz
    + ✅ golang-1.21 on lunar for ppc64el @ 26.10.23 05:48:54
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-lunar-zhsj-golang-backports/lunar/ppc64el/g/golang-1.21/20231026_054854_48e33@/log.gz
    + ✅ golang-1.21 on lunar for s390x @ 26.10.23 06:54:35
      • Log: https://autopkgtest.ubuntu.com/results/autopkgtest-lunar-zhsj-gola...

Read more...

Graham Inggs (ginggs)
Changed in golang-1.21 (Ubuntu Focal):
assignee: Shengjing Zhu (zhsj) → Graham Inggs (ginggs)
Changed in golang-1.21 (Ubuntu Jammy):
assignee: Shengjing Zhu (zhsj) → Graham Inggs (ginggs)
Changed in golang-1.21 (Ubuntu Lunar):
assignee: Shengjing Zhu (zhsj) → Graham Inggs (ginggs)
Revision history for this message
Shengjing Zhu (zhsj) wrote :
Revision history for this message
Shengjing Zhu (zhsj) wrote :
Revision history for this message
Shengjing Zhu (zhsj) wrote :
Revision history for this message
Shengjing Zhu (zhsj) wrote :

updated the debdiff to include `ubuntu` in version string

Graham Inggs (ginggs)
Changed in golang-1.21 (Ubuntu Focal):
status: In Progress → Fix Committed
Changed in golang-1.21 (Ubuntu Jammy):
status: In Progress → Fix Committed
Changed in golang-1.21 (Ubuntu Lunar):
status: In Progress → Fix Committed
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Shengjing, or anyone else affected,

Accepted golang-1.21 into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/golang-1.21/1.21.1-1~ubuntu22.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

tags: added: verification-needed verification-needed-jammy
tags: added: verification-needed-lunar
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Shengjing, or anyone else affected,

Accepted golang-1.21 into lunar-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/golang-1.21/1.21.1-1~ubuntu23.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-lunar to verification-done-lunar. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-lunar. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello Shengjing, or anyone else affected,

Accepted golang-1.21 into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/golang-1.21/1.21.1-1~ubuntu20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

tags: added: verification-needed-focal
Revision history for this message
Shengjing Zhu (zhsj) wrote (last edit ):

root@lunar1:~# apt policy golang-1.21
golang-1.21:
  Installed: 1.21.1-1~ubuntu23.04.1
  Candidate: 1.21.1-1~ubuntu23.04.1
  Version table:
 *** 1.21.1-1~ubuntu23.04.1 100
        100 http://archive.ubuntu.com/ubuntu lunar-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status

root@lunar1:~# /usr/lib/go-1.21/bin/go version
go version go1.21.1 linux/amd64

root@jammy1:~# apt policy golang-1.21
golang-1.21:
  Installed: 1.21.1-1~ubuntu22.04.1
  Candidate: 1.21.1-1~ubuntu22.04.1
  Version table:
 *** 1.21.1-1~ubuntu22.04.1 500
        500 http://archive.ubuntu.com/ubuntu jammy-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status

root@jammy1:~# /usr/lib/go-1.21/bin/go version
go version go1.21.1 linux/amd64

root@focal1:~# apt policy golang-1.21
golang-1.21:
  Installed: 1.21.1-1~ubuntu20.04.1
  Candidate: 1.21.1-1~ubuntu20.04.1
  Version table:
 *** 1.21.1-1~ubuntu20.04.1 500
        500 http://archive.ubuntu.com/ubuntu focal-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status

root@focal1:~# /usr/lib/go-1.21/bin/go version
go version go1.21.1 linux/amd64

tags: added: verification-done verification-done-focal verification-done-jammy verification-done-lunar
removed: verification-needed verification-needed-focal verification-needed-jammy verification-needed-lunar
Revision history for this message
Shengjing Zhu (zhsj) wrote :

autopkgtest succeeded for lunar and focal, https://autopkgtest.ubuntu.com/packages/golang-1.21

jammy is missing.

Revision history for this message
Chris Halse Rogers (raof) wrote :

Why haven't the Jammy autopkgtests run?

Revision history for this message
Shengjing Zhu (zhsj) wrote :

> Why haven't the Jammy autopkgtests run?

Something wrong during the migration of autopkgtest infrastructure? BTW I can't trigger the test with such url https://autopkgtest.ubuntu.com/request.cgi/?release=jammy&package=golang-1.21&arch=amd64&trigger=golang-1.21%2F1.21.1-1~ubuntu22.04.1

Revision history for this message
Shengjing Zhu (zhsj) wrote :

@raof, the missing autopkgtest has been fixed. all green now. https://autopkgtest.ubuntu.com/packages/golang-1.21

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package golang-1.21 - 1.21.1-1~ubuntu23.04.1

---------------
golang-1.21 (1.21.1-1~ubuntu23.04.1) lunar; urgency=medium

  * Backport to Lunar (LP: #2040269)

 -- Shengjing Zhu <email address hidden> Wed, 25 Oct 2023 16:16:02 +0800

Changed in golang-1.21 (Ubuntu Lunar):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for golang-1.21 has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package golang-1.21 - 1.21.1-1~ubuntu22.04.1

---------------
golang-1.21 (1.21.1-1~ubuntu22.04.1) jammy; urgency=medium

  * Backport to Jammy (LP: #2040269)

 -- Shengjing Zhu <email address hidden> Wed, 25 Oct 2023 16:18:08 +0800

Changed in golang-1.21 (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package golang-1.21 - 1.21.1-1~ubuntu20.04.1

---------------
golang-1.21 (1.21.1-1~ubuntu20.04.1) focal; urgency=medium

  * Backport to Focal (LP: #2040269)
  * d/control{,.in}: downgrade debhelper compat level to 12
  * Build with Go 1.18
    + d/control{,.in}: use golang-1.18-go in Build-Depends
    + d/rules: use /usr/lib/go-1.18/bin/go to set GOROOT_BOOTSTRAP path

 -- Shengjing Zhu <email address hidden> Wed, 25 Oct 2023 16:21:36 +0800

Changed in golang-1.21 (Ubuntu Focal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.