← Back to team overview

ubuntu-public-cloud team mailing list archive

[Bug 2113875] Re: [SRU] Please update to 20250416.02

 

Hey @raof!

This is my bad again for not being more explicit. Google try to maintain
upstream what they think the d/rules, d/control, etc. files should be
[0] - so this was my attempt at unifying them. If you want to see that
called out in the changelog do let me know and I'll add it.

Thanks in advance! Let me know what you think.

[0]: https://github.com/GoogleCloudPlatform/guest-
agent/tree/main/packaging/debian

-- 
You received this bug notification because you are a member of Ubuntu
Public Cloud, which is subscribed to google-osconfig-agent in Ubuntu.
https://bugs.launchpad.net/bugs/2113875

Title:
  [SRU] Please update to 20250416.02

Status in google-osconfig-agent package in Ubuntu:
  Fix Released
Status in google-osconfig-agent source package in Jammy:
  Incomplete
Status in google-osconfig-agent source package in Noble:
  New
Status in google-osconfig-agent source package in Plucky:
  New

Bug description:
  =================== SRU ===================

  Following on from previous similar package update requests @ LP:
  #2096657, LP: #2084496, LP: #2073161, LP: #2064580 and LP: #2020762,
  this bug is a request to update the google-osconfig-agent package to
  the upstream version `20250416.02` @
  https://github.com/GoogleCloudPlatform/osconfig/releases/tag/20250416.02

  This package has an SRU exception @
  https://wiki.ubuntu.com/StableReleaseUpdates#google-osconfig-agent
  which includes an ageing exception detailed @
  https://wiki.ubuntu.com/google-osconfig-agent-Updates

  [Impact]

  This package is provided by Google for installation within guests that
  run on Google Compute Engine. It is part of a collection of tools and
  daemons, that ensure that the Ubuntu images published to GCE run
  properly on their platform.

  Cloud platforms evolve at a rate that can't be handled in six-month
  increments, and they will often develop features that they would like
  to be available to customers who don't want to upgrade from earlier
  Ubuntu releases. As such, updating this package to more recent
  upstream releases is required within all Ubuntu releases, so they
  continue to function properly in the GCP environment.

  [Test Case]

  When a new version of this package is uploaded to -proposed, the
  following will happen:

   * an image based on -proposed will be built for GCE and published to the ubuntu-os-cloud-image-proposed project
   * the CPC team will run internal validations (CTF) and Google's upstream test suite `cloud-image-tests` (CIT)
   * the GCE team will be asked to validate that the new package addresses the issues it is expected to address, and that the image passes their own internal image validation.

  If all the testing indicates that the new package is acceptable,
  verification can be considered done.

  [Vendored Dependencies]

  ```
  --- a/go.mod
  +++ b/go.mod
  @@ -11,26 +11,26 @@ require (
          github.com/StackExchange/wmi v1.2.1
          github.com/go-ole/go-ole v1.3.0
          github.com/golang/mock v1.6.0
  -       github.com/google/go-cmp v0.6.0
  +       github.com/google/go-cmp v0.7.0
          github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07
          github.com/ulikunitz/xz v0.5.12
          golang.org/x/crypto v0.32.0
          golang.org/x/oauth2 v0.24.0
  -       golang.org/x/sys v0.29.0
  +       golang.org/x/sys v0.30.0
          google.golang.org/api v0.214.0
          google.golang.org/genproto v0.0.0-20241118233622-e639e219e697
          google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576
          google.golang.org/grpc v1.68.0
  -       google.golang.org/protobuf v1.36.2
  +       google.golang.org/protobuf v1.36.3
   )
   
   require (
  -       cel.dev/expr v0.18.0 // indirect
  -       cloud.google.com/go v0.116.0 // indirect
  +       cel.dev/expr v0.22.0 // indirect
  +       cloud.google.com/go v0.117.0 // indirect
          cloud.google.com/go/auth v0.14.0 // indirect
          cloud.google.com/go/auth/oauth2adapt v0.2.7 // indirect
          cloud.google.com/go/iam v1.2.2 // indirect
  -       cloud.google.com/go/logging v1.12.0 // indirect
  +       cloud.google.com/go/logging v1.13.0 // indirect
          cloud.google.com/go/longrunning v0.6.3 // indirect
          cloud.google.com/go/monitoring v1.21.2 // indirect
          github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.25.0 // indirect
  @@ -40,12 +40,11 @@ require (
          github.com/cespare/xxhash/v2 v2.3.0 // indirect
          github.com/cncf/xds/go v0.0.0-20240905190251-b4127c9b8d78 // indirect
          github.com/envoyproxy/go-control-plane v0.13.1 // indirect
  -       github.com/envoyproxy/protoc-gen-validate v1.1.0 // indirect
  +       github.com/envoyproxy/protoc-gen-validate v1.2.1 // indirect
          github.com/felixge/httpsnoop v1.0.4 // indirect
          github.com/go-logr/logr v1.4.2 // indirect
          github.com/go-logr/stdr v1.2.2 // indirect
  -       github.com/golang/glog v1.2.3 // indirect
  -       github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
  +       github.com/golang/glog v1.2.4 // indirect
          github.com/golang/protobuf v1.5.4 // indirect
          github.com/google/s2a-go v0.1.8 // indirect
          github.com/google/uuid v1.6.0 // indirect
  @@ -56,16 +55,15 @@ require (
          github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
          github.com/sirupsen/logrus v1.9.3 // indirect
          go.chromium.org/luci v0.0.0-20201204084249-3e81ee3e83fe // indirect
  -       go.opencensus.io v0.24.0 // indirect
          go.opentelemetry.io/auto/sdk v1.1.0 // indirect
          go.opentelemetry.io/contrib/detectors/gcp v1.32.0 // indirect
          go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.57.0 // indirect
          go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.57.0 // indirect
  -       go.opentelemetry.io/otel v1.33.0 // indirect
  -       go.opentelemetry.io/otel/metric v1.33.0 // indirect
  -       go.opentelemetry.io/otel/sdk v1.32.0 // indirect
  -       go.opentelemetry.io/otel/sdk/metric v1.32.0 // indirect
  -       go.opentelemetry.io/otel/trace v1.33.0 // indirect
  +       go.opentelemetry.io/otel v1.35.0 // indirect
  +       go.opentelemetry.io/otel/metric v1.35.0 // indirect
  +       go.opentelemetry.io/otel/sdk v1.35.0 // indirect
  +       go.opentelemetry.io/otel/sdk/metric v1.35.0 // indirect
  +       go.opentelemetry.io/otel/trace v1.35.0 // indirect
          golang.org/x/net v0.34.0 // indirect
          golang.org/x/sync v0.10.0 // indirect
          golang.org/x/text v0.21.0 // indirect
  ```

  For jammy only: the following has been added to d/rules:
  ```
  -export GOTOOLCHAIN := local
  -export GOPROXY := off
  -export GOFLAGS := -mod=vendor
  ```
  to _force_ local vendoring (as the most recent version of golang 1.22 in jammy-updates is 1.22.2, but the go.mod requests 1.22.7).

  [Where Problems Could Occur]

  There are many upstream changes in `20250416.02-ubuntu1` vs.
  `20250115.01-ubuntu1` (18 commits/34 files changes); however between
  the cloud-image-tests suite [0] (which is run for validation by CPC
  _and_ Google) and CPC's own internal test harness (CTF), there is
  confidence that most if not all "edge cases" and/or obvious
  regressions concerns can be dismissed before the new version lands in
  `-updates`

  Also, `google-guest-agent` is not a seeded package, and we vendor all
  golang dependencies.

  [Other Information]

  This bug is used for tracking of releasing the new upstream version
  for all supported series, as per the approved policy mentioned in the
  following MRE:

  https://wiki.ubuntu.com/google-osconfig-agent-Updates

  This package is only used on AMD64 and ARM64 but it is build for all
  available architectures.

  [0]: https://github.com/GoogleCloudPlatform/cloud-image-tests

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/google-osconfig-agent/+bug/2113875/+subscriptions



References