What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hey guys, I'm currently trying to setup CI/CD with codeception acceptance tests. Some of the out of

michael.schmetter
michael.schmetter Posts: 119 🧑🏻‍🚀 - Cadet
edited January 2022 in Help

Hey guys,
I'm currently trying to setup CI/CD with codeception acceptance tests.
Some of the out of the box tests are failing, this is the image of the failing tests.
It seems like the translations are not correctly put out and therefore the texts can't be found. Has someone experience something like that?

Comments

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Screenshot says that the data from DB hasn't been synchronized into ES\Redis.

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Sequence should be something like:

                  - docker/sdk boot -v deploy.ci.acceptance.mariadb.yml
                  - docker/sdk up -t
                  - docker/sdk testing console queue:worker:start --stop-when-empty
                  - docker/sdk testing codecept run -c codeception.acceptance.yml
    
  • michael.schmetter
    michael.schmetter Posts: 119 🧑🏻‍🚀 - Cadet

    Thanks for the response, @valerii.trots,
    That is my script (GitlabCI), and unfortunatly it's still not working:

    .tests:
      ...
      before_script:
        - apk update && apk upgrade && apk add bash curl git
        - docker info
        - docker-compose -v
        - git clone <https://github.com/spryker/docker-sdk.git> ./docker
        - bash docker/sdk boot -v $YMLPATH
        - bash docker/sdk up -t -v
        - bash docker/sdk testing console queue:worker:start --stop-when-empty
    
    validation:
      extends: .tests
      variables:
        YMLPATH: deploy.ci.acceptance.yml
      script:
        - bash docker/sdk testing codecept run
        ...
    
  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Maybe someone else will have ideas or how they did that.

  • michael.schmetter
    michael.schmetter Posts: 119 🧑🏻‍🚀 - Cadet
    edited January 2022

    Ok, the issue is/was that I removed the part:

    regions:
        EU:
            stores:
                AT:
                    services:
                        broker:
                            namespace: at-docker
                        key_value_store:
                            namespace: 2
                        search:
                            namespace: at_search
                        session:
                            namespace: 1
    

    From the depoy.ci.acceptance.yml, because we don't habe an austrian shop.
    But I don't understand, why this lets the tests fail, anyone an idea?

  • michael.schmetter
    michael.schmetter Posts: 119 🧑🏻‍🚀 - Cadet

    Ok, found the issue.
    In stores.php the Austrian shop was still mentioned and the syncing was failing, although there was no error regarding that