Advertisement
vnl

Untitled

vnl
Jul 25th, 2022
2,768
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 10.25 KB | None | 0 0
  1. Generating tags...
  2.  - accounts-db -> accounts-db:v0.5.1-240-ga7f275a
  3.  - ledger-db -> ledger-db:v0.5.1-240-ga7f275a
  4.  - ledgerwriter -> ledgerwriter:v0.5.1-240-ga7f275a
  5.  - balancereader -> balancereader:v0.5.1-240-ga7f275a
  6.  - transactionhistory -> transactionhistory:v0.5.1-240-ga7f275a
  7.  - contacts -> contacts:v0.5.1-240-ga7f275a
  8.  - userservice -> userservice:v0.5.1-240-ga7f275a
  9.  - frontend -> frontend:v0.5.1-240-ga7f275a
  10.  - loadgenerator -> loadgenerator:v0.5.1-240-ga7f275a
  11. Checking cache...
  12.  - accounts-db: Found Locally
  13.  - ledger-db: Found Locally
  14.  - ledgerwriter: Found Locally
  15.  - balancereader: Found Locally
  16.  - transactionhistory: Found Locally
  17.  - contacts: Found Locally
  18.  - userservice: Found Locally
  19.  - frontend: Found Locally
  20.  - loadgenerator: Found Locally
  21. Starting test...
  22. Tags used in deployment:
  23.  - accounts-db -> accounts-db:67d1314aeeeebfee7300cfc40603c68b2948feb4a177208e7723d8b9e13ffd4d
  24.  - ledger-db -> ledger-db:367186ad54af3b8293c21396f4568fae4961a5a00ff2cc0e97283330985ebc26
  25.  - ledgerwriter -> ledgerwriter:74217545fd951243bb4291e51caca73f8e8998226a7e6916b2c9d2664ebcb648
  26.  - balancereader -> balancereader:731be35212765e720da2ab689e1b0bd99b6d88808058869a86a5333e4425a9be
  27.  - transactionhistory -> transactionhistory:ad2c6c34cc35666366c52474c0faacd881246561ae88a6606348391c4758373d
  28.  - contacts -> contacts:c58d09c060c5e6d37e2690523bdea73a0629fd59a1b0693663b66fa189f0371b
  29.  - userservice -> userservice:e714745f62f4588018beeb451b0eeddbf9a4722ca39d0a2d4be286c79310cb91
  30.  - frontend -> frontend:0dfe822bb39777a9af8eb82f929510a94a560cdf7f39d40be0918fbaece8649a
  31.  - loadgenerator -> loadgenerator:6733a8a5811769c8915ce4ff8969aafa26e01a5af862795fa2c359e2fcaf0653
  32. Starting deploy...
  33.  - secret/jwt-key unchanged
  34.  - configmap/environment-config unchanged
  35.  - configmap/service-api-config unchanged
  36.  - configmap/demo-data-config unchanged
  37.  - statefulset.apps/accounts-db created
  38.  - service/accounts-db created
  39.  - configmap/accounts-db-config unchanged
  40.  - statefulset.apps/ledger-db created
  41.  - configmap/ledger-db-config unchanged
  42.  - service/ledger-db created
  43.  - deployment.apps/balancereader created
  44.  - service/balancereader created
  45.  - deployment.apps/contacts created
  46.  - service/contacts created
  47.  - deployment.apps/ledgerwriter created
  48.  - service/ledgerwriter created
  49.  - deployment.apps/transactionhistory created
  50.  - service/transactionhistory created
  51.  - deployment.apps/userservice created
  52.  - service/userservice created
  53.  - deployment.apps/frontend created
  54.  - service/frontend created
  55.  - deployment.apps/loadgenerator created
  56. Waiting for deployments to stabilize...
  57.  - statefulset/accounts-db is ready. [8/9 deployment(s) still pending]
  58.  - deployment/balancereader: creating container balancereader
  59.     - pod/balancereader-684664dd89-xzq4d: creating container balancereader
  60.  - deployment/contacts: waiting for rollout to finish: 0 of 1 updated replicas are available...
  61.  - deployment/frontend: waiting for rollout to finish: 0 of 1 updated replicas are available...
  62.  - deployment/ledgerwriter: waiting for rollout to finish: 0 of 1 updated replicas are available...
  63.  - deployment/loadgenerator: waiting for rollout to finish: 0 of 1 updated replicas are available...
  64.  - deployment/transactionhistory: creating container transactionhistory
  65.     - pod/transactionhistory-bc59989fb-5krfl: creating container transactionhistory
  66.  - deployment/userservice: waiting for rollout to finish: 0 of 1 updated replicas are available...
  67.  - statefulset/ledger-db: creating container postgres
  68.     - pod/ledger-db-0: creating container postgres
  69.  - statefulset/ledger-db is ready. [7/9 deployment(s) still pending]
  70.  - deployment/loadgenerator is ready. [6/9 deployment(s) still pending]
  71.  - deployment/userservice: container userservice is backing off waiting to restart
  72.     - pod/userservice-b7d76d877-sxbkb: container userservice is backing off waiting to restart
  73.       > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:51", "message": "info | Starting gunicorn 20.1.0", "severity": "INFO"}
  74.       > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:51", "message": "info | Listening at: http://0.0.0.0:8080 (7)", "severity": "INFO"}
  75.       > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:51", "message": "info | Using worker: gthread", "severity": "INFO"}
  76.       > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:51", "message": "info | Booting worker with pid: 8", "severity": "INFO"}
  77.       > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:52", "message": "create_app | Starting userservice.", "severity": "INFO"}
  78.       > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:52", "message": "create_app | ✅ Tracing enabled.", "severity": "INFO"}
  79.       > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:52", "message": "ping | Compute Engine Metadata server unavailable on attempt 1 of 3. Reason: [Errno 111] Connection refused", "severity": "WARNING"}
  80.       > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:52", "message": "ping | Compute Engine Metadata server unavailable on attempt 2 of 3. Reason: [Errno 111] Connection refused", "severity": "WARNING"}
  81.       > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:52", "message": "ping | Compute Engine Metadata server unavailable on attempt 3 of 3. Reason: [Errno 111] Connection refused", "severity": "WARNING"}
  82.       > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:52", "message": "_get_gce_credentials | Authentication failed using Compute Engine authentication due to unavailable metadata server.", "severity": "WARNING"}
  83.       > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:52", "message": "exception | Exception in worker process", "severity": "ERROR"}
  84.       > [userservice-b7d76d877-sxbkb userservice] Traceback (most recent call last):
  85.       > [userservice-b7d76d877-sxbkb userservice]   File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
  86.       > [userservice-b7d76d877-sxbkb userservice]     worker.init_process()
  87.       > [userservice-b7d76d877-sxbkb userservice]   File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/gthread.py", line 92, in init_process
  88.       > [userservice-b7d76d877-sxbkb userservice]     super().init_process()
  89.       > [userservice-b7d76d877-sxbkb userservice]   File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 134, in init_process
  90.       > [userservice-b7d76d877-sxbkb userservice]     self.load_wsgi()
  91.       > [userservice-b7d76d877-sxbkb userservice]   File "/usr/local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
  92.       > [userservice-b7d76d877-sxbkb userservice]     self.wsgi = self.app.wsgi()
  93.       > [userservice-b7d76d877-sxbkb userservice]   File "/usr/local/lib/python3.10/site-packages/gunicorn/app/base.py", line 67, in wsgi
  94.       > [userservice-b7d76d877-sxbkb userservice]     self.callable = self.load()
  95.       > [userservice-b7d76d877-sxbkb userservice]   File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
  96.       > [userservice-b7d76d877-sxbkb userservice]     return self.load_wsgiapp()
  97.       > [userservice-b7d76d877-sxbkb userservice]   File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
  98.       > [userservice-b7d76d877-sxbkb userservice]     return util.import_app(self.app_uri)
  99.       > [userservice-b7d76d877-sxbkb userservice]   File "/usr/local/lib/python3.10/site-packages/gunicorn/util.py", line 412, in import_app
  100.       > [userservice-b7d76d877-sxbkb userservice]     app = app(*args, **kwargs)
  101.       > [userservice-b7d76d877-sxbkb userservice]   File "/app/userservice.py", line 229, in create_app
  102.       > [userservice-b7d76d877-sxbkb userservice]     cloud_trace_exporter = CloudTraceSpanExporter()
  103.       > [userservice-b7d76d877-sxbkb userservice]   File "/usr/local/lib/python3.10/site-packages/opentelemetry/exporter/cloud_trace/__init__.py", line 144, in __init__
  104.       > [userservice-b7d76d877-sxbkb userservice]     self.client: TraceServiceClient = client or TraceServiceClient()
  105.       > [userservice-b7d76d877-sxbkb userservice]   File "/usr/local/lib/python3.10/site-packages/google/cloud/trace_v2/services/trace_service/client.py", line 425, in __init__
  106.       > [userservice-b7d76d877-sxbkb userservice]     self._transport = Transport(
  107.       > [userservice-b7d76d877-sxbkb userservice]   File "/usr/local/lib/python3.10/site-packages/google/cloud/trace_v2/services/trace_service/transports/grpc.py", line 155, in __init__
  108.       > [userservice-b7d76d877-sxbkb userservice]     super().__init__(
  109.       > [userservice-b7d76d877-sxbkb userservice]   File "/usr/local/lib/python3.10/site-packages/google/cloud/trace_v2/services/trace_service/transports/base.py", line 111, in __init__
  110.       > [userservice-b7d76d877-sxbkb userservice]     credentials, _ = google.auth.default(
  111.       > [userservice-b7d76d877-sxbkb userservice]   File "/usr/local/lib/python3.10/site-packages/google/auth/_default.py", line 616, in default
  112.       > [userservice-b7d76d877-sxbkb userservice]     raise exceptions.DefaultCredentialsError(_HELP_MESSAGE)
  113.       > [userservice-b7d76d877-sxbkb userservice] google.auth.exceptions.DefaultCredentialsError: Could not automatically determine credentials. Please set GOOGLE_APPLICATION_CREDENTIALS or explicitly create credentials and re-run the application. For more information, please see https://cloud.google.com/docs/authentication/getting-started
  114.       > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:52", "message": "info | Worker exiting (pid: 8)", "severity": "INFO"}
  115.       > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:52", "message": "_shutdown | Stopping userservice.", "severity": "INFO"}
  116.       > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:53", "message": "info | Shutting down: Master", "severity": "INFO"}
  117.       > [userservice-b7d76d877-sxbkb userservice] {"timestamp": "2022-07-25 18:01:53", "message": "info | Reason: Worker failed to boot.", "severity": "INFO"}
  118.  - deployment/userservice failed. Error: container userservice is backing off waiting to restart.
  119.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement