Created
January 20, 2022 21:52
-
-
Save jglass/55fe74938d75b60c3ac20ee62982e720 to your computer and use it in GitHub Desktop.
Error output from beacon deploy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sh-5.1$ env DK_TAG=5 yarn deploy | |
yarn run v1.22.10 | |
$ yarn build && yarn bundle && sam build --config-env ${DK_STAGE:-staging}-${DK_TAG:-1} && sam package --debug --config-env ${DK_STAGE:-staging}-${DK_TAG:-1} | |
$ spago build | |
Compiling DailyKos.Metrics.Beacon | |
Warning 1 of 2: | |
in module DailyKos.Metrics.Beacon | |
at src/DailyKos/Metrics/Beacon.purs:306:11 - 306:17 (line 306, column 11 - line 306, column 17) | |
Name lookup was introduced but not used. | |
in value declaration sendEvent | |
See https://github.com/purescript/documentation/blob/master/errors/UnusedName.md for more information, | |
or to contribute content related to this warning. | |
Warning 2 of 2: | |
in module DailyKos.Metrics.Beacon | |
at src/DailyKos/Metrics/Beacon.purs:337:3 - 337:9 (line 337, column 3 - line 337, column 9) | |
Name origin was introduced but not used. | |
in value declaration handleResult | |
See https://github.com/purescript/documentation/blob/master/errors/UnusedName.md for more information, | |
or to contribute content related to this warning. | |
[info] Build succeeded. | |
$ ./bin/bundle-all | |
[info] Build succeeded. | |
[info] Bundling first... | |
[info] Bundle succeeded and output file to lambda.js | |
[info] Make module succeeded and output file to lambda.js | |
[info] Build succeeded. | |
[info] Bundling first... | |
[info] Bundle succeeded and output file to campaignsignLambda.js | |
[info] Make module succeeded and output file to campaignsignLambda.js | |
[info] Build succeeded. | |
[info] Bundling first... | |
[info] Bundle succeeded and output file to commentFlaggedLambda.js | |
[info] Make module succeeded and output file to commentFlaggedLambda.js | |
[info] Build succeeded. | |
[info] Bundling first... | |
[info] Bundle succeeded and output file to commentPostedLambda.js | |
[info] Make module succeeded and output file to commentPostedLambda.js | |
[info] Build succeeded. | |
[info] Bundling first... | |
[info] Bundle succeeded and output file to commentRecommendedLambda.js | |
[info] Make module succeeded and output file to commentRecommendedLambda.js | |
[info] Build succeeded. | |
[info] Bundling first... | |
[info] Bundle succeeded and output file to donationGivenLambda.js | |
[info] Make module succeeded and output file to donationGivenLambda.js | |
[info] Build succeeded. | |
[info] Bundling first... | |
[info] Bundle succeeded and output file to donationRequestClickedLambda.js | |
[info] Make module succeeded and output file to donationRequestClickedLambda.js | |
[info] Build succeeded. | |
[info] Bundling first... | |
[info] Bundle succeeded and output file to donationRequestViewedLambda.js | |
[info] Make module succeeded and output file to donationRequestViewedLambda.js | |
[info] Build succeeded. | |
[info] Bundling first... | |
[info] Bundle succeeded and output file to pageprefLambda.js | |
[info] Make module succeeded and output file to pageprefLambda.js | |
[info] Build succeeded. | |
[info] Bundling first... | |
[info] Bundle succeeded and output file to pagetimeLambda.js | |
[info] Make module succeeded and output file to pagetimeLambda.js | |
[info] Build succeeded. | |
[info] Bundling first... | |
[info] Bundle succeeded and output file to pageviewLambda.js | |
[info] Make module succeeded and output file to pageviewLambda.js | |
[info] Build succeeded. | |
[info] Bundling first... | |
[info] Bundle succeeded and output file to storyCommentsViewedLambda.js | |
[info] Make module succeeded and output file to storyCommentsViewedLambda.js | |
[info] Build succeeded. | |
[info] Bundling first... | |
[info] Bundle succeeded and output file to subscriptionLambda.js | |
[info] Make module succeeded and output file to subscriptionLambda.js | |
[info] Build succeeded. | |
[info] Bundling first... | |
[info] Bundle succeeded and output file to subscriptionhookLambda.js | |
[info] Make module succeeded and output file to subscriptionhookLambda.js | |
Traceback (most recent call last): | |
File "/nix/store/zrr4k4mw9x8vsr4x5pfyhc5alw9h3dgz-python3.8-urllib3-1.26.4/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen | |
httplib_response = self._make_request( | |
File "/nix/store/zrr4k4mw9x8vsr4x5pfyhc5alw9h3dgz-python3.8-urllib3-1.26.4/lib/python3.8/site-packages/urllib3/connectionpool.py", line 394, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/nix/store/4i5w9iv836cg6hgr02g6phds6br8nas0-python3-3.8.9/lib/python3.8/http/client.py", line 1252, in request | |
self._send_request(method, url, body, headers, encode_chunked) | |
File "/nix/store/4i5w9iv836cg6hgr02g6phds6br8nas0-python3-3.8.9/lib/python3.8/http/client.py", line 1298, in _send_request | |
self.endheaders(body, encode_chunked=encode_chunked) | |
File "/nix/store/4i5w9iv836cg6hgr02g6phds6br8nas0-python3-3.8.9/lib/python3.8/http/client.py", line 1247, in endheaders | |
self._send_output(message_body, encode_chunked=encode_chunked) | |
File "/nix/store/4i5w9iv836cg6hgr02g6phds6br8nas0-python3-3.8.9/lib/python3.8/http/client.py", line 1007, in _send_output | |
self.send(msg) | |
File "/nix/store/4i5w9iv836cg6hgr02g6phds6br8nas0-python3-3.8.9/lib/python3.8/http/client.py", line 947, in send | |
self.connect() | |
File "/nix/store/3liw6zjcp9p2db06w670lgy3nv9qamd2-python3.8-docker-4.4.4/lib/python3.8/site-packages/docker/transport/unixconn.py", line 43, in connect | |
sock.connect(self.unix_socket) | |
FileNotFoundError: [Errno 2] No such file or directory | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/nix/store/ak0wb47ns745wag8mihb8x18v3q5qbwj-python3.8-requests-2.25.1/lib/python3.8/site-packages/requests/adapters.py", line 439, in send | |
resp = conn.urlopen( | |
File "/nix/store/zrr4k4mw9x8vsr4x5pfyhc5alw9h3dgz-python3.8-urllib3-1.26.4/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen | |
retries = retries.increment( | |
File "/nix/store/zrr4k4mw9x8vsr4x5pfyhc5alw9h3dgz-python3.8-urllib3-1.26.4/lib/python3.8/site-packages/urllib3/util/retry.py", line 532, in increment | |
raise six.reraise(type(error), error, _stacktrace) | |
File "/nix/store/zrr4k4mw9x8vsr4x5pfyhc5alw9h3dgz-python3.8-urllib3-1.26.4/lib/python3.8/site-packages/urllib3/packages/six.py", line 734, in reraise | |
raise value.with_traceback(tb) | |
File "/nix/store/zrr4k4mw9x8vsr4x5pfyhc5alw9h3dgz-python3.8-urllib3-1.26.4/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen | |
httplib_response = self._make_request( | |
File "/nix/store/zrr4k4mw9x8vsr4x5pfyhc5alw9h3dgz-python3.8-urllib3-1.26.4/lib/python3.8/site-packages/urllib3/connectionpool.py", line 394, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/nix/store/4i5w9iv836cg6hgr02g6phds6br8nas0-python3-3.8.9/lib/python3.8/http/client.py", line 1252, in request | |
self._send_request(method, url, body, headers, encode_chunked) | |
File "/nix/store/4i5w9iv836cg6hgr02g6phds6br8nas0-python3-3.8.9/lib/python3.8/http/client.py", line 1298, in _send_request | |
self.endheaders(body, encode_chunked=encode_chunked) | |
File "/nix/store/4i5w9iv836cg6hgr02g6phds6br8nas0-python3-3.8.9/lib/python3.8/http/client.py", line 1247, in endheaders | |
self._send_output(message_body, encode_chunked=encode_chunked) | |
File "/nix/store/4i5w9iv836cg6hgr02g6phds6br8nas0-python3-3.8.9/lib/python3.8/http/client.py", line 1007, in _send_output | |
self.send(msg) | |
File "/nix/store/4i5w9iv836cg6hgr02g6phds6br8nas0-python3-3.8.9/lib/python3.8/http/client.py", line 947, in send | |
self.connect() | |
File "/nix/store/3liw6zjcp9p2db06w670lgy3nv9qamd2-python3.8-docker-4.4.4/lib/python3.8/site-packages/docker/transport/unixconn.py", line 43, in connect | |
sock.connect(self.unix_socket) | |
urllib3.exceptions.ProtocolError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/nix/store/3liw6zjcp9p2db06w670lgy3nv9qamd2-python3.8-docker-4.4.4/lib/python3.8/site-packages/docker/api/client.py", line 214, in _retrieve_server_version | |
return self.version(api_version=False)["ApiVersion"] | |
File "/nix/store/3liw6zjcp9p2db06w670lgy3nv9qamd2-python3.8-docker-4.4.4/lib/python3.8/site-packages/docker/api/daemon.py", line 181, in version | |
return self._result(self._get(url), json=True) | |
File "/nix/store/3liw6zjcp9p2db06w670lgy3nv9qamd2-python3.8-docker-4.4.4/lib/python3.8/site-packages/docker/utils/decorators.py", line 46, in inner | |
return f(self, *args, **kwargs) | |
File "/nix/store/3liw6zjcp9p2db06w670lgy3nv9qamd2-python3.8-docker-4.4.4/lib/python3.8/site-packages/docker/api/client.py", line 237, in _get | |
return self.get(url, **self._set_request_timeout(kwargs)) | |
File "/nix/store/ak0wb47ns745wag8mihb8x18v3q5qbwj-python3.8-requests-2.25.1/lib/python3.8/site-packages/requests/sessions.py", line 555, in get | |
return self.request('GET', url, **kwargs) | |
File "/nix/store/ak0wb47ns745wag8mihb8x18v3q5qbwj-python3.8-requests-2.25.1/lib/python3.8/site-packages/requests/sessions.py", line 542, in request | |
resp = self.send(prep, **send_kwargs) | |
File "/nix/store/ak0wb47ns745wag8mihb8x18v3q5qbwj-python3.8-requests-2.25.1/lib/python3.8/site-packages/requests/sessions.py", line 655, in send | |
r = adapter.send(request, **kwargs) | |
File "/nix/store/ak0wb47ns745wag8mihb8x18v3q5qbwj-python3.8-requests-2.25.1/lib/python3.8/site-packages/requests/adapters.py", line 498, in send | |
raise ConnectionError(err, request=request) | |
requests.exceptions.ConnectionError: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/nix/store/5w9bw2rw0f458f87sy3fw8dp8p0as20l-aws-sam-cli-1.23.0/bin/.sam-wrapped", line 9, in <module> | |
sys.exit(cli()) | |
File "/nix/store/0m1hp9dswg333jzsgzgbdx8r2pdm04xj-python3.8-click-7.1.2/lib/python3.8/site-packages/click/core.py", line 829, in __call__ | |
return self.main(*args, **kwargs) | |
File "/nix/store/0m1hp9dswg333jzsgzgbdx8r2pdm04xj-python3.8-click-7.1.2/lib/python3.8/site-packages/click/core.py", line 782, in main | |
rv = self.invoke(ctx) | |
File "/nix/store/0m1hp9dswg333jzsgzgbdx8r2pdm04xj-python3.8-click-7.1.2/lib/python3.8/site-packages/click/core.py", line 1259, in invoke | |
return _process_result(sub_ctx.command.invoke(sub_ctx)) | |
File "/nix/store/0m1hp9dswg333jzsgzgbdx8r2pdm04xj-python3.8-click-7.1.2/lib/python3.8/site-packages/click/core.py", line 1066, in invoke | |
return ctx.invoke(self.callback, **ctx.params) | |
File "/nix/store/0m1hp9dswg333jzsgzgbdx8r2pdm04xj-python3.8-click-7.1.2/lib/python3.8/site-packages/click/core.py", line 610, in invoke | |
return callback(*args, **kwargs) | |
File "/nix/store/0m1hp9dswg333jzsgzgbdx8r2pdm04xj-python3.8-click-7.1.2/lib/python3.8/site-packages/click/decorators.py", line 73, in new_func | |
return ctx.invoke(f, obj, *args, **kwargs) | |
File "/nix/store/0m1hp9dswg333jzsgzgbdx8r2pdm04xj-python3.8-click-7.1.2/lib/python3.8/site-packages/click/core.py", line 610, in invoke | |
return callback(*args, **kwargs) | |
File "/nix/store/5w9bw2rw0f458f87sy3fw8dp8p0as20l-aws-sam-cli-1.23.0/lib/python3.8/site-packages/samcli/lib/telemetry/metric.py", line 153, in wrapped | |
raise exception # pylint: disable=raising-bad-type | |
File "/nix/store/5w9bw2rw0f458f87sy3fw8dp8p0as20l-aws-sam-cli-1.23.0/lib/python3.8/site-packages/samcli/lib/telemetry/metric.py", line 122, in wrapped | |
return_value = func(*args, **kwargs) | |
File "/nix/store/5w9bw2rw0f458f87sy3fw8dp8p0as20l-aws-sam-cli-1.23.0/lib/python3.8/site-packages/samcli/lib/utils/version_checker.py", line 42, in wrapped | |
actual_result = func(*args, **kwargs) | |
File "/nix/store/5w9bw2rw0f458f87sy3fw8dp8p0as20l-aws-sam-cli-1.23.0/lib/python3.8/site-packages/samcli/cli/main.py", line 90, in wrapper | |
return func(*args, **kwargs) | |
File "/nix/store/5w9bw2rw0f458f87sy3fw8dp8p0as20l-aws-sam-cli-1.23.0/lib/python3.8/site-packages/samcli/commands/build/command.py", line 210, in cli | |
do_cli( | |
File "/nix/store/5w9bw2rw0f458f87sy3fw8dp8p0as20l-aws-sam-cli-1.23.0/lib/python3.8/site-packages/samcli/commands/build/command.py", line 296, in do_cli | |
builder = ApplicationBuilder( | |
File "/nix/store/5w9bw2rw0f458f87sy3fw8dp8p0as20l-aws-sam-cli-1.23.0/lib/python3.8/site-packages/samcli/lib/build/app_builder.py", line 122, in __init__ | |
self._docker_client = docker_client if docker_client else docker.from_env() | |
File "/nix/store/3liw6zjcp9p2db06w670lgy3nv9qamd2-python3.8-docker-4.4.4/lib/python3.8/site-packages/docker/client.py", line 96, in from_env | |
return cls( | |
File "/nix/store/3liw6zjcp9p2db06w670lgy3nv9qamd2-python3.8-docker-4.4.4/lib/python3.8/site-packages/docker/client.py", line 45, in __init__ | |
self.api = APIClient(*args, **kwargs) | |
File "/nix/store/3liw6zjcp9p2db06w670lgy3nv9qamd2-python3.8-docker-4.4.4/lib/python3.8/site-packages/docker/api/client.py", line 197, in __init__ | |
self._version = self._retrieve_server_version() | |
File "/nix/store/3liw6zjcp9p2db06w670lgy3nv9qamd2-python3.8-docker-4.4.4/lib/python3.8/site-packages/docker/api/client.py", line 221, in _retrieve_server_version | |
raise DockerException( | |
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory')) | |
error Command failed with exit code 1. | |
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment