Commit ec8d4a2
authored
Merge pull request GoogleCloudPlatform#4726 from arpit974/startup_script_test_fix
updating startup script wait message to fix build failures.
* Added support for two additional log lines (`google-startup-scripts.service: Succeeded.` and `Finished Google Compute Engine Startup Scripts.`) to be recognized as indicators of successful startup script completion in `wait-for-startup-status.sh`.
* Updated the log filtering logic in `wait-for-startup-status.sh` to include the new success indicators when searching for completion status.
* Modified the script's exit logic to explicitly check for the new success log lines and exit with success if they are detected.2 files changed
Lines changed: 12 additions & 2 deletions
File tree
- community/modules/scripts/wait-for-startup/scripts
- tools/cloud-build/daily-tests/ansible_playbooks/tasks
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
65 | 69 | | |
| |||
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
71 | | - | |
| 75 | + | |
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
| |||
100 | 104 | | |
101 | 105 | | |
102 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
103 | 113 | | |
104 | 114 | | |
105 | 115 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
0 commit comments