aws / aws/amazon-ssm-agent

Test failure: extra/aws-sdk-go/aws

Open
#556 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.2k
Forks
357
PR merge metrics
No merged PRs in 30d

Description

I'm trying to build an RPM for Fedora rawhide (future Fedora 40), but this test fails during the RPM build:

```
ok github.com/aws/amazon-ssm-agent/core/workerprovider/longrunningprovider/provider 0.009s
github.com/aws/amazon-ssm-agent/core/workerprovider/longrunningprovider/provider/mocks
? github.com/aws/amazon-ssm-agent/core/workerprovider/longrunningprovider/provider/mocks [no test files]
github.com/aws/amazon-ssm-agent/extra/aws-sdk-go
? github.com/aws/amazon-ssm-agent/extra/aws-sdk-go [no test files]
github.com/aws/amazon-ssm-agent/extra/aws-sdk-go/aws
package github.com/aws/amazon-ssm-agent/extra/aws-sdk-go/aws
types.go:8:2: use of internal package github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/internal/sdkio not allowed
error: Bad exit status from /var/tmp/rpm-tmp.hoiADX (%check)
```

This is being built/tested with go 1.21.6.

Contributor guide

Open the contributing guide

Research direction

Inspect extra/aws-sdk-go/aws/types.go and the RPM build check using Go 1.21.6, starting with the reported internal-package error. Done means the extra/aws-sdk-go/aws package builds and the Fedora RPM test completes without the failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.