Skip to content

chore(deps): bump the minor group with 2 updates #3676

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: release-4.3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions RELEASE_PROCEDURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ release of a new major or minor version. Each new RC follows step 5 and above.

1. Ensure the user and admin documentation is up-to-date for the new version,
has been branched, and tagged.
* [User Docs](https://www.sylabs.io/guides/latest/user-guide/) can be edited
[here](https://github.com/sylabs/singularity-userdocs)
* [Admin Docs](https://www.sylabs.io/guides/latest/admin-guide/) can be edited
[here](https://github.com/sylabs/singularity-admindocs)
* [User Docs](https://www.sylabs.io/guides/latest/user-guide/) can be [edited
here](https://github.com/sylabs/singularity-userdocs)
* [Admin Docs](https://www.sylabs.io/guides/latest/admin-guide/) can be [edited
here](https://github.com/sylabs/singularity-admindocs)
1. Ensure the user and admin documentation has been deployed to the sylabs.io
website.
1. Modify the `README.md`, `INSTALL.md`, `CHANGELOG.md` via PR against the
Expand Down
8 changes: 4 additions & 4 deletions e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -903,8 +903,8 @@ name of the file/dir, and so both these goals can be accomplished:
package of the standard Go library accepts both a parent directory in which
to create the file (`dir`) and a pattern for the filename to include
(`pattern`). Typically, the pattern is used as a prefix, but other behaviors
are possible. See the full documentation for this function
[here](https://pkg.go.dev/os#CreateTemp).
are possible. See the [full documentation for this function
here](https://pkg.go.dev/os#CreateTemp).
- The function `e2e.WriteTempFile(dir, pattern, content string) (string,
error)` defined in e2e/internal/e2e/fileutil.go behaves similarly - indeed,
it calls os.CreateTemp() with the `dir` and `pattern` arguments it is given.
Expand All @@ -916,8 +916,8 @@ name of the file/dir, and so both these goals can be accomplished:
package of the standard Go library accepts both a parent directory in which
to create the temporary subdir (`dir`) and a pattern for the dirname to
include (`pattern`). Typically, the pattern is used as a prefix, but other
behaviors are possible. See the full documentation for this function
[here](https://pkg.go.dev/os#MkdirTemp).
behaviors are possible. See the [full documentation for this function
here](https://pkg.go.dev/os#MkdirTemp).
- The function `e2e.MakeTempDir(t *testing.T, baseDir string, prefix string,
context string) (string, func(t *testing.T))` defined in
e2e/internal/e2e/fileutil.go behaves similarly - indeed, it calls
Expand Down
5 changes: 0 additions & 5 deletions e2e/docker/regressions.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,6 @@ func (c ctx) issue1286(t *testing.T) {

// https://github.com/sylabs/singularity/issues/1528
// Check that host's TERM value gets passed to OCI container.
// This test uses fairly fine-grained env vars manipulation which, at the
// present, is beyond what an API like testing.T.Setenv() enables, and so
// the tenv linter is turned off here.
//
//nolint:tenv
func (c ctx) issue1528(t *testing.T) {
e2e.EnsureOCISIF(t, c.env)

Expand Down
12 changes: 6 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module github.com/sylabs/singularity/v4

go 1.23.4
go 1.24.0

require (
github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2
github.com/ProtonMail/go-crypto v1.2.0
github.com/ProtonMail/go-crypto v1.3.0
github.com/adigunhammedolalekan/registry-auth v0.0.0-20200730122110-8cde180a3a60
github.com/apex/log v1.9.0
github.com/astromechza/etcpwdparse v0.0.0-20170319193008-f0e5f0779716
Expand All @@ -28,7 +28,7 @@ require (
github.com/fatih/color v1.18.0
github.com/go-log/log v0.2.0
github.com/gofrs/flock v0.12.1
github.com/google/go-containerregistry v0.20.4-0.20250225234217-098045d5e61f
github.com/google/go-containerregistry v0.20.5
github.com/google/uuid v1.6.0
github.com/gosimple/slug v1.15.0
github.com/moby/buildkit v0.21.1
Expand Down Expand Up @@ -111,7 +111,7 @@ require (
github.com/containerd/typeurl/v2 v2.2.3 // indirect
github.com/containers/storage v1.58.0 // indirect
github.com/coreos/go-iptables v0.8.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
github.com/creack/pty v1.1.24 // indirect
github.com/cyberphone/json-canonicalization v0.0.0-20241213102144-19d51d7fe467 // indirect
github.com/digitorus/pkcs7 v0.0.0-20230818184609-3a137a874352 // indirect
Expand Down Expand Up @@ -251,7 +251,7 @@ require (
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.59.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.56.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.59.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0 // indirect
go.opentelemetry.io/otel v1.35.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.31.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.31.0 // indirect
Expand All @@ -260,7 +260,7 @@ require (
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.33.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.34.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.35.0 // indirect
go.opentelemetry.io/otel/trace v1.35.0 // indirect
go.opentelemetry.io/proto/otlp v1.4.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
Expand Down
27 changes: 14 additions & 13 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63n
github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w=
github.com/OneOfOne/xxhash v1.2.8 h1:31czK/TI9sNkxIKfaUfGlU47BAxQ0ztGgd9vPyqimf8=
github.com/OneOfOne/xxhash v1.2.8/go.mod h1:eZbhyaAYD41SGSSsnmcpxVoRiQ/MPUTjUdIIOT9Um7Q=
github.com/ProtonMail/go-crypto v1.2.0 h1:+PhXXn4SPGd+qk76TlEePBfOfivE0zkWFenhGhFLzWs=
github.com/ProtonMail/go-crypto v1.2.0/go.mod h1:9whxjD8Rbs29b4XWbB8irEcE8KHMqaR2e7GWU1R+/PE=
github.com/ProtonMail/go-crypto v1.3.0 h1:ILq8+Sf5If5DCpHQp4PbZdS1J7HDFRXz/+xKBiRGFrw=
github.com/ProtonMail/go-crypto v1.3.0/go.mod h1:9whxjD8Rbs29b4XWbB8irEcE8KHMqaR2e7GWU1R+/PE=
github.com/ThalesIgnite/crypto11 v1.2.5 h1:1IiIIEqYmBvUYFeMnHqRft4bwf/O36jryEUpY+9ef8E=
github.com/ThalesIgnite/crypto11 v1.2.5/go.mod h1:ILDKtnCKiQ7zRoNxcp36Y1ZR8LBPmR2E23+wTQe/MlE=
github.com/VividCortex/ewma v1.2.0 h1:f58SaIzcDXrSy3kWaHNvuJgJ3Nmz59Zji6XoJR/q1ow=
Expand Down Expand Up @@ -262,8 +262,9 @@ github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/cpuguy83/go-md2man/v2 v2.0.6 h1:XJtiaUW6dEEqVuZiMTn1ldk455QWwEIsMIJlo5vtkx0=
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
github.com/cpuguy83/go-md2man/v2 v2.0.7 h1:zbFlGlXEAKlwXpmvle3d8Oe3YnkKIK4xSRTd3sHPnBo=
github.com/cpuguy83/go-md2man/v2 v2.0.7/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4=
github.com/creack/pty v1.1.24 h1:bJrF4RRfyJnbTJqzRLHzcGaZK1NeM5kTC9jGgovnR1s=
Expand Down Expand Up @@ -437,8 +438,8 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
github.com/google/go-containerregistry v0.20.4-0.20250225234217-098045d5e61f h1:q+kbH7LI4wK3gNCxyvy2rFldJqAAB+Gch79/xj9/+GU=
github.com/google/go-containerregistry v0.20.4-0.20250225234217-098045d5e61f/go.mod h1:UnXV0UkKqoHbzwn49vfozmwMcLMS8XLLsVKVuhv3cGc=
github.com/google/go-containerregistry v0.20.5 h1:4RnlYcDs5hoA++CeFjlbZ/U9Yp1EuWr+UhhTyYQjOP0=
github.com/google/go-containerregistry v0.20.5/go.mod h1:Q14vdOOzug02bwnhMkZKD4e30pDaD9W65qzXpyzF49E=
github.com/google/go-github/v55 v55.0.0 h1:4pp/1tNMB9X/LuAhs5i0KQAE40NmiR/y6prLNb9x9cg=
github.com/google/go-github/v55 v55.0.0/go.mod h1:JLahOTA1DnXzhxEymmFF5PP2tSS9JVNj68mSZNDwskA=
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
Expand Down Expand Up @@ -975,8 +976,8 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.5
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.59.0/go.mod h1:ijPqXp5P6IRRByFVVg9DY8P5HkxkHE5ARIa+86aXPf4=
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.56.0 h1:4BZHA+B1wXEQoGNHxW8mURaLhcdGwvRnmhGbm+odRbc=
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.56.0/go.mod h1:3qi2EEwMgB4xnKgPLqsDP3j9qxnHDZeHsnAxfjQqTko=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.59.0 h1:CV7UdSGJt/Ao6Gp4CXckLxVRRsRgDHoI8XjbL3PDl8s=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.59.0/go.mod h1:FRmFuRJfag1IZ2dPkHnEoSFVgTVPUd2qf5Vi69hLb8I=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0 h1:sbiXRNDSWJOTobXh5HyQKjq6wUC5tNybqjIqDpAY4CU=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0/go.mod h1:69uWxva0WgAA/4bu2Yy70SLDBwZXuQ6PbBpbsa5iZrQ=
go.opentelemetry.io/otel v1.35.0 h1:xKWKPxrxB6OtMCbmMY021CqC45J+3Onta9MqjhnusiQ=
go.opentelemetry.io/otel v1.35.0/go.mod h1:UEqy8Zp11hpkUrL73gSlELM0DupHoiq72dR+Zqel/+Y=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.31.0 h1:FZ6ei8GFW7kyPYdxJaV2rgI6M+4tvZzhYsQ2wgyVC08=
Expand All @@ -993,8 +994,8 @@ go.opentelemetry.io/otel/metric v1.35.0 h1:0znxYu2SNyuMSQT4Y9WDWej0VpcsxkuklLa4/
go.opentelemetry.io/otel/metric v1.35.0/go.mod h1:nKVFgxBZ2fReX6IlyW28MgZojkoAkJGaE8CpgeAU3oE=
go.opentelemetry.io/otel/sdk v1.35.0 h1:iPctf8iprVySXSKJffSS79eOjl9pvxV9ZqOWT0QejKY=
go.opentelemetry.io/otel/sdk v1.35.0/go.mod h1:+ga1bZliga3DxJ3CQGg3updiaAJoNECOgJREo9KHGQg=
go.opentelemetry.io/otel/sdk/metric v1.34.0 h1:5CeK9ujjbFVL5c1PhLuStg1wxA7vQv7ce1EK0Gyvahk=
go.opentelemetry.io/otel/sdk/metric v1.34.0/go.mod h1:jQ/r8Ze28zRKoNRdkjCZxfs6YvBTG1+YIqyFVFYec5w=
go.opentelemetry.io/otel/sdk/metric v1.35.0 h1:1RriWBmCKgkeHEhM7a2uMjMUfP7MsOF5JpUCaEqEI9o=
go.opentelemetry.io/otel/sdk/metric v1.35.0/go.mod h1:is6XYCUMpcKi+ZsOvfluY5YstFnhW0BidkR+gL+qN+w=
go.opentelemetry.io/otel/trace v1.35.0 h1:dPpEfJu1sDIqruz7BHFG3c7528f6ddfSWfFDVt/xgMs=
go.opentelemetry.io/otel/trace v1.35.0/go.mod h1:WUk7DtFp1Aw2MkvqGdwiXYDZZNvA/1J8o6xRXLrIkyc=
go.opentelemetry.io/proto/otlp v1.4.0 h1:TA9WRvW6zMwP+Ssb6fLoUIuirti1gGbP28GcKG1jgeg=
Expand Down Expand Up @@ -1048,8 +1049,8 @@ golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug
golang.org/x/net v0.39.0 h1:ZCu7HMWDxpXpaiKdhzIfaltL9Lp31x/3fCP11bc6/fY=
golang.org/x/net v0.39.0/go.mod h1:X7NRbYVEA+ewNkCNyJ513WmMdQ3BineSwVtN2zD/d+E=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.29.0 h1:WdYw2tdTK1S8olAzWHdgeqfy+Mtm9XNhv/xJsY65d98=
golang.org/x/oauth2 v0.29.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8=
golang.org/x/oauth2 v0.30.0 h1:dnDm7JmhM45NNpd8FDDeLhK6FwqbOf4MLCM9zb1BOHI=
golang.org/x/oauth2 v0.30.0/go.mod h1:B++QgG3ZKulg6sRPGD/mqlHQs5rB3Ml9erfeDY7xKlU=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
Expand Down Expand Up @@ -1122,8 +1123,8 @@ golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roY
golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/tools v0.32.0 h1:Q7N1vhpkQv7ybVzLFtTjvQya2ewbwNDZzUgfXGqtMWU=
golang.org/x/tools v0.32.0/go.mod h1:ZxrU41P/wAbZD8EDa6dDCa6XfpkhJ7HFMjHJXfBDu8s=
golang.org/x/tools v0.33.0 h1:4qz2S3zmRxbGIhDIAgjxvFutSvH5EfnsYrRBj0UI0bc=
golang.org/x/tools v0.33.0/go.mod h1:CIJMaWEY88juyUfo7UbgPqbC8rU2OqfAV1h2Qp0oMYI=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
Expand Down
5 changes: 2 additions & 3 deletions internal/app/starter/master_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
package starter

import (
"context"
"testing"

"github.com/sylabs/singularity/v4/internal/pkg/runtime/engine"
Expand Down Expand Up @@ -52,7 +51,7 @@ func TestCreateContainer(t *testing.T) {

for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
go createContainer(context.Background(), tt.rpcSocket, tt.containerPid, tt.engine, fatalChan)
go createContainer(t.Context(), tt.rpcSocket, tt.containerPid, tt.engine, fatalChan)
// createContainer is creating a separate thread and we sync with that
// thread through a channel similarly to the createContainer function itself,
// as well as the Master function.
Expand Down Expand Up @@ -102,7 +101,7 @@ func TestStartContainer(t *testing.T) {

for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
go startContainer(context.Background(), tt.masterSocket, tt.postStartSocket, tt.containerPid, tt.engine, fatalChan)
go startContainer(t.Context(), tt.masterSocket, tt.postStartSocket, tt.containerPid, tt.engine, fatalChan)
fatal = <-fatalChan
if tt.shallPass && fatal != nil {
t.Fatalf("test %s expected to succeed but failed: %s", tt.name, fatal)
Expand Down
9 changes: 4 additions & 5 deletions internal/pkg/build/assemblers/sandbox_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
package assemblers_test

import (
"context"
"os"
"path/filepath"
"testing"
Expand Down Expand Up @@ -51,11 +50,11 @@ func TestSandboxAssemblerDocker(t *testing.T) {

ocp := &sources.OCIConveyorPacker{}

if err := ocp.Get(context.Background(), b); err != nil {
if err := ocp.Get(t.Context(), b); err != nil {
t.Fatalf("failed to Get from %s: %v\n", assemblerDockerURI, err)
}

_, err = ocp.Pack(context.Background())
_, err = ocp.Pack(t.Context())
if err != nil {
t.Fatalf("failed to Pack from %s: %v\n", assemblerDockerURI, err)
}
Expand Down Expand Up @@ -94,11 +93,11 @@ func TestSandboxAssemblerShub(t *testing.T) {

scp := &sources.ShubConveyorPacker{}

if err := scp.Get(context.Background(), b); err != nil {
if err := scp.Get(t.Context(), b); err != nil {
t.Fatalf("failed to Get from %s: %v\n", assemblerShubURI, err)
}

_, err = scp.Pack(context.Background())
_, err = scp.Pack(t.Context())
if err != nil {
t.Fatalf("failed to Pack from %s: %v\n", assemblerShubURI, err)
}
Expand Down
9 changes: 4 additions & 5 deletions internal/pkg/build/assemblers/sif_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
package assemblers_test

import (
"context"
"os"
"path/filepath"
"testing"
Expand Down Expand Up @@ -66,11 +65,11 @@ func TestSIFAssemblerDocker(t *testing.T) {

ocp := &sources.OCIConveyorPacker{}

if err = ocp.Get(context.Background(), b); err != nil {
if err = ocp.Get(t.Context(), b); err != nil {
t.Fatalf("failed to Get from %s: %v\n", assemblerDockerURI, err)
}

_, err = ocp.Pack(context.Background())
_, err = ocp.Pack(t.Context())
if err != nil {
t.Fatalf("failed to Pack from %s: %v\n", assemblerDockerURI, err)
}
Expand Down Expand Up @@ -109,11 +108,11 @@ func TestSIFAssemblerShub(t *testing.T) {

scp := &sources.ShubConveyorPacker{}

if err := scp.Get(context.Background(), b); err != nil {
if err := scp.Get(t.Context(), b); err != nil {
t.Fatalf("failed to Get from %s: %v\n", assemblerShubURI, err)
}

_, err = scp.Pack(context.Background())
_, err = scp.Pack(t.Context())
if err != nil {
t.Fatalf("failed to Pack from %s: %v\n", assemblerShubURI, err)
}
Expand Down
7 changes: 3 additions & 4 deletions internal/pkg/build/sources/conveyorPacker_arch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
package sources_test

import (
"context"
"os"
"os/exec"
"path/filepath"
Expand Down Expand Up @@ -55,7 +54,7 @@ func TestArchConveyor(t *testing.T) {

cp := &sources.ArchConveyorPacker{}

err = cp.Get(context.Background(), b)
err = cp.Get(t.Context(), b)
// clean up tmpfs since assembler isn't called
defer cp.CleanUp()
if err != nil {
Expand Down Expand Up @@ -93,14 +92,14 @@ func TestArchPacker(t *testing.T) {

cp := &sources.ArchConveyorPacker{}

err = cp.Get(context.Background(), b)
err = cp.Get(t.Context(), b)
// clean up tmpfs since assembler isn't called
defer cp.CleanUp()
if err != nil {
t.Fatalf("failed to Get from %s: %v\n", archDef, err)
}

_, err = cp.Pack(context.Background())
_, err = cp.Pack(t.Context())
if err != nil {
t.Fatalf("failed to Pack from %s: %v\n", archDef, err)
}
Expand Down
7 changes: 3 additions & 4 deletions internal/pkg/build/sources/conveyorPacker_busybox_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
package sources_test

import (
"context"
"os"
"path/filepath"
"testing"
Expand Down Expand Up @@ -52,7 +51,7 @@ func TestBusyBoxConveyor(t *testing.T) {

c := &sources.BusyBoxConveyor{}

err = c.Get(context.Background(), b)
err = c.Get(t.Context(), b)
// clean up tmpfs since assembler isn't called
defer c.CleanUp()
if err != nil {
Expand Down Expand Up @@ -88,14 +87,14 @@ func TestBusyBoxPacker(t *testing.T) {

cp := &sources.BusyBoxConveyorPacker{}

err = cp.Get(context.Background(), b)
err = cp.Get(t.Context(), b)
// clean up tmpfs since assembler isn't called
defer cp.CleanUp()
if err != nil {
t.Fatalf("failed to Get from %s: %v\n", busyBoxDef, err)
}

_, err = cp.Pack(context.Background())
_, err = cp.Pack(t.Context())
if err != nil {
t.Fatalf("failed to Pack from %s: %v\n", busyBoxDef, err)
}
Expand Down
7 changes: 3 additions & 4 deletions internal/pkg/build/sources/conveyorPacker_debootstrap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
package sources_test

import (
"context"
"os"
"os/exec"
"path/filepath"
Expand Down Expand Up @@ -42,7 +41,7 @@ func TestDebootstrapConveyor(t *testing.T) {

cp := sources.DebootstrapConveyorPacker{}

err = cp.Get(context.Background(), b)
err = cp.Get(t.Context(), b)
// clean up tmpfs since assembler isn't called
defer cp.CleanUp()
if err != nil {
Expand Down Expand Up @@ -75,14 +74,14 @@ func TestDebootstrapPacker(t *testing.T) {

cp := sources.DebootstrapConveyorPacker{}

err = cp.Get(context.Background(), b)
err = cp.Get(t.Context(), b)
// clean up tmpfs since assembler isn't called
defer cp.CleanUp()
if err != nil {
t.Fatalf("Debootstrap Get failed: %v", err)
}

_, err = cp.Pack(context.Background())
_, err = cp.Pack(t.Context())
if err != nil {
t.Fatalf("Debootstrap Pack failed: %v", err)
}
Expand Down
Loading