Closed AntonioFalcaoJr closed 1 year ago
Internal ticket created : CY-6555
Verbose log
Run codacy/codacy-analysis-cli-action@master
with:
directory: /src/Services/Account
verbose: true
output: results.sarif
format: sarif
tool: sonarscharp
gh-code-scanning-compat: true
max-allowed-issues: 10
fail-if-incomplete: true
run-docker-tools: true
env:
DOTNET_ROOT: /home/runner/.dotnet
Run echo "CODACY_BASE_URL_OR_DEFAULT=$(if [ ]; then echo ""; else echo "https://api.codacy.com"; fi)" >> $GITHUB_ENV
Run if [ -n "" ]; then
/home/runner/work/_temp/[2](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:2)10[3](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:3)d693-efa5-[4](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:4)934-98[5](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:5)8-1dfe53f18a8e.sh: line 5: [: =: unary operator expected
Run set -eux
+ '[' '' == true ']'
Skipping GoSec
+ echo 'Skipping GoSec'
Run set -eux
+ '[' '' == true ']'
+ echo 'Skipping StaticCheck'
Skipping StaticCheck
Run set -eux
+ '[' -n '' ']'
+ echo 'Skipping Clang Tidy'
Skipping Clang Tidy
Run set -eux
+ '[' -n '' ']'
Skipping Faux Pas
+ echo 'Skipping Faux Pas'
Run echo "CODACY_ANALYSIS_CLI_VERSION=7.[6](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:6).4" >> $GITHUB_ENV
Run echo "CLI_SCRIPT_PATH=/home/runner/work/_actions/codacy/codacy-analysis-cli-action/master/codacy-analysis-cli.sh" >> $GITHUB_ENV
Run wget -O - https://raw.githubusercontent.com/codacy/codacy-analysis-cli/[7](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:7).6.4/bin/codacy-analysis-cli.sh > /home/runner/work/_actions/codacy/codacy-analysis-cli-action/master/codacy-analysis-cli.sh
--2022-10-04 19:55:23-- https://raw.githubusercontent.com/codacy/codacy-analysis-cli/7.6.4/bin/codacy-analysis-cli.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 1[8](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:8)5.1[9](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:9)9.[10](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:10)9.133, 185.199.[11](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:11)0.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3107 (3.0K) [text/plain]
Saving to: ‘STDOUT’
0K ... 100% 11.7M=0s
2022-10-04 19:55:23 (11.7 MB/s) - written to stdout [3107/3107]
Run chmod +x /home/runner/work/_actions/codacy/codacy-analysis-cli-action/master/codacy-analysis-cli.sh
Run if [ "true" == "true" ]; then
Unable to find image 'codacy/codacy-analysis-cli:7.6.4' locally
7.6.4: Pulling from codacy/codacy-analysis-cli
df9b9388f04a: Already exists
8cd6bd738ccf: Pulling fs layer
d9819bf6652c: Pulling fs layer
2085f74facc6: Pulling fs layer
d9819bf6652c: Verifying Checksum
d9819bf6652c: Download complete
2085f74facc6: Verifying Checksum
2085f74facc6: Download complete
8cd6bd738ccf: Verifying Checksum
8cd6bd738ccf: Download complete
8cd6bd738ccf: Pull complete
d9819bf6652c: Pull complete
2085f74facc6: Pull complete
Digest: sha256:9f5a65cae[12](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:12)2f10c995dcd157d1b71702d4bad9396c2a53d5a788ccbad9f3891
Status: Downloaded newer image for codacy/codacy-analysis-cli:7.6.4
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:581 - file=null, size changed from -1 to 0 bytes
10/04 19:55:34 DEBUG o.e.jgit.util.SystemReader:432 - loading config FileBasedConfig[/root/.config/jgit/config]
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:5[13](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:13) - file=/root/.config/jgit/config, isRacyClean=false, read=2022-10-04 19:55:34.502000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334502000000 ns, racy<=2500000000 ns
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.config/jgit/config, is unmodified
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config, isRacyClean=false, read=2022-10-04 19:55:34.502000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334502000000 ns, racy<=2500000000 ns
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.config/jgit/config, is unmodified
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:581 - file=null, size changed from -1 to 0 bytes
10/04 19:55:34 DEBUG o.e.jgit.util.SystemReader:432 - loading config FileBasedConfig[/root/.gitconfig]
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config, isRacyClean=false, read=2022-10-04 19:55:34.502000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334502000000 ns, racy<=2500000000 ns
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.config/jgit/config, is unmodified
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.gitconfig, isRacyClean=false, read=2022-10-04 19:55:34.507000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334507000000 ns, racy<=2500000000 ns
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.gitconfig, is unmodified
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/src/Services/Account/.git/config, isRacyClean=false, read=2022-10-04 19:55:34.507000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334507000000 ns, racy<=2500000000 ns
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/src/Services/Account/.git/config, is unmodified
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config, isRacyClean=false, read=2022-10-04 19:55:34.502000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334502000000 ns, racy<=2500000000 ns
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.config/jgit/config, is unmodified
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.gitconfig, isRacyClean=false, read=2022-10-04 19:55:34.507000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334507000000 ns, racy<=2500000000 ns
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.gitconfig, is unmodified
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:467 - Thread[Thread-0,5,main]: start measure timestamp resolution /src/Services/Account (/dev/root) in /src/Services/Account
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:483 - Thread[Thread-0,5,main]: end measure timestamp resolution /src/Services/Account (/dev/root) in /src/Services/Account
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:365 - FileStoreAttributes[fsTimestampResolution=1,002,000 µs, minimalRacyInterval=0 µs]
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config, isRacyClean=false, read=2022-10-04 19:55:34.502000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334502000000 ns, racy<=2500000000 ns
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.config/jgit/config, is unmodified
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config, isRacyClean=false, read=2022-10-04 19:55:34.502000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334502000000 ns, racy<=2500000000 ns
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.config/jgit/config, is unmodified
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.gitconfig, isRacyClean=false, read=2022-10-04 19:55:34.507000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334507000000 ns, racy<=2500000000 ns
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.gitconfig, is unmodified
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config, isRacyClean=false, read=2022-10-04 19:55:34.502000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334502000000 ns, racy<=2500000000 ns
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.config/jgit/config, is unmodified
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.gitconfig, isRacyClean=false, read=2022-10-04 19:55:34.507000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334507000000 ns, racy<=2500000000 ns
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.gitconfig, is unmodified
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:467 - Thread[Thread-1,5,main]: start measure timestamp resolution / (overlay) in /root/.config/jgit
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:483 - Thread[Thread-1,5,main]: end measure timestamp resolution / (overlay) in /root/.config/jgit
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:365 - FileStoreAttributes[fsTimestampResolution=1,001,000 µs, minimalRacyInterval=0 µs]
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config, isRacyClean=false, read=2022-10-04 19:55:34.502000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334502000000 ns, racy<=2500000000 ns
10/04 19:55:34 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.config/jgit/config, is unmodified
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:594 - locking FileBasedConfig[/root/.config/jgit/config] failed, retries 1/5
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:594 - locking FileBasedConfig[/root/.config/jgit/config] failed, retries 2/5
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:594 - locking FileBasedConfig[/root/.config/jgit/config] failed, retries 3/5
10/04 19:55:34 DEBUG org.eclipse.jgit.util.FS:594 - locking FileBasedConfig[/root/.config/jgit/config] failed, retries 4/5
10/04 19:55:34 WARN org.eclipse.jgit.util.FS:598 - locking FileBasedConfig[/root/.config/jgit/config] failed after 5 retries
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:272 - file=/root/.config/jgit/config.lock, create new FileSnapshot: lastRead=2022-10-04 19:55:34.559000000, lastModified=2022-10-04 19:55:34.000000000, size=131, fileKey=(dev=37,ino=1048629)
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config.lock, isRacyClean=true, read=2022-10-04 19:55:34.559000000, lastModified=2022-10-04 19:55:34.000000000, delta=559000000 ns, racy<=1251250000 ns
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:564 - file=/root/.config/jgit/config.lock, is racily clean
10/04 19:55:35 DEBUG o.e.jgit.util.SystemReader:432 - loading config FileBasedConfig[/root/.config/jgit/config]
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:272 - file=/root/.config/jgit/config, create new FileSnapshot: lastRead=2022-10-04 19:55:35.006000000, lastModified=2022-10-04 19:55:34.000000000, size=131, fileKey=(dev=37,ino=1048629)
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config.lock, isRacyClean=true, read=2022-10-04 19:55:35.006000000, lastModified=2022-10-04 19:55:34.000000000, delta=1006000000 ns, racy<=1251250000 ns
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.gitconfig, isRacyClean=false, read=2022-10-04 19:55:34.507000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334507000000 ns, racy<=2500000000 ns
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.gitconfig, is unmodified
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config.lock, isRacyClean=true, read=2022-10-04 19:55:35.006000000, lastModified=2022-10-04 19:55:34.000000000, delta=1006000000 ns, racy<=1251250000 ns
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:564 - file=/root/.config/jgit/config.lock, is racily clean
10/04 19:55:35 DEBUG o.e.jgit.util.SystemReader:432 - loading config FileBasedConfig[/root/.config/jgit/config]
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:272 - file=/root/.config/jgit/config, create new FileSnapshot: lastRead=2022-10-04 19:55:35.012000000, lastModified=2022-10-04 19:55:34.000000000, size=131, fileKey=(dev=37,ino=1048629)
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.config/jgit/config.lock, isRacyClean=true, read=2022-10-04 19:55:35.012000000, lastModified=2022-10-04 19:55:34.000000000, delta=1012000000 ns, racy<=1251250000 ns
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/root/.gitconfig, isRacyClean=false, read=2022-10-04 19:55:34.507000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913334507000000 ns, racy<=2500000000 ns
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/root/.gitconfig, is unmodified
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:513 - file=/src/Services/Account/.git/config, isRacyClean=false, read=2022-10-04 19:55:35.009000000, lastModified=1970-01-01 00:00:00.000000000, delta=1664913335009000000 ns, racy<=2500000000 ns
10/04 19:55:35 DEBUG o.e.j.i.s.file.FileSnapshot:557 - file=/src/Services/Account/.git/config, is unmodified
10/04 19:55:35 INFO c.c.a.core.files.FileCollector:21 - Failed to list files with com.codacy.analysis.core.files.GitFileCollector
10/04 19:55:36 DEBUG c.c.a.c.s.FileDataStorage:69 - Saving new values to storage
10/04 19:55:36 DEBUG c.c.a.c.s.FileDataStorage:73 - Storage saved successfully
10/04 19:55:36 DEBUG c.c.a.c.s.FileDataStorage:82 - Retrieving storage
10/04 19:55:38 INFO c.c.t.r.ToolRepositoryRemote:[14](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:15)7 - Fetched patterns for Sonar C# version 8.39
10/04 19:55:38 DEBUG c.c.a.c.s.FileDataStorage:69 - Saving new values to storage
10/04 19:55:39 DEBUG c.c.a.c.s.FileDataStorage:73 - Storage saved successfully
Run if [ = true ]; then
/home/runner/work/_temp/12c2eff8-fda6-4690-ac55-a0a82635[23](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:4:25)5f.sh: line [1](https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3185030735/jobs/5194169938#step:5:1): [: =: unary operator expected
Skipping results upload
any news on this matter?
It sounds like the analysis results are empty. Error 422 during upload. What am I missing?
Trying to use: Integration with GitHub code scanning
JOB link: https://github.com/AntonioFalcaoJr/EDA.CleanArch.DDD.CQRS.EventSourcing/actions/runs/3183309786/jobs/5190410425
YAML
Example of
${{ inputs.path }}
: src/Services/AccountCAT results.sarif
UploadSarif results