community icon indicating copy to clipboard operation
community copied to clipboard

Fix GitHub Actions Run and Makefile Targets

Open sweep-ai[bot] opened this issue 1 year ago • 24 comments

PR Feedback (click)

  • [ ] 👍 Sweep Did Well
  • [ ] 👎 Sweep Needs Improvement I created this PR to fix the failing GitHub Actions.## Description This PR addresses the issues with the GitHub Actions run and the missing Makefile targets. The changes include the creation of a new Makefile with the necessary targets and modifications to the GitHub Actions workflow file to ensure the correct permissions are set for the GitHub Actions bot.

Summary of Changes

  • Created a new 'Makefile' in the root directory of the repository with the targets 'cover', 'lint', 'format', 'generate', and 'tidy'. Each target has the appropriate commands that need to be executed when the target is invoked.
  • Reviewed and modified the GitHub Actions workflow file '.github/workflows/main.yml' to ensure the GitHub Actions bot has the necessary permissions to access the resources in the repository.
  • Reviewed the usage of the 'github/codeql-action/analyze@v2' action in the workflow file and ensured it is configured correctly.

These changes should resolve the issues with the GitHub Actions run and the missing Makefile targets.

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Rollback Files For Sweep

  • [ ] Rollback changes to Makefile
  • [ ] Rollback changes to .github/workflows/main.yml

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sandbox Executions

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

cla-assistant[bot] avatar Dec 27 '23 02:12 cla-assistant[bot]

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

