Skip to content
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

test: bazel #14946

Closed
wants to merge 1 commit into from
Closed

test: bazel #14946

wants to merge 1 commit into from

Conversation

erikburt
Copy link
Collaborator

Requires

Resolves

@erikburt erikburt self-assigned this Oct 24, 2024
@cl-sonarqube-production
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

Copy link
Contributor

AER Report: CI Core

aer_workflow , commit , Detect Changes , Clean Go Tidy & Generate , lint , Core Tests (ubuntu-latest) , SonarQube Scan

1. Bazel run command not in workspace:[lint]

Source of Error:
Run Bazel Buildifier (Lint)	2024-10-24T22:23:42.8479852Z ERROR: The 'run' command is only supported from within a workspace (below a directory having a WORKSPACE file).
Run Bazel Buildifier (Lint)	2024-10-24T22:23:42.8481380Z See documentation at https://bazel.build/concepts/build-ref#workspace
Run Bazel Buildifier (Lint)	2024-10-24T22:23:42.9063416Z ##[error]Process completed with exit code 2.

Why: The Bazel run command was executed outside of a Bazel workspace, which requires a WORKSPACE file in the directory or a parent directory.

Suggested fix: Ensure the Bazel command is executed within a directory containing a WORKSPACE file or adjust the script to navigate to the correct directory before running the command.

2. Unable to resolve action repository:[Clean Go Tidy & Generate]

Source of Error:
Set up job	2024-10-24T22:22:21.8908215Z ##[error]Unable to resolve action bazelbuild/setup-bazel, repository not found

Why: The GitHub Action bazelbuild/setup-bazel could not be found, possibly due to a typo in the action name or the repository being unavailable.

Suggested fix: Verify the action name and repository URL in the workflow configuration file. Ensure the action exists and is correctly referenced.

3. Syntax error in shell script:[Core Tests (ubuntu-latest)]

Source of Error:
Get list of changed files	2024-10-24T22:23:25.7692491Z /home/runner/work/_temp/42a21201-4697-44b1-826e-0151319b8360.sh: line 7: syntax error: unexpected end of file
Get list of changed files	2024-10-24T22:23:25.7705058Z ##[error]Process completed with exit code 2.

Why: There is a syntax error in the shell script, likely due to a missing or unmatched quotation mark, parenthesis, or bracket.

Suggested fix: Review the shell script for syntax errors, ensuring all quotations, parentheses, and brackets are properly closed and matched.

@erikburt erikburt closed this Oct 24, 2024
@erikburt erikburt deleted the test/bazel branch October 24, 2024 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant