Repository navigation
DEFAULT-LAMBDA-DO-NOT-REMOVE can't stand up #2
Copy link
Copy link
Open
Description
The default runner can't seem to stand itself up.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| message |
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| START RequestId: 4d6d56ed-f846-418b-856a-c6684b7d0638 Version: $LATEST |
| {https://sqs.us-east-1.amazonaws.com/043472417040/lambda-github-runner-queue#dedupe0 https://github.com/dedupeio/dedupe dedupeio/dedupe ****** dedupe0 create} |
| Getting runner token |
| https://api.github.com/repos/dedupeio/dedupe/actions/runners/registration-token |
| Move runner directory to lambda /tmp |
| Removing runner in case one already exists |
| Removing runner... |
| Runner removed |
| Configuring runner (Request: 4d6d56ed-f846-418b-856a-c6684b7d0638|RepoUrl: https://github.com/dedupeio/dedupe|RepoFullName: dedupeio/dedupe|QueueUrl: https://sqs.us-east-1.amazonaws.com/043472417040/lambda-github-runner-queue#dedupe0)... |
| Creating default runner |
| -------------------------------------------------------------------------------- |
| | ____ _ _ _ _ _ _ _ _ | |
| | / ___(_) |_| | | |_ _| |__ / \ ___| |_(_) ___ _ __ ___ | |
| | | | _| | __| |_| | | | | '_ \ / _ \ / __| __| |/ _ \| '_ \/ __| | |
| | | |_| | | |_| _ | |_| | |_) | / ___ \ (__| |_| | (_) | | | \__ \ | |
| | \____|_|\__|_| |_|\__,_|_.__/ /_/ \_\___|\__|_|\___/|_| |_|___/ | |
| | | |
| | Self-hosted runner registration | |
| | | |
| -------------------------------------------------------------------------------- |
| # Authentication |
| √ Connected to GitHub |
| # Runner Registration |
| exit status 1 |
| Reading logs... |
| Runner_20220527-192854-utc.log |
| [2022-05-27 19:28:55Z INFO HostContext] No proxy settings were found based on environmental variables (http_proxy/https_proxy/HTTP_PROXY/HTTPS_PROXY) |
| [2022-05-27 19:28:55Z INFO HostContext] Well known directory 'Bin': '/tmp/runner/bin' |
| [2022-05-27 19:28:55Z INFO HostContext] Well known directory 'Root': '/tmp/runner' |
| [2022-05-27 19:28:55Z INFO HostContext] Well known config file 'Credentials': '/tmp/runner/.credentials' |
| [2022-05-27 19:28:55Z INFO Listener] Runner is built for Linux (X64) - linux-x64. |
| [2022-05-27 19:28:55Z INFO Listener] RuntimeInformation: Linux 4.14.255-276-224.499.amzn2.x86_64 #1 SMP Tue May 3 22:30:10 UTC 2022. |
| [2022-05-27 19:28:55Z INFO Listener] Version: 2.284.0 |
| [2022-05-27 19:28:55Z INFO Listener] Commit: 9027c154d05776c16f6df6c0345bc9ec20440ebe |
| [2022-05-27 19:28:55Z INFO Listener] Culture: |
| [2022-05-27 19:28:55Z INFO Listener] UI Culture: |
| [2022-05-27 19:28:55Z INFO HostContext] Well known directory 'Bin': '/tmp/runner/bin' |
| [2022-05-27 19:28:55Z INFO HostContext] Well known directory 'Root': '/tmp/runner' |
| [2022-05-27 19:28:55Z INFO Listener] Validating directory permissions for: '/tmp/runner' |
| [2022-05-27 19:28:55Z INFO CommandLineParser] Parse |
| [2022-05-27 19:28:55Z INFO CommandLineParser] Parsing 3 args |
| [2022-05-27 19:28:55Z INFO CommandLineParser] parsing argument |
| [2022-05-27 19:28:55Z INFO CommandLineParser] HasArgs: False |
| [2022-05-27 19:28:55Z INFO CommandLineParser] Adding Command: remove |
| [2022-05-27 19:28:55Z INFO CommandLineParser] parsing argument |
| [2022-05-27 19:28:55Z INFO CommandLineParser] HasArgs: True |
| [2022-05-27 19:28:55Z INFO CommandLineParser] arg: token |
| [2022-05-27 19:28:55Z INFO CommandLineParser] parsing argument |
| [2022-05-27 19:28:55Z INFO CommandLineParser] HasArgs: True |
| [2022-05-27 19:28:55Z INFO CommandLineParser] Adding option 'token': '***' |
| [2022-05-27 19:28:55Z INFO Listener] Arguments parsed |
| [2022-05-27 19:28:55Z INFO Runner] ExecuteCommand |
| [2022-05-27 19:28:55Z INFO ConfigurationStore] currentAssemblyLocation: /tmp/runner/bin/Runner.Listener.dll |
| [2022-05-27 19:28:55Z INFO HostContext] Well known directory 'Bin': '/tmp/runner/bin' |
| [2022-05-27 19:28:55Z INFO ConfigurationStore] binPath: /tmp/runner/bin |
| [2022-05-27 19:28:55Z INFO HostContext] Well known directory 'Bin': '/tmp/runner/bin' |
| [2022-05-27 19:28:55Z INFO HostContext] Well known directory 'Root': '/tmp/runner' |
| [2022-05-27 19:28:55Z INFO ConfigurationStore] RootFolder: /tmp/runner |
| [2022-05-27 19:28:55Z INFO HostContext] Well known directory 'Bin': '/tmp/runner/bin' |
| [2022-05-27 19:28:55Z INFO HostContext] Well known directory 'Root': '/tmp/runner' |
| [2022-05-27 19:28:55Z INFO HostContext] Well known config file 'Runner': '/tmp/runner/.runner' |
| [2022-05-27 19:28:55Z INFO ConfigurationStore] ConfigFilePath: /tmp/runner/.runner |
| [2022-05-27 19:28:55Z INFO HostContext] Well known directory 'Bin': '/tmp/runner/bin' |
| [2022-05-27 19:28:55Z INFO HostContext] Well known directory 'Root': '/tmp/runner' |
| [2022-05-27 19:28:55Z INFO HostContext] Well known config file 'Credentials': '/tmp/runner/.credentials' |
| [2022-05-27 19:28:55Z INFO ConfigurationStore] CredFilePath: /tmp/runner/.credentials |
| [2022-05-27 19:28:55Z INFO HostContext] Well known directory 'Bin': '/tmp/runner/bin' |
| [2022-05-27 19:28:55Z INFO HostContext] Well known directory 'Root': '/tmp/runner' |
| [2022-05-27 19:28:55Z INFO HostContext] Well known config file 'MigratedCredentials': '/tmp/runner/.credentials_migrated' |
| [2022-05-27 19:28:55Z INFO ConfigurationStore] MigratedCredFilePath: /tmp/runner/.credentials_migrated |
| [2022-05-27 19:28:55Z INFO HostContext] Well known directory 'Bin': '/tmp/runner/bin' |
| [2022-05-27 19:28:55Z INFO HostContext] Well known directory 'Root': '/tmp/runner' |
| [2022-05-27 19:28:55Z INFO HostContext] Well known config file 'Service': '/tmp/runner/.service' |
| [2022-05-27 19:28:55Z INFO ConfigurationStore] ServiceConfigFilePath: /tmp/runner/.service |
| [2022-05-27 19:28:55Z INFO CommandSettings] Flag 'help': 'False' |
| [2022-05-27 19:28:55Z INFO CommandSettings] Flag 'version': 'False' |
| [2022-05-27 19:28:55Z INFO CommandSettings] Flag 'commit': 'False' |
| [2022-05-27 19:28:55Z INFO CommandSettings] Flag 'check': 'False' |
| [2022-05-27 19:28:55Z INFO CommandSettings] Command 'configure': 'False' |
| [2022-05-27 19:28:55Z INFO CommandSettings] Command 'remove': 'True' |
| [2022-05-27 19:28:55Z INFO ConfigurationStore] IsServiceConfigured() |
| [2022-05-27 19:28:55Z INFO ConfigurationStore] IsServiceConfigured: False |
| [2022-05-27 19:28:55Z INFO ConfigurationStore] IsConfigured() |
| [2022-05-27 19:28:55Z INFO ConfigurationStore] IsConfigured: False |
| [2022-05-27 19:28:55Z INFO ConfigurationStore] HasCredentials() |
| [2022-05-27 19:28:55Z INFO ConfigurationStore] stored False |
| [2022-05-27 19:28:55Z INFO Terminal] WRITE LINE: Cannot connect to server, because config files are missing. Skipping removing runner from the server. |
| [2022-05-27 19:28:55Z INFO ConfigurationStore] IsConfigured() |
| [2022-05-27 19:28:55Z INFO ConfigurationStore] IsConfigured: False |
| [2022-05-27 19:28:55Z INFO ConfigurationStore] HasCredentials() |
| [2022-05-27 19:28:55Z INFO ConfigurationStore] stored False |
| [2022-05-27 19:28:55Z INFO Terminal] WRITE LINE: Does not exist. Skipping Removing .credentials |
| [2022-05-27 19:28:55Z INFO Terminal] WRITE LINE: Does not exist. Skipping Removing .runner |
| [2022-05-27 19:28:55Z INFO Terminal] WRITE LINE: |
| [2022-05-27 19:28:55Z INFO Listener] Runner execution has finished with return code 0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
fgregg commentedon May 27, 2022
fgregg commentedon May 27, 2022
it looks to me that the error is that there is no runner group called
lambdaset up.I'm working with a github organization, not enterprise, so i can't add a new runner group.
I tried renaming the name of the default runner group to "lambda" but that did not seem to help.
fgregg commentedon May 28, 2022
i edited the code in the runner that tried to add the runner to a runner group, and that got things working.
https://github.com/nwestfall/lambda-github-runner/blob/main/src/lambda-github-runner/main.go#L97
quinnypig commentedon May 30, 2022
Yeah, I also had good luck with adding
--ephemeralto that; neatly solves the deregistration problem.I'm still seeing the runners hanging around until they hit the timeout though; not quite sure yet what the fix is for that.