cla-assistant[bot] avatar Dec 27 '23 02:12 cla-assistant[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run make cover
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run make tidy
[36;1mmake tidy[0m
shell: /usr/bin/bash -e {0}
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.

Here are the logs:
go test ./... -cover
go: cannot find main module, but found .git/config in /home/runner/work/community/community
to create a module there, run:
go mod init
make: *** [Makefile:4: cover] Error 1

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run alex-page/[email protected]
yielded the following error:
##[error]Bad credentials

Here are the logs:


sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run make cover
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run make tidy
[36;1mmake tidy[0m
shell: /usr/bin/bash -e {0}
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.

Here are the logs:
go test ./... -cover
go: cannot find main module, but found .git/config in /home/runner/work/community/community
to create a module there, run:
go mod init
make: *** [Makefile:4: cover] Error 1

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run contributor-assistant/[email protected]
yielded the following error:
##[error]graphql call to get the committers details failed: HttpError: Bad credentials

Here are the logs:
CLA Assistant GitHub Action bot has started the process

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run make cover
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run make tidy
[36;1mmake tidy[0m
shell: /usr/bin/bash -e {0}
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.

Here are the logs:
go test ./... -cover
go: cannot find main module, but found .git/config in /home/runner/work/community/community
to create a module there, run:
go mod init
make: *** [Makefile:4: cover] Error 1

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run release-drafter/release-drafter@v5
yielded the following error:
##[error]Invalid config file
##[warning]openimsdk/community: Invalid config file
{
 name: 'event',
 id: '7334442316',
 stack: 'Error: Configuration file .github/release-drafter.yml is not found. The configuration file must reside in your default branch.\n' +
   '    at getConfig (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:142745:13)\n' +
   '    at async drafter (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:142339:20)\n' +
   '    at async Promise.all (index 1)',
 type: 'Error'
}
##[error]Invalid config file

Here are the logs:
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
##[warning]openimsdk/community: Invalid config file
{
name: 'event',
id: '7334442316',
stack: 'Error: Configuration file .github/release-drafter.yml is not found. The configuration file must reside in your default branch.\n' +
'    at getConfig (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:142745:13)\n' +
'    at async /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:142240:22\n' +
'    at async Promise.all (index 0)',
type: 'Error'
}

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run make cover
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run make tidy
[36;1mmake tidy[0m
shell: /usr/bin/bash -e {0}
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.

Here are the logs:
go test ./... -cover
go: cannot find main module, but found .git/config in /home/runner/work/community/community
to create a module there, run:
go mod init
make: *** [Makefile:4: cover] Error 1

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run sudo make tidy
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.
##[group]Run actions/setup-go@v4
with:
  go-version: 1.20
  check-latest: false
  token: ***
  cache: true
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
Setup go version spec 1.20
Found in cache @ /Users/runner/hostedtoolcache/go/1.20.12/x64
Added go to the path
Successfully set up Go version 1.20
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOMODCACHE
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOCACHE
/Users/runner/go/pkg/mod
/Users/runner/Library/Caches/go-build
##[warning]Restore cache failed: Dependencies file is not found in /Users/runner/work/community/community. Supported file pattern: go.sum
go version go1.20.12 darwin/amd64

##[group]go env
##[error]The operation was canceled.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo make image[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo docker compose up -d[0m
[36;1msudo sleep 20[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make install
[36;1msudo make install[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'install'.  Stop.
##[error]Process completed with exit code 2.

Here are the logs:
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run sudo make tidy
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.
##[group]Run actions/setup-go@v4
with:
  go-version: 1.20
  check-latest: false
  token: ***
  cache: true
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
Setup go version spec 1.20
Found in cache @ /Users/runner/hostedtoolcache/go/1.20.12/x64
Added go to the path
Successfully set up Go version 1.20
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOMODCACHE
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOCACHE
/Users/runner/go/pkg/mod
/Users/runner/Library/Caches/go-build
##[warning]Restore cache failed: Dependencies file is not found in /Users/runner/work/community/community. Supported file pattern: go.sum
go version go1.20.12 darwin/amd64

##[group]go env
##[error]The operation was canceled.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo make image[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo docker compose up -d[0m
[36;1msudo sleep 20[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make install
[36;1msudo make install[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'install'.  Stop.
##[error]Process completed with exit code 2.

Here are the logs:
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run sudo make tidy
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.
##[group]Run actions/setup-go@v4
with:
  go-version: 1.20
  check-latest: false
  token: ***
  cache: true
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
Setup go version spec 1.20
Found in cache @ /Users/runner/hostedtoolcache/go/1.20.12/x64
Added go to the path
Successfully set up Go version 1.20
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOMODCACHE
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOCACHE
/Users/runner/go/pkg/mod
/Users/runner/Library/Caches/go-build
##[warning]Restore cache failed: Dependencies file is not found in /Users/runner/work/community/community. Supported file pattern: go.sum
go version go1.20.12 darwin/amd64

##[group]go env
##[error]The operation was canceled.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo make image[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo docker compose up -d[0m
[36;1msudo sleep 20[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make install
[36;1msudo make install[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'install'.  Stop.
##[error]Process completed with exit code 2.

Here are the logs:
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run sudo make tidy
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.
##[group]Run actions/setup-go@v4
with:
  go-version: 1.20
  check-latest: false
  token: ***
  cache: true
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
Setup go version spec 1.20
Found in cache @ /Users/runner/hostedtoolcache/go/1.20.12/x64
Added go to the path
Successfully set up Go version 1.20
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOMODCACHE
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOCACHE
/Users/runner/go/pkg/mod
/Users/runner/Library/Caches/go-build
##[warning]Restore cache failed: Dependencies file is not found in /Users/runner/work/community/community. Supported file pattern: go.sum
go version go1.20.12 darwin/amd64

##[group]go env
##[error]The operation was canceled.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo make image[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo docker compose up -d[0m
[36;1msudo sleep 20[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make install
[36;1msudo make install[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'install'.  Stop.
##[error]Process completed with exit code 2.

Here are the logs:
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run sudo make tidy
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.
##[group]Run actions/setup-go@v4
with:
  go-version: 1.20
  check-latest: false
  token: ***
  cache: true
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
Setup go version spec 1.20
Found in cache @ /Users/runner/hostedtoolcache/go/1.20.12/x64
Added go to the path
Successfully set up Go version 1.20
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOMODCACHE
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOCACHE
/Users/runner/go/pkg/mod
/Users/runner/Library/Caches/go-build
##[warning]Restore cache failed: Dependencies file is not found in /Users/runner/work/community/community. Supported file pattern: go.sum
go version go1.20.12 darwin/amd64

##[group]go env
##[error]The operation was canceled.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo make image[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo docker compose up -d[0m
[36;1msudo sleep 20[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make install
[36;1msudo make install[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'install'.  Stop.
##[error]Process completed with exit code 2.

Here are the logs:
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run sudo make init
yielded the following error:
##[error]Process completed with exit code 2.

Here are the logs:
make: *** No rule to make target 'init'.  Stop.

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run sudo make tidy
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.
##[group]Run actions/setup-go@v4
with:
  go-version: 1.20
  check-latest: false
  token: ***
  cache: true
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
Setup go version spec 1.20
Found in cache @ /Users/runner/hostedtoolcache/go/1.20.12/x64
Added go to the path
Successfully set up Go version 1.20
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOMODCACHE
[command]/Users/runner/hostedtoolcache/go/1.20.12/x64/bin/go env GOCACHE
/Users/runner/go/pkg/mod
/Users/runner/Library/Caches/go-build
##[warning]Restore cache failed: Dependencies file is not found in /Users/runner/work/community/community. Supported file pattern: go.sum
go version go1.20.12 darwin/amd64

##[group]go env
##[error]The operation was canceled.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo make image[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make tidy
[36;1msudo make tidy[0m
[36;1msudo make tools.verify.go-gitlint[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.
##[group]Run sudo make init
[36;1msudo make init[0m
[36;1msudo docker compose up -d[0m
[36;1msudo sleep 20[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'init'.  Stop.
##[error]Process completed with exit code 2.
##[group]Run sudo make install
[36;1msudo make install[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
##[endgroup]
make: *** No rule to make target 'install'.  Stop.
##[error]Process completed with exit code 2.

Here are the logs:
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run make tidy
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run make tidy
[36;1mmake tidy[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
  GOROOT: /opt/hostedtoolcache/go/1.18.10/x64
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.
##[group]Run make tidy
[36;1mmake tidy[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
  GOROOT: /opt/hostedtoolcache/go/1.19.13/x64
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.

Here are the logs:
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run make tidy
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run make tidy
[36;1mmake tidy[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
  GOROOT: /opt/hostedtoolcache/go/1.18.10/x64
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.
##[group]Run make tidy
[36;1mmake tidy[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
  GOROOT: /opt/hostedtoolcache/go/1.19.13/x64
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.

Here are the logs:
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run make tidy
yielded the following error:
##[error]Process completed with exit code 2.
##[group]Run make tidy
[36;1mmake tidy[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
  GOROOT: /opt/hostedtoolcache/go/1.18.10/x64
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.
##[group]Run make tidy
[36;1mmake tidy[0m
shell: /usr/bin/bash -e {0}
env:
  GO_VERSION: 1.19
  GOLANGCI_VERSION: v1.50.1
  GOROOT: /opt/hostedtoolcache/go/1.19.13/x64
##[endgroup]
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1
##[error]Process completed with exit code 2.

Here are the logs:
go mod tidy
go: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [Makefile:16: tidy] Error 1

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run github/codeql-action/analyze@v2
yielded the following error:
##[error]Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.15.4/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=14567 /home/runner/work/_temp/codeql_databases/go". Exit code was 32 and last log line was: CodeQL detected code written in , but not any written in Go. Review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build . See the logs for more details.

Here are the logs:
[command]/opt/hostedtoolcache/CodeQL/2.15.4/x64/codeql/codeql version --format=json
{
"productName" : "CodeQL",
"vendor" : "GitHub",
"version" : "2.15.4",
"sha" : "6994dfd6d94ee3d205768fbe15e18312bf22b388",
"branches" : [
"codeql-cli-2.15.4"
],
"copyright" : "Copyright (C) 2019-2023 GitHub, Inc.",
"unpackedLocation" : "/opt/hostedtoolcache/CodeQL/2.15.4/x64/codeql",
"configFileLocation" : "/home/runner/.config/codeql/config",
"configFileFound" : false,
"features" : {
"analysisSummaryV2Option" : true,
"featuresInVersionResult" : true,
"indirectTracingSupportsStaticBinaries" : false,
"supportsPython312" : true,
"mrvaPackCreate" : true,
"threatModelOption" : true
}
}
##[group]Finalizing go
[command]/opt/hostedtoolcache/CodeQL/2.15.4/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=14567 /home/runner/work/_temp/codeql_databases/go
CodeQL detected code written in , but not any written in Go. Review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build .

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run sudo make init
yielded the following error:
##[error]Process completed with exit code 2.

Here are the logs:
make: *** No rule to make target 'init'.  Stop.

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]

Sweeping

Fixing PR: track the progress here.

I'm currently fixing this PR to address the following:

The GitHub Actions run failed with the following error logs:

The command:
Run sudo chmod +x ./scripts/build_all_service.sh
yielded the following error:
##[error]Process completed with exit code 1.
##[group]Run sudo chmod +x ./scripts/stop_all.sh
[36;1msudo chmod +x ./scripts/stop_all.sh[0m
[36;1msudo ./scripts/stop_all.sh[0m
[36;1msudo cat logs/openIM.log 2>/dev/null[0m
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
##[endgroup]
chmod: cannot access './scripts/stop_all.sh': No such file or directory
##[error]Process completed with exit code 1.

Here are the logs:
chmod: cannot access './scripts/build_all_service.sh': No such file or directory

sweep-ai[bot] avatar Dec 27 '23 02:12 sweep-ai[bot]