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

bug: clang-format execute failed in ci/cd #973

Closed
3 tasks done
hustjieke opened this issue Nov 18, 2022 · 2 comments · Fixed by #978
Closed
3 tasks done

bug: clang-format execute failed in ci/cd #973

hustjieke opened this issue Nov 18, 2022 · 2 comments · Fixed by #978
Assignees
Labels
A-bug Something isn't working B-testing Testing tools and infrastructure

Comments

@hustjieke
Copy link
Collaborator

Have you read the Contributing Guidelines on issues?

Please confirm if bug report does NOT exists already ?

  • I confirm there is no existing issue for this

Describe the problem

github lint error:

Run command -v clang-format-10 > /dev/null || (apt-get update && apt-get install -y clang-format-10)
  command -v clang-format-10 > /dev/null || (apt-get update && apt-get install -y clang-format-10)
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    CARGO_TERM_COLOR: always
    PROTOC: protoc
Reading package lists...
E: Could not open lock file /var/lib/apt/lists/lock - open (1[3](https://github.com/stoneatom/stonedb/actions/runs/3495426764/jobs/5852180275#step:4:3): Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
Error: Process completed with exit code [10](https://github.com/stoneatom/stonedb/actions/runs/3495426764/jobs/5852180275#step:4:11)0.

Expected behavior

No response

How To Reproduce

No response

Environment

No response

Are you interested in submitting a PR to solve the problem?

  • Yes, I will!
@hustjieke hustjieke added the A-bug Something isn't working label Nov 18, 2022
@hustjieke hustjieke self-assigned this Nov 18, 2022
@hustjieke hustjieke moved this to In Progress in StoneDB for MySQL 5.7 Nov 18, 2022
@hustjieke hustjieke added this to the stonedb_5.7_v1.0.2 milestone Nov 18, 2022
@hustjieke hustjieke added the B-testing Testing tools and infrastructure label Nov 18, 2022
@hustjieke
Copy link
Collaborator Author

Before execute the cmd, add sudo to avoid permission not allowed.

hustjieke added a commit to hustjieke/stonedb-8.0.30-upgrade that referenced this issue Nov 18, 2022
hustjieke added a commit to hustjieke/stonedb-8.0.30-upgrade that referenced this issue Nov 18, 2022
hustjieke added a commit to hustjieke/stonedb-8.0.30-upgrade that referenced this issue Nov 18, 2022
hustjieke added a commit to hustjieke/stonedb-8.0.30-upgrade that referenced this issue Nov 18, 2022
hustjieke added a commit to hustjieke/stonedb-8.0.30-upgrade that referenced this issue Nov 18, 2022
hustjieke added a commit to hustjieke/stonedb-8.0.30-upgrade that referenced this issue Nov 18, 2022
hustjieke added a commit to hustjieke/stonedb-8.0.30-upgrade that referenced this issue Nov 18, 2022
@zsp108
Copy link
Contributor

zsp108 commented Nov 21, 2022

new run os cant use command ,so we change runs-on:ubuntu-20.04

@mergify mergify bot closed this as completed in #978 Nov 21, 2022
Repository owner moved this from In Progress to Done in StoneDB for MySQL 5.7 Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-bug Something isn't working B-testing Testing tools and infrastructure
Projects
2 participants