Skip to content
New issue

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

Error: failed to run: Error: data.remote_dir.this: reading remote dir: input: dir Sorry, something went wrong #9

Open
jay-babu opened this issue Oct 11, 2023 · 4 comments
Assignees

Comments

@jay-babu
Copy link

Hello,
I have tried quite a bit to set up deployments with atlas to my database and am getting the error in the title.

Workflow:
https://github.com/Transformity/pos-db/blob/main/.github/workflows/ci-atlas.yaml

Logs:
https://github.com/Transformity/pos-db/actions/runs/6478371279/job/17590035202

@jay-babu
Copy link
Author

2023-10-11T05:28:27.3332971Z Requested labels: ubuntu-latest
2023-10-11T05:28:27.3333364Z Job defined at: Transformity/pos-db/.github/workflows/ci-atlas.yaml@refs/heads/main
2023-10-11T05:28:27.3333533Z Waiting for a runner to pick up this job...
2023-10-11T05:28:27.5896639Z Job is waiting for a hosted runner to come online.
2023-10-11T05:28:30.2323506Z Job is about to start running on the hosted runner: GitHub Actions 1 (hosted)
2023-10-11T05:28:32.5674966Z Current runner version: '2.309.0'
2023-10-11T05:28:32.5705323Z ##[group]Operating System
2023-10-11T05:28:32.5706066Z Ubuntu
2023-10-11T05:28:32.5706344Z 22.04.3
2023-10-11T05:28:32.5706666Z LTS
2023-10-11T05:28:32.5707005Z ##[endgroup]
2023-10-11T05:28:32.5707442Z ##[group]Runner Image
2023-10-11T05:28:32.5707804Z Image: ubuntu-22.04
2023-10-11T05:28:32.5708175Z Version: 20231001.1.0
2023-10-11T05:28:32.5708756Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20231001.1/images/linux/Ubuntu2204-Readme.md
2023-10-11T05:28:32.5709469Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20231001.1
2023-10-11T05:28:32.5710051Z ##[endgroup]
2023-10-11T05:28:32.5710386Z ##[group]Runner Image Provisioner
2023-10-11T05:28:32.5710764Z 2.0.310.1
2023-10-11T05:28:32.5711093Z ##[endgroup]
2023-10-11T05:28:32.5711934Z ##[group]GITHUB_TOKEN Permissions
2023-10-11T05:28:32.5713630Z Contents: read
2023-10-11T05:28:32.5713954Z Metadata: read
2023-10-11T05:28:32.5714672Z PullRequests: write
2023-10-11T05:28:32.5715129Z ##[endgroup]
2023-10-11T05:28:32.5718866Z Secret source: Actions
2023-10-11T05:28:32.5719424Z Prepare workflow directory
2023-10-11T05:28:32.6788502Z Prepare all required actions
2023-10-11T05:28:32.6980232Z Getting action download info
2023-10-11T05:28:32.9736087Z Download action repository 'actions/checkout@v3' (SHA:f43a0e5ff2bd294095638e18286ca9a3d1956744)
2023-10-11T05:28:33.3424434Z Download action repository 'aws-actions/configure-aws-credentials@v4' (SHA:010d0da01d0b5a38af31e9c3470dbfdabdecca3a)
2023-10-11T05:28:33.5735283Z Download action repository 'ariga/atlas-sync-action@v0' (SHA:6f531e46b7c7eb120a5252e45ac649c6c585a777)
2023-10-11T05:28:33.8400578Z Download action repository 'ariga/atlas-deploy-action@v0' (SHA:d15abdf18a253c896d6afd707b671182a1b8ccbe)
2023-10-11T05:28:34.2409232Z Complete job name: sync
2023-10-11T05:28:34.3078740Z ##[group]Pull down action image 'arigaio/atlas-sync-action:latest'
2023-10-11T05:28:34.3094355Z ##[command]/usr/bin/docker pull arigaio/atlas-sync-action:latest
2023-10-11T05:28:36.2663523Z latest: Pulling from arigaio/atlas-sync-action
2023-10-11T05:28:36.3699482Z a7ca0d9ba68f: Pulling fs layer
2023-10-11T05:28:36.3708089Z fe5ca62666f0: Pulling fs layer
2023-10-11T05:28:36.3708984Z b02a7525f878: Pulling fs layer
2023-10-11T05:28:36.3709347Z fcb6f6d2c998: Pulling fs layer
2023-10-11T05:28:36.3709670Z e8c73c638ae9: Pulling fs layer
2023-10-11T05:28:36.3709979Z 1e3d9b7d1452: Pulling fs layer
2023-10-11T05:28:36.3710282Z 4aa0ea1413d3: Pulling fs layer
2023-10-11T05:28:36.3710581Z 7c881f9ab25e: Pulling fs layer
2023-10-11T05:28:36.3710879Z 5627a970d25e: Pulling fs layer
2023-10-11T05:28:36.3711405Z d2d6df583c9b: Pulling fs layer
2023-10-11T05:28:36.3711952Z 12f906f063dd: Pulling fs layer
2023-10-11T05:28:36.3713337Z fcb6f6d2c998: Waiting
2023-10-11T05:28:36.3713701Z e8c73c638ae9: Waiting
2023-10-11T05:28:36.3713960Z 1e3d9b7d1452: Waiting
2023-10-11T05:28:36.3714198Z 4aa0ea1413d3: Waiting
2023-10-11T05:28:36.3714449Z 7c881f9ab25e: Waiting
2023-10-11T05:28:36.3714717Z 5627a970d25e: Waiting
2023-10-11T05:28:36.3714959Z d2d6df583c9b: Waiting
2023-10-11T05:28:36.3715189Z 12f906f063dd: Waiting
2023-10-11T05:28:36.4569209Z fe5ca62666f0: Verifying Checksum
2023-10-11T05:28:36.4569622Z fe5ca62666f0: Download complete
2023-10-11T05:28:36.4696575Z a7ca0d9ba68f: Verifying Checksum
2023-10-11T05:28:36.4702950Z a7ca0d9ba68f: Download complete
2023-10-11T05:28:36.4797176Z b02a7525f878: Verifying Checksum
2023-10-11T05:28:36.4797512Z b02a7525f878: Download complete
2023-10-11T05:28:36.5371236Z a7ca0d9ba68f: Pull complete
2023-10-11T05:28:36.5490876Z fcb6f6d2c998: Verifying Checksum
2023-10-11T05:28:36.5492034Z fcb6f6d2c998: Download complete
2023-10-11T05:28:36.5553889Z e8c73c638ae9: Verifying Checksum
2023-10-11T05:28:36.5554330Z e8c73c638ae9: Download complete
2023-10-11T05:28:36.5610689Z fe5ca62666f0: Pull complete
2023-10-11T05:28:36.5727637Z 1e3d9b7d1452: Verifying Checksum
2023-10-11T05:28:36.5727965Z 1e3d9b7d1452: Download complete
2023-10-11T05:28:36.6279470Z 7c881f9ab25e: Verifying Checksum
2023-10-11T05:28:36.6289632Z 7c881f9ab25e: Download complete
2023-10-11T05:28:36.6419066Z 4aa0ea1413d3: Verifying Checksum
2023-10-11T05:28:36.6419409Z 4aa0ea1413d3: Download complete
2023-10-11T05:28:36.6578178Z 5627a970d25e: Verifying Checksum
2023-10-11T05:28:36.6586315Z 5627a970d25e: Download complete
2023-10-11T05:28:36.8414186Z 12f906f063dd: Verifying Checksum
2023-10-11T05:28:36.8414537Z 12f906f063dd: Download complete
2023-10-11T05:28:36.9441446Z b02a7525f878: Pull complete
2023-10-11T05:28:36.9606625Z fcb6f6d2c998: Pull complete
2023-10-11T05:28:36.9698902Z e8c73c638ae9: Pull complete
2023-10-11T05:28:36.9860679Z 1e3d9b7d1452: Pull complete
2023-10-11T05:28:36.9962879Z 4aa0ea1413d3: Pull complete
2023-10-11T05:28:37.0075401Z 7c881f9ab25e: Pull complete
2023-10-11T05:28:37.0226326Z 5627a970d25e: Pull complete
2023-10-11T05:28:37.3225355Z d2d6df583c9b: Verifying Checksum
2023-10-11T05:28:37.3225700Z d2d6df583c9b: Download complete
2023-10-11T05:28:37.9809650Z d2d6df583c9b: Pull complete
2023-10-11T05:28:38.3913267Z 12f906f063dd: Pull complete
2023-10-11T05:28:38.3956016Z Digest: sha256:593f41940b22791204d18eeed8a5ab830c86bd515e7eb2f16f85bb09867df6c5
2023-10-11T05:28:38.3967715Z Status: Downloaded newer image for arigaio/atlas-sync-action:latest
2023-10-11T05:28:38.3982796Z docker.io/arigaio/atlas-sync-action:latest
2023-10-11T05:28:38.3996875Z ##[endgroup]
2023-10-11T05:28:38.4024434Z ##[group]Pull down action image 'arigaio/atlas-deploy-action:latest'
2023-10-11T05:28:38.4024982Z ##[command]/usr/bin/docker pull arigaio/atlas-deploy-action:latest
2023-10-11T05:28:38.6986454Z latest: Pulling from arigaio/atlas-deploy-action
2023-10-11T05:28:38.7800017Z a7ca0d9ba68f: Already exists
2023-10-11T05:28:38.7814544Z fe5ca62666f0: Already exists
2023-10-11T05:28:38.7827798Z b02a7525f878: Already exists
2023-10-11T05:28:38.7839900Z fcb6f6d2c998: Already exists
2023-10-11T05:28:38.7854780Z e8c73c638ae9: Already exists
2023-10-11T05:28:38.7873883Z 1e3d9b7d1452: Already exists
2023-10-11T05:28:38.7886657Z 4aa0ea1413d3: Already exists
2023-10-11T05:28:38.7898222Z 7c881f9ab25e: Already exists
2023-10-11T05:28:38.7911495Z 5627a970d25e: Already exists
2023-10-11T05:28:38.7928189Z f0667c236028: Pulling fs layer
2023-10-11T05:28:38.7928859Z 93f7c56a8f98: Pulling fs layer
2023-10-11T05:28:38.9452583Z 93f7c56a8f98: Verifying Checksum
2023-10-11T05:28:38.9461547Z 93f7c56a8f98: Download complete
2023-10-11T05:28:39.0425893Z f0667c236028: Verifying Checksum
2023-10-11T05:28:39.0426217Z f0667c236028: Download complete
2023-10-11T05:28:39.7294494Z f0667c236028: Pull complete
2023-10-11T05:28:39.8228947Z 93f7c56a8f98: Pull complete
2023-10-11T05:28:39.8267391Z Digest: sha256:407ce7efc7ec21bd782de8f06f53a9c71c1a0fb885e5d9c189883029c5cda14b
2023-10-11T05:28:39.8282441Z Status: Downloaded newer image for arigaio/atlas-deploy-action:latest
2023-10-11T05:28:39.8292288Z docker.io/arigaio/atlas-deploy-action:latest
2023-10-11T05:28:39.8309299Z ##[endgroup]
2023-10-11T05:28:39.8413921Z ##[group]Checking docker version
2023-10-11T05:28:39.8429845Z ##[command]/usr/bin/docker version --format '{{.Server.APIVersion}}'
2023-10-11T05:28:39.8648523Z '1.43'
2023-10-11T05:28:39.8661257Z Docker daemon API version: '1.43'
2023-10-11T05:28:39.8661674Z ##[command]/usr/bin/docker version --format '{{.Client.APIVersion}}'
2023-10-11T05:28:39.8867500Z '1.43'
2023-10-11T05:28:39.8876181Z Docker client API version: '1.43'
2023-10-11T05:28:39.8882123Z ##[endgroup]
2023-10-11T05:28:39.8885222Z ##[group]Clean up resources from previous jobs
2023-10-11T05:28:39.8891010Z ##[command]/usr/bin/docker ps --all --quiet --no-trunc --filter "label=94351b"
2023-10-11T05:28:39.9043974Z ##[command]/usr/bin/docker network prune --force --filter "label=94351b"
2023-10-11T05:28:39.9413574Z ##[endgroup]
2023-10-11T05:28:39.9413879Z ##[group]Create local container network
2023-10-11T05:28:39.9425632Z ##[command]/usr/bin/docker network create --label 94351b github_network_83b257cff75b45779ebeb61fa5ec9180
2023-10-11T05:28:40.0055763Z 7202832b96db9b05a22bbea781438174988f25b9adaffe871b09a4e82e25ea91
2023-10-11T05:28:40.0075735Z ##[endgroup]
2023-10-11T05:28:40.0169725Z ##[group]Starting postgres service container
2023-10-11T05:28:40.0184583Z ##[command]/usr/bin/docker pull postgres:15
2023-10-11T05:28:40.3206508Z 15: Pulling from library/postgres
2023-10-11T05:28:40.3827863Z a803e7c4b030: Pulling fs layer
2023-10-11T05:28:40.3837161Z 12dd3b657e91: Pulling fs layer
2023-10-11T05:28:40.3837658Z 147adba297eb: Pulling fs layer
2023-10-11T05:28:40.3838390Z 56ee7c0dd616: Pulling fs layer
2023-10-11T05:28:40.3839200Z f9aacf30f429: Pulling fs layer
2023-10-11T05:28:40.3840274Z 7ad57b8030eb: Pulling fs layer
2023-10-11T05:28:40.3840719Z 786562b3be85: Pulling fs layer
2023-10-11T05:28:40.3841389Z 04efcdd3a2a4: Pulling fs layer
2023-10-11T05:28:40.3841987Z 2c35234636c9: Pulling fs layer
2023-10-11T05:28:40.3842580Z 6e662fa63f18: Pulling fs layer
2023-10-11T05:28:40.3843183Z f1a157d7d7b0: Pulling fs layer
2023-10-11T05:28:40.3843802Z bb153abf3802: Pulling fs layer
2023-10-11T05:28:40.3844343Z 7077e54346e0: Pulling fs layer
2023-10-11T05:28:40.3845039Z 56ee7c0dd616: Waiting
2023-10-11T05:28:40.3845776Z f9aacf30f429: Waiting
2023-10-11T05:28:40.3846471Z 7ad57b8030eb: Waiting
2023-10-11T05:28:40.3847449Z 786562b3be85: Waiting
2023-10-11T05:28:40.3848181Z 04efcdd3a2a4: Waiting
2023-10-11T05:28:40.3848999Z 2c35234636c9: Waiting
2023-10-11T05:28:40.3849679Z 6e662fa63f18: Waiting
2023-10-11T05:28:40.3850349Z f1a157d7d7b0: Waiting
2023-10-11T05:28:40.3851023Z bb153abf3802: Waiting
2023-10-11T05:28:40.3851696Z 7077e54346e0: Waiting
2023-10-11T05:28:40.4699878Z 12dd3b657e91: Verifying Checksum
2023-10-11T05:28:40.4702514Z 12dd3b657e91: Download complete
2023-10-11T05:28:40.5317873Z 147adba297eb: Verifying Checksum
2023-10-11T05:28:40.5319953Z 147adba297eb: Download complete
2023-10-11T05:28:40.6056489Z 56ee7c0dd616: Verifying Checksum
2023-10-11T05:28:40.6057322Z 56ee7c0dd616: Download complete
2023-10-11T05:28:40.6591080Z a803e7c4b030: Verifying Checksum
2023-10-11T05:28:40.6591460Z a803e7c4b030: Download complete
2023-10-11T05:28:40.6857791Z f9aacf30f429: Verifying Checksum
2023-10-11T05:28:40.6860263Z f9aacf30f429: Download complete
2023-10-11T05:28:40.7398575Z 7ad57b8030eb: Verifying Checksum
2023-10-11T05:28:40.7398984Z 7ad57b8030eb: Download complete
2023-10-11T05:28:40.7608680Z 786562b3be85: Verifying Checksum
2023-10-11T05:28:40.7611019Z 786562b3be85: Download complete
2023-10-11T05:28:40.7659095Z 04efcdd3a2a4: Verifying Checksum
2023-10-11T05:28:40.7659491Z 04efcdd3a2a4: Download complete
2023-10-11T05:28:40.8474763Z 6e662fa63f18: Verifying Checksum
2023-10-11T05:28:40.8477345Z 6e662fa63f18: Download complete
2023-10-11T05:28:40.8488486Z f1a157d7d7b0: Verifying Checksum
2023-10-11T05:28:40.8490435Z f1a157d7d7b0: Download complete
2023-10-11T05:28:40.9471843Z 7077e54346e0: Verifying Checksum
2023-10-11T05:28:40.9472446Z 7077e54346e0: Download complete
2023-10-11T05:28:40.9571076Z bb153abf3802: Verifying Checksum
2023-10-11T05:28:40.9573454Z bb153abf3802: Download complete
2023-10-11T05:28:41.5388742Z 2c35234636c9: Verifying Checksum
2023-10-11T05:28:41.5389277Z 2c35234636c9: Download complete
2023-10-11T05:28:42.0668369Z a803e7c4b030: Pull complete
2023-10-11T05:28:42.8814989Z 12dd3b657e91: Pull complete
2023-10-11T05:28:43.0225899Z 147adba297eb: Pull complete
2023-10-11T05:28:43.0801823Z 56ee7c0dd616: Pull complete
2023-10-11T05:28:43.4752677Z f9aacf30f429: Pull complete
2023-10-11T05:28:43.5517659Z 7ad57b8030eb: Pull complete
2023-10-11T05:28:43.5606411Z 786562b3be85: Pull complete
2023-10-11T05:28:43.5727720Z 04efcdd3a2a4: Pull complete
2023-10-11T05:28:47.6822512Z 2c35234636c9: Pull complete
2023-10-11T05:28:47.6967391Z 6e662fa63f18: Pull complete
2023-10-11T05:28:47.7087994Z f1a157d7d7b0: Pull complete
2023-10-11T05:28:47.7213611Z bb153abf3802: Pull complete
2023-10-11T05:28:47.7348628Z 7077e54346e0: Pull complete
2023-10-11T05:28:47.7390813Z Digest: sha256:33c234a3fa0147070cd8697cddac925e543a218e5a2fc92758f6d5296eef3d22
2023-10-11T05:28:47.7404726Z Status: Downloaded newer image for postgres:15
2023-10-11T05:28:47.7415091Z docker.io/library/postgres:15
2023-10-11T05:28:47.7527983Z ##[command]/usr/bin/docker create --name a30ea564caaf4fdcb8c390e4aa270ff0_postgres15_5f74c7 --label 94351b --network github_network_83b257cff75b45779ebeb61fa5ec9180 --network-alias postgres -p 5432:5432 --health-cmd pg_isready --health-interval 10s --health-start-period 10s --health-timeout 5s --health-retries 5 -e "POSTGRES_DB=dev" -e "POSTGRES_PASSWORD=pass" -e GITHUB_ACTIONS=true -e CI=true postgres:15
2023-10-11T05:28:47.7807261Z fa97e2e5d18544ac61f027d263d5d6685693a534987611d06db48bb2bd75e744
2023-10-11T05:28:47.7824825Z ##[command]/usr/bin/docker start fa97e2e5d18544ac61f027d263d5d6685693a534987611d06db48bb2bd75e744
2023-10-11T05:28:48.9788492Z fa97e2e5d18544ac61f027d263d5d6685693a534987611d06db48bb2bd75e744
2023-10-11T05:28:48.9820057Z ##[command]/usr/bin/docker ps --all --filter id=fa97e2e5d18544ac61f027d263d5d6685693a534987611d06db48bb2bd75e744 --filter status=running --no-trunc --format "{{.ID}} {{.Status}}"
2023-10-11T05:28:49.0072335Z fa97e2e5d18544ac61f027d263d5d6685693a534987611d06db48bb2bd75e744 Up Less than a second (health: starting)
2023-10-11T05:28:49.0095911Z ##[command]/usr/bin/docker port fa97e2e5d18544ac61f027d263d5d6685693a534987611d06db48bb2bd75e744
2023-10-11T05:28:49.0259832Z 5432/tcp -> 0.0.0.0:5432
2023-10-11T05:28:49.0260535Z 5432/tcp -> [::]:5432
2023-10-11T05:28:49.0351372Z ##[endgroup]
2023-10-11T05:28:49.0382245Z ##[group]Waiting for all services to be ready
2023-10-11T05:28:49.0425902Z ##[command]/usr/bin/docker inspect --format="{{if .Config.Healthcheck}}{{print .State.Health.Status}}{{end}}" fa97e2e5d18544ac61f027d263d5d6685693a534987611d06db48bb2bd75e744
2023-10-11T05:28:49.0605395Z starting
2023-10-11T05:28:49.0629908Z postgres service is starting, waiting 2 seconds before checking again.
2023-10-11T05:28:51.0617509Z ##[command]/usr/bin/docker inspect --format="{{if .Config.Healthcheck}}{{print .State.Health.Status}}{{end}}" fa97e2e5d18544ac61f027d263d5d6685693a534987611d06db48bb2bd75e744
2023-10-11T05:28:51.0779181Z starting
2023-10-11T05:28:51.0789696Z postgres service is starting, waiting 4 seconds before checking again.
2023-10-11T05:28:55.2632653Z ##[command]/usr/bin/docker inspect --format="{{if .Config.Healthcheck}}{{print .State.Health.Status}}{{end}}" fa97e2e5d18544ac61f027d263d5d6685693a534987611d06db48bb2bd75e744
2023-10-11T05:28:55.2794667Z starting
2023-10-11T05:28:55.2805145Z postgres service is starting, waiting 8 seconds before checking again.
2023-10-11T05:29:03.5668654Z ##[command]/usr/bin/docker inspect --format="{{if .Config.Healthcheck}}{{print .State.Health.Status}}{{end}}" fa97e2e5d18544ac61f027d263d5d6685693a534987611d06db48bb2bd75e744
2023-10-11T05:29:03.5836472Z healthy
2023-10-11T05:29:03.5850446Z postgres service is healthy.
2023-10-11T05:29:03.5850987Z ##[endgroup]
2023-10-11T05:29:03.6356106Z ##[group]Run actions/checkout@v3
2023-10-11T05:29:03.6356395Z with:
2023-10-11T05:29:03.6356639Z repository: Transformity/pos-db
2023-10-11T05:29:03.6357155Z token: ***
2023-10-11T05:29:03.6357382Z ssh-strict: true
2023-10-11T05:29:03.6357644Z persist-credentials: true
2023-10-11T05:29:03.6357890Z clean: true
2023-10-11T05:29:03.6358130Z sparse-checkout-cone-mode: true
2023-10-11T05:29:03.6358380Z fetch-depth: 1
2023-10-11T05:29:03.6358600Z fetch-tags: false
2023-10-11T05:29:03.6358811Z lfs: false
2023-10-11T05:29:03.6359013Z submodules: false
2023-10-11T05:29:03.6359251Z set-safe-directory: true
2023-10-11T05:29:03.6359480Z env:
2023-10-11T05:29:03.6359696Z AWS_REGION: us-east-1
2023-10-11T05:29:03.6359915Z ##[endgroup]
2023-10-11T05:29:03.9111372Z Syncing repository: Transformity/pos-db
2023-10-11T05:29:03.9113062Z ##[group]Getting Git version info
2023-10-11T05:29:03.9113544Z Working directory is '/home/runner/work/pos-db/pos-db'
2023-10-11T05:29:03.9114178Z [command]/usr/bin/git version
2023-10-11T05:29:03.9268422Z git version 2.42.0
2023-10-11T05:29:03.9299308Z ##[endgroup]
2023-10-11T05:29:03.9318008Z Temporarily overriding HOME='/home/runner/work/_temp/9bdc654a-52be-417c-80cd-556be0ea420a' before making global git config changes
2023-10-11T05:29:03.9320273Z Adding repository directory to the temporary git global config as a safe directory
2023-10-11T05:29:03.9326348Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/pos-db/pos-db
2023-10-11T05:29:03.9379335Z Deleting the contents of '/home/runner/work/pos-db/pos-db'
2023-10-11T05:29:03.9385339Z ##[group]Initializing the repository
2023-10-11T05:29:03.9391159Z [command]/usr/bin/git init /home/runner/work/pos-db/pos-db
2023-10-11T05:29:03.9471482Z hint: Using 'master' as the name for the initial branch. This default branch name
2023-10-11T05:29:03.9472076Z hint: is subject to change. To configure the initial branch name to use in all
2023-10-11T05:29:03.9472635Z hint: of your new repositories, which will suppress this warning, call:
2023-10-11T05:29:03.9473022Z hint:
2023-10-11T05:29:03.9473831Z hint: git config --global init.defaultBranch
2023-10-11T05:29:03.9474348Z hint:
2023-10-11T05:29:03.9475221Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2023-10-11T05:29:03.9475839Z hint: 'development'. The just-created branch can be renamed via this command:
2023-10-11T05:29:03.9476240Z hint:
2023-10-11T05:29:03.9476959Z hint: git branch -m
2023-10-11T05:29:03.9485800Z Initialized empty Git repository in /home/runner/work/pos-db/pos-db/.git/
2023-10-11T05:29:03.9498649Z [command]/usr/bin/git remote add origin https://github.com/Transformity/pos-db
2023-10-11T05:29:03.9550552Z ##[endgroup]
2023-10-11T05:29:03.9551129Z ##[group]Disabling automatic garbage collection
2023-10-11T05:29:03.9557024Z [command]/usr/bin/git config --local gc.auto 0
2023-10-11T05:29:03.9594561Z ##[endgroup]
2023-10-11T05:29:03.9595403Z ##[group]Setting up auth
2023-10-11T05:29:03.9602017Z [command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
2023-10-11T05:29:03.9639981Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2023-10-11T05:29:04.0055885Z [command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
2023-10-11T05:29:04.0091757Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2023-10-11T05:29:04.0338109Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2023-10-11T05:29:04.0379979Z ##[endgroup]
2023-10-11T05:29:04.0380667Z ##[group]Fetching the repository
2023-10-11T05:29:04.0390776Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +69e68c1342580a4a9f2873b9cf9ea30d6ee2b360:refs/remotes/origin/main
2023-10-11T05:29:04.2881305Z remote: Enumerating objects: 9, done.
2023-10-11T05:29:04.2894477Z remote: Counting objects: 11% (1/9)
2023-10-11T05:29:04.2895471Z remote: Counting objects: 22% (2/9)
2023-10-11T05:29:04.2896015Z remote: Counting objects: 33% (3/9)
2023-10-11T05:29:04.2896778Z remote: Counting objects: 44% (4/9)
2023-10-11T05:29:04.2897325Z remote: Counting objects: 55% (5/9)
2023-10-11T05:29:04.2898059Z remote: Counting objects: 66% (6/9)
2023-10-11T05:29:04.2898582Z remote: Counting objects: 77% (7/9)
2023-10-11T05:29:04.2899319Z remote: Counting objects: 88% (8/9)
2023-10-11T05:29:04.2899856Z remote: Counting objects: 100% (9/9)
2023-10-11T05:29:04.2900612Z remote: Counting objects: 100% (9/9), done.
2023-10-11T05:29:04.2901318Z remote: Compressing objects: 14% (1/7)
2023-10-11T05:29:04.2902096Z remote: Compressing objects: 28% (2/7)
2023-10-11T05:29:04.2902641Z remote: Compressing objects: 42% (3/7)
2023-10-11T05:29:04.2904003Z remote: Compressing objects: 57% (4/7)
2023-10-11T05:29:04.2904551Z remote: Compressing objects: 71% (5/7)
2023-10-11T05:29:04.2905296Z remote: Compressing objects: 85% (6/7)
2023-10-11T05:29:04.2905837Z remote: Compressing objects: 100% (7/7)
2023-10-11T05:29:04.2906610Z remote: Compressing objects: 100% (7/7), done.
2023-10-11T05:29:04.2907534Z remote: Total 9 (delta 0), reused 8 (delta 0), pack-reused 0
2023-10-11T05:29:04.3018656Z From https://github.com/Transformity/pos-db
2023-10-11T05:29:04.3020138Z * [new ref] 69e68c1342580a4a9f2873b9cf9ea30d6ee2b360 -> origin/main
2023-10-11T05:29:04.3110113Z ##[endgroup]
2023-10-11T05:29:04.3110731Z ##[group]Determining the checkout info
2023-10-11T05:29:04.3111574Z ##[endgroup]
2023-10-11T05:29:04.3112163Z ##[group]Checking out the ref
2023-10-11T05:29:04.3117187Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
2023-10-11T05:29:04.3186140Z Switched to a new branch 'main'
2023-10-11T05:29:04.3190928Z branch 'main' set up to track 'origin/main'.
2023-10-11T05:29:04.3198644Z ##[endgroup]
2023-10-11T05:29:04.3247043Z [command]/usr/bin/git log -1 --format='%H'
2023-10-11T05:29:04.3279249Z '69e68c1342580a4a9f2873b9cf9ea30d6ee2b360'
2023-10-11T05:29:04.3578942Z ##[group]Run aws-actions/configure-aws-credentials@v4
2023-10-11T05:29:04.3579255Z with:
2023-10-11T05:29:04.3579682Z role-to-assume: arn:aws:iam::165569969323:role/github-action-role
2023-10-11T05:29:04.3579990Z aws-region: us-east-1
2023-10-11T05:29:04.3580237Z audience: sts.amazonaws.com
2023-10-11T05:29:04.3580471Z env:
2023-10-11T05:29:04.3580682Z AWS_REGION: us-east-1
2023-10-11T05:29:04.3581122Z ##[endgroup]
2023-10-11T05:29:07.4413995Z Assuming role with OIDC
2023-10-11T05:29:07.5253196Z Authenticated as assumedRoleId AROASNDF5HSVTI7UQJVBA:GitHubActions
2023-10-11T05:29:07.6513917Z ##[group]Run secret_value=$(aws secretsmanager get-secret-value --secret-id 'rds!cluster-96cd49c6-1a15-4950-b89f-59fd040a22a6' --query 'SecretString' --output text)
2023-10-11T05:29:07.6514756Z �[36;1msecret_value=$(aws secretsmanager get-secret-value --secret-id 'rds!cluster-96cd49c6-1a15-4950-b89f-59fd040a22a6' --query 'SecretString' --output text)�[0m
2023-10-11T05:29:07.6515343Z �[36;1mpassword=$(echo $secret_value | jq -r '.password' | jq "@uri" -jRr)�[0m
2023-10-11T05:29:07.6516428Z �[36;1mdb_secret=$(echo "***transformity-gamma.cluster-cu3q2lrqndpl.us-east-1.rds.amazonaws.com:5432/transformity_pos")�[0m
2023-10-11T05:29:07.6516995Z �[36;1mecho "secret_value=$password" >> "$GITHUB_ENV"�[0m
2023-10-11T05:29:07.6517350Z �[36;1mecho "db_secret=$db_secret" >> "$GITHUB_ENV"�[0m
2023-10-11T05:29:07.6517654Z �[36;1mecho "$db_secret"�[0m
2023-10-11T05:29:07.6577437Z shell: /usr/bin/bash -e {0}
2023-10-11T05:29:07.6577720Z env:
2023-10-11T05:29:07.6577969Z AWS_REGION: us-east-1
2023-10-11T05:29:07.6578312Z AWS_DEFAULT_REGION: us-east-1
2023-10-11T05:29:07.6578692Z AWS_ACCESS_KEY_ID: ***
2023-10-11T05:29:07.6579076Z AWS_SECRET_ACCESS_KEY: ***
2023-10-11T05:29:07.6584784Z AWS_SESSION_TOKEN: ***
2023-10-11T05:29:07.6585061Z ##[endgroup]
2023-10-11T05:29:13.7912568Z ***transformity-gamma.cluster-cu3q2lrqndpl.us-east-1.rds.amazonaws.com:5432/transformity_pos
2023-10-11T05:29:13.7954248Z ##[group]Run ariga/atlas-sync-action@v0
2023-10-11T05:29:13.7954564Z with:
2023-10-11T05:29:13.7954803Z dir: migrations
2023-10-11T05:29:13.7955066Z name: app
2023-10-11T05:29:13.7955569Z dev-url: ***postgres:5432/dev?search_path=public&sslmode=disable
2023-10-11T05:29:13.7956123Z cloud-token: ***
2023-10-11T05:29:13.7956356Z env:
2023-10-11T05:29:13.7956596Z AWS_REGION: us-east-1
2023-10-11T05:29:13.7956877Z AWS_DEFAULT_REGION: us-east-1
2023-10-11T05:29:13.7957200Z AWS_ACCESS_KEY_ID: ***
2023-10-11T05:29:13.7957597Z AWS_SECRET_ACCESS_KEY: ***
2023-10-11T05:29:13.7963084Z AWS_SESSION_TOKEN: ***
2023-10-11T05:29:13.7963403Z secret_value: P7iXMZF%7BFCZ%248RauN%3Ev%24RIk87PJ
2023-10-11T05:29:13.7964110Z db_secret: ***transformity-gamma.cluster-cu3q2lrqndpl.us-east-1.rds.amazonaws.com:5432/transformity_pos
2023-10-11T05:29:13.7964789Z ##[endgroup]
2023-10-11T05:29:13.8187076Z ##[command]/usr/bin/docker run --name arigaioatlassyncactionlatest_0f2849 --label 94351b --workdir /github/workspace --rm -e "AWS_REGION" -e "AWS_DEFAULT_REGION" -e "AWS_ACCESS_KEY_ID" -e "AWS_SECRET_ACCESS_KEY" -e "AWS_SESSION_TOKEN" -e "secret_value" -e "db_secret" -e "INPUT_DIR" -e "INPUT_NAME" -e "INPUT_DEV-URL" -e "INPUT_CLOUD-TOKEN" -e "INPUT_TAG" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_ID_TOKEN_REQUEST_URL" -e "ACTIONS_ID_TOKEN_REQUEST_TOKEN" -e GITHUB_ACTIONS=true -e CI=true --network github_network_83b257cff75b45779ebeb61fa5ec9180 -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/pos-db/pos-db":"/github/workspace" arigaio/atlas-sync-action:latest
2023-10-11T05:29:15.2983766Z Uploaded migration dir "migrations" to Atlas Cloud
2023-10-11T05:29:15.4282283Z ##[group]Run ariga/atlas-deploy-action@v0
2023-10-11T05:29:15.4282602Z with:
2023-10-11T05:29:15.4283322Z url: ***transformity-gamma.cluster-cu3q2lrqndpl.us-east-1.rds.amazonaws.com:5432/transformity_pos
2023-10-11T05:29:15.4284046Z cloud-token: ***
2023-10-11T05:29:15.4284302Z cloud-dir: app
2023-10-11T05:29:15.4284531Z env:
2023-10-11T05:29:15.4284765Z AWS_REGION: us-east-1
2023-10-11T05:29:15.4285042Z AWS_DEFAULT_REGION: us-east-1
2023-10-11T05:29:15.4285374Z AWS_ACCESS_KEY_ID: ***
2023-10-11T05:29:15.4285745Z AWS_SECRET_ACCESS_KEY: ***
2023-10-11T05:29:15.4291237Z AWS_SESSION_TOKEN: ***
2023-10-11T05:29:15.4291555Z secret_value: P7i
XMZF%7BFCZ%248RauN%3Ev%24RIk87PJ
2023-10-11T05:29:15.4292249Z db_secret: ***transformity-gamma.cluster-cu3q2lrqndpl.us-east-1.rds.amazonaws.com:5432/transformity_pos
2023-10-11T05:29:15.4292727Z ##[endgroup]
2023-10-11T05:29:15.4300784Z ##[command]/usr/bin/docker run --name arigaioatlasdeployactionlatest_3495d6 --label 94351b --workdir /github/workspace --rm -e "AWS_REGION" -e "AWS_DEFAULT_REGION" -e "AWS_ACCESS_KEY_ID" -e "AWS_SECRET_ACCESS_KEY" -e "AWS_SESSION_TOKEN" -e "secret_value" -e "db_secret" -e "INPUT_URL" -e "INPUT_CLOUD-TOKEN" -e "INPUT_CLOUD-DIR" -e "INPUT_DIR" -e "INPUT_CLOUD-TAG" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_ID_TOKEN_REQUEST_URL" -e "ACTIONS_ID_TOKEN_REQUEST_TOKEN" -e GITHUB_ACTIONS=true -e CI=true --network github_network_83b257cff75b45779ebeb61fa5ec9180 -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/pos-db/pos-db":"/github/workspace" arigaio/atlas-deploy-action:latest
2023-10-11T05:29:15.9062196Z ##[error]failed to run: Error: data.remote_dir.this: reading remote dir: input: dir Sorry, something went wrong

2023-10-11T05:29:16.0310091Z Post job cleanup.
2023-10-11T05:29:16.1383572Z Post job cleanup.
2023-10-11T05:29:16.2490058Z [command]/usr/bin/git version
2023-10-11T05:29:16.2542895Z git version 2.42.0
2023-10-11T05:29:16.2589369Z Temporarily overriding HOME='/home/runner/work/_temp/77a9b104-bebc-4df5-8530-8f3d593bc446' before making global git config changes
2023-10-11T05:29:16.2590915Z Adding repository directory to the temporary git global config as a safe directory
2023-10-11T05:29:16.2596912Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/pos-db/pos-db
2023-10-11T05:29:16.2648694Z [command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
2023-10-11T05:29:16.2689402Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2023-10-11T05:29:16.2956724Z [command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
2023-10-11T05:29:16.2982770Z http.https://github.com/.extraheader
2023-10-11T05:29:16.2997434Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2023-10-11T05:29:16.3036639Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2023-10-11T05:29:16.3478395Z Print service container logs: a30ea564caaf4fdcb8c390e4aa270ff0_postgres15_5f74c7
2023-10-11T05:29:16.3483863Z ##[command]/usr/bin/docker logs --details fa97e2e5d18544ac61f027d263d5d6685693a534987611d06db48bb2bd75e744
2023-10-11T05:29:16.3657243Z initdb: warning: enabling "trust" authentication for local connections
2023-10-11T05:29:16.3657748Z The files belonging to this database system will be owned by user "postgres".
2023-10-11T05:29:16.3661274Z initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
2023-10-11T05:29:16.3661885Z This user must also own the server process.
2023-10-11T05:29:16.3662660Z 2023-10-11 05:28:50.103 UTC [1] LOG: starting PostgreSQL 15.4 (Debian 15.4-2.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2023-10-11T05:29:16.3663079Z
2023-10-11T05:29:16.3663411Z The database cluster will be initialized with locale "en_US.utf8".
2023-10-11T05:29:16.3663910Z The default database encoding has accordingly been set to "UTF8".
2023-10-11T05:29:16.3664597Z The default text search configuration will be set to "english".
2023-10-11T05:29:16.3664993Z
2023-10-11T05:29:16.3665264Z Data page checksums are disabled.
2023-10-11T05:29:16.3665608Z
2023-10-11T05:29:16.3665954Z fixing permissions on existing directory /var/lib/postgresql/data ... ok
2023-10-11T05:29:16.3666406Z creating subdirectories ... ok
2023-10-11T05:29:16.3666862Z selecting dynamic shared memory implementation ... posix
2023-10-11T05:29:16.3667321Z selecting default max_connections ... 100
2023-10-11T05:29:16.3668119Z 2023-10-11 05:28:50.103 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2023-10-11T05:29:16.3668517Z selecting default shared_buffers ... 128MB
2023-10-11T05:29:16.3669007Z 2023-10-11 05:28:50.103 UTC [1] LOG: listening on IPv6 address "::", port 5432
2023-10-11T05:29:16.3669390Z selecting default time zone ... Etc/UTC
2023-10-11T05:29:16.3669836Z 2023-10-11 05:28:50.105 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-10-11T05:29:16.3670243Z creating configuration files ... ok
2023-10-11T05:29:16.3670644Z 2023-10-11 05:28:50.107 UTC [64] LOG: database system was shut down at 2023-10-11 05:28:49 UTC
2023-10-11T05:29:16.3671099Z 2023-10-11 05:28:50.112 UTC [1] LOG: database system is ready to accept connections
2023-10-11T05:29:16.3671558Z 2023-10-11 05:28:59.089 UTC [75] FATAL: role "root" does not exist
2023-10-11T05:29:16.3671930Z 2023-10-11 05:29:09.203 UTC [83] FATAL: role "root" does not exist
2023-10-11T05:29:16.3672276Z running bootstrap script ... ok
2023-10-11T05:29:16.3672663Z performing post-bootstrap initialization ... ok
2023-10-11T05:29:16.3673005Z syncing data to disk ... ok
2023-10-11T05:29:16.3673262Z
2023-10-11T05:29:16.3673470Z
2023-10-11T05:29:16.3673769Z Success. You can now start the database server using:
2023-10-11T05:29:16.3674068Z
2023-10-11T05:29:16.3674362Z pg_ctl -D /var/lib/postgresql/data -l logfile start
2023-10-11T05:29:16.3674657Z
2023-10-11T05:29:16.3675118Z waiting for server to start....2023-10-11 05:28:49.782 UTC [48] LOG: starting PostgreSQL 15.4 (Debian 15.4-2.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2023-10-11T05:29:16.3675720Z 2023-10-11 05:28:49.783 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-10-11T05:29:16.3676173Z 2023-10-11 05:28:49.786 UTC [51] LOG: database system was shut down at 2023-10-11 05:28:49 UTC
2023-10-11T05:29:16.3676603Z 2023-10-11 05:28:49.790 UTC [48] LOG: database system is ready to accept connections
2023-10-11T05:29:16.3676933Z done
2023-10-11T05:29:16.3677162Z server started
2023-10-11T05:29:16.3677411Z CREATE DATABASE
2023-10-11T05:29:16.3677650Z
2023-10-11T05:29:16.3677854Z
2023-10-11T05:29:16.3678217Z /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
2023-10-11T05:29:16.3678574Z
2023-10-11T05:29:16.3679083Z 2023-10-11 05:28:49.976 UTC [48] LOG: received fast shutdown request
2023-10-11T05:29:16.3679538Z waiting for server to shut down....2023-10-11 05:28:49.977 UTC [48] LOG: aborting any active transactions
2023-10-11T05:29:16.3680062Z 2023-10-11 05:28:49.979 UTC [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1
2023-10-11T05:29:16.3680494Z 2023-10-11 05:28:49.981 UTC [49] LOG: shutting down
2023-10-11T05:29:16.3680871Z 2023-10-11 05:28:49.982 UTC [49] LOG: checkpoint starting: shutdown immediate
2023-10-11T05:29:16.3681517Z 2023-10-11 05:28:50.005 UTC [49] LOG: checkpoint complete: wrote 918 buffers (5.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.016 s, sync=0.007 s, total=0.025 s; sync files=301, longest=0.006 s, average=0.001 s; distance=4223 kB, estimate=4223 kB
2023-10-11T05:29:16.3682150Z 2023-10-11 05:28:50.012 UTC [48] LOG: database system is shut down
2023-10-11T05:29:16.3682446Z done
2023-10-11T05:29:16.3682683Z server stopped
2023-10-11T05:29:16.3682916Z
2023-10-11T05:29:16.3683216Z PostgreSQL init process complete; ready for start up.
2023-10-11T05:29:16.3683522Z
2023-10-11T05:29:16.3689975Z Stop and remove container: a30ea564caaf4fdcb8c390e4aa270ff0_postgres15_5f74c7
2023-10-11T05:29:16.3696113Z ##[command]/usr/bin/docker rm --force fa97e2e5d18544ac61f027d263d5d6685693a534987611d06db48bb2bd75e744
2023-10-11T05:29:16.5411675Z fa97e2e5d18544ac61f027d263d5d6685693a534987611d06db48bb2bd75e744
2023-10-11T05:29:16.5428568Z Remove container network: github_network_83b257cff75b45779ebeb61fa5ec9180
2023-10-11T05:29:16.5435052Z ##[command]/usr/bin/docker network rm github_network_83b257cff75b45779ebeb61fa5ec9180
2023-10-11T05:29:16.7334745Z github_network_83b257cff75b45779ebeb61fa5ec9180
2023-10-11T05:29:16.7508246Z Cleaning up orphan processes

@rotemtam rotemtam assigned masseelch and rotemtam and unassigned masseelch Oct 11, 2023
@rotemtam
Copy link
Member

Hey @jay-babu,

Thanks for the detailed report.

I looked into your case and as far as I can tell it's caused by an incompatibility on our side between the sync and deploy actions.

Each migration directory on Atlas Cloud has two identifiers, one is "name" (transformity-db in your case) and the second is "slug" ("app" in your case). In the past directories only had a "name", which the sync action selects based on the repo/path.

The issue stems from the way the current deploy action works which is by looking at the directory name instead of slug.

We are actually just about to announce a new generation of GitHub Actions which streamlines all of these issues so its really unfortunate that you hit this thing today :-)

To fix this you can use the new action instead of atlas-deploy-action which will be deprecated soon.

      - uses: ariga/setup-atlas@v0
        with:
          cloud-token: ${{ secrets.ATLAS_CLOUD_TOKEN }}
      - uses: ariga/atlas-action/migrate/apply@master
        with:
          url: 'mysql://user:${{ secrets.DB_PASSWORD }}@db.hostname.io:3306/db'
          dir: 'atlas://app' # A directory stored in Atlas Cloud, use ?tag=<tag> to specify a tag

The first step installs atlas and logs in to Atlas cloud. The second step deploys.

HTH

@jay-babu
Copy link
Author

I am getting this error now. I deleted my project from atlas because I thought that was the reason why but doesn't seems to be the case

Error: failed to push directory: atlasexec: executing statement: pq: schema "atlas_schema_revisions" already exists

@jay-babu
Copy link
Author

2023-10-11T19:34:37.3752751Z Requested labels: ubuntu-latest
2023-10-11T19:34:37.3753064Z Job defined at: Transformity/pos-db/.github/workflows/ci-atlas.yaml@refs/heads/main
2023-10-11T19:34:37.3753181Z Waiting for a runner to pick up this job...
2023-10-11T19:34:37.7437248Z Job is waiting for a hosted runner to come online.
2023-10-11T19:34:41.6482745Z Job is about to start running on the hosted runner: GitHub Actions 1 (hosted)
2023-10-11T19:34:44.8862497Z Current runner version: '2.309.0'
2023-10-11T19:34:44.8895822Z ##[group]Operating System
2023-10-11T19:34:44.8896515Z Ubuntu
2023-10-11T19:34:44.8896851Z 22.04.3
2023-10-11T19:34:44.8897221Z LTS
2023-10-11T19:34:44.8897630Z ##[endgroup]
2023-10-11T19:34:44.8898165Z ##[group]Runner Image
2023-10-11T19:34:44.8898627Z Image: ubuntu-22.04
2023-10-11T19:34:44.8898991Z Version: 20231001.1.0
2023-10-11T19:34:44.8899653Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20231001.1/images/linux/Ubuntu2204-Readme.md
2023-10-11T19:34:44.8900611Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20231001.1
2023-10-11T19:34:44.8901240Z ##[endgroup]
2023-10-11T19:34:44.8901654Z ##[group]Runner Image Provisioner
2023-10-11T19:34:44.8902091Z 2.0.310.1
2023-10-11T19:34:44.8902465Z ##[endgroup]
2023-10-11T19:34:44.8903423Z ##[group]GITHUB_TOKEN Permissions
2023-10-11T19:34:44.8906141Z Contents: read
2023-10-11T19:34:44.8906557Z Metadata: read
2023-10-11T19:34:44.8907503Z PullRequests: write
2023-10-11T19:34:44.8908036Z ##[endgroup]
2023-10-11T19:34:44.8912501Z Secret source: Actions
2023-10-11T19:34:44.8913337Z Prepare workflow directory
2023-10-11T19:34:45.0242454Z Prepare all required actions
2023-10-11T19:34:45.0481588Z Getting action download info
2023-10-11T19:34:45.4353735Z Download action repository 'actions/checkout@v3' (SHA:f43a0e5ff2bd294095638e18286ca9a3d1956744)
2023-10-11T19:34:46.1122213Z Download action repository 'aws-actions/configure-aws-credentials@v4' (SHA:010d0da01d0b5a38af31e9c3470dbfdabdecca3a)
2023-10-11T19:34:46.6589938Z Download action repository 'ariga/atlas-sync-action@v0' (SHA:6f531e46b7c7eb120a5252e45ac649c6c585a777)
2023-10-11T19:34:47.1326217Z Download action repository 'ariga/atlas-deploy-action@v0' (SHA:d15abdf18a253c896d6afd707b671182a1b8ccbe)
2023-10-11T19:34:47.7671860Z Complete job name: sync
2023-10-11T19:34:47.8462835Z ##[group]Pull down action image 'arigaio/atlas-sync-action:latest'
2023-10-11T19:34:47.8482587Z ##[command]/usr/bin/docker pull arigaio/atlas-sync-action:latest
2023-10-11T19:34:49.3011909Z latest: Pulling from arigaio/atlas-sync-action
2023-10-11T19:34:49.6153207Z a7ca0d9ba68f: Pulling fs layer
2023-10-11T19:34:49.6154008Z fe5ca62666f0: Pulling fs layer
2023-10-11T19:34:49.6154752Z b02a7525f878: Pulling fs layer
2023-10-11T19:34:49.6156255Z fcb6f6d2c998: Pulling fs layer
2023-10-11T19:34:49.6156843Z e8c73c638ae9: Pulling fs layer
2023-10-11T19:34:49.6157307Z 1e3d9b7d1452: Pulling fs layer
2023-10-11T19:34:49.6164063Z 4aa0ea1413d3: Pulling fs layer
2023-10-11T19:34:49.6167660Z 7c881f9ab25e: Pulling fs layer
2023-10-11T19:34:49.6168584Z 5627a970d25e: Pulling fs layer
2023-10-11T19:34:49.6168969Z d2d6df583c9b: Pulling fs layer
2023-10-11T19:34:49.6169285Z 12f906f063dd: Pulling fs layer
2023-10-11T19:34:49.6169574Z fcb6f6d2c998: Waiting
2023-10-11T19:34:49.6169923Z e8c73c638ae9: Waiting
2023-10-11T19:34:49.6170189Z 1e3d9b7d1452: Waiting
2023-10-11T19:34:49.6170433Z 4aa0ea1413d3: Waiting
2023-10-11T19:34:49.6170698Z 7c881f9ab25e: Waiting
2023-10-11T19:34:49.6170973Z 5627a970d25e: Waiting
2023-10-11T19:34:49.6171230Z d2d6df583c9b: Waiting
2023-10-11T19:34:49.6171471Z 12f906f063dd: Waiting
2023-10-11T19:34:49.8863479Z a7ca0d9ba68f: Download complete
2023-10-11T19:34:49.8901395Z fe5ca62666f0: Verifying Checksum
2023-10-11T19:34:49.8904214Z fe5ca62666f0: Download complete
2023-10-11T19:34:49.9022029Z b02a7525f878: Verifying Checksum
2023-10-11T19:34:49.9022416Z b02a7525f878: Download complete
2023-10-11T19:34:49.9223287Z a7ca0d9ba68f: Pull complete
2023-10-11T19:34:49.9588831Z fe5ca62666f0: Pull complete
2023-10-11T19:34:50.1564638Z e8c73c638ae9: Verifying Checksum
2023-10-11T19:34:50.1567051Z e8c73c638ae9: Download complete
2023-10-11T19:34:50.1582342Z fcb6f6d2c998: Verifying Checksum
2023-10-11T19:34:50.1582723Z fcb6f6d2c998: Download complete
2023-10-11T19:34:50.1815670Z 1e3d9b7d1452: Verifying Checksum
2023-10-11T19:34:50.1816070Z 1e3d9b7d1452: Download complete
2023-10-11T19:34:50.3536552Z b02a7525f878: Pull complete
2023-10-11T19:34:50.3797068Z fcb6f6d2c998: Pull complete
2023-10-11T19:34:50.3976789Z e8c73c638ae9: Pull complete
2023-10-11T19:34:50.4135392Z 1e3d9b7d1452: Pull complete
2023-10-11T19:34:50.4291668Z 4aa0ea1413d3: Verifying Checksum
2023-10-11T19:34:50.4292696Z 4aa0ea1413d3: Download complete
2023-10-11T19:34:50.4366252Z 7c881f9ab25e: Verifying Checksum
2023-10-11T19:34:50.4366631Z 7c881f9ab25e: Download complete
2023-10-11T19:34:50.4457586Z 4aa0ea1413d3: Pull complete
2023-10-11T19:34:50.4661826Z 5627a970d25e: Verifying Checksum
2023-10-11T19:34:50.4664008Z 5627a970d25e: Download complete
2023-10-11T19:34:50.4707502Z 7c881f9ab25e: Pull complete
2023-10-11T19:34:50.4927028Z 5627a970d25e: Pull complete
2023-10-11T19:34:50.9183011Z 12f906f063dd: Verifying Checksum
2023-10-11T19:34:50.9183856Z 12f906f063dd: Download complete
2023-10-11T19:34:50.9581512Z d2d6df583c9b: Verifying Checksum
2023-10-11T19:34:50.9581888Z d2d6df583c9b: Download complete
2023-10-11T19:34:51.8927792Z d2d6df583c9b: Pull complete
2023-10-11T19:34:52.3811386Z 12f906f063dd: Pull complete
2023-10-11T19:34:52.3887510Z Digest: sha256:593f41940b22791204d18eeed8a5ab830c86bd515e7eb2f16f85bb09867df6c5
2023-10-11T19:34:52.3909203Z Status: Downloaded newer image for arigaio/atlas-sync-action:latest
2023-10-11T19:34:52.3932944Z docker.io/arigaio/atlas-sync-action:latest
2023-10-11T19:34:52.3948660Z ##[endgroup]
2023-10-11T19:34:52.3980176Z ##[group]Pull down action image 'arigaio/atlas-deploy-action:latest'
2023-10-11T19:34:52.3980797Z ##[command]/usr/bin/docker pull arigaio/atlas-deploy-action:latest
2023-10-11T19:34:53.5193850Z latest: Pulling from arigaio/atlas-deploy-action
2023-10-11T19:34:53.8211716Z a7ca0d9ba68f: Already exists
2023-10-11T19:34:53.8233299Z fe5ca62666f0: Already exists
2023-10-11T19:34:53.8255757Z b02a7525f878: Already exists
2023-10-11T19:34:53.8280888Z fcb6f6d2c998: Already exists
2023-10-11T19:34:53.8309441Z e8c73c638ae9: Already exists
2023-10-11T19:34:53.8345199Z 1e3d9b7d1452: Already exists
2023-10-11T19:34:53.8403592Z 4aa0ea1413d3: Already exists
2023-10-11T19:34:53.8466250Z 7c881f9ab25e: Already exists
2023-10-11T19:34:53.8491556Z 5627a970d25e: Already exists
2023-10-11T19:34:53.8520104Z f0667c236028: Pulling fs layer
2023-10-11T19:34:53.8520557Z 93f7c56a8f98: Pulling fs layer
2023-10-11T19:34:54.1639799Z 93f7c56a8f98: Verifying Checksum
2023-10-11T19:34:54.1640722Z 93f7c56a8f98: Download complete
2023-10-11T19:34:54.5713014Z f0667c236028: Verifying Checksum
2023-10-11T19:34:54.5714184Z f0667c236028: Download complete
2023-10-11T19:34:55.3027822Z f0667c236028: Pull complete
2023-10-11T19:34:55.4424265Z 93f7c56a8f98: Pull complete
2023-10-11T19:34:55.4490558Z Digest: sha256:407ce7efc7ec21bd782de8f06f53a9c71c1a0fb885e5d9c189883029c5cda14b
2023-10-11T19:34:55.4513303Z Status: Downloaded newer image for arigaio/atlas-deploy-action:latest
2023-10-11T19:34:55.4542220Z docker.io/arigaio/atlas-deploy-action:latest
2023-10-11T19:34:55.4544707Z ##[endgroup]
2023-10-11T19:34:55.4671806Z ##[group]Checking docker version
2023-10-11T19:34:55.4691565Z ##[command]/usr/bin/docker version --format '{{.Server.APIVersion}}'
2023-10-11T19:34:55.4956966Z '1.43'
2023-10-11T19:34:55.4982383Z Docker daemon API version: '1.43'
2023-10-11T19:34:55.4983211Z ##[command]/usr/bin/docker version --format '{{.Client.APIVersion}}'
2023-10-11T19:34:55.5248312Z '1.43'
2023-10-11T19:34:55.5249921Z Docker client API version: '1.43'
2023-10-11T19:34:55.5256597Z ##[endgroup]
2023-10-11T19:34:55.5261066Z ##[group]Clean up resources from previous jobs
2023-10-11T19:34:55.5268466Z ##[command]/usr/bin/docker ps --all --quiet --no-trunc --filter "label=94351b"
2023-10-11T19:34:55.5475261Z ##[command]/usr/bin/docker network prune --force --filter "label=94351b"
2023-10-11T19:34:55.5671827Z ##[endgroup]
2023-10-11T19:34:55.5672185Z ##[group]Create local container network
2023-10-11T19:34:55.5686066Z ##[command]/usr/bin/docker network create --label 94351b github_network_0eb34693deb9496188817d26d3d8f785
2023-10-11T19:34:55.6568376Z 6e8a13b8f19a04bee87802cb66fe01b0dd9528e1b6daad697366fc26150d470d
2023-10-11T19:34:55.6588171Z ##[endgroup]
2023-10-11T19:34:55.6704246Z ##[group]Starting postgres service container
2023-10-11T19:34:55.6722384Z ##[command]/usr/bin/docker pull postgres:15
2023-10-11T19:34:56.7756863Z 15: Pulling from library/postgres
2023-10-11T19:34:57.0393101Z a803e7c4b030: Pulling fs layer
2023-10-11T19:34:57.0393952Z 12dd3b657e91: Pulling fs layer
2023-10-11T19:34:57.0394974Z 147adba297eb: Pulling fs layer
2023-10-11T19:34:57.0395350Z 56ee7c0dd616: Pulling fs layer
2023-10-11T19:34:57.0395665Z f9aacf30f429: Pulling fs layer
2023-10-11T19:34:57.0395962Z 7ad57b8030eb: Pulling fs layer
2023-10-11T19:34:57.0396260Z 786562b3be85: Pulling fs layer
2023-10-11T19:34:57.0396564Z 04efcdd3a2a4: Pulling fs layer
2023-10-11T19:34:57.0396864Z 2c35234636c9: Pulling fs layer
2023-10-11T19:34:57.0397262Z 6e662fa63f18: Pulling fs layer
2023-10-11T19:34:57.0397564Z f1a157d7d7b0: Pulling fs layer
2023-10-11T19:34:57.0397883Z bb153abf3802: Pulling fs layer
2023-10-11T19:34:57.0398182Z 7077e54346e0: Pulling fs layer
2023-10-11T19:34:57.0398465Z 04efcdd3a2a4: Waiting
2023-10-11T19:34:57.0398728Z 2c35234636c9: Waiting
2023-10-11T19:34:57.0398985Z 6e662fa63f18: Waiting
2023-10-11T19:34:57.0399240Z f1a157d7d7b0: Waiting
2023-10-11T19:34:57.0399486Z bb153abf3802: Waiting
2023-10-11T19:34:57.0399736Z 7077e54346e0: Waiting
2023-10-11T19:34:57.0399993Z 56ee7c0dd616: Waiting
2023-10-11T19:34:57.0400251Z 7ad57b8030eb: Waiting
2023-10-11T19:34:57.0400493Z f9aacf30f429: Waiting
2023-10-11T19:34:57.0400747Z 786562b3be85: Waiting
2023-10-11T19:34:57.3004418Z 12dd3b657e91: Verifying Checksum
2023-10-11T19:34:57.3005910Z 12dd3b657e91: Download complete
2023-10-11T19:34:57.3463414Z 147adba297eb: Verifying Checksum
2023-10-11T19:34:57.3469219Z 147adba297eb: Download complete
2023-10-11T19:34:57.5922300Z 56ee7c0dd616: Verifying Checksum
2023-10-11T19:34:57.5926592Z 56ee7c0dd616: Download complete
2023-10-11T19:34:57.6762494Z f9aacf30f429: Verifying Checksum
2023-10-11T19:34:57.6765023Z f9aacf30f429: Download complete
2023-10-11T19:34:57.7001467Z a803e7c4b030: Verifying Checksum
2023-10-11T19:34:57.7003072Z a803e7c4b030: Download complete
2023-10-11T19:34:57.9474749Z 786562b3be85: Verifying Checksum
2023-10-11T19:34:57.9475224Z 786562b3be85: Download complete
2023-10-11T19:34:57.9667338Z 7ad57b8030eb: Verifying Checksum
2023-10-11T19:34:57.9674431Z 7ad57b8030eb: Download complete
2023-10-11T19:34:57.9691866Z 04efcdd3a2a4: Verifying Checksum
2023-10-11T19:34:57.9696903Z 04efcdd3a2a4: Download complete
2023-10-11T19:34:58.2381933Z f1a157d7d7b0: Verifying Checksum
2023-10-11T19:34:58.2382740Z f1a157d7d7b0: Download complete
2023-10-11T19:34:58.2502721Z 6e662fa63f18: Verifying Checksum
2023-10-11T19:34:58.2503145Z 6e662fa63f18: Download complete
2023-10-11T19:34:58.5191136Z bb153abf3802: Verifying Checksum
2023-10-11T19:34:58.5197689Z bb153abf3802: Download complete
2023-10-11T19:34:58.5458465Z 7077e54346e0: Verifying Checksum
2023-10-11T19:34:58.5459978Z 7077e54346e0: Download complete
2023-10-11T19:34:59.0833970Z 2c35234636c9: Verifying Checksum
2023-10-11T19:34:59.0834645Z 2c35234636c9: Download complete
2023-10-11T19:34:59.4794458Z a803e7c4b030: Pull complete
2023-10-11T19:34:59.5479381Z 12dd3b657e91: Pull complete
2023-10-11T19:35:00.1344419Z 147adba297eb: Pull complete
2023-10-11T19:35:00.3363717Z 56ee7c0dd616: Pull complete
2023-10-11T19:35:00.8057120Z f9aacf30f429: Pull complete
2023-10-11T19:35:00.8878982Z 7ad57b8030eb: Pull complete
2023-10-11T19:35:00.9073499Z 786562b3be85: Pull complete
2023-10-11T19:35:00.9251825Z 04efcdd3a2a4: Pull complete
2023-10-11T19:35:05.8465339Z 2c35234636c9: Pull complete
2023-10-11T19:35:05.8708732Z 6e662fa63f18: Pull complete
2023-10-11T19:35:05.8913473Z f1a157d7d7b0: Pull complete
2023-10-11T19:35:05.9094103Z bb153abf3802: Pull complete
2023-10-11T19:35:05.9232380Z 7077e54346e0: Pull complete
2023-10-11T19:35:05.9290310Z Digest: sha256:33c234a3fa0147070cd8697cddac925e543a218e5a2fc92758f6d5296eef3d22
2023-10-11T19:35:05.9316808Z Status: Downloaded newer image for postgres:15
2023-10-11T19:35:05.9340174Z docker.io/library/postgres:15
2023-10-11T19:35:05.9483753Z ##[command]/usr/bin/docker create --name e264b5bd3f7b4905b29366840b83c4d7_postgres15_97143f --label 94351b --network github_network_0eb34693deb9496188817d26d3d8f785 --network-alias postgres -p 5432:5432 --health-cmd pg_isready --health-interval 10s --health-start-period 10s --health-timeout 5s --health-retries 5 -e "POSTGRES_DB=dev" -e "POSTGRES_PASSWORD=pass" -e GITHUB_ACTIONS=true -e CI=true postgres:15
2023-10-11T19:35:05.9824281Z da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:05.9853758Z ##[command]/usr/bin/docker start da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:06.3965011Z da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:06.3985317Z ##[command]/usr/bin/docker ps --all --filter id=da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215 --filter status=running --no-trunc --format "{{.ID}} {{.Status}}"
2023-10-11T19:35:06.4168345Z da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215 Up Less than a second (health: starting)
2023-10-11T19:35:06.4195912Z ##[command]/usr/bin/docker port da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:06.4416237Z 5432/tcp -> 0.0.0.0:5432
2023-10-11T19:35:06.4417358Z 5432/tcp -> [::]:5432
2023-10-11T19:35:06.4573145Z ##[endgroup]
2023-10-11T19:35:06.4610765Z ##[group]Waiting for all services to be ready
2023-10-11T19:35:06.4670403Z ##[command]/usr/bin/docker inspect --format="{{if .Config.Healthcheck}}{{print .State.Health.Status}}{{end}}" da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:06.4879135Z starting
2023-10-11T19:35:06.4976416Z postgres service is starting, waiting 2 seconds before checking again.
2023-10-11T19:35:08.4973358Z ##[command]/usr/bin/docker inspect --format="{{if .Config.Healthcheck}}{{print .State.Health.Status}}{{end}}" da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:08.5187842Z starting
2023-10-11T19:35:08.5204060Z postgres service is starting, waiting 3 seconds before checking again.
2023-10-11T19:35:12.2611024Z ##[command]/usr/bin/docker inspect --format="{{if .Config.Healthcheck}}{{print .State.Health.Status}}{{end}}" da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:12.2815451Z starting
2023-10-11T19:35:12.2832046Z postgres service is starting, waiting 8 seconds before checking again.
2023-10-11T19:35:20.3773967Z ##[command]/usr/bin/docker inspect --format="{{if .Config.Healthcheck}}{{print .State.Health.Status}}{{end}}" da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:20.3968540Z healthy
2023-10-11T19:35:20.3990402Z postgres service is healthy.
2023-10-11T19:35:20.3990949Z ##[endgroup]
2023-10-11T19:35:20.4674691Z ##[group]Run actions/checkout@v3
2023-10-11T19:35:20.4675037Z with:
2023-10-11T19:35:20.4675331Z   repository: Transformity/pos-db
2023-10-11T19:35:20.4675955Z   token: ***
2023-10-11T19:35:20.4676226Z   ssh-strict: true
2023-10-11T19:35:20.4676546Z   persist-credentials: true
2023-10-11T19:35:20.4676850Z   clean: true
2023-10-11T19:35:20.4677140Z   sparse-checkout-cone-mode: true
2023-10-11T19:35:20.4677451Z   fetch-depth: 1
2023-10-11T19:35:20.4677723Z   fetch-tags: false
2023-10-11T19:35:20.4677986Z   lfs: false
2023-10-11T19:35:20.4678229Z   submodules: false
2023-10-11T19:35:20.4678521Z   set-safe-directory: true
2023-10-11T19:35:20.4678795Z env:
2023-10-11T19:35:20.4679049Z   AWS_REGION: us-east-1
2023-10-11T19:35:20.4679309Z ##[endgroup]
2023-10-11T19:35:20.8370427Z Syncing repository: Transformity/pos-db
2023-10-11T19:35:20.8372489Z ##[group]Getting Git version info
2023-10-11T19:35:20.8373083Z Working directory is '/home/runner/work/pos-db/pos-db'
2023-10-11T19:35:20.8373845Z [command]/usr/bin/git version
2023-10-11T19:35:20.8518130Z git version 2.42.0
2023-10-11T19:35:20.8556654Z ##[endgroup]
2023-10-11T19:35:20.8580304Z Temporarily overriding HOME='/home/runner/work/_temp/7cbd2054-37b3-4f52-b94b-b6c0a5efe841' before making global git config changes
2023-10-11T19:35:20.8581226Z Adding repository directory to the temporary git global config as a safe directory
2023-10-11T19:35:20.8581908Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/pos-db/pos-db
2023-10-11T19:35:20.8635752Z Deleting the contents of '/home/runner/work/pos-db/pos-db'
2023-10-11T19:35:20.8641600Z ##[group]Initializing the repository
2023-10-11T19:35:20.8646388Z [command]/usr/bin/git init /home/runner/work/pos-db/pos-db
2023-10-11T19:35:20.8772490Z hint: Using 'master' as the name for the initial branch. This default branch name
2023-10-11T19:35:20.8773726Z hint: is subject to change. To configure the initial branch name to use in all
2023-10-11T19:35:20.8774329Z hint: of your new repositories, which will suppress this warning, call:
2023-10-11T19:35:20.8774700Z hint: 
2023-10-11T19:35:20.8775293Z hint: 	git config --global init.defaultBranch <name>
2023-10-11T19:35:20.8775609Z hint: 
2023-10-11T19:35:20.8776083Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2023-10-11T19:35:20.8776897Z hint: 'development'. The just-created branch can be renamed via this command:
2023-10-11T19:35:20.8777269Z hint: 
2023-10-11T19:35:20.8777581Z hint: 	git branch -m <name>
2023-10-11T19:35:20.8788224Z Initialized empty Git repository in /home/runner/work/pos-db/pos-db/.git/
2023-10-11T19:35:20.8804911Z [command]/usr/bin/git remote add origin https://github.com/Transformity/pos-db
2023-10-11T19:35:20.8865032Z ##[endgroup]
2023-10-11T19:35:20.8865890Z ##[group]Disabling automatic garbage collection
2023-10-11T19:35:20.8871642Z [command]/usr/bin/git config --local gc.auto 0
2023-10-11T19:35:20.8914390Z ##[endgroup]
2023-10-11T19:35:20.8914927Z ##[group]Setting up auth
2023-10-11T19:35:20.8925634Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2023-10-11T19:35:20.8969013Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2023-10-11T19:35:20.9497453Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2023-10-11T19:35:20.9542224Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2023-10-11T19:35:20.9838933Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2023-10-11T19:35:20.9891908Z ##[endgroup]
2023-10-11T19:35:20.9892812Z ##[group]Fetching the repository
2023-10-11T19:35:20.9903989Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +9a8533f125a0a933dea85c4d32b548b853cfbe8c:refs/remotes/origin/main
2023-10-11T19:35:21.4080148Z remote: Enumerating objects: 10, done.        
2023-10-11T19:35:21.4082579Z remote: Counting objects:  10% (1/10)        
2023-10-11T19:35:21.4083256Z remote: Counting objects:  20% (2/10)        
2023-10-11T19:35:21.4083888Z remote: Counting objects:  30% (3/10)        
2023-10-11T19:35:21.4084508Z remote: Counting objects:  40% (4/10)        
2023-10-11T19:35:21.4119160Z remote: Counting objects:  50% (5/10)        
2023-10-11T19:35:21.4119607Z remote: Counting objects:  60% (6/10)        
2023-10-11T19:35:21.4119978Z remote: Counting objects:  70% (7/10)        
2023-10-11T19:35:21.4120338Z remote: Counting objects:  80% (8/10)        
2023-10-11T19:35:21.4120679Z remote: Counting objects:  90% (9/10)        
2023-10-11T19:35:21.4121313Z remote: Counting objects: 100% (10/10)        
2023-10-11T19:35:21.4121719Z remote: Counting objects: 100% (10/10), done.        
2023-10-11T19:35:21.4122116Z remote: Compressing objects:  12% (1/8)        
2023-10-11T19:35:21.4122525Z remote: Compressing objects:  25% (2/8)        
2023-10-11T19:35:21.4122878Z remote: Compressing objects:  37% (3/8)        
2023-10-11T19:35:21.4123609Z remote: Compressing objects:  50% (4/8)        
2023-10-11T19:35:21.4123975Z remote: Compressing objects:  62% (5/8)        
2023-10-11T19:35:21.4124340Z remote: Compressing objects:  75% (6/8)        
2023-10-11T19:35:21.4124687Z remote: Compressing objects:  87% (7/8)        
2023-10-11T19:35:21.4125047Z remote: Compressing objects: 100% (8/8)        
2023-10-11T19:35:21.4125429Z remote: Compressing objects: 100% (8/8), done.        
2023-10-11T19:35:21.4126814Z remote: Total 10 (delta 0), reused 8 (delta 0), pack-reused 0        
2023-10-11T19:35:21.4230869Z From https://github.com/Transformity/pos-db
2023-10-11T19:35:21.4231499Z  * [new ref]         9a8533f125a0a933dea85c4d32b548b853cfbe8c -> origin/main
2023-10-11T19:35:21.4370814Z ##[endgroup]
2023-10-11T19:35:21.4371390Z ##[group]Determining the checkout info
2023-10-11T19:35:21.4371890Z ##[endgroup]
2023-10-11T19:35:21.4372377Z ##[group]Checking out the ref
2023-10-11T19:35:21.4373097Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
2023-10-11T19:35:21.4373602Z Switched to a new branch 'main'
2023-10-11T19:35:21.4374013Z branch 'main' set up to track 'origin/main'.
2023-10-11T19:35:21.4383514Z ##[endgroup]
2023-10-11T19:35:21.4440899Z [command]/usr/bin/git log -1 --format='%H'
2023-10-11T19:35:21.4482233Z '9a8533f125a0a933dea85c4d32b548b853cfbe8c'
2023-10-11T19:35:21.4887869Z ##[group]Run aws-actions/configure-aws-credentials@v4
2023-10-11T19:35:21.4888235Z with:
2023-10-11T19:35:21.4888567Z   role-to-assume: arn:aws:iam::165569969323:role/github-action-role
2023-10-11T19:35:21.4888914Z   aws-region: us-east-1
2023-10-11T19:35:21.4889217Z   audience: sts.amazonaws.com
2023-10-11T19:35:21.4889488Z env:
2023-10-11T19:35:21.4889736Z   AWS_REGION: us-east-1
2023-10-11T19:35:21.4889990Z ##[endgroup]
2023-10-11T19:35:22.2231910Z Assuming role with OIDC
2023-10-11T19:35:22.5777536Z Authenticated as assumedRoleId AROASNDF5HSVTI7UQJVBA:GitHubActions
2023-10-11T19:35:22.7015659Z ##[group]Run secret_value=$(aws secretsmanager get-secret-value --secret-id 'rds!cluster-96cd49c6-1a15-4950-b89f-59fd040a22a6' --query 'SecretString' --output text)
2023-10-11T19:35:22.7016661Z �[36;1msecret_value=$(aws secretsmanager get-secret-value --secret-id 'rds!cluster-96cd49c6-1a15-4950-b89f-59fd040a22a6' --query 'SecretString' --output text)�[0m
2023-10-11T19:35:22.7017389Z �[36;1mpassword=$(echo $secret_value | jq -r '.password' | jq "@uri" -jRr)�[0m
2023-10-11T19:35:22.7018620Z �[36;1mdb_secret=$(echo "***transformity-gamma.cluster-cu3q2lrqndpl.us-east-1.rds.amazonaws.com:5432/transformity_pos")�[0m
2023-10-11T19:35:22.7019294Z �[36;1mecho "secret_value=$password" >> "$GITHUB_ENV"�[0m
2023-10-11T19:35:22.7019713Z �[36;1mecho "db_secret=$db_secret" >> "$GITHUB_ENV"�[0m
2023-10-11T19:35:22.7020058Z �[36;1mecho ""�[0m
2023-10-11T19:35:22.7087996Z shell: /usr/bin/bash -e {0}
2023-10-11T19:35:22.7088336Z env:
2023-10-11T19:35:22.7088631Z   AWS_REGION: us-east-1
2023-10-11T19:35:22.7089034Z   AWS_DEFAULT_REGION: us-east-1
2023-10-11T19:35:22.7089490Z   AWS_ACCESS_KEY_ID: ***
2023-10-11T19:35:22.7089942Z   AWS_SECRET_ACCESS_KEY: ***
2023-10-11T19:35:22.7094245Z   AWS_SESSION_TOKEN: ***
2023-10-11T19:35:22.7094561Z ##[endgroup]
2023-10-11T19:35:24.4913303Z 
2023-10-11T19:35:24.4963772Z ##[group]Run ariga/atlas-sync-action@v0
2023-10-11T19:35:24.4964125Z with:
2023-10-11T19:35:24.4964401Z   dir: migrations
2023-10-11T19:35:24.4964701Z   name: app
2023-10-11T19:35:24.4965314Z   dev-url: ***postgres:5432/dev?search_path=public&sslmode=disable
2023-10-11T19:35:24.4965973Z   cloud-token: ***
2023-10-11T19:35:24.4966247Z env:
2023-10-11T19:35:24.4966523Z   AWS_REGION: us-east-1
2023-10-11T19:35:24.4966848Z   AWS_DEFAULT_REGION: us-east-1
2023-10-11T19:35:24.4967227Z   AWS_ACCESS_KEY_ID: ***
2023-10-11T19:35:24.4967674Z   AWS_SECRET_ACCESS_KEY: ***
2023-10-11T19:35:24.4971991Z   AWS_SESSION_TOKEN: ***
2023-10-11T19:35:24.4972378Z   secret_value: P7i~XMZF%7BFCZ%248RauN%3Ev%24RIk87PJ
2023-10-11T19:35:24.4973253Z   db_secret: ***transformity-gamma.cluster-cu3q2lrqndpl.us-east-1.rds.amazonaws.com:5432/transformity_pos
2023-10-11T19:35:24.4974062Z ##[endgroup]
2023-10-11T19:35:24.5221338Z ##[command]/usr/bin/docker run --name arigaioatlassyncactionlatest_efce59 --label 94351b --workdir /github/workspace --rm -e "AWS_REGION" -e "AWS_DEFAULT_REGION" -e "AWS_ACCESS_KEY_ID" -e "AWS_SECRET_ACCESS_KEY" -e "AWS_SESSION_TOKEN" -e "secret_value" -e "db_secret" -e "INPUT_DIR" -e "INPUT_NAME" -e "INPUT_DEV-URL" -e "INPUT_CLOUD-TOKEN" -e "INPUT_TAG" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_ID_TOKEN_REQUEST_URL" -e "ACTIONS_ID_TOKEN_REQUEST_TOKEN" -e GITHUB_ACTIONS=true -e CI=true --network github_network_0eb34693deb9496188817d26d3d8f785 -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/pos-db/pos-db":"/github/workspace" arigaio/atlas-sync-action:latest
2023-10-11T19:35:25.7958504Z ##[error]failed to push directory: atlasexec: executing statement: pq: schema "atlas_schema_revisions" already exists
2023-10-11T19:35:25.9273529Z Post job cleanup.
2023-10-11T19:35:26.0749061Z Post job cleanup.
2023-10-11T19:35:26.2163260Z [command]/usr/bin/git version
2023-10-11T19:35:26.2239988Z git version 2.42.0
2023-10-11T19:35:26.2316791Z Temporarily overriding HOME='/home/runner/work/_temp/bfeacfcb-b561-4f39-949d-db0e0465603b' before making global git config changes
2023-10-11T19:35:26.2326192Z Adding repository directory to the temporary git global config as a safe directory
2023-10-11T19:35:26.2337258Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/pos-db/pos-db
2023-10-11T19:35:26.2404382Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2023-10-11T19:35:26.2472466Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2023-10-11T19:35:26.2837114Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2023-10-11T19:35:26.2870829Z http.https://github.com/.extraheader
2023-10-11T19:35:26.2889311Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2023-10-11T19:35:26.2942857Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2023-10-11T19:35:26.3423845Z Print service container logs: e264b5bd3f7b4905b29366840b83c4d7_postgres15_97143f
2023-10-11T19:35:26.3430327Z ##[command]/usr/bin/docker logs --details da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:26.3656218Z  The files belonging to this database system will be owned by user "postgres".
2023-10-11T19:35:26.3658876Z  initdb: warning: enabling "trust" authentication for local connections
2023-10-11T19:35:26.3660993Z  initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
2023-10-11T19:35:26.3661602Z  This user must also own the server process.
2023-10-11T19:35:26.3662743Z  2023-10-11 19:35:07.714 UTC [1] LOG:  starting PostgreSQL 15.4 (Debian 15.4-2.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2023-10-11T19:35:26.3663409Z  2023-10-11 19:35:07.715 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2023-10-11T19:35:26.3664007Z  2023-10-11 19:35:07.715 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2023-10-11T19:35:26.3664616Z  2023-10-11 19:35:07.717 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-10-11T19:35:26.3665177Z  2023-10-11 19:35:07.721 UTC [64] LOG:  database system was shut down at 2023-10-11 19:35:07 UTC
2023-10-11T19:35:26.3665701Z  2023-10-11 19:35:07.727 UTC [1] LOG:  database system is ready to accept connections
2023-10-11T19:35:26.3666193Z  2023-10-11 19:35:16.521 UTC [75] FATAL:  role "root" does not exist
2023-10-11T19:35:26.3666681Z  2023-10-11 19:35:25.773 UTC [77] ERROR:  schema "atlas_schema_revisions" already exists
2023-10-11T19:35:26.3667212Z  2023-10-11 19:35:25.773 UTC [77] STATEMENT:  CREATE SCHEMA "atlas_schema_revisions";
2023-10-11T19:35:26.3667601Z  
2023-10-11T19:35:26.3667982Z  The database cluster will be initialized with locale "en_US.utf8".
2023-10-11T19:35:26.3668544Z  The default database encoding has accordingly been set to "UTF8".
2023-10-11T19:35:26.3669066Z  The default text search configuration will be set to "english".
2023-10-11T19:35:26.3669447Z  
2023-10-11T19:35:26.3669751Z  Data page checksums are disabled.
2023-10-11T19:35:26.3670085Z  
2023-10-11T19:35:26.3670477Z  fixing permissions on existing directory /var/lib/postgresql/data ... ok
2023-10-11T19:35:26.3670927Z  creating subdirectories ... ok
2023-10-11T19:35:26.3671357Z  selecting dynamic shared memory implementation ... posix
2023-10-11T19:35:26.3671810Z  selecting default max_connections ... 100
2023-10-11T19:35:26.3672216Z  selecting default shared_buffers ... 128MB
2023-10-11T19:35:26.3672610Z  selecting default time zone ... Etc/UTC
2023-10-11T19:35:26.3672993Z  creating configuration files ... ok
2023-10-11T19:35:26.3673369Z  running bootstrap script ... ok
2023-10-11T19:35:26.3673793Z  performing post-bootstrap initialization ... ok
2023-10-11T19:35:26.3674190Z  syncing data to disk ... ok
2023-10-11T19:35:26.3674534Z  
2023-10-11T19:35:26.3674782Z  
2023-10-11T19:35:26.3675139Z  Success. You can now start the database server using:
2023-10-11T19:35:26.3675504Z  
2023-10-11T19:35:26.3675849Z      pg_ctl -D /var/lib/postgresql/data -l logfile start
2023-10-11T19:35:26.3676590Z  
2023-10-11T19:35:26.3677428Z  waiting for server to start....2023-10-11 19:35:07.364 UTC [48] LOG:  starting PostgreSQL 15.4 (Debian 15.4-2.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2023-10-11T19:35:26.3678242Z  2023-10-11 19:35:07.366 UTC [48] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-10-11T19:35:26.3678972Z  2023-10-11 19:35:07.370 UTC [51] LOG:  database system was shut down at 2023-10-11 19:35:07 UTC
2023-10-11T19:35:26.3679592Z  2023-10-11 19:35:07.375 UTC [48] LOG:  database system is ready to accept connections
2023-10-11T19:35:26.3680122Z   done
2023-10-11T19:35:26.3680724Z  server started
2023-10-11T19:35:26.3681441Z  CREATE DATABASE
2023-10-11T19:35:26.3681805Z  
2023-10-11T19:35:26.3682135Z  
2023-10-11T19:35:26.3683148Z  /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
2023-10-11T19:35:26.3683669Z  
2023-10-11T19:35:26.3684102Z  2023-10-11 19:35:07.583 UTC [48] LOG:  received fast shutdown request
2023-10-11T19:35:26.3684729Z  waiting for server to shut down....2023-10-11 19:35:07.584 UTC [48] LOG:  aborting any active transactions
2023-10-11T19:35:26.3685611Z  2023-10-11 19:35:07.586 UTC [48] LOG:  background worker "logical replication launcher" (PID 54) exited with exit code 1
2023-10-11T19:35:26.3686383Z  2023-10-11 19:35:07.588 UTC [49] LOG:  shutting down
2023-10-11T19:35:26.3686914Z  2023-10-11 19:35:07.590 UTC [49] LOG:  checkpoint starting: shutdown immediate
2023-10-11T19:35:26.3687874Z  2023-10-11 19:35:07.622 UTC [49] LOG:  checkpoint complete: wrote 918 buffers (5.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.019 s, sync=0.010 s, total=0.034 s; sync files=301, longest=0.009 s, average=0.001 s; distance=4223 kB, estimate=4223 kB
2023-10-11T19:35:26.3688705Z  2023-10-11 19:35:07.629 UTC [48] LOG:  database system is shut down
2023-10-11T19:35:26.3689142Z   done
2023-10-11T19:35:26.3689517Z  server stopped
2023-10-11T19:35:26.3689991Z  
2023-10-11T19:35:26.3690502Z  PostgreSQL init process complete; ready for start up.
2023-10-11T19:35:26.3690957Z  
2023-10-11T19:35:26.3700515Z Stop and remove container: e264b5bd3f7b4905b29366840b83c4d7_postgres15_97143f
2023-10-11T19:35:26.3708262Z ##[command]/usr/bin/docker rm --force da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:26.5615284Z da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:26.5650752Z Remove container network: github_network_0eb34693deb9496188817d26d3d8f785
2023-10-11T19:35:26.5657851Z ##[command]/usr/bin/docker network rm github_network_0eb34693deb9496188817d26d3d8f785
2023-10-11T19:35:26.7719440Z github_network_0eb34693deb9496188817d26d3d8f785
2023-10-11T19:35:26.7937965Z Cleaning up orphan processes
```2023-10-11T19:34:37.3752751Z Requested labels: ubuntu-latest
2023-10-11T19:34:37.3753064Z Job defined at: Transformity/pos-db/.github/workflows/ci-atlas.yaml@refs/heads/main
2023-10-11T19:34:37.3753181Z Waiting for a runner to pick up this job...
2023-10-11T19:34:37.7437248Z Job is waiting for a hosted runner to come online.
2023-10-11T19:34:41.6482745Z Job is about to start running on the hosted runner: GitHub Actions 1 (hosted)
2023-10-11T19:34:44.8862497Z Current runner version: '2.309.0'
2023-10-11T19:34:44.8895822Z ##[group]Operating System
2023-10-11T19:34:44.8896515Z Ubuntu
2023-10-11T19:34:44.8896851Z 22.04.3
2023-10-11T19:34:44.8897221Z LTS
2023-10-11T19:34:44.8897630Z ##[endgroup]
2023-10-11T19:34:44.8898165Z ##[group]Runner Image
2023-10-11T19:34:44.8898627Z Image: ubuntu-22.04
2023-10-11T19:34:44.8898991Z Version: 20231001.1.0
2023-10-11T19:34:44.8899653Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20231001.1/images/linux/Ubuntu2204-Readme.md
2023-10-11T19:34:44.8900611Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20231001.1
2023-10-11T19:34:44.8901240Z ##[endgroup]
2023-10-11T19:34:44.8901654Z ##[group]Runner Image Provisioner
2023-10-11T19:34:44.8902091Z 2.0.310.1
2023-10-11T19:34:44.8902465Z ##[endgroup]
2023-10-11T19:34:44.8903423Z ##[group]GITHUB_TOKEN Permissions
2023-10-11T19:34:44.8906141Z Contents: read
2023-10-11T19:34:44.8906557Z Metadata: read
2023-10-11T19:34:44.8907503Z PullRequests: write
2023-10-11T19:34:44.8908036Z ##[endgroup]
2023-10-11T19:34:44.8912501Z Secret source: Actions
2023-10-11T19:34:44.8913337Z Prepare workflow directory
2023-10-11T19:34:45.0242454Z Prepare all required actions
2023-10-11T19:34:45.0481588Z Getting action download info
2023-10-11T19:34:45.4353735Z Download action repository 'actions/checkout@v3' (SHA:f43a0e5ff2bd294095638e18286ca9a3d1956744)
2023-10-11T19:34:46.1122213Z Download action repository 'aws-actions/configure-aws-credentials@v4' (SHA:010d0da01d0b5a38af31e9c3470dbfdabdecca3a)
2023-10-11T19:34:46.6589938Z Download action repository 'ariga/atlas-sync-action@v0' (SHA:6f531e46b7c7eb120a5252e45ac649c6c585a777)
2023-10-11T19:34:47.1326217Z Download action repository 'ariga/atlas-deploy-action@v0' (SHA:d15abdf18a253c896d6afd707b671182a1b8ccbe)
2023-10-11T19:34:47.7671860Z Complete job name: sync
2023-10-11T19:34:47.8462835Z ##[group]Pull down action image 'arigaio/atlas-sync-action:latest'
2023-10-11T19:34:47.8482587Z ##[command]/usr/bin/docker pull arigaio/atlas-sync-action:latest
2023-10-11T19:34:49.3011909Z latest: Pulling from arigaio/atlas-sync-action
2023-10-11T19:34:49.6153207Z a7ca0d9ba68f: Pulling fs layer
2023-10-11T19:34:49.6154008Z fe5ca62666f0: Pulling fs layer
2023-10-11T19:34:49.6154752Z b02a7525f878: Pulling fs layer
2023-10-11T19:34:49.6156255Z fcb6f6d2c998: Pulling fs layer
2023-10-11T19:34:49.6156843Z e8c73c638ae9: Pulling fs layer
2023-10-11T19:34:49.6157307Z 1e3d9b7d1452: Pulling fs layer
2023-10-11T19:34:49.6164063Z 4aa0ea1413d3: Pulling fs layer
2023-10-11T19:34:49.6167660Z 7c881f9ab25e: Pulling fs layer
2023-10-11T19:34:49.6168584Z 5627a970d25e: Pulling fs layer
2023-10-11T19:34:49.6168969Z d2d6df583c9b: Pulling fs layer
2023-10-11T19:34:49.6169285Z 12f906f063dd: Pulling fs layer
2023-10-11T19:34:49.6169574Z fcb6f6d2c998: Waiting
2023-10-11T19:34:49.6169923Z e8c73c638ae9: Waiting
2023-10-11T19:34:49.6170189Z 1e3d9b7d1452: Waiting
2023-10-11T19:34:49.6170433Z 4aa0ea1413d3: Waiting
2023-10-11T19:34:49.6170698Z 7c881f9ab25e: Waiting
2023-10-11T19:34:49.6170973Z 5627a970d25e: Waiting
2023-10-11T19:34:49.6171230Z d2d6df583c9b: Waiting
2023-10-11T19:34:49.6171471Z 12f906f063dd: Waiting
2023-10-11T19:34:49.8863479Z a7ca0d9ba68f: Download complete
2023-10-11T19:34:49.8901395Z fe5ca62666f0: Verifying Checksum
2023-10-11T19:34:49.8904214Z fe5ca62666f0: Download complete
2023-10-11T19:34:49.9022029Z b02a7525f878: Verifying Checksum
2023-10-11T19:34:49.9022416Z b02a7525f878: Download complete
2023-10-11T19:34:49.9223287Z a7ca0d9ba68f: Pull complete
2023-10-11T19:34:49.9588831Z fe5ca62666f0: Pull complete
2023-10-11T19:34:50.1564638Z e8c73c638ae9: Verifying Checksum
2023-10-11T19:34:50.1567051Z e8c73c638ae9: Download complete
2023-10-11T19:34:50.1582342Z fcb6f6d2c998: Verifying Checksum
2023-10-11T19:34:50.1582723Z fcb6f6d2c998: Download complete
2023-10-11T19:34:50.1815670Z 1e3d9b7d1452: Verifying Checksum
2023-10-11T19:34:50.1816070Z 1e3d9b7d1452: Download complete
2023-10-11T19:34:50.3536552Z b02a7525f878: Pull complete
2023-10-11T19:34:50.3797068Z fcb6f6d2c998: Pull complete
2023-10-11T19:34:50.3976789Z e8c73c638ae9: Pull complete
2023-10-11T19:34:50.4135392Z 1e3d9b7d1452: Pull complete
2023-10-11T19:34:50.4291668Z 4aa0ea1413d3: Verifying Checksum
2023-10-11T19:34:50.4292696Z 4aa0ea1413d3: Download complete
2023-10-11T19:34:50.4366252Z 7c881f9ab25e: Verifying Checksum
2023-10-11T19:34:50.4366631Z 7c881f9ab25e: Download complete
2023-10-11T19:34:50.4457586Z 4aa0ea1413d3: Pull complete
2023-10-11T19:34:50.4661826Z 5627a970d25e: Verifying Checksum
2023-10-11T19:34:50.4664008Z 5627a970d25e: Download complete
2023-10-11T19:34:50.4707502Z 7c881f9ab25e: Pull complete
2023-10-11T19:34:50.4927028Z 5627a970d25e: Pull complete
2023-10-11T19:34:50.9183011Z 12f906f063dd: Verifying Checksum
2023-10-11T19:34:50.9183856Z 12f906f063dd: Download complete
2023-10-11T19:34:50.9581512Z d2d6df583c9b: Verifying Checksum
2023-10-11T19:34:50.9581888Z d2d6df583c9b: Download complete
2023-10-11T19:34:51.8927792Z d2d6df583c9b: Pull complete
2023-10-11T19:34:52.3811386Z 12f906f063dd: Pull complete
2023-10-11T19:34:52.3887510Z Digest: sha256:593f41940b22791204d18eeed8a5ab830c86bd515e7eb2f16f85bb09867df6c5
2023-10-11T19:34:52.3909203Z Status: Downloaded newer image for arigaio/atlas-sync-action:latest
2023-10-11T19:34:52.3932944Z docker.io/arigaio/atlas-sync-action:latest
2023-10-11T19:34:52.3948660Z ##[endgroup]
2023-10-11T19:34:52.3980176Z ##[group]Pull down action image 'arigaio/atlas-deploy-action:latest'
2023-10-11T19:34:52.3980797Z ##[command]/usr/bin/docker pull arigaio/atlas-deploy-action:latest
2023-10-11T19:34:53.5193850Z latest: Pulling from arigaio/atlas-deploy-action
2023-10-11T19:34:53.8211716Z a7ca0d9ba68f: Already exists
2023-10-11T19:34:53.8233299Z fe5ca62666f0: Already exists
2023-10-11T19:34:53.8255757Z b02a7525f878: Already exists
2023-10-11T19:34:53.8280888Z fcb6f6d2c998: Already exists
2023-10-11T19:34:53.8309441Z e8c73c638ae9: Already exists
2023-10-11T19:34:53.8345199Z 1e3d9b7d1452: Already exists
2023-10-11T19:34:53.8403592Z 4aa0ea1413d3: Already exists
2023-10-11T19:34:53.8466250Z 7c881f9ab25e: Already exists
2023-10-11T19:34:53.8491556Z 5627a970d25e: Already exists
2023-10-11T19:34:53.8520104Z f0667c236028: Pulling fs layer
2023-10-11T19:34:53.8520557Z 93f7c56a8f98: Pulling fs layer
2023-10-11T19:34:54.1639799Z 93f7c56a8f98: Verifying Checksum
2023-10-11T19:34:54.1640722Z 93f7c56a8f98: Download complete
2023-10-11T19:34:54.5713014Z f0667c236028: Verifying Checksum
2023-10-11T19:34:54.5714184Z f0667c236028: Download complete
2023-10-11T19:34:55.3027822Z f0667c236028: Pull complete
2023-10-11T19:34:55.4424265Z 93f7c56a8f98: Pull complete
2023-10-11T19:34:55.4490558Z Digest: sha256:407ce7efc7ec21bd782de8f06f53a9c71c1a0fb885e5d9c189883029c5cda14b
2023-10-11T19:34:55.4513303Z Status: Downloaded newer image for arigaio/atlas-deploy-action:latest
2023-10-11T19:34:55.4542220Z docker.io/arigaio/atlas-deploy-action:latest
2023-10-11T19:34:55.4544707Z ##[endgroup]
2023-10-11T19:34:55.4671806Z ##[group]Checking docker version
2023-10-11T19:34:55.4691565Z ##[command]/usr/bin/docker version --format '{{.Server.APIVersion}}'
2023-10-11T19:34:55.4956966Z '1.43'
2023-10-11T19:34:55.4982383Z Docker daemon API version: '1.43'
2023-10-11T19:34:55.4983211Z ##[command]/usr/bin/docker version --format '{{.Client.APIVersion}}'
2023-10-11T19:34:55.5248312Z '1.43'
2023-10-11T19:34:55.5249921Z Docker client API version: '1.43'
2023-10-11T19:34:55.5256597Z ##[endgroup]
2023-10-11T19:34:55.5261066Z ##[group]Clean up resources from previous jobs
2023-10-11T19:34:55.5268466Z ##[command]/usr/bin/docker ps --all --quiet --no-trunc --filter "label=94351b"
2023-10-11T19:34:55.5475261Z ##[command]/usr/bin/docker network prune --force --filter "label=94351b"
2023-10-11T19:34:55.5671827Z ##[endgroup]
2023-10-11T19:34:55.5672185Z ##[group]Create local container network
2023-10-11T19:34:55.5686066Z ##[command]/usr/bin/docker network create --label 94351b github_network_0eb34693deb9496188817d26d3d8f785
2023-10-11T19:34:55.6568376Z 6e8a13b8f19a04bee87802cb66fe01b0dd9528e1b6daad697366fc26150d470d
2023-10-11T19:34:55.6588171Z ##[endgroup]
2023-10-11T19:34:55.6704246Z ##[group]Starting postgres service container
2023-10-11T19:34:55.6722384Z ##[command]/usr/bin/docker pull postgres:15
2023-10-11T19:34:56.7756863Z 15: Pulling from library/postgres
2023-10-11T19:34:57.0393101Z a803e7c4b030: Pulling fs layer
2023-10-11T19:34:57.0393952Z 12dd3b657e91: Pulling fs layer
2023-10-11T19:34:57.0394974Z 147adba297eb: Pulling fs layer
2023-10-11T19:34:57.0395350Z 56ee7c0dd616: Pulling fs layer
2023-10-11T19:34:57.0395665Z f9aacf30f429: Pulling fs layer
2023-10-11T19:34:57.0395962Z 7ad57b8030eb: Pulling fs layer
2023-10-11T19:34:57.0396260Z 786562b3be85: Pulling fs layer
2023-10-11T19:34:57.0396564Z 04efcdd3a2a4: Pulling fs layer
2023-10-11T19:34:57.0396864Z 2c35234636c9: Pulling fs layer
2023-10-11T19:34:57.0397262Z 6e662fa63f18: Pulling fs layer
2023-10-11T19:34:57.0397564Z f1a157d7d7b0: Pulling fs layer
2023-10-11T19:34:57.0397883Z bb153abf3802: Pulling fs layer
2023-10-11T19:34:57.0398182Z 7077e54346e0: Pulling fs layer
2023-10-11T19:34:57.0398465Z 04efcdd3a2a4: Waiting
2023-10-11T19:34:57.0398728Z 2c35234636c9: Waiting
2023-10-11T19:34:57.0398985Z 6e662fa63f18: Waiting
2023-10-11T19:34:57.0399240Z f1a157d7d7b0: Waiting
2023-10-11T19:34:57.0399486Z bb153abf3802: Waiting
2023-10-11T19:34:57.0399736Z 7077e54346e0: Waiting
2023-10-11T19:34:57.0399993Z 56ee7c0dd616: Waiting
2023-10-11T19:34:57.0400251Z 7ad57b8030eb: Waiting
2023-10-11T19:34:57.0400493Z f9aacf30f429: Waiting
2023-10-11T19:34:57.0400747Z 786562b3be85: Waiting
2023-10-11T19:34:57.3004418Z 12dd3b657e91: Verifying Checksum
2023-10-11T19:34:57.3005910Z 12dd3b657e91: Download complete
2023-10-11T19:34:57.3463414Z 147adba297eb: Verifying Checksum
2023-10-11T19:34:57.3469219Z 147adba297eb: Download complete
2023-10-11T19:34:57.5922300Z 56ee7c0dd616: Verifying Checksum
2023-10-11T19:34:57.5926592Z 56ee7c0dd616: Download complete
2023-10-11T19:34:57.6762494Z f9aacf30f429: Verifying Checksum
2023-10-11T19:34:57.6765023Z f9aacf30f429: Download complete
2023-10-11T19:34:57.7001467Z a803e7c4b030: Verifying Checksum
2023-10-11T19:34:57.7003072Z a803e7c4b030: Download complete
2023-10-11T19:34:57.9474749Z 786562b3be85: Verifying Checksum
2023-10-11T19:34:57.9475224Z 786562b3be85: Download complete
2023-10-11T19:34:57.9667338Z 7ad57b8030eb: Verifying Checksum
2023-10-11T19:34:57.9674431Z 7ad57b8030eb: Download complete
2023-10-11T19:34:57.9691866Z 04efcdd3a2a4: Verifying Checksum
2023-10-11T19:34:57.9696903Z 04efcdd3a2a4: Download complete
2023-10-11T19:34:58.2381933Z f1a157d7d7b0: Verifying Checksum
2023-10-11T19:34:58.2382740Z f1a157d7d7b0: Download complete
2023-10-11T19:34:58.2502721Z 6e662fa63f18: Verifying Checksum
2023-10-11T19:34:58.2503145Z 6e662fa63f18: Download complete
2023-10-11T19:34:58.5191136Z bb153abf3802: Verifying Checksum
2023-10-11T19:34:58.5197689Z bb153abf3802: Download complete
2023-10-11T19:34:58.5458465Z 7077e54346e0: Verifying Checksum
2023-10-11T19:34:58.5459978Z 7077e54346e0: Download complete
2023-10-11T19:34:59.0833970Z 2c35234636c9: Verifying Checksum
2023-10-11T19:34:59.0834645Z 2c35234636c9: Download complete
2023-10-11T19:34:59.4794458Z a803e7c4b030: Pull complete
2023-10-11T19:34:59.5479381Z 12dd3b657e91: Pull complete
2023-10-11T19:35:00.1344419Z 147adba297eb: Pull complete
2023-10-11T19:35:00.3363717Z 56ee7c0dd616: Pull complete
2023-10-11T19:35:00.8057120Z f9aacf30f429: Pull complete
2023-10-11T19:35:00.8878982Z 7ad57b8030eb: Pull complete
2023-10-11T19:35:00.9073499Z 786562b3be85: Pull complete
2023-10-11T19:35:00.9251825Z 04efcdd3a2a4: Pull complete
2023-10-11T19:35:05.8465339Z 2c35234636c9: Pull complete
2023-10-11T19:35:05.8708732Z 6e662fa63f18: Pull complete
2023-10-11T19:35:05.8913473Z f1a157d7d7b0: Pull complete
2023-10-11T19:35:05.9094103Z bb153abf3802: Pull complete
2023-10-11T19:35:05.9232380Z 7077e54346e0: Pull complete
2023-10-11T19:35:05.9290310Z Digest: sha256:33c234a3fa0147070cd8697cddac925e543a218e5a2fc92758f6d5296eef3d22
2023-10-11T19:35:05.9316808Z Status: Downloaded newer image for postgres:15
2023-10-11T19:35:05.9340174Z docker.io/library/postgres:15
2023-10-11T19:35:05.9483753Z ##[command]/usr/bin/docker create --name e264b5bd3f7b4905b29366840b83c4d7_postgres15_97143f --label 94351b --network github_network_0eb34693deb9496188817d26d3d8f785 --network-alias postgres -p 5432:5432 --health-cmd pg_isready --health-interval 10s --health-start-period 10s --health-timeout 5s --health-retries 5 -e "POSTGRES_DB=dev" -e "POSTGRES_PASSWORD=pass" -e GITHUB_ACTIONS=true -e CI=true postgres:15
2023-10-11T19:35:05.9824281Z da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:05.9853758Z ##[command]/usr/bin/docker start da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:06.3965011Z da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:06.3985317Z ##[command]/usr/bin/docker ps --all --filter id=da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215 --filter status=running --no-trunc --format "{{.ID}} {{.Status}}"
2023-10-11T19:35:06.4168345Z da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215 Up Less than a second (health: starting)
2023-10-11T19:35:06.4195912Z ##[command]/usr/bin/docker port da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:06.4416237Z 5432/tcp -> 0.0.0.0:5432
2023-10-11T19:35:06.4417358Z 5432/tcp -> [::]:5432
2023-10-11T19:35:06.4573145Z ##[endgroup]
2023-10-11T19:35:06.4610765Z ##[group]Waiting for all services to be ready
2023-10-11T19:35:06.4670403Z ##[command]/usr/bin/docker inspect --format="{{if .Config.Healthcheck}}{{print .State.Health.Status}}{{end}}" da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:06.4879135Z starting
2023-10-11T19:35:06.4976416Z postgres service is starting, waiting 2 seconds before checking again.
2023-10-11T19:35:08.4973358Z ##[command]/usr/bin/docker inspect --format="{{if .Config.Healthcheck}}{{print .State.Health.Status}}{{end}}" da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:08.5187842Z starting
2023-10-11T19:35:08.5204060Z postgres service is starting, waiting 3 seconds before checking again.
2023-10-11T19:35:12.2611024Z ##[command]/usr/bin/docker inspect --format="{{if .Config.Healthcheck}}{{print .State.Health.Status}}{{end}}" da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:12.2815451Z starting
2023-10-11T19:35:12.2832046Z postgres service is starting, waiting 8 seconds before checking again.
2023-10-11T19:35:20.3773967Z ##[command]/usr/bin/docker inspect --format="{{if .Config.Healthcheck}}{{print .State.Health.Status}}{{end}}" da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:20.3968540Z healthy
2023-10-11T19:35:20.3990402Z postgres service is healthy.
2023-10-11T19:35:20.3990949Z ##[endgroup]
2023-10-11T19:35:20.4674691Z ##[group]Run actions/checkout@v3
2023-10-11T19:35:20.4675037Z with:
2023-10-11T19:35:20.4675331Z   repository: Transformity/pos-db
2023-10-11T19:35:20.4675955Z   token: ***
2023-10-11T19:35:20.4676226Z   ssh-strict: true
2023-10-11T19:35:20.4676546Z   persist-credentials: true
2023-10-11T19:35:20.4676850Z   clean: true
2023-10-11T19:35:20.4677140Z   sparse-checkout-cone-mode: true
2023-10-11T19:35:20.4677451Z   fetch-depth: 1
2023-10-11T19:35:20.4677723Z   fetch-tags: false
2023-10-11T19:35:20.4677986Z   lfs: false
2023-10-11T19:35:20.4678229Z   submodules: false
2023-10-11T19:35:20.4678521Z   set-safe-directory: true
2023-10-11T19:35:20.4678795Z env:
2023-10-11T19:35:20.4679049Z   AWS_REGION: us-east-1
2023-10-11T19:35:20.4679309Z ##[endgroup]
2023-10-11T19:35:20.8370427Z Syncing repository: Transformity/pos-db
2023-10-11T19:35:20.8372489Z ##[group]Getting Git version info
2023-10-11T19:35:20.8373083Z Working directory is '/home/runner/work/pos-db/pos-db'
2023-10-11T19:35:20.8373845Z [command]/usr/bin/git version
2023-10-11T19:35:20.8518130Z git version 2.42.0
2023-10-11T19:35:20.8556654Z ##[endgroup]
2023-10-11T19:35:20.8580304Z Temporarily overriding HOME='/home/runner/work/_temp/7cbd2054-37b3-4f52-b94b-b6c0a5efe841' before making global git config changes
2023-10-11T19:35:20.8581226Z Adding repository directory to the temporary git global config as a safe directory
2023-10-11T19:35:20.8581908Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/pos-db/pos-db
2023-10-11T19:35:20.8635752Z Deleting the contents of '/home/runner/work/pos-db/pos-db'
2023-10-11T19:35:20.8641600Z ##[group]Initializing the repository
2023-10-11T19:35:20.8646388Z [command]/usr/bin/git init /home/runner/work/pos-db/pos-db
2023-10-11T19:35:20.8772490Z hint: Using 'master' as the name for the initial branch. This default branch name
2023-10-11T19:35:20.8773726Z hint: is subject to change. To configure the initial branch name to use in all
2023-10-11T19:35:20.8774329Z hint: of your new repositories, which will suppress this warning, call:
2023-10-11T19:35:20.8774700Z hint: 
2023-10-11T19:35:20.8775293Z hint: 	git config --global init.defaultBranch <name>
2023-10-11T19:35:20.8775609Z hint: 
2023-10-11T19:35:20.8776083Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2023-10-11T19:35:20.8776897Z hint: 'development'. The just-created branch can be renamed via this command:
2023-10-11T19:35:20.8777269Z hint: 
2023-10-11T19:35:20.8777581Z hint: 	git branch -m <name>
2023-10-11T19:35:20.8788224Z Initialized empty Git repository in /home/runner/work/pos-db/pos-db/.git/
2023-10-11T19:35:20.8804911Z [command]/usr/bin/git remote add origin https://github.com/Transformity/pos-db
2023-10-11T19:35:20.8865032Z ##[endgroup]
2023-10-11T19:35:20.8865890Z ##[group]Disabling automatic garbage collection
2023-10-11T19:35:20.8871642Z [command]/usr/bin/git config --local gc.auto 0
2023-10-11T19:35:20.8914390Z ##[endgroup]
2023-10-11T19:35:20.8914927Z ##[group]Setting up auth
2023-10-11T19:35:20.8925634Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2023-10-11T19:35:20.8969013Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2023-10-11T19:35:20.9497453Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2023-10-11T19:35:20.9542224Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2023-10-11T19:35:20.9838933Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2023-10-11T19:35:20.9891908Z ##[endgroup]
2023-10-11T19:35:20.9892812Z ##[group]Fetching the repository
2023-10-11T19:35:20.9903989Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +9a8533f125a0a933dea85c4d32b548b853cfbe8c:refs/remotes/origin/main
2023-10-11T19:35:21.4080148Z remote: Enumerating objects: 10, done.        
2023-10-11T19:35:21.4082579Z remote: Counting objects:  10% (1/10)        
2023-10-11T19:35:21.4083256Z remote: Counting objects:  20% (2/10)        
2023-10-11T19:35:21.4083888Z remote: Counting objects:  30% (3/10)        
2023-10-11T19:35:21.4084508Z remote: Counting objects:  40% (4/10)        
2023-10-11T19:35:21.4119160Z remote: Counting objects:  50% (5/10)        
2023-10-11T19:35:21.4119607Z remote: Counting objects:  60% (6/10)        
2023-10-11T19:35:21.4119978Z remote: Counting objects:  70% (7/10)        
2023-10-11T19:35:21.4120338Z remote: Counting objects:  80% (8/10)        
2023-10-11T19:35:21.4120679Z remote: Counting objects:  90% (9/10)        
2023-10-11T19:35:21.4121313Z remote: Counting objects: 100% (10/10)        
2023-10-11T19:35:21.4121719Z remote: Counting objects: 100% (10/10), done.        
2023-10-11T19:35:21.4122116Z remote: Compressing objects:  12% (1/8)        
2023-10-11T19:35:21.4122525Z remote: Compressing objects:  25% (2/8)        
2023-10-11T19:35:21.4122878Z remote: Compressing objects:  37% (3/8)        
2023-10-11T19:35:21.4123609Z remote: Compressing objects:  50% (4/8)        
2023-10-11T19:35:21.4123975Z remote: Compressing objects:  62% (5/8)        
2023-10-11T19:35:21.4124340Z remote: Compressing objects:  75% (6/8)        
2023-10-11T19:35:21.4124687Z remote: Compressing objects:  87% (7/8)        
2023-10-11T19:35:21.4125047Z remote: Compressing objects: 100% (8/8)        
2023-10-11T19:35:21.4125429Z remote: Compressing objects: 100% (8/8), done.        
2023-10-11T19:35:21.4126814Z remote: Total 10 (delta 0), reused 8 (delta 0), pack-reused 0        
2023-10-11T19:35:21.4230869Z From https://github.com/Transformity/pos-db
2023-10-11T19:35:21.4231499Z  * [new ref]         9a8533f125a0a933dea85c4d32b548b853cfbe8c -> origin/main
2023-10-11T19:35:21.4370814Z ##[endgroup]
2023-10-11T19:35:21.4371390Z ##[group]Determining the checkout info
2023-10-11T19:35:21.4371890Z ##[endgroup]
2023-10-11T19:35:21.4372377Z ##[group]Checking out the ref
2023-10-11T19:35:21.4373097Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
2023-10-11T19:35:21.4373602Z Switched to a new branch 'main'
2023-10-11T19:35:21.4374013Z branch 'main' set up to track 'origin/main'.
2023-10-11T19:35:21.4383514Z ##[endgroup]
2023-10-11T19:35:21.4440899Z [command]/usr/bin/git log -1 --format='%H'
2023-10-11T19:35:21.4482233Z '9a8533f125a0a933dea85c4d32b548b853cfbe8c'
2023-10-11T19:35:21.4887869Z ##[group]Run aws-actions/configure-aws-credentials@v4
2023-10-11T19:35:21.4888235Z with:
2023-10-11T19:35:21.4888567Z   role-to-assume: arn:aws:iam::165569969323:role/github-action-role
2023-10-11T19:35:21.4888914Z   aws-region: us-east-1
2023-10-11T19:35:21.4889217Z   audience: sts.amazonaws.com
2023-10-11T19:35:21.4889488Z env:
2023-10-11T19:35:21.4889736Z   AWS_REGION: us-east-1
2023-10-11T19:35:21.4889990Z ##[endgroup]
2023-10-11T19:35:22.2231910Z Assuming role with OIDC
2023-10-11T19:35:22.5777536Z Authenticated as assumedRoleId AROASNDF5HSVTI7UQJVBA:GitHubActions
2023-10-11T19:35:22.7015659Z ##[group]Run secret_value=$(aws secretsmanager get-secret-value --secret-id 'rds!cluster-96cd49c6-1a15-4950-b89f-59fd040a22a6' --query 'SecretString' --output text)
2023-10-11T19:35:22.7016661Z �[36;1msecret_value=$(aws secretsmanager get-secret-value --secret-id 'rds!cluster-96cd49c6-1a15-4950-b89f-59fd040a22a6' --query 'SecretString' --output text)�[0m
2023-10-11T19:35:22.7017389Z �[36;1mpassword=$(echo $secret_value | jq -r '.password' | jq "@uri" -jRr)�[0m
2023-10-11T19:35:22.7018620Z �[36;1mdb_secret=$(echo "***transformity-gamma.cluster-cu3q2lrqndpl.us-east-1.rds.amazonaws.com:5432/transformity_pos")�[0m
2023-10-11T19:35:22.7019294Z �[36;1mecho "secret_value=$password" >> "$GITHUB_ENV"�[0m
2023-10-11T19:35:22.7019713Z �[36;1mecho "db_secret=$db_secret" >> "$GITHUB_ENV"�[0m
2023-10-11T19:35:22.7020058Z �[36;1mecho ""�[0m
2023-10-11T19:35:22.7087996Z shell: /usr/bin/bash -e {0}
2023-10-11T19:35:22.7088336Z env:
2023-10-11T19:35:22.7088631Z   AWS_REGION: us-east-1
2023-10-11T19:35:22.7089034Z   AWS_DEFAULT_REGION: us-east-1
2023-10-11T19:35:22.7089490Z   AWS_ACCESS_KEY_ID: ***
2023-10-11T19:35:22.7089942Z   AWS_SECRET_ACCESS_KEY: ***
2023-10-11T19:35:22.7094245Z   AWS_SESSION_TOKEN: ***
2023-10-11T19:35:22.7094561Z ##[endgroup]
2023-10-11T19:35:24.4913303Z 
2023-10-11T19:35:24.4963772Z ##[group]Run ariga/atlas-sync-action@v0
2023-10-11T19:35:24.4964125Z with:
2023-10-11T19:35:24.4964401Z   dir: migrations
2023-10-11T19:35:24.4964701Z   name: app
2023-10-11T19:35:24.4965314Z   dev-url: ***postgres:5432/dev?search_path=public&sslmode=disable
2023-10-11T19:35:24.4965973Z   cloud-token: ***
2023-10-11T19:35:24.4966247Z env:
2023-10-11T19:35:24.4966523Z   AWS_REGION: us-east-1
2023-10-11T19:35:24.4966848Z   AWS_DEFAULT_REGION: us-east-1
2023-10-11T19:35:24.4967227Z   AWS_ACCESS_KEY_ID: ***
2023-10-11T19:35:24.4967674Z   AWS_SECRET_ACCESS_KEY: ***
2023-10-11T19:35:24.4971991Z   AWS_SESSION_TOKEN: ***
2023-10-11T19:35:24.4972378Z   secret_value: P7i~XMZF%7BFCZ%248RauN%3Ev%24RIk87PJ
2023-10-11T19:35:24.4973253Z   db_secret: ***transformity-gamma.cluster-cu3q2lrqndpl.us-east-1.rds.amazonaws.com:5432/transformity_pos
2023-10-11T19:35:24.4974062Z ##[endgroup]
2023-10-11T19:35:24.5221338Z ##[command]/usr/bin/docker run --name arigaioatlassyncactionlatest_efce59 --label 94351b --workdir /github/workspace --rm -e "AWS_REGION" -e "AWS_DEFAULT_REGION" -e "AWS_ACCESS_KEY_ID" -e "AWS_SECRET_ACCESS_KEY" -e "AWS_SESSION_TOKEN" -e "secret_value" -e "db_secret" -e "INPUT_DIR" -e "INPUT_NAME" -e "INPUT_DEV-URL" -e "INPUT_CLOUD-TOKEN" -e "INPUT_TAG" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_ID_TOKEN_REQUEST_URL" -e "ACTIONS_ID_TOKEN_REQUEST_TOKEN" -e GITHUB_ACTIONS=true -e CI=true --network github_network_0eb34693deb9496188817d26d3d8f785 -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/pos-db/pos-db":"/github/workspace" arigaio/atlas-sync-action:latest
2023-10-11T19:35:25.7958504Z ##[error]failed to push directory: atlasexec: executing statement: pq: schema "atlas_schema_revisions" already exists
2023-10-11T19:35:25.9273529Z Post job cleanup.
2023-10-11T19:35:26.0749061Z Post job cleanup.
2023-10-11T19:35:26.2163260Z [command]/usr/bin/git version
2023-10-11T19:35:26.2239988Z git version 2.42.0
2023-10-11T19:35:26.2316791Z Temporarily overriding HOME='/home/runner/work/_temp/bfeacfcb-b561-4f39-949d-db0e0465603b' before making global git config changes
2023-10-11T19:35:26.2326192Z Adding repository directory to the temporary git global config as a safe directory
2023-10-11T19:35:26.2337258Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/pos-db/pos-db
2023-10-11T19:35:26.2404382Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2023-10-11T19:35:26.2472466Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2023-10-11T19:35:26.2837114Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2023-10-11T19:35:26.2870829Z http.https://github.com/.extraheader
2023-10-11T19:35:26.2889311Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2023-10-11T19:35:26.2942857Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2023-10-11T19:35:26.3423845Z Print service container logs: e264b5bd3f7b4905b29366840b83c4d7_postgres15_97143f
2023-10-11T19:35:26.3430327Z ##[command]/usr/bin/docker logs --details da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:26.3656218Z  The files belonging to this database system will be owned by user "postgres".
2023-10-11T19:35:26.3658876Z  initdb: warning: enabling "trust" authentication for local connections
2023-10-11T19:35:26.3660993Z  initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
2023-10-11T19:35:26.3661602Z  This user must also own the server process.
2023-10-11T19:35:26.3662743Z  2023-10-11 19:35:07.714 UTC [1] LOG:  starting PostgreSQL 15.4 (Debian 15.4-2.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2023-10-11T19:35:26.3663409Z  2023-10-11 19:35:07.715 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2023-10-11T19:35:26.3664007Z  2023-10-11 19:35:07.715 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2023-10-11T19:35:26.3664616Z  2023-10-11 19:35:07.717 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-10-11T19:35:26.3665177Z  2023-10-11 19:35:07.721 UTC [64] LOG:  database system was shut down at 2023-10-11 19:35:07 UTC
2023-10-11T19:35:26.3665701Z  2023-10-11 19:35:07.727 UTC [1] LOG:  database system is ready to accept connections
2023-10-11T19:35:26.3666193Z  2023-10-11 19:35:16.521 UTC [75] FATAL:  role "root" does not exist
2023-10-11T19:35:26.3666681Z  2023-10-11 19:35:25.773 UTC [77] ERROR:  schema "atlas_schema_revisions" already exists
2023-10-11T19:35:26.3667212Z  2023-10-11 19:35:25.773 UTC [77] STATEMENT:  CREATE SCHEMA "atlas_schema_revisions";
2023-10-11T19:35:26.3667601Z  
2023-10-11T19:35:26.3667982Z  The database cluster will be initialized with locale "en_US.utf8".
2023-10-11T19:35:26.3668544Z  The default database encoding has accordingly been set to "UTF8".
2023-10-11T19:35:26.3669066Z  The default text search configuration will be set to "english".
2023-10-11T19:35:26.3669447Z  
2023-10-11T19:35:26.3669751Z  Data page checksums are disabled.
2023-10-11T19:35:26.3670085Z  
2023-10-11T19:35:26.3670477Z  fixing permissions on existing directory /var/lib/postgresql/data ... ok
2023-10-11T19:35:26.3670927Z  creating subdirectories ... ok
2023-10-11T19:35:26.3671357Z  selecting dynamic shared memory implementation ... posix
2023-10-11T19:35:26.3671810Z  selecting default max_connections ... 100
2023-10-11T19:35:26.3672216Z  selecting default shared_buffers ... 128MB
2023-10-11T19:35:26.3672610Z  selecting default time zone ... Etc/UTC
2023-10-11T19:35:26.3672993Z  creating configuration files ... ok
2023-10-11T19:35:26.3673369Z  running bootstrap script ... ok
2023-10-11T19:35:26.3673793Z  performing post-bootstrap initialization ... ok
2023-10-11T19:35:26.3674190Z  syncing data to disk ... ok
2023-10-11T19:35:26.3674534Z  
2023-10-11T19:35:26.3674782Z  
2023-10-11T19:35:26.3675139Z  Success. You can now start the database server using:
2023-10-11T19:35:26.3675504Z  
2023-10-11T19:35:26.3675849Z      pg_ctl -D /var/lib/postgresql/data -l logfile start
2023-10-11T19:35:26.3676590Z  
2023-10-11T19:35:26.3677428Z  waiting for server to start....2023-10-11 19:35:07.364 UTC [48] LOG:  starting PostgreSQL 15.4 (Debian 15.4-2.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2023-10-11T19:35:26.3678242Z  2023-10-11 19:35:07.366 UTC [48] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-10-11T19:35:26.3678972Z  2023-10-11 19:35:07.370 UTC [51] LOG:  database system was shut down at 2023-10-11 19:35:07 UTC
2023-10-11T19:35:26.3679592Z  2023-10-11 19:35:07.375 UTC [48] LOG:  database system is ready to accept connections
2023-10-11T19:35:26.3680122Z   done
2023-10-11T19:35:26.3680724Z  server started
2023-10-11T19:35:26.3681441Z  CREATE DATABASE
2023-10-11T19:35:26.3681805Z  
2023-10-11T19:35:26.3682135Z  
2023-10-11T19:35:26.3683148Z  /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
2023-10-11T19:35:26.3683669Z  
2023-10-11T19:35:26.3684102Z  2023-10-11 19:35:07.583 UTC [48] LOG:  received fast shutdown request
2023-10-11T19:35:26.3684729Z  waiting for server to shut down....2023-10-11 19:35:07.584 UTC [48] LOG:  aborting any active transactions
2023-10-11T19:35:26.3685611Z  2023-10-11 19:35:07.586 UTC [48] LOG:  background worker "logical replication launcher" (PID 54) exited with exit code 1
2023-10-11T19:35:26.3686383Z  2023-10-11 19:35:07.588 UTC [49] LOG:  shutting down
2023-10-11T19:35:26.3686914Z  2023-10-11 19:35:07.590 UTC [49] LOG:  checkpoint starting: shutdown immediate
2023-10-11T19:35:26.3687874Z  2023-10-11 19:35:07.622 UTC [49] LOG:  checkpoint complete: wrote 918 buffers (5.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.019 s, sync=0.010 s, total=0.034 s; sync files=301, longest=0.009 s, average=0.001 s; distance=4223 kB, estimate=4223 kB
2023-10-11T19:35:26.3688705Z  2023-10-11 19:35:07.629 UTC [48] LOG:  database system is shut down
2023-10-11T19:35:26.3689142Z   done
2023-10-11T19:35:26.3689517Z  server stopped
2023-10-11T19:35:26.3689991Z  
2023-10-11T19:35:26.3690502Z  PostgreSQL init process complete; ready for start up.
2023-10-11T19:35:26.3690957Z  
2023-10-11T19:35:26.3700515Z Stop and remove container: e264b5bd3f7b4905b29366840b83c4d7_postgres15_97143f
2023-10-11T19:35:26.3708262Z ##[command]/usr/bin/docker rm --force da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:26.5615284Z da99128af147e89a5e3343e646e329c346a829e1b77f51f471d7ba09fc861215
2023-10-11T19:35:26.5650752Z Remove container network: github_network_0eb34693deb9496188817d26d3d8f785
2023-10-11T19:35:26.5657851Z ##[command]/usr/bin/docker network rm github_network_0eb34693deb9496188817d26d3d8f785
2023-10-11T19:35:26.7719440Z github_network_0eb34693deb9496188817d26d3d8f785
2023-10-11T19:35:26.7937965Z Cleaning up orphan processes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants