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

chore(deps): update python docker tag to v3.13 - autoclosed #134

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 8, 2024

This PR contains the following updates:

Package Type Update Change
python final minor 3.12-slim -> 3.13-slim

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from yu-iskw as a code owner October 8, 2024 01:48
@renovate renovate bot added the bump:patch label Oct 8, 2024
Copy link

coderabbitai bot commented Oct 8, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

github-actions bot commented Oct 8, 2024

🏷️ [bumpr] Next version:v4.0.5 Changes:v4.0.4...yu-iskw:renovate/python-3.x

Copy link

qodo-merge-pro bot commented Oct 8, 2024

PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

CI Failure Feedback 🧐

Action: build

Failed stage: Build the Docker image [❌]

Failure summary:

The action failed due to an error in the Docker build process:

  • The Dockerfile specifies the base image python:3.13-slim.
  • The build process encountered an error: "no match for platform in manifest: not found".
  • This indicates that the specified Python version 3.13-slim does not exist in the Docker registry.

  • Relevant error logs:
    1:  ##[debug]Cleaning runner temp folder: /home/runner/work/_temp
    2:  ##[debug]Starting: Set up job
    ...
    
    103:  ##[debug]fetch depth = 1
    104:  ##[debug]fetch tags = false
    105:  ##[debug]show progress = true
    106:  ##[debug]lfs = false
    107:  ##[debug]submodules = false
    108:  ##[debug]recursive submodules = false
    109:  ##[debug]GitHub Host URL = 
    110:  ::add-matcher::/home/runner/work/_actions/actions/checkout/v4/dist/problem-matcher.json
    111:  ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
    ...
    
    263:  ##[debug]/usr/bin/bash -e /home/runner/work/_temp/18821035-2d00-4d18-8e5d-ece6450ffb2b.sh
    264:  #0 building with "default" instance using docker driver
    265:  #1 [internal] load build definition from Dockerfile
    266:  #1 transferring dockerfile: 802B done
    267:  #1 DONE 0.0s
    268:  #2 [auth] library/python:pull token for registry-1.docker.io
    269:  #2 DONE 0.0s
    270:  #3 [internal] load metadata for docker.io/library/python:3.13-slim
    271:  #3 ERROR: no match for platform in manifest: not found
    ...
    
    273:  > [internal] load metadata for docker.io/library/python:3.13-slim:
    274:  ------
    275:  Dockerfile:1
    276:  --------------------
    277:  1 | >>> FROM python:3.13-slim
    278:  2 |     
    279:  3 |     ENV REVIEWDOG_VERSION="v0.17.4"
    280:  --------------------
    281:  ERROR: failed to solve: python:3.13-slim: failed to resolve source metadata for docker.io/library/python:3.13-slim: no match for platform in manifest: not found
    282:  ##[error]Process completed with exit code 1.
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link

    qodo-merge-pro bot commented Oct 8, 2024

    PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

    CI Failure Feedback 🧐

    Action: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.8.txt, .sq...

    Failed stage: Run /./ [❌]

    Failed test name: ""

    Failure summary:

    The action failed because the Docker build process encountered an error:

  • The Dockerfile attempted to use the base image python:3.13-slim.
  • The error message indicated that there was "no match for platform in manifest" for this image,
    meaning the specified image version could not be found or is not available for the platform being
    used.
  • As a result, the Docker build failed with exit code 1.

  • Relevant error logs:
    1:  ##[debug]Cleaning runner temp folder: /home/runner/work/_temp
    2:  ##[debug]Starting: Set up job
    ...
    
    47:  ##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' to '/home/runner/work/_actions/_temp_da710de2-d181-4a8f-bdac-ac293e254787/5d226684-14a1-474b-a12f-deae1b6db10b.tar.gz'
    48:  ##[debug]Unwrap 'actions-checkout-eef6144' to '/home/runner/work/_actions/actions/checkout/v4'
    49:  ##[debug]Archive '/home/runner/work/_actions/_temp_da710de2-d181-4a8f-bdac-ac293e254787/5d226684-14a1-474b-a12f-deae1b6db10b.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v4'.
    50:  ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'.
    51:  ##[debug]Set step '__actions_checkout' display name to: 'Run actions/checkout@v4'
    52:  ##[debug]Set step 'lint-sql' display name to: 'Run /./'
    53:  ##[debug]Set step '__run' display name to: 'check the exit code'
    54:  ##[debug]Set step '__run_2' display name to: 'Test outputs'
    55:  Complete job name: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.8.txt, .sq...
    ...
    
    105:  ##[debug]fetch depth = 1
    106:  ##[debug]fetch tags = false
    107:  ##[debug]show progress = true
    108:  ##[debug]lfs = false
    109:  ##[debug]submodules = false
    110:  ##[debug]recursive submodules = false
    111:  ##[debug]GitHub Host URL = 
    112:  ::add-matcher::/home/runner/work/_actions/actions/checkout/v4/dist/problem-matcher.json
    113:  ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
    ...
    
    256:  ##[debug]Evaluating: matrix.sqlfluff
    257:  ##[debug]Evaluating Index:
    258:  ##[debug]..Evaluating matrix:
    259:  ##[debug]..=> Object
    260:  ##[debug]..Evaluating String:
    261:  ##[debug]..=> 'sqlfluff'
    262:  ##[debug]=> '3.0.7'
    263:  ##[debug]Result: '3.0.7'
    264:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt', github.workspace)
    265:  ##[debug]Evaluating format:
    266:  ##[debug]..Evaluating String:
    267:  ##[debug]..=> '{0}/testdata/test_failed_dbt'
    268:  ##[debug]..Evaluating Index:
    269:  ##[debug]....Evaluating github:
    270:  ##[debug]....=> Object
    271:  ##[debug]....Evaluating String:
    272:  ##[debug]....=> 'workspace'
    273:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    274:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    275:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    276:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/{1}', github.workspace, matrix.config)
    277:  ##[debug]Evaluating format:
    278:  ##[debug]..Evaluating String:
    279:  ##[debug]..=> '{0}/testdata/test_failed_dbt/{1}'
    ...
    
    284:  ##[debug]....=> 'workspace'
    285:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    286:  ##[debug]..Evaluating Index:
    287:  ##[debug]....Evaluating matrix:
    288:  ##[debug]....=> Object
    289:  ##[debug]....Evaluating String:
    290:  ##[debug]....=> 'config'
    291:  ##[debug]..=> '.sqlfluff.postgres'
    292:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.postgres'
    293:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.postgres'
    294:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/models', github.workspace)
    295:  ##[debug]Evaluating format:
    296:  ##[debug]..Evaluating String:
    297:  ##[debug]..=> '{0}/testdata/test_failed_dbt/models'
    298:  ##[debug]..Evaluating Index:
    299:  ##[debug]....Evaluating github:
    300:  ##[debug]....=> Object
    301:  ##[debug]....Evaluating String:
    302:  ##[debug]....=> 'workspace'
    303:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    304:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    305:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    ...
    
    313:  ##[debug]....Evaluating String:
    314:  ##[debug]....=> 'workspace'
    315:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    316:  ##[debug]..Evaluating Index:
    317:  ##[debug]....Evaluating matrix:
    318:  ##[debug]....=> Object
    319:  ##[debug]....Evaluating String:
    320:  ##[debug]....=> 'extra_requirements_txt'
    321:  ##[debug]..=> 'testdata/test_failed_dbt/extra_requirements-1.8.txt'
    322:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.8.txt'
    323:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.8.txt'
    ...
    
    332:  ##[debug]Loading env
    333:  ##[group]Run ./
    334:  with:
    335:  github_token: ***
    336:  reporter: github-pr-review
    337:  sqlfluff_version: 3.0.7
    338:  sqlfluff_command: lint
    339:  templater: jinja
    340:  working-directory: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt
    341:  config: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.postgres
    342:  paths: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models
    343:  extra_requirements_txt: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.8.txt
    344:  github_base_ref: main
    345:  level: error
    346:  filter_mode: file
    347:  fail_on_error: false
    ...
    
    354:  ##[command]/usr/bin/docker build -t 0d2e74:096ddfbf409351dba983b32987a5fbdf -f "/home/runner/work/action-sqlfluff/action-sqlfluff/./Dockerfile" "/home/runner/work/action-sqlfluff/action-sqlfluff"
    355:  #0 building with "default" instance using docker driver
    356:  #1 [internal] load build definition from Dockerfile
    357:  #1 transferring dockerfile: 802B done
    358:  #1 DONE 0.0s
    359:  #2 [auth] library/python:pull token for registry-1.docker.io
    360:  #2 DONE 0.0s
    361:  #3 [internal] load metadata for docker.io/library/python:3.13-slim
    362:  #3 ERROR: no match for platform in manifest: not found
    ...
    
    364:  > [internal] load metadata for docker.io/library/python:3.13-slim:
    365:  ------
    366:  Dockerfile:1
    367:  --------------------
    368:  1 | >>> FROM python:3.13-slim
    369:  2 |     
    370:  3 |     ENV REVIEWDOG_VERSION="v0.17.4"
    371:  --------------------
    372:  ERROR: failed to solve: python:3.13-slim: failed to resolve source metadata for docker.io/library/python:3.13-slim: no match for platform in manifest: not found
    373:  ##[endgroup]
    374:  ##[error]Docker build failed with exit code 1
    375:  ##[debug]System.InvalidOperationException: Docker build failed with exit code 1
    ...
    
    383:  ##[debug]..Evaluating success:
    384:  ##[debug]..=> false
    385:  ##[debug]=> true
    386:  ##[debug]Expanded: !false
    387:  ##[debug]Result: true
    388:  ##[debug]Starting: check the exit code
    389:  ##[debug]Loading inputs
    390:  ##[debug]Loading env
    391:  ##[group]Run echo 'The previous step should fail' && exit 1
    392:  �[36;1mecho 'The previous step should fail' && exit 1�[0m
    393:  shell: /usr/bin/bash -e {0}
    394:  ##[endgroup]
    395:  ##[debug]/usr/bin/bash -e /home/runner/work/_temp/84ff90d0-0625-4916-97e0-d8e0739c5692.sh
    396:  The previous step should fail
    397:  ##[error]Process completed with exit code 1.
    ...
    
    557:  ##[debug]Copying 1 worker diagnostic logs.
    558:  ##[debug]Copying 1 runner diagnostic logs.
    559:  ##[debug]Zipping diagnostic files.
    560:  ##[debug]Uploading diagnostic metadata file.
    561:  ##[debug]Diagnostic file upload complete.
    562:  Completed runner diagnostic log upload
    563:  Cleaning up orphan processes
    564:  ##[debug]Finishing: Complete job
    565:  ##[debug]Finishing: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.8.txt, .sq...
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link

    qodo-merge-pro bot commented Oct 8, 2024

    PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

    CI Failure Feedback 🧐

    Action: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.7.txt, .sq...

    Failed stage: Run /./ [❌]

    Failed test name: ""

    Failure summary:

    The action failed due to an error in the Docker build process:

  • The Dockerfile specified FROM python:3.13-slim, but the image python:3.13-slim could not be found on
    Docker Hub.
  • The error message indicates "no match for platform in manifest: not found", suggesting that the
    specified Python version or platform is not available.
  • As a result, the Docker build failed with exit code 1.

  • Relevant error logs:
    1:  ##[debug]Cleaning runner temp folder: /home/runner/work/_temp
    2:  ##[debug]Starting: Set up job
    ...
    
    47:  ##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' to '/home/runner/work/_actions/_temp_051af070-503b-4f1b-a175-3403be50c079/80027bcc-97fa-432d-b33d-a930f7c07fb1.tar.gz'
    48:  ##[debug]Unwrap 'actions-checkout-eef6144' to '/home/runner/work/_actions/actions/checkout/v4'
    49:  ##[debug]Archive '/home/runner/work/_actions/_temp_051af070-503b-4f1b-a175-3403be50c079/80027bcc-97fa-432d-b33d-a930f7c07fb1.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v4'.
    50:  ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'.
    51:  ##[debug]Set step '__actions_checkout' display name to: 'Run actions/checkout@v4'
    52:  ##[debug]Set step 'lint-sql' display name to: 'Run /./'
    53:  ##[debug]Set step '__run' display name to: 'check the exit code'
    54:  ##[debug]Set step '__run_2' display name to: 'Test outputs'
    55:  Complete job name: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.7.txt, .sq...
    ...
    
    105:  ##[debug]fetch depth = 1
    106:  ##[debug]fetch tags = false
    107:  ##[debug]show progress = true
    108:  ##[debug]lfs = false
    109:  ##[debug]submodules = false
    110:  ##[debug]recursive submodules = false
    111:  ##[debug]GitHub Host URL = 
    112:  ::add-matcher::/home/runner/work/_actions/actions/checkout/v4/dist/problem-matcher.json
    113:  ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
    ...
    
    256:  ##[debug]Evaluating: matrix.sqlfluff
    257:  ##[debug]Evaluating Index:
    258:  ##[debug]..Evaluating matrix:
    259:  ##[debug]..=> Object
    260:  ##[debug]..Evaluating String:
    261:  ##[debug]..=> 'sqlfluff'
    262:  ##[debug]=> '3.0.7'
    263:  ##[debug]Result: '3.0.7'
    264:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt', github.workspace)
    265:  ##[debug]Evaluating format:
    266:  ##[debug]..Evaluating String:
    267:  ##[debug]..=> '{0}/testdata/test_failed_dbt'
    268:  ##[debug]..Evaluating Index:
    269:  ##[debug]....Evaluating github:
    270:  ##[debug]....=> Object
    271:  ##[debug]....Evaluating String:
    272:  ##[debug]....=> 'workspace'
    273:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    274:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    275:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    276:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/{1}', github.workspace, matrix.config)
    277:  ##[debug]Evaluating format:
    278:  ##[debug]..Evaluating String:
    279:  ##[debug]..=> '{0}/testdata/test_failed_dbt/{1}'
    ...
    
    284:  ##[debug]....=> 'workspace'
    285:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    286:  ##[debug]..Evaluating Index:
    287:  ##[debug]....Evaluating matrix:
    288:  ##[debug]....=> Object
    289:  ##[debug]....Evaluating String:
    290:  ##[debug]....=> 'config'
    291:  ##[debug]..=> '.sqlfluff.spark'
    292:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.spark'
    293:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.spark'
    294:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/models', github.workspace)
    295:  ##[debug]Evaluating format:
    296:  ##[debug]..Evaluating String:
    297:  ##[debug]..=> '{0}/testdata/test_failed_dbt/models'
    298:  ##[debug]..Evaluating Index:
    299:  ##[debug]....Evaluating github:
    300:  ##[debug]....=> Object
    301:  ##[debug]....Evaluating String:
    302:  ##[debug]....=> 'workspace'
    303:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    304:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    305:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    ...
    
    313:  ##[debug]....Evaluating String:
    314:  ##[debug]....=> 'workspace'
    315:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    316:  ##[debug]..Evaluating Index:
    317:  ##[debug]....Evaluating matrix:
    318:  ##[debug]....=> Object
    319:  ##[debug]....Evaluating String:
    320:  ##[debug]....=> 'extra_requirements_txt'
    321:  ##[debug]..=> 'testdata/test_failed_dbt/extra_requirements-1.7.txt'
    322:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.7.txt'
    323:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.7.txt'
    ...
    
    332:  ##[debug]Loading env
    333:  ##[group]Run ./
    334:  with:
    335:  github_token: ***
    336:  reporter: github-pr-review
    337:  sqlfluff_version: 3.0.7
    338:  sqlfluff_command: lint
    339:  templater: jinja
    340:  working-directory: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt
    341:  config: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.spark
    342:  paths: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models
    343:  extra_requirements_txt: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.7.txt
    344:  github_base_ref: main
    345:  level: error
    346:  filter_mode: file
    347:  fail_on_error: false
    ...
    
    354:  ##[command]/usr/bin/docker build -t ed8f84:883f2f0cbe0f5cd4375bfad6fbd753d6 -f "/home/runner/work/action-sqlfluff/action-sqlfluff/./Dockerfile" "/home/runner/work/action-sqlfluff/action-sqlfluff"
    355:  #0 building with "default" instance using docker driver
    356:  #1 [internal] load build definition from Dockerfile
    357:  #1 transferring dockerfile: 802B done
    358:  #1 DONE 0.0s
    359:  #2 [auth] library/python:pull token for registry-1.docker.io
    360:  #2 DONE 0.0s
    361:  #3 [internal] load metadata for docker.io/library/python:3.13-slim
    362:  #3 ERROR: no match for platform in manifest: not found
    ...
    
    364:  > [internal] load metadata for docker.io/library/python:3.13-slim:
    365:  ------
    366:  Dockerfile:1
    367:  --------------------
    368:  1 | >>> FROM python:3.13-slim
    369:  2 |     
    370:  3 |     ENV REVIEWDOG_VERSION="v0.17.4"
    371:  --------------------
    372:  ERROR: failed to solve: python:3.13-slim: failed to resolve source metadata for docker.io/library/python:3.13-slim: no match for platform in manifest: not found
    373:  ##[endgroup]
    374:  ##[error]Docker build failed with exit code 1
    375:  ##[debug]System.InvalidOperationException: Docker build failed with exit code 1
    ...
    
    383:  ##[debug]..Evaluating success:
    384:  ##[debug]..=> false
    385:  ##[debug]=> true
    386:  ##[debug]Expanded: !false
    387:  ##[debug]Result: true
    388:  ##[debug]Starting: check the exit code
    389:  ##[debug]Loading inputs
    390:  ##[debug]Loading env
    391:  ##[group]Run echo 'The previous step should fail' && exit 1
    392:  �[36;1mecho 'The previous step should fail' && exit 1�[0m
    393:  shell: /usr/bin/bash -e {0}
    394:  ##[endgroup]
    395:  ##[debug]/usr/bin/bash -e /home/runner/work/_temp/d7c834af-1cb7-4926-a7d4-856e25ea9d9b.sh
    396:  The previous step should fail
    397:  ##[error]Process completed with exit code 1.
    ...
    
    557:  ##[debug]Copying 1 worker diagnostic logs.
    558:  ##[debug]Copying 1 runner diagnostic logs.
    559:  ##[debug]Zipping diagnostic files.
    560:  ##[debug]Uploading diagnostic metadata file.
    561:  ##[debug]Diagnostic file upload complete.
    562:  Completed runner diagnostic log upload
    563:  Cleaning up orphan processes
    564:  ##[debug]Finishing: Complete job
    565:  ##[debug]Finishing: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.7.txt, .sq...
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link

    qodo-merge-pro bot commented Oct 8, 2024

    PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

    CI Failure Feedback 🧐

    Action: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.6.txt, .sq...

    Failed stage: Run /./ [❌]

    Failed test name: ""

    Failure summary:

    The action failed due to an error in the Docker build process:

  • The Dockerfile attempted to use the base image python:3.13-slim.
  • The build failed because there was "no match for platform in manifest" for the specified image,
    indicating that the image python:3.13-slim could not be found or is not available for the platform
    being used.
  • As a result, the Docker build process exited with code 1, causing the action to fail.

  • Relevant error logs:
    1:  ##[debug]Cleaning runner temp folder: /home/runner/work/_temp
    2:  ##[debug]Starting: Set up job
    ...
    
    47:  ##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' to '/home/runner/work/_actions/_temp_fad9604b-e474-4584-afd7-d5be7dc8f2ba/b36a13e8-09b8-486f-bc94-816d7bd39145.tar.gz'
    48:  ##[debug]Unwrap 'actions-checkout-eef6144' to '/home/runner/work/_actions/actions/checkout/v4'
    49:  ##[debug]Archive '/home/runner/work/_actions/_temp_fad9604b-e474-4584-afd7-d5be7dc8f2ba/b36a13e8-09b8-486f-bc94-816d7bd39145.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v4'.
    50:  ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'.
    51:  ##[debug]Set step '__actions_checkout' display name to: 'Run actions/checkout@v4'
    52:  ##[debug]Set step 'lint-sql' display name to: 'Run /./'
    53:  ##[debug]Set step '__run' display name to: 'check the exit code'
    54:  ##[debug]Set step '__run_2' display name to: 'Test outputs'
    55:  Complete job name: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.6.txt, .sq...
    ...
    
    105:  ##[debug]fetch depth = 1
    106:  ##[debug]fetch tags = false
    107:  ##[debug]show progress = true
    108:  ##[debug]lfs = false
    109:  ##[debug]submodules = false
    110:  ##[debug]recursive submodules = false
    111:  ##[debug]GitHub Host URL = 
    112:  ::add-matcher::/home/runner/work/_actions/actions/checkout/v4/dist/problem-matcher.json
    113:  ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
    ...
    
    256:  ##[debug]Evaluating: matrix.sqlfluff
    257:  ##[debug]Evaluating Index:
    258:  ##[debug]..Evaluating matrix:
    259:  ##[debug]..=> Object
    260:  ##[debug]..Evaluating String:
    261:  ##[debug]..=> 'sqlfluff'
    262:  ##[debug]=> '3.0.7'
    263:  ##[debug]Result: '3.0.7'
    264:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt', github.workspace)
    265:  ##[debug]Evaluating format:
    266:  ##[debug]..Evaluating String:
    267:  ##[debug]..=> '{0}/testdata/test_failed_dbt'
    268:  ##[debug]..Evaluating Index:
    269:  ##[debug]....Evaluating github:
    270:  ##[debug]....=> Object
    271:  ##[debug]....Evaluating String:
    272:  ##[debug]....=> 'workspace'
    273:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    274:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    275:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    276:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/{1}', github.workspace, matrix.config)
    277:  ##[debug]Evaluating format:
    278:  ##[debug]..Evaluating String:
    279:  ##[debug]..=> '{0}/testdata/test_failed_dbt/{1}'
    ...
    
    284:  ##[debug]....=> 'workspace'
    285:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    286:  ##[debug]..Evaluating Index:
    287:  ##[debug]....Evaluating matrix:
    288:  ##[debug]....=> Object
    289:  ##[debug]....Evaluating String:
    290:  ##[debug]....=> 'config'
    291:  ##[debug]..=> '.sqlfluff.spark'
    292:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.spark'
    293:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.spark'
    294:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/models', github.workspace)
    295:  ##[debug]Evaluating format:
    296:  ##[debug]..Evaluating String:
    297:  ##[debug]..=> '{0}/testdata/test_failed_dbt/models'
    298:  ##[debug]..Evaluating Index:
    299:  ##[debug]....Evaluating github:
    300:  ##[debug]....=> Object
    301:  ##[debug]....Evaluating String:
    302:  ##[debug]....=> 'workspace'
    303:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    304:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    305:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    ...
    
    313:  ##[debug]....Evaluating String:
    314:  ##[debug]....=> 'workspace'
    315:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    316:  ##[debug]..Evaluating Index:
    317:  ##[debug]....Evaluating matrix:
    318:  ##[debug]....=> Object
    319:  ##[debug]....Evaluating String:
    320:  ##[debug]....=> 'extra_requirements_txt'
    321:  ##[debug]..=> 'testdata/test_failed_dbt/extra_requirements-1.6.txt'
    322:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.6.txt'
    323:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.6.txt'
    ...
    
    332:  ##[debug]Loading env
    333:  ##[group]Run ./
    334:  with:
    335:  github_token: ***
    336:  reporter: github-pr-review
    337:  sqlfluff_version: 3.0.7
    338:  sqlfluff_command: lint
    339:  templater: jinja
    340:  working-directory: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt
    341:  config: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.spark
    342:  paths: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models
    343:  extra_requirements_txt: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.6.txt
    344:  github_base_ref: main
    345:  level: error
    346:  filter_mode: file
    347:  fail_on_error: false
    ...
    
    354:  ##[command]/usr/bin/docker build -t a06cd5:1a5a451953535570a4d3fd20deec541a -f "/home/runner/work/action-sqlfluff/action-sqlfluff/./Dockerfile" "/home/runner/work/action-sqlfluff/action-sqlfluff"
    355:  #0 building with "default" instance using docker driver
    356:  #1 [internal] load build definition from Dockerfile
    357:  #1 transferring dockerfile: 802B done
    358:  #1 DONE 0.0s
    359:  #2 [auth] library/python:pull token for registry-1.docker.io
    360:  #2 DONE 0.0s
    361:  #3 [internal] load metadata for docker.io/library/python:3.13-slim
    362:  #3 ERROR: no match for platform in manifest: not found
    ...
    
    364:  > [internal] load metadata for docker.io/library/python:3.13-slim:
    365:  ------
    366:  Dockerfile:1
    367:  --------------------
    368:  1 | >>> FROM python:3.13-slim
    369:  2 |     
    370:  3 |     ENV REVIEWDOG_VERSION="v0.17.4"
    371:  --------------------
    372:  ERROR: failed to solve: python:3.13-slim: failed to resolve source metadata for docker.io/library/python:3.13-slim: no match for platform in manifest: not found
    373:  ##[endgroup]
    374:  ##[error]Docker build failed with exit code 1
    375:  ##[debug]System.InvalidOperationException: Docker build failed with exit code 1
    ...
    
    383:  ##[debug]..Evaluating success:
    384:  ##[debug]..=> false
    385:  ##[debug]=> true
    386:  ##[debug]Expanded: !false
    387:  ##[debug]Result: true
    388:  ##[debug]Starting: check the exit code
    389:  ##[debug]Loading inputs
    390:  ##[debug]Loading env
    391:  ##[group]Run echo 'The previous step should fail' && exit 1
    392:  �[36;1mecho 'The previous step should fail' && exit 1�[0m
    393:  shell: /usr/bin/bash -e {0}
    394:  ##[endgroup]
    395:  ##[debug]/usr/bin/bash -e /home/runner/work/_temp/5b8edf37-2785-439a-b610-359a7b076ba4.sh
    396:  The previous step should fail
    397:  ##[error]Process completed with exit code 1.
    ...
    
    557:  ##[debug]Copying 1 worker diagnostic logs.
    558:  ##[debug]Copying 1 runner diagnostic logs.
    559:  ##[debug]Zipping diagnostic files.
    560:  ##[debug]Uploading diagnostic metadata file.
    561:  ##[debug]Diagnostic file upload complete.
    562:  Completed runner diagnostic log upload
    563:  Cleaning up orphan processes
    564:  ##[debug]Finishing: Complete job
    565:  ##[debug]Finishing: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.6.txt, .sq...
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link

    qodo-merge-pro bot commented Oct 8, 2024

    PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

    CI Failure Feedback 🧐

    Action: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.6.txt, .sq...

    Failed stage: Run /./ [❌]

    Failed test name: ""

    Failure summary:

    The action failed because the Docker build process encountered an error. Specifically:

  • The Dockerfile attempted to use the base image python:3.13-slim.
  • The build process failed with the error "no match for platform in manifest: not found", indicating
    that the specified Python version or variant does not exist or is not available for the platform
    being used.
  • This resulted in the Docker build failing with exit code 1.

  • Relevant error logs:
    1:  ##[debug]Cleaning runner temp folder: /home/runner/work/_temp
    2:  ##[debug]Starting: Set up job
    ...
    
    47:  ##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' to '/home/runner/work/_actions/_temp_87ecc9f1-bc16-4edd-842e-acc608d807f2/3538c4ee-f1e2-4aa6-9449-4496c052129e.tar.gz'
    48:  ##[debug]Unwrap 'actions-checkout-eef6144' to '/home/runner/work/_actions/actions/checkout/v4'
    49:  ##[debug]Archive '/home/runner/work/_actions/_temp_87ecc9f1-bc16-4edd-842e-acc608d807f2/3538c4ee-f1e2-4aa6-9449-4496c052129e.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v4'.
    50:  ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'.
    51:  ##[debug]Set step '__actions_checkout' display name to: 'Run actions/checkout@v4'
    52:  ##[debug]Set step 'lint-sql' display name to: 'Run /./'
    53:  ##[debug]Set step '__run' display name to: 'check the exit code'
    54:  ##[debug]Set step '__run_2' display name to: 'Test outputs'
    55:  Complete job name: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.6.txt, .sq...
    ...
    
    105:  ##[debug]fetch depth = 1
    106:  ##[debug]fetch tags = false
    107:  ##[debug]show progress = true
    108:  ##[debug]lfs = false
    109:  ##[debug]submodules = false
    110:  ##[debug]recursive submodules = false
    111:  ##[debug]GitHub Host URL = 
    112:  ::add-matcher::/home/runner/work/_actions/actions/checkout/v4/dist/problem-matcher.json
    113:  ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
    ...
    
    256:  ##[debug]Evaluating: matrix.sqlfluff
    257:  ##[debug]Evaluating Index:
    258:  ##[debug]..Evaluating matrix:
    259:  ##[debug]..=> Object
    260:  ##[debug]..Evaluating String:
    261:  ##[debug]..=> 'sqlfluff'
    262:  ##[debug]=> '3.0.7'
    263:  ##[debug]Result: '3.0.7'
    264:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt', github.workspace)
    265:  ##[debug]Evaluating format:
    266:  ##[debug]..Evaluating String:
    267:  ##[debug]..=> '{0}/testdata/test_failed_dbt'
    268:  ##[debug]..Evaluating Index:
    269:  ##[debug]....Evaluating github:
    270:  ##[debug]....=> Object
    271:  ##[debug]....Evaluating String:
    272:  ##[debug]....=> 'workspace'
    273:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    274:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    275:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    276:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/{1}', github.workspace, matrix.config)
    277:  ##[debug]Evaluating format:
    278:  ##[debug]..Evaluating String:
    279:  ##[debug]..=> '{0}/testdata/test_failed_dbt/{1}'
    ...
    
    284:  ##[debug]....=> 'workspace'
    285:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    286:  ##[debug]..Evaluating Index:
    287:  ##[debug]....Evaluating matrix:
    288:  ##[debug]....=> Object
    289:  ##[debug]....Evaluating String:
    290:  ##[debug]....=> 'config'
    291:  ##[debug]..=> '.sqlfluff.bigquery'
    292:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.bigquery'
    293:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.bigquery'
    294:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/models', github.workspace)
    295:  ##[debug]Evaluating format:
    296:  ##[debug]..Evaluating String:
    297:  ##[debug]..=> '{0}/testdata/test_failed_dbt/models'
    298:  ##[debug]..Evaluating Index:
    299:  ##[debug]....Evaluating github:
    300:  ##[debug]....=> Object
    301:  ##[debug]....Evaluating String:
    302:  ##[debug]....=> 'workspace'
    303:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    304:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    305:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    ...
    
    313:  ##[debug]....Evaluating String:
    314:  ##[debug]....=> 'workspace'
    315:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    316:  ##[debug]..Evaluating Index:
    317:  ##[debug]....Evaluating matrix:
    318:  ##[debug]....=> Object
    319:  ##[debug]....Evaluating String:
    320:  ##[debug]....=> 'extra_requirements_txt'
    321:  ##[debug]..=> 'testdata/test_failed_dbt/extra_requirements-1.6.txt'
    322:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.6.txt'
    323:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.6.txt'
    ...
    
    332:  ##[debug]Loading env
    333:  ##[group]Run ./
    334:  with:
    335:  github_token: ***
    336:  reporter: github-pr-review
    337:  sqlfluff_version: 3.0.7
    338:  sqlfluff_command: lint
    339:  templater: jinja
    340:  working-directory: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt
    341:  config: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.bigquery
    342:  paths: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models
    343:  extra_requirements_txt: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.6.txt
    344:  github_base_ref: main
    345:  level: error
    346:  filter_mode: file
    347:  fail_on_error: false
    ...
    
    354:  ##[command]/usr/bin/docker build -t ae57c3:0558398ddade5255f08feee89e2fb929 -f "/home/runner/work/action-sqlfluff/action-sqlfluff/./Dockerfile" "/home/runner/work/action-sqlfluff/action-sqlfluff"
    355:  #0 building with "default" instance using docker driver
    356:  #1 [internal] load build definition from Dockerfile
    357:  #1 transferring dockerfile: 802B done
    358:  #1 DONE 0.0s
    359:  #2 [auth] library/python:pull token for registry-1.docker.io
    360:  #2 DONE 0.0s
    361:  #3 [internal] load metadata for docker.io/library/python:3.13-slim
    362:  #3 ERROR: no match for platform in manifest: not found
    ...
    
    364:  > [internal] load metadata for docker.io/library/python:3.13-slim:
    365:  ------
    366:  Dockerfile:1
    367:  --------------------
    368:  1 | >>> FROM python:3.13-slim
    369:  2 |     
    370:  3 |     ENV REVIEWDOG_VERSION="v0.17.4"
    371:  --------------------
    372:  ERROR: failed to solve: python:3.13-slim: failed to resolve source metadata for docker.io/library/python:3.13-slim: no match for platform in manifest: not found
    373:  ##[endgroup]
    374:  ##[error]Docker build failed with exit code 1
    375:  ##[debug]System.InvalidOperationException: Docker build failed with exit code 1
    ...
    
    383:  ##[debug]..Evaluating success:
    384:  ##[debug]..=> false
    385:  ##[debug]=> true
    386:  ##[debug]Expanded: !false
    387:  ##[debug]Result: true
    388:  ##[debug]Starting: check the exit code
    389:  ##[debug]Loading inputs
    390:  ##[debug]Loading env
    391:  ##[group]Run echo 'The previous step should fail' && exit 1
    392:  �[36;1mecho 'The previous step should fail' && exit 1�[0m
    393:  shell: /usr/bin/bash -e {0}
    394:  ##[endgroup]
    395:  ##[debug]/usr/bin/bash -e /home/runner/work/_temp/c842915e-e0ad-4519-b658-7809e8ded8fc.sh
    396:  The previous step should fail
    397:  ##[error]Process completed with exit code 1.
    ...
    
    557:  ##[debug]Copying 1 worker diagnostic logs.
    558:  ##[debug]Copying 1 runner diagnostic logs.
    559:  ##[debug]Zipping diagnostic files.
    560:  ##[debug]Uploading diagnostic metadata file.
    561:  ##[debug]Diagnostic file upload complete.
    562:  Completed runner diagnostic log upload
    563:  Cleaning up orphan processes
    564:  ##[debug]Finishing: Complete job
    565:  ##[debug]Finishing: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.6.txt, .sq...
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link

    qodo-merge-pro bot commented Oct 8, 2024

    PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

    CI Failure Feedback 🧐

    Action: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.6.txt, .sq...

    Failed stage: Run /./ [❌]

    Failed test name: ""

    Failure summary:

    The action failed due to an error during the Docker build process. The specific issue was that the
    Docker image python:3.13-slim could not be found. This resulted in a failure to resolve source
    metadata for the image, causing the Docker build to exit with code 1.

    Relevant error logs:
    1:  ##[debug]Cleaning runner temp folder: /home/runner/work/_temp
    2:  ##[debug]Starting: Set up job
    ...
    
    47:  ##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' to '/home/runner/work/_actions/_temp_152df699-1929-4c98-a1d3-1fa8e52218d4/f99a3ddf-206f-4b2d-b0e0-22d2c8ecd631.tar.gz'
    48:  ##[debug]Unwrap 'actions-checkout-eef6144' to '/home/runner/work/_actions/actions/checkout/v4'
    49:  ##[debug]Archive '/home/runner/work/_actions/_temp_152df699-1929-4c98-a1d3-1fa8e52218d4/f99a3ddf-206f-4b2d-b0e0-22d2c8ecd631.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v4'.
    50:  ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'.
    51:  ##[debug]Set step '__actions_checkout' display name to: 'Run actions/checkout@v4'
    52:  ##[debug]Set step 'lint-sql' display name to: 'Run /./'
    53:  ##[debug]Set step '__run' display name to: 'check the exit code'
    54:  ##[debug]Set step '__run_2' display name to: 'Test outputs'
    55:  Complete job name: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.6.txt, .sq...
    ...
    
    105:  ##[debug]fetch depth = 1
    106:  ##[debug]fetch tags = false
    107:  ##[debug]show progress = true
    108:  ##[debug]lfs = false
    109:  ##[debug]submodules = false
    110:  ##[debug]recursive submodules = false
    111:  ##[debug]GitHub Host URL = 
    112:  ::add-matcher::/home/runner/work/_actions/actions/checkout/v4/dist/problem-matcher.json
    113:  ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
    ...
    
    256:  ##[debug]Evaluating: matrix.sqlfluff
    257:  ##[debug]Evaluating Index:
    258:  ##[debug]..Evaluating matrix:
    259:  ##[debug]..=> Object
    260:  ##[debug]..Evaluating String:
    261:  ##[debug]..=> 'sqlfluff'
    262:  ##[debug]=> '3.0.7'
    263:  ##[debug]Result: '3.0.7'
    264:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt', github.workspace)
    265:  ##[debug]Evaluating format:
    266:  ##[debug]..Evaluating String:
    267:  ##[debug]..=> '{0}/testdata/test_failed_dbt'
    268:  ##[debug]..Evaluating Index:
    269:  ##[debug]....Evaluating github:
    270:  ##[debug]....=> Object
    271:  ##[debug]....Evaluating String:
    272:  ##[debug]....=> 'workspace'
    273:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    274:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    275:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    276:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/{1}', github.workspace, matrix.config)
    277:  ##[debug]Evaluating format:
    278:  ##[debug]..Evaluating String:
    279:  ##[debug]..=> '{0}/testdata/test_failed_dbt/{1}'
    ...
    
    284:  ##[debug]....=> 'workspace'
    285:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    286:  ##[debug]..Evaluating Index:
    287:  ##[debug]....Evaluating matrix:
    288:  ##[debug]....=> Object
    289:  ##[debug]....Evaluating String:
    290:  ##[debug]....=> 'config'
    291:  ##[debug]..=> '.sqlfluff.snowflake'
    292:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.snowflake'
    293:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.snowflake'
    294:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/models', github.workspace)
    295:  ##[debug]Evaluating format:
    296:  ##[debug]..Evaluating String:
    297:  ##[debug]..=> '{0}/testdata/test_failed_dbt/models'
    298:  ##[debug]..Evaluating Index:
    299:  ##[debug]....Evaluating github:
    300:  ##[debug]....=> Object
    301:  ##[debug]....Evaluating String:
    302:  ##[debug]....=> 'workspace'
    303:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    304:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    305:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    ...
    
    313:  ##[debug]....Evaluating String:
    314:  ##[debug]....=> 'workspace'
    315:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    316:  ##[debug]..Evaluating Index:
    317:  ##[debug]....Evaluating matrix:
    318:  ##[debug]....=> Object
    319:  ##[debug]....Evaluating String:
    320:  ##[debug]....=> 'extra_requirements_txt'
    321:  ##[debug]..=> 'testdata/test_failed_dbt/extra_requirements-1.6.txt'
    322:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.6.txt'
    323:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.6.txt'
    ...
    
    332:  ##[debug]Loading env
    333:  ##[group]Run ./
    334:  with:
    335:  github_token: ***
    336:  reporter: github-pr-review
    337:  sqlfluff_version: 3.0.7
    338:  sqlfluff_command: lint
    339:  templater: jinja
    340:  working-directory: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt
    341:  config: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.snowflake
    342:  paths: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models
    343:  extra_requirements_txt: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.6.txt
    344:  github_base_ref: main
    345:  level: error
    346:  filter_mode: file
    347:  fail_on_error: false
    ...
    
    354:  ##[command]/usr/bin/docker build -t 8ce2eb:c92fabc6e1bc59c54f28eef9a9455cb5 -f "/home/runner/work/action-sqlfluff/action-sqlfluff/./Dockerfile" "/home/runner/work/action-sqlfluff/action-sqlfluff"
    355:  #0 building with "default" instance using docker driver
    356:  #1 [internal] load build definition from Dockerfile
    357:  #1 transferring dockerfile: 802B done
    358:  #1 DONE 0.0s
    359:  #2 [auth] library/python:pull token for registry-1.docker.io
    360:  #2 DONE 0.0s
    361:  #3 [internal] load metadata for docker.io/library/python:3.13-slim
    362:  #3 ERROR: no match for platform in manifest: not found
    ...
    
    364:  > [internal] load metadata for docker.io/library/python:3.13-slim:
    365:  ------
    366:  Dockerfile:1
    367:  --------------------
    368:  1 | >>> FROM python:3.13-slim
    369:  2 |     
    370:  3 |     ENV REVIEWDOG_VERSION="v0.17.4"
    371:  --------------------
    372:  ERROR: failed to solve: python:3.13-slim: failed to resolve source metadata for docker.io/library/python:3.13-slim: no match for platform in manifest: not found
    373:  ##[endgroup]
    374:  ##[error]Docker build failed with exit code 1
    375:  ##[debug]System.InvalidOperationException: Docker build failed with exit code 1
    ...
    
    383:  ##[debug]..Evaluating success:
    384:  ##[debug]..=> false
    385:  ##[debug]=> true
    386:  ##[debug]Expanded: !false
    387:  ##[debug]Result: true
    388:  ##[debug]Starting: check the exit code
    389:  ##[debug]Loading inputs
    390:  ##[debug]Loading env
    391:  ##[group]Run echo 'The previous step should fail' && exit 1
    392:  �[36;1mecho 'The previous step should fail' && exit 1�[0m
    393:  shell: /usr/bin/bash -e {0}
    394:  ##[endgroup]
    395:  ##[debug]/usr/bin/bash -e /home/runner/work/_temp/13b921e5-8ffe-48f5-946f-77e86c5cf441.sh
    396:  The previous step should fail
    397:  ##[error]Process completed with exit code 1.
    ...
    
    557:  ##[debug]Copying 1 worker diagnostic logs.
    558:  ##[debug]Copying 1 runner diagnostic logs.
    559:  ##[debug]Zipping diagnostic files.
    560:  ##[debug]Uploading diagnostic metadata file.
    561:  ##[debug]Diagnostic file upload complete.
    562:  Completed runner diagnostic log upload
    563:  Cleaning up orphan processes
    564:  ##[debug]Finishing: Complete job
    565:  ##[debug]Finishing: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.6.txt, .sq...
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link

    qodo-merge-pro bot commented Oct 8, 2024

    PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

    CI Failure Feedback 🧐

    Action: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.6.txt, .sq...

    Failed stage: Run /./ [❌]

    Failed test name: ""

    Failure summary:

    The action failed because the Docker build process could not find the specified Python image
    python:3.13-slim. The error message indicates that there was "no match for platform in manifest: not
    found", which suggests that the specified image version does not exist or is not available for the
    platform being used.

    Relevant error logs:
    1:  ##[debug]Cleaning runner temp folder: /home/runner/work/_temp
    2:  ##[debug]Starting: Set up job
    ...
    
    47:  ##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' to '/home/runner/work/_actions/_temp_3facf6ad-0287-4c58-a976-4b25fd1e2c21/57146b5d-8a98-4ed2-b00e-b8bf3ccd90cd.tar.gz'
    48:  ##[debug]Unwrap 'actions-checkout-eef6144' to '/home/runner/work/_actions/actions/checkout/v4'
    49:  ##[debug]Archive '/home/runner/work/_actions/_temp_3facf6ad-0287-4c58-a976-4b25fd1e2c21/57146b5d-8a98-4ed2-b00e-b8bf3ccd90cd.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v4'.
    50:  ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'.
    51:  ##[debug]Set step '__actions_checkout' display name to: 'Run actions/checkout@v4'
    52:  ##[debug]Set step 'lint-sql' display name to: 'Run /./'
    53:  ##[debug]Set step '__run' display name to: 'check the exit code'
    54:  ##[debug]Set step '__run_2' display name to: 'Test outputs'
    55:  Complete job name: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.6.txt, .sq...
    ...
    
    105:  ##[debug]fetch depth = 1
    106:  ##[debug]fetch tags = false
    107:  ##[debug]show progress = true
    108:  ##[debug]lfs = false
    109:  ##[debug]submodules = false
    110:  ##[debug]recursive submodules = false
    111:  ##[debug]GitHub Host URL = 
    112:  ::add-matcher::/home/runner/work/_actions/actions/checkout/v4/dist/problem-matcher.json
    113:  ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
    ...
    
    256:  ##[debug]Evaluating: matrix.sqlfluff
    257:  ##[debug]Evaluating Index:
    258:  ##[debug]..Evaluating matrix:
    259:  ##[debug]..=> Object
    260:  ##[debug]..Evaluating String:
    261:  ##[debug]..=> 'sqlfluff'
    262:  ##[debug]=> '3.0.7'
    263:  ##[debug]Result: '3.0.7'
    264:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt', github.workspace)
    265:  ##[debug]Evaluating format:
    266:  ##[debug]..Evaluating String:
    267:  ##[debug]..=> '{0}/testdata/test_failed_dbt'
    268:  ##[debug]..Evaluating Index:
    269:  ##[debug]....Evaluating github:
    270:  ##[debug]....=> Object
    271:  ##[debug]....Evaluating String:
    272:  ##[debug]....=> 'workspace'
    273:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    274:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    275:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    276:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/{1}', github.workspace, matrix.config)
    277:  ##[debug]Evaluating format:
    278:  ##[debug]..Evaluating String:
    279:  ##[debug]..=> '{0}/testdata/test_failed_dbt/{1}'
    ...
    
    284:  ##[debug]....=> 'workspace'
    285:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    286:  ##[debug]..Evaluating Index:
    287:  ##[debug]....Evaluating matrix:
    288:  ##[debug]....=> Object
    289:  ##[debug]....Evaluating String:
    290:  ##[debug]....=> 'config'
    291:  ##[debug]..=> '.sqlfluff.redshift'
    292:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.redshift'
    293:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.redshift'
    294:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/models', github.workspace)
    295:  ##[debug]Evaluating format:
    296:  ##[debug]..Evaluating String:
    297:  ##[debug]..=> '{0}/testdata/test_failed_dbt/models'
    298:  ##[debug]..Evaluating Index:
    299:  ##[debug]....Evaluating github:
    300:  ##[debug]....=> Object
    301:  ##[debug]....Evaluating String:
    302:  ##[debug]....=> 'workspace'
    303:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    304:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    305:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    ...
    
    313:  ##[debug]....Evaluating String:
    314:  ##[debug]....=> 'workspace'
    315:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    316:  ##[debug]..Evaluating Index:
    317:  ##[debug]....Evaluating matrix:
    318:  ##[debug]....=> Object
    319:  ##[debug]....Evaluating String:
    320:  ##[debug]....=> 'extra_requirements_txt'
    321:  ##[debug]..=> 'testdata/test_failed_dbt/extra_requirements-1.6.txt'
    322:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.6.txt'
    323:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.6.txt'
    ...
    
    332:  ##[debug]Loading env
    333:  ##[group]Run ./
    334:  with:
    335:  github_token: ***
    336:  reporter: github-pr-review
    337:  sqlfluff_version: 3.0.7
    338:  sqlfluff_command: lint
    339:  templater: jinja
    340:  working-directory: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt
    341:  config: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.redshift
    342:  paths: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models
    343:  extra_requirements_txt: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.6.txt
    344:  github_base_ref: main
    345:  level: error
    346:  filter_mode: file
    347:  fail_on_error: false
    ...
    
    354:  ##[command]/usr/bin/docker build -t f2ede3:e673414c1fd856249fcf91247f2d1cae -f "/home/runner/work/action-sqlfluff/action-sqlfluff/./Dockerfile" "/home/runner/work/action-sqlfluff/action-sqlfluff"
    355:  #0 building with "default" instance using docker driver
    356:  #1 [internal] load build definition from Dockerfile
    357:  #1 transferring dockerfile: 802B done
    358:  #1 DONE 0.0s
    359:  #2 [auth] library/python:pull token for registry-1.docker.io
    360:  #2 DONE 0.0s
    361:  #3 [internal] load metadata for docker.io/library/python:3.13-slim
    362:  #3 ERROR: no match for platform in manifest: not found
    ...
    
    364:  > [internal] load metadata for docker.io/library/python:3.13-slim:
    365:  ------
    366:  Dockerfile:1
    367:  --------------------
    368:  1 | >>> FROM python:3.13-slim
    369:  2 |     
    370:  3 |     ENV REVIEWDOG_VERSION="v0.17.4"
    371:  --------------------
    372:  ERROR: failed to solve: python:3.13-slim: failed to resolve source metadata for docker.io/library/python:3.13-slim: no match for platform in manifest: not found
    373:  ##[endgroup]
    374:  ##[error]Docker build failed with exit code 1
    375:  ##[debug]System.InvalidOperationException: Docker build failed with exit code 1
    ...
    
    383:  ##[debug]..Evaluating success:
    384:  ##[debug]..=> false
    385:  ##[debug]=> true
    386:  ##[debug]Expanded: !false
    387:  ##[debug]Result: true
    388:  ##[debug]Starting: check the exit code
    389:  ##[debug]Loading inputs
    390:  ##[debug]Loading env
    391:  ##[group]Run echo 'The previous step should fail' && exit 1
    392:  �[36;1mecho 'The previous step should fail' && exit 1�[0m
    393:  shell: /usr/bin/bash -e {0}
    394:  ##[endgroup]
    395:  ##[debug]/usr/bin/bash -e /home/runner/work/_temp/2f350149-9edc-4609-a7b9-a0eaea2843d2.sh
    396:  The previous step should fail
    397:  ##[error]Process completed with exit code 1.
    ...
    
    557:  ##[debug]Copying 1 worker diagnostic logs.
    558:  ##[debug]Copying 1 runner diagnostic logs.
    559:  ##[debug]Zipping diagnostic files.
    560:  ##[debug]Uploading diagnostic metadata file.
    561:  ##[debug]Diagnostic file upload complete.
    562:  Completed runner diagnostic log upload
    563:  Cleaning up orphan processes
    564:  ##[debug]Finishing: Complete job
    565:  ##[debug]Finishing: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.6.txt, .sq...
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link

    qodo-merge-pro bot commented Oct 8, 2024

    PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

    CI Failure Feedback 🧐

    Action: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.6.txt, .sq...

    Failed stage: Run /./ [❌]

    Failed test name: ""

    Failure summary:

    The action failed because the Docker build process encountered an error. Specifically:

  • The Dockerfile attempted to use the base image python:3.13-slim.
  • The build failed because there was "no match for platform in manifest" for the specified image,
    indicating that the image python:3.13-slim could not be found or is not available for the platform
    being used.
  • This resulted in the Docker build failing with exit code 1.

  • Relevant error logs:
    1:  ##[debug]Cleaning runner temp folder: /home/runner/work/_temp
    2:  ##[debug]Starting: Set up job
    ...
    
    47:  ##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' to '/home/runner/work/_actions/_temp_9ae2fb3c-1d22-46ed-9a5e-86c72078bd7f/7fab5903-c5a9-4993-ae07-fcd4cc952823.tar.gz'
    48:  ##[debug]Unwrap 'actions-checkout-eef6144' to '/home/runner/work/_actions/actions/checkout/v4'
    49:  ##[debug]Archive '/home/runner/work/_actions/_temp_9ae2fb3c-1d22-46ed-9a5e-86c72078bd7f/7fab5903-c5a9-4993-ae07-fcd4cc952823.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v4'.
    50:  ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'.
    51:  ##[debug]Set step '__actions_checkout' display name to: 'Run actions/checkout@v4'
    52:  ##[debug]Set step 'lint-sql' display name to: 'Run /./'
    53:  ##[debug]Set step '__run' display name to: 'check the exit code'
    54:  ##[debug]Set step '__run_2' display name to: 'Test outputs'
    55:  Complete job name: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.6.txt, .sq...
    ...
    
    105:  ##[debug]fetch depth = 1
    106:  ##[debug]fetch tags = false
    107:  ##[debug]show progress = true
    108:  ##[debug]lfs = false
    109:  ##[debug]submodules = false
    110:  ##[debug]recursive submodules = false
    111:  ##[debug]GitHub Host URL = 
    112:  ::add-matcher::/home/runner/work/_actions/actions/checkout/v4/dist/problem-matcher.json
    113:  ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
    ...
    
    256:  ##[debug]Evaluating: matrix.sqlfluff
    257:  ##[debug]Evaluating Index:
    258:  ##[debug]..Evaluating matrix:
    259:  ##[debug]..=> Object
    260:  ##[debug]..Evaluating String:
    261:  ##[debug]..=> 'sqlfluff'
    262:  ##[debug]=> '3.0.7'
    263:  ##[debug]Result: '3.0.7'
    264:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt', github.workspace)
    265:  ##[debug]Evaluating format:
    266:  ##[debug]..Evaluating String:
    267:  ##[debug]..=> '{0}/testdata/test_failed_dbt'
    268:  ##[debug]..Evaluating Index:
    269:  ##[debug]....Evaluating github:
    270:  ##[debug]....=> Object
    271:  ##[debug]....Evaluating String:
    272:  ##[debug]....=> 'workspace'
    273:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    274:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    275:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    276:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/{1}', github.workspace, matrix.config)
    277:  ##[debug]Evaluating format:
    278:  ##[debug]..Evaluating String:
    279:  ##[debug]..=> '{0}/testdata/test_failed_dbt/{1}'
    ...
    
    284:  ##[debug]....=> 'workspace'
    285:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    286:  ##[debug]..Evaluating Index:
    287:  ##[debug]....Evaluating matrix:
    288:  ##[debug]....=> Object
    289:  ##[debug]....Evaluating String:
    290:  ##[debug]....=> 'config'
    291:  ##[debug]..=> '.sqlfluff.postgres'
    292:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.postgres'
    293:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.postgres'
    294:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/models', github.workspace)
    295:  ##[debug]Evaluating format:
    296:  ##[debug]..Evaluating String:
    297:  ##[debug]..=> '{0}/testdata/test_failed_dbt/models'
    298:  ##[debug]..Evaluating Index:
    299:  ##[debug]....Evaluating github:
    300:  ##[debug]....=> Object
    301:  ##[debug]....Evaluating String:
    302:  ##[debug]....=> 'workspace'
    303:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    304:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    305:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    ...
    
    313:  ##[debug]....Evaluating String:
    314:  ##[debug]....=> 'workspace'
    315:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    316:  ##[debug]..Evaluating Index:
    317:  ##[debug]....Evaluating matrix:
    318:  ##[debug]....=> Object
    319:  ##[debug]....Evaluating String:
    320:  ##[debug]....=> 'extra_requirements_txt'
    321:  ##[debug]..=> 'testdata/test_failed_dbt/extra_requirements-1.6.txt'
    322:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.6.txt'
    323:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.6.txt'
    ...
    
    332:  ##[debug]Loading env
    333:  ##[group]Run ./
    334:  with:
    335:  github_token: ***
    336:  reporter: github-pr-review
    337:  sqlfluff_version: 3.0.7
    338:  sqlfluff_command: lint
    339:  templater: jinja
    340:  working-directory: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt
    341:  config: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.postgres
    342:  paths: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models
    343:  extra_requirements_txt: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.6.txt
    344:  github_base_ref: main
    345:  level: error
    346:  filter_mode: file
    347:  fail_on_error: false
    ...
    
    354:  ##[command]/usr/bin/docker build -t cb79d6:9ae7cb1a4a1551f2605a0ad0483e2eb4 -f "/home/runner/work/action-sqlfluff/action-sqlfluff/./Dockerfile" "/home/runner/work/action-sqlfluff/action-sqlfluff"
    355:  #0 building with "default" instance using docker driver
    356:  #1 [internal] load build definition from Dockerfile
    357:  #1 transferring dockerfile: 802B done
    358:  #1 DONE 0.0s
    359:  #2 [auth] library/python:pull token for registry-1.docker.io
    360:  #2 DONE 0.0s
    361:  #3 [internal] load metadata for docker.io/library/python:3.13-slim
    362:  #3 ERROR: no match for platform in manifest: not found
    ...
    
    364:  > [internal] load metadata for docker.io/library/python:3.13-slim:
    365:  ------
    366:  Dockerfile:1
    367:  --------------------
    368:  1 | >>> FROM python:3.13-slim
    369:  2 |     
    370:  3 |     ENV REVIEWDOG_VERSION="v0.17.4"
    371:  --------------------
    372:  ERROR: failed to solve: python:3.13-slim: failed to resolve source metadata for docker.io/library/python:3.13-slim: no match for platform in manifest: not found
    373:  ##[endgroup]
    374:  ##[error]Docker build failed with exit code 1
    375:  ##[debug]System.InvalidOperationException: Docker build failed with exit code 1
    ...
    
    383:  ##[debug]..Evaluating success:
    384:  ##[debug]..=> false
    385:  ##[debug]=> true
    386:  ##[debug]Expanded: !false
    387:  ##[debug]Result: true
    388:  ##[debug]Starting: check the exit code
    389:  ##[debug]Loading inputs
    390:  ##[debug]Loading env
    391:  ##[group]Run echo 'The previous step should fail' && exit 1
    392:  �[36;1mecho 'The previous step should fail' && exit 1�[0m
    393:  shell: /usr/bin/bash -e {0}
    394:  ##[endgroup]
    395:  ##[debug]/usr/bin/bash -e /home/runner/work/_temp/5110b3c2-0ebc-4486-b718-9b49e3723ea8.sh
    396:  The previous step should fail
    397:  ##[error]Process completed with exit code 1.
    ...
    
    557:  ##[debug]Copying 1 worker diagnostic logs.
    558:  ##[debug]Copying 1 runner diagnostic logs.
    559:  ##[debug]Zipping diagnostic files.
    560:  ##[debug]Uploading diagnostic metadata file.
    561:  ##[debug]Diagnostic file upload complete.
    562:  Completed runner diagnostic log upload
    563:  Cleaning up orphan processes
    564:  ##[debug]Finishing: Complete job
    565:  ##[debug]Finishing: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.6.txt, .sq...
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link

    qodo-merge-pro bot commented Oct 8, 2024

    PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

    CI Failure Feedback 🧐

    Action: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.8.txt, .sq...

    Failed stage: Run /./ [❌]

    Failed test name: ""

    Failure summary:

    The action failed due to a Docker build error:

  • The Dockerfile attempted to use the base image python:3.13-slim.
  • The build process failed because there was "no match for platform in manifest" for the specified
    image.
  • This indicates that the specified Python version or its slim variant is not available on Docker Hub.

  • Relevant error logs:
    1:  ##[debug]Cleaning runner temp folder: /home/runner/work/_temp
    2:  ##[debug]Starting: Set up job
    ...
    
    47:  ##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' to '/home/runner/work/_actions/_temp_862023d0-f601-4cfa-97ad-0b3da3a8a519/b5bc704f-8b5c-4d33-99b3-450bce438bdd.tar.gz'
    48:  ##[debug]Unwrap 'actions-checkout-eef6144' to '/home/runner/work/_actions/actions/checkout/v4'
    49:  ##[debug]Archive '/home/runner/work/_actions/_temp_862023d0-f601-4cfa-97ad-0b3da3a8a519/b5bc704f-8b5c-4d33-99b3-450bce438bdd.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v4'.
    50:  ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'.
    51:  ##[debug]Set step '__actions_checkout' display name to: 'Run actions/checkout@v4'
    52:  ##[debug]Set step 'lint-sql' display name to: 'Run /./'
    53:  ##[debug]Set step '__run' display name to: 'check the exit code'
    54:  ##[debug]Set step '__run_2' display name to: 'Test outputs'
    55:  Complete job name: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.8.txt, .sq...
    ...
    
    105:  ##[debug]fetch depth = 1
    106:  ##[debug]fetch tags = false
    107:  ##[debug]show progress = true
    108:  ##[debug]lfs = false
    109:  ##[debug]submodules = false
    110:  ##[debug]recursive submodules = false
    111:  ##[debug]GitHub Host URL = 
    112:  ::add-matcher::/home/runner/work/_actions/actions/checkout/v4/dist/problem-matcher.json
    113:  ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
    ...
    
    256:  ##[debug]Evaluating: matrix.sqlfluff
    257:  ##[debug]Evaluating Index:
    258:  ##[debug]..Evaluating matrix:
    259:  ##[debug]..=> Object
    260:  ##[debug]..Evaluating String:
    261:  ##[debug]..=> 'sqlfluff'
    262:  ##[debug]=> '3.0.7'
    263:  ##[debug]Result: '3.0.7'
    264:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt', github.workspace)
    265:  ##[debug]Evaluating format:
    266:  ##[debug]..Evaluating String:
    267:  ##[debug]..=> '{0}/testdata/test_failed_dbt'
    268:  ##[debug]..Evaluating Index:
    269:  ##[debug]....Evaluating github:
    270:  ##[debug]....=> Object
    271:  ##[debug]....Evaluating String:
    272:  ##[debug]....=> 'workspace'
    273:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    274:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    275:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    276:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/{1}', github.workspace, matrix.config)
    277:  ##[debug]Evaluating format:
    278:  ##[debug]..Evaluating String:
    279:  ##[debug]..=> '{0}/testdata/test_failed_dbt/{1}'
    ...
    
    284:  ##[debug]....=> 'workspace'
    285:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    286:  ##[debug]..Evaluating Index:
    287:  ##[debug]....Evaluating matrix:
    288:  ##[debug]....=> Object
    289:  ##[debug]....Evaluating String:
    290:  ##[debug]....=> 'config'
    291:  ##[debug]..=> '.sqlfluff.redshift'
    292:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.redshift'
    293:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.redshift'
    294:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/models', github.workspace)
    295:  ##[debug]Evaluating format:
    296:  ##[debug]..Evaluating String:
    297:  ##[debug]..=> '{0}/testdata/test_failed_dbt/models'
    298:  ##[debug]..Evaluating Index:
    299:  ##[debug]....Evaluating github:
    300:  ##[debug]....=> Object
    301:  ##[debug]....Evaluating String:
    302:  ##[debug]....=> 'workspace'
    303:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    304:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    305:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    ...
    
    313:  ##[debug]....Evaluating String:
    314:  ##[debug]....=> 'workspace'
    315:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    316:  ##[debug]..Evaluating Index:
    317:  ##[debug]....Evaluating matrix:
    318:  ##[debug]....=> Object
    319:  ##[debug]....Evaluating String:
    320:  ##[debug]....=> 'extra_requirements_txt'
    321:  ##[debug]..=> 'testdata/test_failed_dbt/extra_requirements-1.8.txt'
    322:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.8.txt'
    323:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.8.txt'
    ...
    
    332:  ##[debug]Loading env
    333:  ##[group]Run ./
    334:  with:
    335:  github_token: ***
    336:  reporter: github-pr-review
    337:  sqlfluff_version: 3.0.7
    338:  sqlfluff_command: lint
    339:  templater: jinja
    340:  working-directory: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt
    341:  config: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.redshift
    342:  paths: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models
    343:  extra_requirements_txt: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.8.txt
    344:  github_base_ref: main
    345:  level: error
    346:  filter_mode: file
    347:  fail_on_error: false
    ...
    
    354:  ##[command]/usr/bin/docker build -t f70867:e6db1039abaf56f89ff5b58883803150 -f "/home/runner/work/action-sqlfluff/action-sqlfluff/./Dockerfile" "/home/runner/work/action-sqlfluff/action-sqlfluff"
    355:  #0 building with "default" instance using docker driver
    356:  #1 [internal] load build definition from Dockerfile
    357:  #1 transferring dockerfile: 802B done
    358:  #1 DONE 0.0s
    359:  #2 [auth] library/python:pull token for registry-1.docker.io
    360:  #2 DONE 0.0s
    361:  #3 [internal] load metadata for docker.io/library/python:3.13-slim
    362:  #3 ERROR: no match for platform in manifest: not found
    ...
    
    364:  > [internal] load metadata for docker.io/library/python:3.13-slim:
    365:  ------
    366:  Dockerfile:1
    367:  --------------------
    368:  1 | >>> FROM python:3.13-slim
    369:  2 |     
    370:  3 |     ENV REVIEWDOG_VERSION="v0.17.4"
    371:  --------------------
    372:  ERROR: failed to solve: python:3.13-slim: failed to resolve source metadata for docker.io/library/python:3.13-slim: no match for platform in manifest: not found
    373:  ##[endgroup]
    374:  ##[error]Docker build failed with exit code 1
    375:  ##[debug]System.InvalidOperationException: Docker build failed with exit code 1
    ...
    
    383:  ##[debug]..Evaluating success:
    384:  ##[debug]..=> false
    385:  ##[debug]=> true
    386:  ##[debug]Expanded: !false
    387:  ##[debug]Result: true
    388:  ##[debug]Starting: check the exit code
    389:  ##[debug]Loading inputs
    390:  ##[debug]Loading env
    391:  ##[group]Run echo 'The previous step should fail' && exit 1
    392:  �[36;1mecho 'The previous step should fail' && exit 1�[0m
    393:  shell: /usr/bin/bash -e {0}
    394:  ##[endgroup]
    395:  ##[debug]/usr/bin/bash -e /home/runner/work/_temp/f4ba74e2-973e-4dbf-bb0c-f70f0b83d695.sh
    396:  The previous step should fail
    397:  ##[error]Process completed with exit code 1.
    ...
    
    557:  ##[debug]Copying 1 worker diagnostic logs.
    558:  ##[debug]Copying 1 runner diagnostic logs.
    559:  ##[debug]Zipping diagnostic files.
    560:  ##[debug]Uploading diagnostic metadata file.
    561:  ##[debug]Diagnostic file upload complete.
    562:  Completed runner diagnostic log upload
    563:  Cleaning up orphan processes
    564:  ##[debug]Finishing: Complete job
    565:  ##[debug]Finishing: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.8.txt, .sq...
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link

    qodo-merge-pro bot commented Oct 8, 2024

    PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

    CI Failure Feedback 🧐

    Action: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.7.txt, .sq...

    Failed stage: Run /./ [❌]

    Failed test name: ""

    Failure summary:

    The action failed because the Docker build process encountered an error. Specifically:

  • The Docker image python:3.13-slim could not be found or resolved, resulting in a failure to load
    metadata for this image.
  • The error message indicates "no match for platform in manifest: not found", suggesting that the
    specified image version or platform is not available in the Docker registry.

  • Relevant error logs:
    1:  ##[debug]Cleaning runner temp folder: /home/runner/work/_temp
    2:  ##[debug]Starting: Set up job
    ...
    
    47:  ##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' to '/home/runner/work/_actions/_temp_0f18e80b-10f0-4912-aca3-d6b2b0fbcc7f/4b285066-ba99-4ebb-8577-e7e9136f41dc.tar.gz'
    48:  ##[debug]Unwrap 'actions-checkout-eef6144' to '/home/runner/work/_actions/actions/checkout/v4'
    49:  ##[debug]Archive '/home/runner/work/_actions/_temp_0f18e80b-10f0-4912-aca3-d6b2b0fbcc7f/4b285066-ba99-4ebb-8577-e7e9136f41dc.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v4'.
    50:  ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'.
    51:  ##[debug]Set step '__actions_checkout' display name to: 'Run actions/checkout@v4'
    52:  ##[debug]Set step 'lint-sql' display name to: 'Run /./'
    53:  ##[debug]Set step '__run' display name to: 'check the exit code'
    54:  ##[debug]Set step '__run_2' display name to: 'Test outputs'
    55:  Complete job name: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.7.txt, .sq...
    ...
    
    105:  ##[debug]fetch depth = 1
    106:  ##[debug]fetch tags = false
    107:  ##[debug]show progress = true
    108:  ##[debug]lfs = false
    109:  ##[debug]submodules = false
    110:  ##[debug]recursive submodules = false
    111:  ##[debug]GitHub Host URL = 
    112:  ::add-matcher::/home/runner/work/_actions/actions/checkout/v4/dist/problem-matcher.json
    113:  ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
    ...
    
    256:  ##[debug]Evaluating: matrix.sqlfluff
    257:  ##[debug]Evaluating Index:
    258:  ##[debug]..Evaluating matrix:
    259:  ##[debug]..=> Object
    260:  ##[debug]..Evaluating String:
    261:  ##[debug]..=> 'sqlfluff'
    262:  ##[debug]=> '3.0.7'
    263:  ##[debug]Result: '3.0.7'
    264:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt', github.workspace)
    265:  ##[debug]Evaluating format:
    266:  ##[debug]..Evaluating String:
    267:  ##[debug]..=> '{0}/testdata/test_failed_dbt'
    268:  ##[debug]..Evaluating Index:
    269:  ##[debug]....Evaluating github:
    270:  ##[debug]....=> Object
    271:  ##[debug]....Evaluating String:
    272:  ##[debug]....=> 'workspace'
    273:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    274:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    275:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    276:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/{1}', github.workspace, matrix.config)
    277:  ##[debug]Evaluating format:
    278:  ##[debug]..Evaluating String:
    279:  ##[debug]..=> '{0}/testdata/test_failed_dbt/{1}'
    ...
    
    284:  ##[debug]....=> 'workspace'
    285:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    286:  ##[debug]..Evaluating Index:
    287:  ##[debug]....Evaluating matrix:
    288:  ##[debug]....=> Object
    289:  ##[debug]....Evaluating String:
    290:  ##[debug]....=> 'config'
    291:  ##[debug]..=> '.sqlfluff.redshift'
    292:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.redshift'
    293:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.redshift'
    294:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/models', github.workspace)
    295:  ##[debug]Evaluating format:
    296:  ##[debug]..Evaluating String:
    297:  ##[debug]..=> '{0}/testdata/test_failed_dbt/models'
    298:  ##[debug]..Evaluating Index:
    299:  ##[debug]....Evaluating github:
    300:  ##[debug]....=> Object
    301:  ##[debug]....Evaluating String:
    302:  ##[debug]....=> 'workspace'
    303:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    304:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    305:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    ...
    
    313:  ##[debug]....Evaluating String:
    314:  ##[debug]....=> 'workspace'
    315:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    316:  ##[debug]..Evaluating Index:
    317:  ##[debug]....Evaluating matrix:
    318:  ##[debug]....=> Object
    319:  ##[debug]....Evaluating String:
    320:  ##[debug]....=> 'extra_requirements_txt'
    321:  ##[debug]..=> 'testdata/test_failed_dbt/extra_requirements-1.7.txt'
    322:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.7.txt'
    323:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.7.txt'
    ...
    
    332:  ##[debug]Loading env
    333:  ##[group]Run ./
    334:  with:
    335:  github_token: ***
    336:  reporter: github-pr-review
    337:  sqlfluff_version: 3.0.7
    338:  sqlfluff_command: lint
    339:  templater: jinja
    340:  working-directory: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt
    341:  config: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.redshift
    342:  paths: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models
    343:  extra_requirements_txt: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.7.txt
    344:  github_base_ref: main
    345:  level: error
    346:  filter_mode: file
    347:  fail_on_error: false
    ...
    
    356:  #1 [internal] load build definition from Dockerfile
    357:  #1 transferring dockerfile: 802B done
    358:  #1 DONE 0.0s
    359:  #2 [internal] load metadata for docker.io/library/python:3.13-slim
    360:  #2 ...
    361:  #3 [auth] library/python:pull token for registry-1.docker.io
    362:  #3 DONE 0.0s
    363:  #2 [internal] load metadata for docker.io/library/python:3.13-slim
    364:  #2 ERROR: no match for platform in manifest: not found
    ...
    
    366:  > [internal] load metadata for docker.io/library/python:3.13-slim:
    367:  ------
    368:  Dockerfile:1
    369:  --------------------
    370:  1 | >>> FROM python:3.13-slim
    371:  2 |     
    372:  3 |     ENV REVIEWDOG_VERSION="v0.17.4"
    373:  --------------------
    374:  ERROR: failed to solve: python:3.13-slim: failed to resolve source metadata for docker.io/library/python:3.13-slim: no match for platform in manifest: not found
    375:  ##[endgroup]
    376:  ##[error]Docker build failed with exit code 1
    377:  ##[debug]System.InvalidOperationException: Docker build failed with exit code 1
    ...
    
    385:  ##[debug]..Evaluating success:
    386:  ##[debug]..=> false
    387:  ##[debug]=> true
    388:  ##[debug]Expanded: !false
    389:  ##[debug]Result: true
    390:  ##[debug]Starting: check the exit code
    391:  ##[debug]Loading inputs
    392:  ##[debug]Loading env
    393:  ##[group]Run echo 'The previous step should fail' && exit 1
    394:  �[36;1mecho 'The previous step should fail' && exit 1�[0m
    395:  shell: /usr/bin/bash -e {0}
    396:  ##[endgroup]
    397:  ##[debug]/usr/bin/bash -e /home/runner/work/_temp/f50020cc-5f82-47cf-b0d2-46c3a806a778.sh
    398:  The previous step should fail
    399:  ##[error]Process completed with exit code 1.
    ...
    
    559:  ##[debug]Copying 1 worker diagnostic logs.
    560:  ##[debug]Copying 1 runner diagnostic logs.
    561:  ##[debug]Zipping diagnostic files.
    562:  ##[debug]Uploading diagnostic metadata file.
    563:  ##[debug]Diagnostic file upload complete.
    564:  Completed runner diagnostic log upload
    565:  Cleaning up orphan processes
    566:  ##[debug]Finishing: Complete job
    567:  ##[debug]Finishing: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.7.txt, .sq...
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link

    qodo-merge-pro bot commented Oct 8, 2024

    PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

    CI Failure Feedback 🧐

    Action: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.7.txt, .sq...

    Failed stage: Run /./ [❌]

    Failed test name: ""

    Failure summary:

    The action failed because the Docker build process encountered an error:

  • The specified Docker image python:3.13-slim could not be found or resolved.
  • The error message indicates "no match for platform in manifest: not found", suggesting that the
    image does not exist for the specified platform or version.
  • As a result, the Docker build failed with exit code 1.

  • Relevant error logs:
    1:  ##[debug]Cleaning runner temp folder: /home/runner/work/_temp
    2:  ##[debug]Starting: Set up job
    ...
    
    47:  ##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' to '/home/runner/work/_actions/_temp_06b4def7-cb52-429c-ba0a-a16f947e47ae/b1b03b77-e122-43d4-ac01-85e3852657db.tar.gz'
    48:  ##[debug]Unwrap 'actions-checkout-eef6144' to '/home/runner/work/_actions/actions/checkout/v4'
    49:  ##[debug]Archive '/home/runner/work/_actions/_temp_06b4def7-cb52-429c-ba0a-a16f947e47ae/b1b03b77-e122-43d4-ac01-85e3852657db.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v4'.
    50:  ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'.
    51:  ##[debug]Set step '__actions_checkout' display name to: 'Run actions/checkout@v4'
    52:  ##[debug]Set step 'lint-sql' display name to: 'Run /./'
    53:  ##[debug]Set step '__run' display name to: 'check the exit code'
    54:  ##[debug]Set step '__run_2' display name to: 'Test outputs'
    55:  Complete job name: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.7.txt, .sq...
    ...
    
    105:  ##[debug]fetch depth = 1
    106:  ##[debug]fetch tags = false
    107:  ##[debug]show progress = true
    108:  ##[debug]lfs = false
    109:  ##[debug]submodules = false
    110:  ##[debug]recursive submodules = false
    111:  ##[debug]GitHub Host URL = 
    112:  ::add-matcher::/home/runner/work/_actions/actions/checkout/v4/dist/problem-matcher.json
    113:  ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
    ...
    
    256:  ##[debug]Evaluating: matrix.sqlfluff
    257:  ##[debug]Evaluating Index:
    258:  ##[debug]..Evaluating matrix:
    259:  ##[debug]..=> Object
    260:  ##[debug]..Evaluating String:
    261:  ##[debug]..=> 'sqlfluff'
    262:  ##[debug]=> '3.0.7'
    263:  ##[debug]Result: '3.0.7'
    264:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt', github.workspace)
    265:  ##[debug]Evaluating format:
    266:  ##[debug]..Evaluating String:
    267:  ##[debug]..=> '{0}/testdata/test_failed_dbt'
    268:  ##[debug]..Evaluating Index:
    269:  ##[debug]....Evaluating github:
    270:  ##[debug]....=> Object
    271:  ##[debug]....Evaluating String:
    272:  ##[debug]....=> 'workspace'
    273:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    274:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    275:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    276:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/{1}', github.workspace, matrix.config)
    277:  ##[debug]Evaluating format:
    278:  ##[debug]..Evaluating String:
    279:  ##[debug]..=> '{0}/testdata/test_failed_dbt/{1}'
    ...
    
    284:  ##[debug]....=> 'workspace'
    285:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    286:  ##[debug]..Evaluating Index:
    287:  ##[debug]....Evaluating matrix:
    288:  ##[debug]....=> Object
    289:  ##[debug]....Evaluating String:
    290:  ##[debug]....=> 'config'
    291:  ##[debug]..=> '.sqlfluff.postgres'
    292:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.postgres'
    293:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.postgres'
    294:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/models', github.workspace)
    295:  ##[debug]Evaluating format:
    296:  ##[debug]..Evaluating String:
    297:  ##[debug]..=> '{0}/testdata/test_failed_dbt/models'
    298:  ##[debug]..Evaluating Index:
    299:  ##[debug]....Evaluating github:
    300:  ##[debug]....=> Object
    301:  ##[debug]....Evaluating String:
    302:  ##[debug]....=> 'workspace'
    303:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    304:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    305:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    ...
    
    313:  ##[debug]....Evaluating String:
    314:  ##[debug]....=> 'workspace'
    315:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    316:  ##[debug]..Evaluating Index:
    317:  ##[debug]....Evaluating matrix:
    318:  ##[debug]....=> Object
    319:  ##[debug]....Evaluating String:
    320:  ##[debug]....=> 'extra_requirements_txt'
    321:  ##[debug]..=> 'testdata/test_failed_dbt/extra_requirements-1.7.txt'
    322:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.7.txt'
    323:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.7.txt'
    ...
    
    332:  ##[debug]Loading env
    333:  ##[group]Run ./
    334:  with:
    335:  github_token: ***
    336:  reporter: github-pr-review
    337:  sqlfluff_version: 3.0.7
    338:  sqlfluff_command: lint
    339:  templater: jinja
    340:  working-directory: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt
    341:  config: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.postgres
    342:  paths: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models
    343:  extra_requirements_txt: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.7.txt
    344:  github_base_ref: main
    345:  level: error
    346:  filter_mode: file
    347:  fail_on_error: false
    ...
    
    356:  #1 [internal] load build definition from Dockerfile
    357:  #1 transferring dockerfile: 802B done
    358:  #1 DONE 0.0s
    359:  #2 [internal] load metadata for docker.io/library/python:3.13-slim
    360:  #2 ...
    361:  #3 [auth] library/python:pull token for registry-1.docker.io
    362:  #3 DONE 0.0s
    363:  #2 [internal] load metadata for docker.io/library/python:3.13-slim
    364:  #2 ERROR: no match for platform in manifest: not found
    ...
    
    366:  > [internal] load metadata for docker.io/library/python:3.13-slim:
    367:  ------
    368:  Dockerfile:1
    369:  --------------------
    370:  1 | >>> FROM python:3.13-slim
    371:  2 |     
    372:  3 |     ENV REVIEWDOG_VERSION="v0.17.4"
    373:  --------------------
    374:  ERROR: failed to solve: python:3.13-slim: failed to resolve source metadata for docker.io/library/python:3.13-slim: no match for platform in manifest: not found
    375:  ##[endgroup]
    376:  ##[error]Docker build failed with exit code 1
    377:  ##[debug]System.InvalidOperationException: Docker build failed with exit code 1
    ...
    
    385:  ##[debug]..Evaluating success:
    386:  ##[debug]..=> false
    387:  ##[debug]=> true
    388:  ##[debug]Expanded: !false
    389:  ##[debug]Result: true
    390:  ##[debug]Starting: check the exit code
    391:  ##[debug]Loading inputs
    392:  ##[debug]Loading env
    393:  ##[group]Run echo 'The previous step should fail' && exit 1
    394:  �[36;1mecho 'The previous step should fail' && exit 1�[0m
    395:  shell: /usr/bin/bash -e {0}
    396:  ##[endgroup]
    397:  ##[debug]/usr/bin/bash -e /home/runner/work/_temp/5503bfe5-65dd-4512-a4cd-79341e6d0d7d.sh
    398:  The previous step should fail
    399:  ##[error]Process completed with exit code 1.
    ...
    
    559:  ##[debug]Copying 1 worker diagnostic logs.
    560:  ##[debug]Copying 1 runner diagnostic logs.
    561:  ##[debug]Zipping diagnostic files.
    562:  ##[debug]Uploading diagnostic metadata file.
    563:  ##[debug]Diagnostic file upload complete.
    564:  Completed runner diagnostic log upload
    565:  Cleaning up orphan processes
    566:  ##[debug]Finishing: Complete job
    567:  ##[debug]Finishing: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.7.txt, .sq...
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link

    qodo-merge-pro bot commented Oct 8, 2024

    PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

    CI Failure Feedback 🧐

    Action: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.7.txt, .sq...

    Failed stage: Run /./ [❌]

    Failed test name: ""

    Failure summary:

    The action failed due to a Docker build error:

  • The Dockerfile attempted to use the base image python:3.13-slim.
  • The build process failed because there was "no match for platform in manifest" for the specified
    image, indicating that the image python:3.13-slim could not be found or is not available for the
    platform being used.
  • As a result, the Docker build failed with exit code 1.

  • Relevant error logs:
    1:  ##[debug]Cleaning runner temp folder: /home/runner/work/_temp
    2:  ##[debug]Starting: Set up job
    ...
    
    47:  ##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' to '/home/runner/work/_actions/_temp_a18deffa-598f-40ba-b65e-f344ed633b31/af3d5b44-e673-4276-9163-1296f2e52a46.tar.gz'
    48:  ##[debug]Unwrap 'actions-checkout-eef6144' to '/home/runner/work/_actions/actions/checkout/v4'
    49:  ##[debug]Archive '/home/runner/work/_actions/_temp_a18deffa-598f-40ba-b65e-f344ed633b31/af3d5b44-e673-4276-9163-1296f2e52a46.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v4'.
    50:  ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'.
    51:  ##[debug]Set step '__actions_checkout' display name to: 'Run actions/checkout@v4'
    52:  ##[debug]Set step 'lint-sql' display name to: 'Run /./'
    53:  ##[debug]Set step '__run' display name to: 'check the exit code'
    54:  ##[debug]Set step '__run_2' display name to: 'Test outputs'
    55:  Complete job name: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.7.txt, .sq...
    ...
    
    105:  ##[debug]fetch depth = 1
    106:  ##[debug]fetch tags = false
    107:  ##[debug]show progress = true
    108:  ##[debug]lfs = false
    109:  ##[debug]submodules = false
    110:  ##[debug]recursive submodules = false
    111:  ##[debug]GitHub Host URL = 
    112:  ::add-matcher::/home/runner/work/_actions/actions/checkout/v4/dist/problem-matcher.json
    113:  ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
    ...
    
    256:  ##[debug]Evaluating: matrix.sqlfluff
    257:  ##[debug]Evaluating Index:
    258:  ##[debug]..Evaluating matrix:
    259:  ##[debug]..=> Object
    260:  ##[debug]..Evaluating String:
    261:  ##[debug]..=> 'sqlfluff'
    262:  ##[debug]=> '3.0.7'
    263:  ##[debug]Result: '3.0.7'
    264:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt', github.workspace)
    265:  ##[debug]Evaluating format:
    266:  ##[debug]..Evaluating String:
    267:  ##[debug]..=> '{0}/testdata/test_failed_dbt'
    268:  ##[debug]..Evaluating Index:
    269:  ##[debug]....Evaluating github:
    270:  ##[debug]....=> Object
    271:  ##[debug]....Evaluating String:
    272:  ##[debug]....=> 'workspace'
    273:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    274:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    275:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    276:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/{1}', github.workspace, matrix.config)
    277:  ##[debug]Evaluating format:
    278:  ##[debug]..Evaluating String:
    279:  ##[debug]..=> '{0}/testdata/test_failed_dbt/{1}'
    ...
    
    284:  ##[debug]....=> 'workspace'
    285:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    286:  ##[debug]..Evaluating Index:
    287:  ##[debug]....Evaluating matrix:
    288:  ##[debug]....=> Object
    289:  ##[debug]....Evaluating String:
    290:  ##[debug]....=> 'config'
    291:  ##[debug]..=> '.sqlfluff.bigquery'
    292:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.bigquery'
    293:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.bigquery'
    294:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/models', github.workspace)
    295:  ##[debug]Evaluating format:
    296:  ##[debug]..Evaluating String:
    297:  ##[debug]..=> '{0}/testdata/test_failed_dbt/models'
    298:  ##[debug]..Evaluating Index:
    299:  ##[debug]....Evaluating github:
    300:  ##[debug]....=> Object
    301:  ##[debug]....Evaluating String:
    302:  ##[debug]....=> 'workspace'
    303:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    304:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    305:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    ...
    
    313:  ##[debug]....Evaluating String:
    314:  ##[debug]....=> 'workspace'
    315:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    316:  ##[debug]..Evaluating Index:
    317:  ##[debug]....Evaluating matrix:
    318:  ##[debug]....=> Object
    319:  ##[debug]....Evaluating String:
    320:  ##[debug]....=> 'extra_requirements_txt'
    321:  ##[debug]..=> 'testdata/test_failed_dbt/extra_requirements-1.7.txt'
    322:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.7.txt'
    323:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.7.txt'
    ...
    
    332:  ##[debug]Loading env
    333:  ##[group]Run ./
    334:  with:
    335:  github_token: ***
    336:  reporter: github-pr-review
    337:  sqlfluff_version: 3.0.7
    338:  sqlfluff_command: lint
    339:  templater: jinja
    340:  working-directory: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt
    341:  config: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.bigquery
    342:  paths: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models
    343:  extra_requirements_txt: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.7.txt
    344:  github_base_ref: main
    345:  level: error
    346:  filter_mode: file
    347:  fail_on_error: false
    ...
    
    356:  #1 [internal] load build definition from Dockerfile
    357:  #1 transferring dockerfile: 802B done
    358:  #1 DONE 0.0s
    359:  #2 [internal] load metadata for docker.io/library/python:3.13-slim
    360:  #2 ...
    361:  #3 [auth] library/python:pull token for registry-1.docker.io
    362:  #3 DONE 0.0s
    363:  #2 [internal] load metadata for docker.io/library/python:3.13-slim
    364:  #2 ERROR: no match for platform in manifest: not found
    ...
    
    366:  > [internal] load metadata for docker.io/library/python:3.13-slim:
    367:  ------
    368:  Dockerfile:1
    369:  --------------------
    370:  1 | >>> FROM python:3.13-slim
    371:  2 |     
    372:  3 |     ENV REVIEWDOG_VERSION="v0.17.4"
    373:  --------------------
    374:  ERROR: failed to solve: python:3.13-slim: failed to resolve source metadata for docker.io/library/python:3.13-slim: no match for platform in manifest: not found
    375:  ##[endgroup]
    376:  ##[error]Docker build failed with exit code 1
    377:  ##[debug]System.InvalidOperationException: Docker build failed with exit code 1
    ...
    
    385:  ##[debug]..Evaluating success:
    386:  ##[debug]..=> false
    387:  ##[debug]=> true
    388:  ##[debug]Expanded: !false
    389:  ##[debug]Result: true
    390:  ##[debug]Starting: check the exit code
    391:  ##[debug]Loading inputs
    392:  ##[debug]Loading env
    393:  ##[group]Run echo 'The previous step should fail' && exit 1
    394:  �[36;1mecho 'The previous step should fail' && exit 1�[0m
    395:  shell: /usr/bin/bash -e {0}
    396:  ##[endgroup]
    397:  ##[debug]/usr/bin/bash -e /home/runner/work/_temp/71bfa7d0-c70b-4da4-b621-f4e581c313d8.sh
    398:  The previous step should fail
    399:  ##[error]Process completed with exit code 1.
    ...
    
    559:  ##[debug]Copying 1 worker diagnostic logs.
    560:  ##[debug]Copying 1 runner diagnostic logs.
    561:  ##[debug]Zipping diagnostic files.
    562:  ##[debug]Uploading diagnostic metadata file.
    563:  ##[debug]Diagnostic file upload complete.
    564:  Completed runner diagnostic log upload
    565:  Cleaning up orphan processes
    566:  ##[debug]Finishing: Complete job
    567:  ##[debug]Finishing: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.7.txt, .sq...
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link

    qodo-merge-pro bot commented Oct 8, 2024

    PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

    CI Failure Feedback 🧐

    Action: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.8.txt, .sq...

    Failed stage: Run /./ [❌]

    Failed test name: ""

    Failure summary:

    The action failed because the Docker build process encountered an error. Specifically:

  • The Docker image python:3.13-slim could not be found or resolved, resulting in a "no match for
    platform in manifest" error.
  • This caused the Docker build to fail with exit code 1.

  • Relevant error logs:
    1:  ##[debug]Cleaning runner temp folder: /home/runner/work/_temp
    2:  ##[debug]Starting: Set up job
    ...
    
    47:  ##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' to '/home/runner/work/_actions/_temp_5ade2629-1939-4350-9440-5ec1d4a72de0/e8406b86-7780-4223-9f24-e75994360bae.tar.gz'
    48:  ##[debug]Unwrap 'actions-checkout-eef6144' to '/home/runner/work/_actions/actions/checkout/v4'
    49:  ##[debug]Archive '/home/runner/work/_actions/_temp_5ade2629-1939-4350-9440-5ec1d4a72de0/e8406b86-7780-4223-9f24-e75994360bae.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v4'.
    50:  ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'.
    51:  ##[debug]Set step '__actions_checkout' display name to: 'Run actions/checkout@v4'
    52:  ##[debug]Set step 'lint-sql' display name to: 'Run /./'
    53:  ##[debug]Set step '__run' display name to: 'check the exit code'
    54:  ##[debug]Set step '__run_2' display name to: 'Test outputs'
    55:  Complete job name: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.8.txt, .sq...
    ...
    
    105:  ##[debug]fetch depth = 1
    106:  ##[debug]fetch tags = false
    107:  ##[debug]show progress = true
    108:  ##[debug]lfs = false
    109:  ##[debug]submodules = false
    110:  ##[debug]recursive submodules = false
    111:  ##[debug]GitHub Host URL = 
    112:  ::add-matcher::/home/runner/work/_actions/actions/checkout/v4/dist/problem-matcher.json
    113:  ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
    ...
    
    256:  ##[debug]Evaluating: matrix.sqlfluff
    257:  ##[debug]Evaluating Index:
    258:  ##[debug]..Evaluating matrix:
    259:  ##[debug]..=> Object
    260:  ##[debug]..Evaluating String:
    261:  ##[debug]..=> 'sqlfluff'
    262:  ##[debug]=> '3.0.7'
    263:  ##[debug]Result: '3.0.7'
    264:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt', github.workspace)
    265:  ##[debug]Evaluating format:
    266:  ##[debug]..Evaluating String:
    267:  ##[debug]..=> '{0}/testdata/test_failed_dbt'
    268:  ##[debug]..Evaluating Index:
    269:  ##[debug]....Evaluating github:
    270:  ##[debug]....=> Object
    271:  ##[debug]....Evaluating String:
    272:  ##[debug]....=> 'workspace'
    273:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    274:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    275:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    276:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/{1}', github.workspace, matrix.config)
    277:  ##[debug]Evaluating format:
    278:  ##[debug]..Evaluating String:
    279:  ##[debug]..=> '{0}/testdata/test_failed_dbt/{1}'
    ...
    
    284:  ##[debug]....=> 'workspace'
    285:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    286:  ##[debug]..Evaluating Index:
    287:  ##[debug]....Evaluating matrix:
    288:  ##[debug]....=> Object
    289:  ##[debug]....Evaluating String:
    290:  ##[debug]....=> 'config'
    291:  ##[debug]..=> '.sqlfluff.snowflake'
    292:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.snowflake'
    293:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.snowflake'
    294:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/models', github.workspace)
    295:  ##[debug]Evaluating format:
    296:  ##[debug]..Evaluating String:
    297:  ##[debug]..=> '{0}/testdata/test_failed_dbt/models'
    298:  ##[debug]..Evaluating Index:
    299:  ##[debug]....Evaluating github:
    300:  ##[debug]....=> Object
    301:  ##[debug]....Evaluating String:
    302:  ##[debug]....=> 'workspace'
    303:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    304:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    305:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    ...
    
    313:  ##[debug]....Evaluating String:
    314:  ##[debug]....=> 'workspace'
    315:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    316:  ##[debug]..Evaluating Index:
    317:  ##[debug]....Evaluating matrix:
    318:  ##[debug]....=> Object
    319:  ##[debug]....Evaluating String:
    320:  ##[debug]....=> 'extra_requirements_txt'
    321:  ##[debug]..=> 'testdata/test_failed_dbt/extra_requirements-1.8.txt'
    322:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.8.txt'
    323:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.8.txt'
    ...
    
    332:  ##[debug]Loading env
    333:  ##[group]Run ./
    334:  with:
    335:  github_token: ***
    336:  reporter: github-pr-review
    337:  sqlfluff_version: 3.0.7
    338:  sqlfluff_command: lint
    339:  templater: jinja
    340:  working-directory: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt
    341:  config: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.snowflake
    342:  paths: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models
    343:  extra_requirements_txt: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.8.txt
    344:  github_base_ref: main
    345:  level: error
    346:  filter_mode: file
    347:  fail_on_error: false
    ...
    
    356:  #1 [internal] load build definition from Dockerfile
    357:  #1 transferring dockerfile: 802B done
    358:  #1 DONE 0.0s
    359:  #2 [internal] load metadata for docker.io/library/python:3.13-slim
    360:  #2 ...
    361:  #3 [auth] library/python:pull token for registry-1.docker.io
    362:  #3 DONE 0.0s
    363:  #2 [internal] load metadata for docker.io/library/python:3.13-slim
    364:  #2 ERROR: no match for platform in manifest: not found
    ...
    
    366:  > [internal] load metadata for docker.io/library/python:3.13-slim:
    367:  ------
    368:  Dockerfile:1
    369:  --------------------
    370:  1 | >>> FROM python:3.13-slim
    371:  2 |     
    372:  3 |     ENV REVIEWDOG_VERSION="v0.17.4"
    373:  --------------------
    374:  ERROR: failed to solve: python:3.13-slim: failed to resolve source metadata for docker.io/library/python:3.13-slim: no match for platform in manifest: not found
    375:  ##[endgroup]
    376:  ##[error]Docker build failed with exit code 1
    377:  ##[debug]System.InvalidOperationException: Docker build failed with exit code 1
    ...
    
    385:  ##[debug]..Evaluating success:
    386:  ##[debug]..=> false
    387:  ##[debug]=> true
    388:  ##[debug]Expanded: !false
    389:  ##[debug]Result: true
    390:  ##[debug]Starting: check the exit code
    391:  ##[debug]Loading inputs
    392:  ##[debug]Loading env
    393:  ##[group]Run echo 'The previous step should fail' && exit 1
    394:  �[36;1mecho 'The previous step should fail' && exit 1�[0m
    395:  shell: /usr/bin/bash -e {0}
    396:  ##[endgroup]
    397:  ##[debug]/usr/bin/bash -e /home/runner/work/_temp/72dccf1e-a9dc-425d-ba12-88495a45c971.sh
    398:  The previous step should fail
    399:  ##[error]Process completed with exit code 1.
    ...
    
    559:  ##[debug]Copying 1 worker diagnostic logs.
    560:  ##[debug]Copying 1 runner diagnostic logs.
    561:  ##[debug]Zipping diagnostic files.
    562:  ##[debug]Uploading diagnostic metadata file.
    563:  ##[debug]Diagnostic file upload complete.
    564:  Completed runner diagnostic log upload
    565:  Cleaning up orphan processes
    566:  ##[debug]Finishing: Complete job
    567:  ##[debug]Finishing: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.8.txt, .sq...
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link

    qodo-merge-pro bot commented Oct 8, 2024

    PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

    CI Failure Feedback 🧐

    Action: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.7.txt, .sq...

    Failed stage: Run /./ [❌]

    Failed test name: ""

    Failure summary:

    The action failed due to a Docker build error:

  • The Dockerfile attempted to use the base image python:3.13-slim.
  • The error message indicates that there was "no match for platform in manifest: not found" for the
    specified image.
  • This suggests that the python:3.13-slim image does not exist or is not available for the platform
    being used.
  • As a result, the Docker build process could not proceed, leading to an exit code 1.

  • Relevant error logs:
    1:  ##[debug]Cleaning runner temp folder: /home/runner/work/_temp
    2:  ##[debug]Starting: Set up job
    ...
    
    47:  ##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' to '/home/runner/work/_actions/_temp_65f63e8c-fdd0-48a9-a26e-f9567d40b94d/01254e83-b2d6-42a2-8b28-374daf297342.tar.gz'
    48:  ##[debug]Unwrap 'actions-checkout-eef6144' to '/home/runner/work/_actions/actions/checkout/v4'
    49:  ##[debug]Archive '/home/runner/work/_actions/_temp_65f63e8c-fdd0-48a9-a26e-f9567d40b94d/01254e83-b2d6-42a2-8b28-374daf297342.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v4'.
    50:  ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'.
    51:  ##[debug]Set step '__actions_checkout' display name to: 'Run actions/checkout@v4'
    52:  ##[debug]Set step 'lint-sql' display name to: 'Run /./'
    53:  ##[debug]Set step '__run' display name to: 'check the exit code'
    54:  ##[debug]Set step '__run_2' display name to: 'Test outputs'
    55:  Complete job name: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.7.txt, .sq...
    ...
    
    105:  ##[debug]fetch depth = 1
    106:  ##[debug]fetch tags = false
    107:  ##[debug]show progress = true
    108:  ##[debug]lfs = false
    109:  ##[debug]submodules = false
    110:  ##[debug]recursive submodules = false
    111:  ##[debug]GitHub Host URL = 
    112:  ::add-matcher::/home/runner/work/_actions/actions/checkout/v4/dist/problem-matcher.json
    113:  ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
    ...
    
    256:  ##[debug]Evaluating: matrix.sqlfluff
    257:  ##[debug]Evaluating Index:
    258:  ##[debug]..Evaluating matrix:
    259:  ##[debug]..=> Object
    260:  ##[debug]..Evaluating String:
    261:  ##[debug]..=> 'sqlfluff'
    262:  ##[debug]=> '3.0.7'
    263:  ##[debug]Result: '3.0.7'
    264:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt', github.workspace)
    265:  ##[debug]Evaluating format:
    266:  ##[debug]..Evaluating String:
    267:  ##[debug]..=> '{0}/testdata/test_failed_dbt'
    268:  ##[debug]..Evaluating Index:
    269:  ##[debug]....Evaluating github:
    270:  ##[debug]....=> Object
    271:  ##[debug]....Evaluating String:
    272:  ##[debug]....=> 'workspace'
    273:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    274:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    275:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    276:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/{1}', github.workspace, matrix.config)
    277:  ##[debug]Evaluating format:
    278:  ##[debug]..Evaluating String:
    279:  ##[debug]..=> '{0}/testdata/test_failed_dbt/{1}'
    ...
    
    284:  ##[debug]....=> 'workspace'
    285:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    286:  ##[debug]..Evaluating Index:
    287:  ##[debug]....Evaluating matrix:
    288:  ##[debug]....=> Object
    289:  ##[debug]....Evaluating String:
    290:  ##[debug]....=> 'config'
    291:  ##[debug]..=> '.sqlfluff.snowflake'
    292:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.snowflake'
    293:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.snowflake'
    294:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/models', github.workspace)
    295:  ##[debug]Evaluating format:
    296:  ##[debug]..Evaluating String:
    297:  ##[debug]..=> '{0}/testdata/test_failed_dbt/models'
    298:  ##[debug]..Evaluating Index:
    299:  ##[debug]....Evaluating github:
    300:  ##[debug]....=> Object
    301:  ##[debug]....Evaluating String:
    302:  ##[debug]....=> 'workspace'
    303:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    304:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    305:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    ...
    
    313:  ##[debug]....Evaluating String:
    314:  ##[debug]....=> 'workspace'
    315:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    316:  ##[debug]..Evaluating Index:
    317:  ##[debug]....Evaluating matrix:
    318:  ##[debug]....=> Object
    319:  ##[debug]....Evaluating String:
    320:  ##[debug]....=> 'extra_requirements_txt'
    321:  ##[debug]..=> 'testdata/test_failed_dbt/extra_requirements-1.7.txt'
    322:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.7.txt'
    323:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.7.txt'
    ...
    
    332:  ##[debug]Loading env
    333:  ##[group]Run ./
    334:  with:
    335:  github_token: ***
    336:  reporter: github-pr-review
    337:  sqlfluff_version: 3.0.7
    338:  sqlfluff_command: lint
    339:  templater: jinja
    340:  working-directory: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt
    341:  config: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.snowflake
    342:  paths: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models
    343:  extra_requirements_txt: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.7.txt
    344:  github_base_ref: main
    345:  level: error
    346:  filter_mode: file
    347:  fail_on_error: false
    ...
    
    356:  #1 [internal] load build definition from Dockerfile
    357:  #1 transferring dockerfile: 802B done
    358:  #1 DONE 0.0s
    359:  #2 [internal] load metadata for docker.io/library/python:3.13-slim
    360:  #2 ...
    361:  #3 [auth] library/python:pull token for registry-1.docker.io
    362:  #3 DONE 0.0s
    363:  #2 [internal] load metadata for docker.io/library/python:3.13-slim
    364:  #2 ERROR: no match for platform in manifest: not found
    ...
    
    366:  > [internal] load metadata for docker.io/library/python:3.13-slim:
    367:  ------
    368:  Dockerfile:1
    369:  --------------------
    370:  1 | >>> FROM python:3.13-slim
    371:  2 |     
    372:  3 |     ENV REVIEWDOG_VERSION="v0.17.4"
    373:  --------------------
    374:  ERROR: failed to solve: python:3.13-slim: failed to resolve source metadata for docker.io/library/python:3.13-slim: no match for platform in manifest: not found
    375:  ##[endgroup]
    376:  ##[error]Docker build failed with exit code 1
    377:  ##[debug]System.InvalidOperationException: Docker build failed with exit code 1
    ...
    
    385:  ##[debug]..Evaluating success:
    386:  ##[debug]..=> false
    387:  ##[debug]=> true
    388:  ##[debug]Expanded: !false
    389:  ##[debug]Result: true
    390:  ##[debug]Starting: check the exit code
    391:  ##[debug]Loading inputs
    392:  ##[debug]Loading env
    393:  ##[group]Run echo 'The previous step should fail' && exit 1
    394:  �[36;1mecho 'The previous step should fail' && exit 1�[0m
    395:  shell: /usr/bin/bash -e {0}
    396:  ##[endgroup]
    397:  ##[debug]/usr/bin/bash -e /home/runner/work/_temp/e74b1512-1fdb-4e0e-bbff-3290431e58c8.sh
    398:  The previous step should fail
    399:  ##[error]Process completed with exit code 1.
    ...
    
    559:  ##[debug]Copying 1 worker diagnostic logs.
    560:  ##[debug]Copying 1 runner diagnostic logs.
    561:  ##[debug]Zipping diagnostic files.
    562:  ##[debug]Uploading diagnostic metadata file.
    563:  ##[debug]Diagnostic file upload complete.
    564:  Completed runner diagnostic log upload
    565:  Cleaning up orphan processes
    566:  ##[debug]Finishing: Complete job
    567:  ##[debug]Finishing: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.7.txt, .sq...
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link

    qodo-merge-pro bot commented Oct 8, 2024

    PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

    CI Failure Feedback 🧐

    Action: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.8.txt, .sq...

    Failed stage: Run /./ [❌]

    Failed test name: ""

    Failure summary:

    The action failed due to a Docker build error:

  • The specified Docker image python:3.13-slim could not be found or resolved.
  • The error message indicates "no match for platform in manifest: not found", suggesting that the
    image is not available for the platform being used.
  • As a result, the Docker build process failed with exit code 1.

  • Relevant error logs:
    1:  ##[debug]Cleaning runner temp folder: /home/runner/work/_temp
    2:  ##[debug]Starting: Set up job
    ...
    
    47:  ##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' to '/home/runner/work/_actions/_temp_232d30fe-b1c0-4d98-9228-7caca5a4ae59/011d4d5e-c939-41d2-b81f-31736ce7c23d.tar.gz'
    48:  ##[debug]Unwrap 'actions-checkout-eef6144' to '/home/runner/work/_actions/actions/checkout/v4'
    49:  ##[debug]Archive '/home/runner/work/_actions/_temp_232d30fe-b1c0-4d98-9228-7caca5a4ae59/011d4d5e-c939-41d2-b81f-31736ce7c23d.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v4'.
    50:  ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'.
    51:  ##[debug]Set step '__actions_checkout' display name to: 'Run actions/checkout@v4'
    52:  ##[debug]Set step 'lint-sql' display name to: 'Run /./'
    53:  ##[debug]Set step '__run' display name to: 'check the exit code'
    54:  ##[debug]Set step '__run_2' display name to: 'Test outputs'
    55:  Complete job name: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.8.txt, .sq...
    ...
    
    105:  ##[debug]fetch depth = 1
    106:  ##[debug]fetch tags = false
    107:  ##[debug]show progress = true
    108:  ##[debug]lfs = false
    109:  ##[debug]submodules = false
    110:  ##[debug]recursive submodules = false
    111:  ##[debug]GitHub Host URL = 
    112:  ::add-matcher::/home/runner/work/_actions/actions/checkout/v4/dist/problem-matcher.json
    113:  ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
    ...
    
    256:  ##[debug]Evaluating: matrix.sqlfluff
    257:  ##[debug]Evaluating Index:
    258:  ##[debug]..Evaluating matrix:
    259:  ##[debug]..=> Object
    260:  ##[debug]..Evaluating String:
    261:  ##[debug]..=> 'sqlfluff'
    262:  ##[debug]=> '3.0.7'
    263:  ##[debug]Result: '3.0.7'
    264:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt', github.workspace)
    265:  ##[debug]Evaluating format:
    266:  ##[debug]..Evaluating String:
    267:  ##[debug]..=> '{0}/testdata/test_failed_dbt'
    268:  ##[debug]..Evaluating Index:
    269:  ##[debug]....Evaluating github:
    270:  ##[debug]....=> Object
    271:  ##[debug]....Evaluating String:
    272:  ##[debug]....=> 'workspace'
    273:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    274:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    275:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    276:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/{1}', github.workspace, matrix.config)
    277:  ##[debug]Evaluating format:
    278:  ##[debug]..Evaluating String:
    279:  ##[debug]..=> '{0}/testdata/test_failed_dbt/{1}'
    ...
    
    284:  ##[debug]....=> 'workspace'
    285:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    286:  ##[debug]..Evaluating Index:
    287:  ##[debug]....Evaluating matrix:
    288:  ##[debug]....=> Object
    289:  ##[debug]....Evaluating String:
    290:  ##[debug]....=> 'config'
    291:  ##[debug]..=> '.sqlfluff.spark'
    292:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.spark'
    293:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.spark'
    294:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/models', github.workspace)
    295:  ##[debug]Evaluating format:
    296:  ##[debug]..Evaluating String:
    297:  ##[debug]..=> '{0}/testdata/test_failed_dbt/models'
    298:  ##[debug]..Evaluating Index:
    299:  ##[debug]....Evaluating github:
    300:  ##[debug]....=> Object
    301:  ##[debug]....Evaluating String:
    302:  ##[debug]....=> 'workspace'
    303:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    304:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    305:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    ...
    
    313:  ##[debug]....Evaluating String:
    314:  ##[debug]....=> 'workspace'
    315:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    316:  ##[debug]..Evaluating Index:
    317:  ##[debug]....Evaluating matrix:
    318:  ##[debug]....=> Object
    319:  ##[debug]....Evaluating String:
    320:  ##[debug]....=> 'extra_requirements_txt'
    321:  ##[debug]..=> 'testdata/test_failed_dbt/extra_requirements-1.8.txt'
    322:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.8.txt'
    323:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.8.txt'
    ...
    
    332:  ##[debug]Loading env
    333:  ##[group]Run ./
    334:  with:
    335:  github_token: ***
    336:  reporter: github-pr-review
    337:  sqlfluff_version: 3.0.7
    338:  sqlfluff_command: lint
    339:  templater: jinja
    340:  working-directory: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt
    341:  config: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.spark
    342:  paths: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models
    343:  extra_requirements_txt: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.8.txt
    344:  github_base_ref: main
    345:  level: error
    346:  filter_mode: file
    347:  fail_on_error: false
    ...
    
    356:  #1 [internal] load build definition from Dockerfile
    357:  #1 transferring dockerfile: 802B done
    358:  #1 DONE 0.0s
    359:  #2 [internal] load metadata for docker.io/library/python:3.13-slim
    360:  #2 ...
    361:  #3 [auth] library/python:pull token for registry-1.docker.io
    362:  #3 DONE 0.0s
    363:  #2 [internal] load metadata for docker.io/library/python:3.13-slim
    364:  #2 ERROR: no match for platform in manifest: not found
    ...
    
    366:  > [internal] load metadata for docker.io/library/python:3.13-slim:
    367:  ------
    368:  Dockerfile:1
    369:  --------------------
    370:  1 | >>> FROM python:3.13-slim
    371:  2 |     
    372:  3 |     ENV REVIEWDOG_VERSION="v0.17.4"
    373:  --------------------
    374:  ERROR: failed to solve: python:3.13-slim: failed to resolve source metadata for docker.io/library/python:3.13-slim: no match for platform in manifest: not found
    375:  ##[endgroup]
    376:  ##[error]Docker build failed with exit code 1
    377:  ##[debug]System.InvalidOperationException: Docker build failed with exit code 1
    ...
    
    385:  ##[debug]..Evaluating success:
    386:  ##[debug]..=> false
    387:  ##[debug]=> true
    388:  ##[debug]Expanded: !false
    389:  ##[debug]Result: true
    390:  ##[debug]Starting: check the exit code
    391:  ##[debug]Loading inputs
    392:  ##[debug]Loading env
    393:  ##[group]Run echo 'The previous step should fail' && exit 1
    394:  �[36;1mecho 'The previous step should fail' && exit 1�[0m
    395:  shell: /usr/bin/bash -e {0}
    396:  ##[endgroup]
    397:  ##[debug]/usr/bin/bash -e /home/runner/work/_temp/304b6941-4648-459c-ac2c-bf227a3ba607.sh
    398:  The previous step should fail
    399:  ##[error]Process completed with exit code 1.
    ...
    
    559:  ##[debug]Copying 1 worker diagnostic logs.
    560:  ##[debug]Copying 1 runner diagnostic logs.
    561:  ##[debug]Zipping diagnostic files.
    562:  ##[debug]Uploading diagnostic metadata file.
    563:  ##[debug]Diagnostic file upload complete.
    564:  Completed runner diagnostic log upload
    565:  Cleaning up orphan processes
    566:  ##[debug]Finishing: Complete job
    567:  ##[debug]Finishing: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.8.txt, .sq...
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    Copy link

    qodo-merge-pro bot commented Oct 8, 2024

    PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here.

    CI Failure Feedback 🧐

    Action: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.8.txt, .sq...

    Failed stage: Run /./ [❌]

    Failed test name: ""

    Failure summary:

    The action failed due to the following reasons:

  • The Docker build process encountered an error because the specified base image python:3.13-slim
    could not be found. This is indicated by the error message: "no match for platform in manifest: not
    found".
  • As a result, the Docker build failed with exit code 1, which caused the subsequent steps to fail.

  • Relevant error logs:
    1:  ##[debug]Cleaning runner temp folder: /home/runner/work/_temp
    2:  ##[debug]Starting: Set up job
    ...
    
    39:  ##[debug]Update context data
    40:  ##[debug]Evaluating job-level environment variables
    41:  ##[debug]Evaluating job container
    42:  ##[debug]Evaluating job service containers
    43:  ##[debug]Evaluating job defaults
    44:  Prepare all required actions
    45:  Getting action download info
    46:  Download action repository 'actions/checkout@v4' (SHA:eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871)
    47:  ##[warning]Failed to download action 'https://api.github.com/repos/actions/checkout/tarball/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
    48:  ##[warning]Back off 20.782 seconds before retry.
    49:  ##[warning]Failed to download action 'https://api.github.com/repos/actions/checkout/tarball/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
    ...
    
    51:  ##[debug]Download 'https://api.github.com/repos/actions/checkout/tarball/eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871' to '/home/runner/work/_actions/_temp_5920baa3-d7cc-40cb-8e0e-2b51434ab202/a4dd3352-edb4-471f-ace5-345a25004b11.tar.gz'
    52:  ##[debug]Unwrap 'actions-checkout-eef6144' to '/home/runner/work/_actions/actions/checkout/v4'
    53:  ##[debug]Archive '/home/runner/work/_actions/_temp_5920baa3-d7cc-40cb-8e0e-2b51434ab202/a4dd3352-edb4-471f-ace5-345a25004b11.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v4'.
    54:  ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'.
    55:  ##[debug]Set step '__actions_checkout' display name to: 'Run actions/checkout@v4'
    56:  ##[debug]Set step 'lint-sql' display name to: 'Run /./'
    57:  ##[debug]Set step '__run' display name to: 'check the exit code'
    58:  ##[debug]Set step '__run_2' display name to: 'Test outputs'
    59:  Complete job name: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.8.txt, .sq...
    ...
    
    109:  ##[debug]fetch depth = 1
    110:  ##[debug]fetch tags = false
    111:  ##[debug]show progress = true
    112:  ##[debug]lfs = false
    113:  ##[debug]submodules = false
    114:  ##[debug]recursive submodules = false
    115:  ##[debug]GitHub Host URL = 
    116:  ::add-matcher::/home/runner/work/_actions/actions/checkout/v4/dist/problem-matcher.json
    117:  ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
    ...
    
    260:  ##[debug]Evaluating: matrix.sqlfluff
    261:  ##[debug]Evaluating Index:
    262:  ##[debug]..Evaluating matrix:
    263:  ##[debug]..=> Object
    264:  ##[debug]..Evaluating String:
    265:  ##[debug]..=> 'sqlfluff'
    266:  ##[debug]=> '3.0.7'
    267:  ##[debug]Result: '3.0.7'
    268:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt', github.workspace)
    269:  ##[debug]Evaluating format:
    270:  ##[debug]..Evaluating String:
    271:  ##[debug]..=> '{0}/testdata/test_failed_dbt'
    272:  ##[debug]..Evaluating Index:
    273:  ##[debug]....Evaluating github:
    274:  ##[debug]....=> Object
    275:  ##[debug]....Evaluating String:
    276:  ##[debug]....=> 'workspace'
    277:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    278:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    279:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt'
    280:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/{1}', github.workspace, matrix.config)
    281:  ##[debug]Evaluating format:
    282:  ##[debug]..Evaluating String:
    283:  ##[debug]..=> '{0}/testdata/test_failed_dbt/{1}'
    ...
    
    288:  ##[debug]....=> 'workspace'
    289:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    290:  ##[debug]..Evaluating Index:
    291:  ##[debug]....Evaluating matrix:
    292:  ##[debug]....=> Object
    293:  ##[debug]....Evaluating String:
    294:  ##[debug]....=> 'config'
    295:  ##[debug]..=> '.sqlfluff.bigquery'
    296:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.bigquery'
    297:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.bigquery'
    298:  ##[debug]Evaluating: format('{0}/testdata/test_failed_dbt/models', github.workspace)
    299:  ##[debug]Evaluating format:
    300:  ##[debug]..Evaluating String:
    301:  ##[debug]..=> '{0}/testdata/test_failed_dbt/models'
    302:  ##[debug]..Evaluating Index:
    303:  ##[debug]....Evaluating github:
    304:  ##[debug]....=> Object
    305:  ##[debug]....Evaluating String:
    306:  ##[debug]....=> 'workspace'
    307:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    308:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    309:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models'
    ...
    
    317:  ##[debug]....Evaluating String:
    318:  ##[debug]....=> 'workspace'
    319:  ##[debug]..=> '/home/runner/work/action-sqlfluff/action-sqlfluff'
    320:  ##[debug]..Evaluating Index:
    321:  ##[debug]....Evaluating matrix:
    322:  ##[debug]....=> Object
    323:  ##[debug]....Evaluating String:
    324:  ##[debug]....=> 'extra_requirements_txt'
    325:  ##[debug]..=> 'testdata/test_failed_dbt/extra_requirements-1.8.txt'
    326:  ##[debug]=> '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.8.txt'
    327:  ##[debug]Result: '/home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.8.txt'
    ...
    
    336:  ##[debug]Loading env
    337:  ##[group]Run ./
    338:  with:
    339:  github_token: ***
    340:  reporter: github-pr-review
    341:  sqlfluff_version: 3.0.7
    342:  sqlfluff_command: lint
    343:  templater: jinja
    344:  working-directory: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt
    345:  config: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/.sqlfluff.bigquery
    346:  paths: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/models
    347:  extra_requirements_txt: /home/runner/work/action-sqlfluff/action-sqlfluff/testdata/test_failed_dbt/extra_requirements-1.8.txt
    348:  github_base_ref: main
    349:  level: error
    350:  filter_mode: file
    351:  fail_on_error: false
    ...
    
    358:  ##[command]/usr/bin/docker build -t a8d6f7:572f9c3117dc5d416adfc9ed5f5588bb -f "/home/runner/work/action-sqlfluff/action-sqlfluff/./Dockerfile" "/home/runner/work/action-sqlfluff/action-sqlfluff"
    359:  #0 building with "default" instance using docker driver
    360:  #1 [internal] load build definition from Dockerfile
    361:  #1 transferring dockerfile: 802B done
    362:  #1 DONE 0.0s
    363:  #2 [auth] library/python:pull token for registry-1.docker.io
    364:  #2 DONE 0.0s
    365:  #3 [internal] load metadata for docker.io/library/python:3.13-slim
    366:  #3 ERROR: no match for platform in manifest: not found
    ...
    
    368:  > [internal] load metadata for docker.io/library/python:3.13-slim:
    369:  ------
    370:  Dockerfile:1
    371:  --------------------
    372:  1 | >>> FROM python:3.13-slim
    373:  2 |     
    374:  3 |     ENV REVIEWDOG_VERSION="v0.17.4"
    375:  --------------------
    376:  ERROR: failed to solve: python:3.13-slim: failed to resolve source metadata for docker.io/library/python:3.13-slim: no match for platform in manifest: not found
    377:  ##[endgroup]
    378:  ##[error]Docker build failed with exit code 1
    379:  ##[debug]System.InvalidOperationException: Docker build failed with exit code 1
    ...
    
    387:  ##[debug]..Evaluating success:
    388:  ##[debug]..=> false
    389:  ##[debug]=> true
    390:  ##[debug]Expanded: !false
    391:  ##[debug]Result: true
    392:  ##[debug]Starting: check the exit code
    393:  ##[debug]Loading inputs
    394:  ##[debug]Loading env
    395:  ##[group]Run echo 'The previous step should fail' && exit 1
    396:  �[36;1mecho 'The previous step should fail' && exit 1�[0m
    397:  shell: /usr/bin/bash -e {0}
    398:  ##[endgroup]
    399:  ##[debug]/usr/bin/bash -e /home/runner/work/_temp/5c41d6ce-6408-4348-843e-c7ea92546f58.sh
    400:  The previous step should fail
    401:  ##[error]Process completed with exit code 1.
    ...
    
    561:  ##[debug]Copying 1 worker diagnostic logs.
    562:  ##[debug]Copying 1 runner diagnostic logs.
    563:  ##[debug]Zipping diagnostic files.
    564:  ##[debug]Uploading diagnostic metadata file.
    565:  ##[debug]Diagnostic file upload complete.
    566:  Completed runner diagnostic log upload
    567:  Cleaning up orphan processes
    568:  ##[debug]Finishing: Complete job
    569:  ##[debug]Finishing: runner / sqlfluff (github-check) (3.0.7, testdata/test_failed_dbt/extra_requirements-1.8.txt, .sq...
    

    ✨ CI feedback usage guide:

    The CI feedback tool (/checks) automatically triggers when a PR has a failed check.
    The tool analyzes the failed checks and provides several feedbacks:

    • Failed stage
    • Failed test name
    • Failure summary
    • Relevant error logs

    In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:

    /checks "https://github.com/{repo_name}/actions/runs/{run_number}/job/{job_number}"
    

    where {repo_name} is the name of the repository, {run_number} is the run number of the failed check, and {job_number} is the job number of the failed check.

    Configuration options

    • enable_auto_checks_feedback - if set to true, the tool will automatically provide feedback when a check is failed. Default is true.
    • excluded_checks_list - a list of checks to exclude from the feedback, for example: ["check1", "check2"]. Default is an empty list.
    • enable_help_text - if set to true, the tool will provide a help message with the feedback. Default is true.
    • persistent_comment - if set to true, the tool will overwrite a previous checks comment with the new feedback. Default is true.
    • final_update_message - if persistent_comment is true and updating a previous checks message, the tool will also create a new message: "Persistent checks updated to latest commit". Default is true.

    See more information about the checks tool in the docs.

    @renovate renovate bot changed the title chore(deps): update python docker tag to v3.13 chore(deps): update python docker tag to v3.13 - autoclosed Oct 25, 2024
    @renovate renovate bot closed this Oct 25, 2024
    @renovate renovate bot deleted the renovate/python-3.x branch October 25, 2024 07:43
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    0 participants