We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
During build I have this error:
2 | [Container] 2024/04/21 21:06:52.675142 Waiting for agent ping 3 | [Container] 2024/04/21 21:06:52.876514 Waiting for DOWNLOAD_SOURCE 4 | [Container] 2024/04/21 21:06:54.065607 Phase is DOWNLOAD_SOURCE 5 | [Container] 2024/04/21 21:06:54.066906 CODEBUILD_SRC_DIR=/codebuild/output/src1871911296/src 6 | [Container] 2024/04/21 21:06:54.067454 YAML location is /codebuild/output/src1871911296/src/buildspec.yml 7 | [Container] 2024/04/21 21:06:54.069368 Setting HTTP client timeout to higher timeout for S3 source 8 | [Container] 2024/04/21 21:06:54.069579 Processing environment variables 9 | [Container] 2024/04/21 21:06:54.258048 No runtime version selected in buildspec. 10 | [Container] 2024/04/21 21:06:54.322720 Moving to directory /codebuild/output/src1871911296/src 11 | [Container] 2024/04/21 21:06:54.326086 Unable to initialize cache download: no paths specified to be cached 12 | [Container] 2024/04/21 21:06:54.409253 Configuring ssm agent with target id: codebuild:d98aaeaa-63de-4781-9714-2c92fb9b3775 13 | [Container] 2024/04/21 21:06:54.464760 Successfully updated ssm agent configuration 14 | [Container] 2024/04/21 21:06:54.465204 Registering with agent 15 | [Container] 2024/04/21 21:06:54.503030 Phases found in YAML: 3 16 | [Container] 2024/04/21 21:06:54.503056 INSTALL: 4 commands 17 | [Container] 2024/04/21 21:06:54.503061 BUILD: 1 commands 18 | [Container] 2024/04/21 21:06:54.503065 POST_BUILD: 15 commands 19 | [Container] 2024/04/21 21:06:54.503417 Phase complete: DOWNLOAD_SOURCE State: SUCCEEDED 20 | [Container] 2024/04/21 21:06:54.503432 Phase context status code: Message: 21 | [Container] 2024/04/21 21:06:54.570840 Entering phase INSTALL 22 | [Container] 2024/04/21 21:06:54.571324 Running command echo "cd into $CODEBUILD_SRC_DIR" 23 | cd into /codebuild/output/src1871911296/src 24 | 25 | [Container] 2024/04/21 21:06:54.604002 Running command cd $CODEBUILD_SRC_DIR 26 | 27 | [Container] 2024/04/21 21:06:54.610436 Running command wget -q https://ecs-cli-v2-release.s3.amazonaws.com/copilot-linux-v1.33.3 -O copilot-linux 28 | 29 | [Container] 2024/04/21 21:07:00.773656 Running command chmod +x ./copilot-linux 30 | 31 | [Container] 2024/04/21 21:07:00.781944 Phase complete: INSTALL State: SUCCEEDED 32 | [Container] 2024/04/21 21:07:00.781962 Phase context status code: Message: 33 | [Container] 2024/04/21 21:07:00.819484 Entering phase PRE_BUILD 34 | [Container] 2024/04/21 21:07:00.821329 Phase complete: PRE_BUILD State: SUCCEEDED 35 | [Container] 2024/04/21 21:07:00.821345 Phase context status code: Message: 36 | [Container] 2024/04/21 21:07:00.852689 Entering phase BUILD 37 | [Container] 2024/04/21 21:07:00.853238 Running command echo "Run your tests" 38 | Run your tests 39 | 40 | [Container] 2024/04/21 21:07:00.859806 Phase complete: BUILD State: SUCCEEDED 41 | [Container] 2024/04/21 21:07:00.859829 Phase context status code: Message: 42 | [Container] 2024/04/21 21:07:00.890425 Entering phase POST_BUILD 43 | [Container] 2024/04/21 21:07:00.890920 Running command ls -l 44 | total 50768 45 | -rw-rw-r-- 1 root root 93 Apr 21 21:06 Dockerfile 46 | -rw-rw-r-- 1 root root 11325 Apr 21 21:06 LICENSE 47 | -rw-rw-r-- 1 root root 1208 Apr 21 21:06 NOTICE.md 48 | -rw-rw-r-- 1 root root 222 Apr 21 21:06 README.md 49 | -rw-rw-r-- 1 root root 3067 Apr 21 21:06 buildspec.yml 50 | -rwxr-xr-x 1 root root 51953664 Apr 18 21:52 copilot-linux 51 | drwxr-xr-x 3 root root 18 Apr 21 21:06 environments 52 | drwxr-xr-x 2 root root 26 Apr 21 21:06 my-app-ecs-service 53 | drwxr-xr-x 3 root root 44 Apr 21 21:06 pipelines 54 | -rw-rw-r-- 1 root root 1361 Apr 21 21:06 simple-app-task-def.json 55 | drwxr-xr-x 2 root root 24 Apr 21 21:06 src 56 | 57 | [Container] 2024/04/21 21:07:00.899969 Running command echo "PASSA 1" 58 | PASSA 1 59 | 60 | [Container] 2024/04/21 21:07:00.906308 Running command export COLOR="false" 61 | 62 | [Container] 2024/04/21 21:07:00.912516 Running command export CI="true" 63 | 64 | [Container] 2024/04/21 21:07:00.918301 Running command pipeline=$(cat $CODEBUILD_SRC_DIR/copilot/pipelines/ecs-demo-php-simple-app-master/manifest.yml | ruby -ryaml -rjson -e 'puts JSON.pretty_generate(YAML.load(ARGF))') 65 | cat: /codebuild/output/src1871911296/src/copilot/pipelines/ecs-demo-php-simple-app-master/manifest.yml: No such file or directory 66 | 67 | [Container] 2024/04/21 21:07:04.747235 Running command pl_envs=$(echo $pipeline | jq -r '.stages[].name') 68 | jq: error (at :1): Cannot iterate over null (null) 69 | 70 | [Container] 2024/04/21 21:07:04.907920 Command did not exit successfully pl_envs=$(echo $pipeline | jq -r '.stages[].name') exit status 5 71 | [Container] 2024/04/21 21:07:04.913381 Phase complete: POST_BUILD State: FAILED 72 | [Container] 2024/04/21 21:07:04.913399 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: pl_envs=$(echo $pipeline | jq -r '.stages[].name'). Reason: exit status 5 73 | [Container] 2024/04/21 21:07:05.015998 Expanding base directory path: . 74 | [Container] 2024/04/21 21:07:05.019712 Assembling file list 75 | [Container] 2024/04/21 21:07:05.019727 Expanding . 76 | [Container] 2024/04/21 21:07:05.022931 Expanding file paths for base directory . 77 | [Container] 2024/04/21 21:07:05.022945 Assembling file list 78 | [Container] 2024/04/21 21:07:05.022949 Expanding infrastructure/* 79 | [Container] 2024/04/21 21:07:05.026374 Phase complete: UPLOAD_ARTIFACTS State: FAILED 80 | [Container] 2024/04/21 21:07:05.026390 Phase context status code: CLIENT_ERROR Message: no matching artifact paths found`
Copilot version 1.33 wsl win 11
regards.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description:
During build I have this error:
`
[Container] 2024/04/21 21:06:52.675129 Running on CodeBuild On-demand
2 | [Container] 2024/04/21 21:06:52.675142 Waiting for agent ping
3 | [Container] 2024/04/21 21:06:52.876514 Waiting for DOWNLOAD_SOURCE
4 | [Container] 2024/04/21 21:06:54.065607 Phase is DOWNLOAD_SOURCE
5 | [Container] 2024/04/21 21:06:54.066906 CODEBUILD_SRC_DIR=/codebuild/output/src1871911296/src
6 | [Container] 2024/04/21 21:06:54.067454 YAML location is /codebuild/output/src1871911296/src/buildspec.yml
7 | [Container] 2024/04/21 21:06:54.069368 Setting HTTP client timeout to higher timeout for S3 source
8 | [Container] 2024/04/21 21:06:54.069579 Processing environment variables
9 | [Container] 2024/04/21 21:06:54.258048 No runtime version selected in buildspec.
10 | [Container] 2024/04/21 21:06:54.322720 Moving to directory /codebuild/output/src1871911296/src
11 | [Container] 2024/04/21 21:06:54.326086 Unable to initialize cache download: no paths specified to be cached
12 | [Container] 2024/04/21 21:06:54.409253 Configuring ssm agent with target id: codebuild:d98aaeaa-63de-4781-9714-2c92fb9b3775
13 | [Container] 2024/04/21 21:06:54.464760 Successfully updated ssm agent configuration
14 | [Container] 2024/04/21 21:06:54.465204 Registering with agent
15 | [Container] 2024/04/21 21:06:54.503030 Phases found in YAML: 3
16 | [Container] 2024/04/21 21:06:54.503056 INSTALL: 4 commands
17 | [Container] 2024/04/21 21:06:54.503061 BUILD: 1 commands
18 | [Container] 2024/04/21 21:06:54.503065 POST_BUILD: 15 commands
19 | [Container] 2024/04/21 21:06:54.503417 Phase complete: DOWNLOAD_SOURCE State: SUCCEEDED
20 | [Container] 2024/04/21 21:06:54.503432 Phase context status code: Message:
21 | [Container] 2024/04/21 21:06:54.570840 Entering phase INSTALL
22 | [Container] 2024/04/21 21:06:54.571324 Running command echo "cd into $CODEBUILD_SRC_DIR"
23 | cd into /codebuild/output/src1871911296/src
24 |
25 | [Container] 2024/04/21 21:06:54.604002 Running command cd $CODEBUILD_SRC_DIR
26 |
27 | [Container] 2024/04/21 21:06:54.610436 Running command wget -q https://ecs-cli-v2-release.s3.amazonaws.com/copilot-linux-v1.33.3 -O copilot-linux
28 |
29 | [Container] 2024/04/21 21:07:00.773656 Running command chmod +x ./copilot-linux
30 |
31 | [Container] 2024/04/21 21:07:00.781944 Phase complete: INSTALL State: SUCCEEDED
32 | [Container] 2024/04/21 21:07:00.781962 Phase context status code: Message:
33 | [Container] 2024/04/21 21:07:00.819484 Entering phase PRE_BUILD
34 | [Container] 2024/04/21 21:07:00.821329 Phase complete: PRE_BUILD State: SUCCEEDED
35 | [Container] 2024/04/21 21:07:00.821345 Phase context status code: Message:
36 | [Container] 2024/04/21 21:07:00.852689 Entering phase BUILD
37 | [Container] 2024/04/21 21:07:00.853238 Running command echo "Run your tests"
38 | Run your tests
39 |
40 | [Container] 2024/04/21 21:07:00.859806 Phase complete: BUILD State: SUCCEEDED
41 | [Container] 2024/04/21 21:07:00.859829 Phase context status code: Message:
42 | [Container] 2024/04/21 21:07:00.890425 Entering phase POST_BUILD
43 | [Container] 2024/04/21 21:07:00.890920 Running command ls -l
44 | total 50768
45 | -rw-rw-r-- 1 root root 93 Apr 21 21:06 Dockerfile
46 | -rw-rw-r-- 1 root root 11325 Apr 21 21:06 LICENSE
47 | -rw-rw-r-- 1 root root 1208 Apr 21 21:06 NOTICE.md
48 | -rw-rw-r-- 1 root root 222 Apr 21 21:06 README.md
49 | -rw-rw-r-- 1 root root 3067 Apr 21 21:06 buildspec.yml
50 | -rwxr-xr-x 1 root root 51953664 Apr 18 21:52 copilot-linux
51 | drwxr-xr-x 3 root root 18 Apr 21 21:06 environments
52 | drwxr-xr-x 2 root root 26 Apr 21 21:06 my-app-ecs-service
53 | drwxr-xr-x 3 root root 44 Apr 21 21:06 pipelines
54 | -rw-rw-r-- 1 root root 1361 Apr 21 21:06 simple-app-task-def.json
55 | drwxr-xr-x 2 root root 24 Apr 21 21:06 src
56 |
57 | [Container] 2024/04/21 21:07:00.899969 Running command echo "PASSA 1"
58 | PASSA 1
59 |
60 | [Container] 2024/04/21 21:07:00.906308 Running command export COLOR="false"
61 |
62 | [Container] 2024/04/21 21:07:00.912516 Running command export CI="true"
63 |
64 | [Container] 2024/04/21 21:07:00.918301 Running command pipeline=$(cat $CODEBUILD_SRC_DIR/copilot/pipelines/ecs-demo-php-simple-app-master/manifest.yml | ruby -ryaml -rjson -e 'puts JSON.pretty_generate(YAML.load(ARGF))')
65 | cat: /codebuild/output/src1871911296/src/copilot/pipelines/ecs-demo-php-simple-app-master/manifest.yml: No such file or directory
66 |
67 | [Container] 2024/04/21 21:07:04.747235 Running command pl_envs=$(echo $pipeline | jq -r '.stages[].name')
68 | jq: error (at :1): Cannot iterate over null (null)
69 |
70 | [Container] 2024/04/21 21:07:04.907920 Command did not exit successfully pl_envs=$(echo $pipeline | jq -r '.stages[].name') exit status 5
71 | [Container] 2024/04/21 21:07:04.913381 Phase complete: POST_BUILD State: FAILED
72 | [Container] 2024/04/21 21:07:04.913399 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: pl_envs=$(echo $pipeline | jq -r '.stages[].name'). Reason: exit status 5
73 | [Container] 2024/04/21 21:07:05.015998 Expanding base directory path: .
74 | [Container] 2024/04/21 21:07:05.019712 Assembling file list
75 | [Container] 2024/04/21 21:07:05.019727 Expanding .
76 | [Container] 2024/04/21 21:07:05.022931 Expanding file paths for base directory .
77 | [Container] 2024/04/21 21:07:05.022945 Assembling file list
78 | [Container] 2024/04/21 21:07:05.022949 Expanding infrastructure/*
79 | [Container] 2024/04/21 21:07:05.026374 Phase complete: UPLOAD_ARTIFACTS State: FAILED
80 | [Container] 2024/04/21 21:07:05.026390 Phase context status code: CLIENT_ERROR Message: no matching artifact paths found`
Details:
Copilot version 1.33
wsl
win 11
regards.
The text was updated successfully, but these errors were encountered: