spryker/robotframework-suite-tests issue with deployment pipeline

LukasB
LukasB lukas.bruecklmeier@unic.com Posts: 22 ✨ - Novice

Hi,

since yesterday our ci/cd pipeline is failing because of the latest commit in the

spryker/robotframework-suite-tests repository.

Here is why it's failing with the latest changes:

RUN rfbrowser init:27.97 return f(get_current_context(), *args, **kwargs)27.97 File "/usr/local/lib/python3.10/dist-packages/Browser/entry/__main__.py", line 488, in init27.97 raise err27.97 File "/usr/local/lib/python3.10/dist-packages/Browser/entry/__main__.py", line 480, in init27.97 _rfbrowser_init(skip_browsers, silent_mode, with_deps, browser)27.97 File "/usr/local/lib/python3.10/dist-packages/Browser/entry/__main__.py", line 280, in _rfbrowser_init27.97 _unix_process_executor_with_bar(27.97 File "/usr/local/lib/python3.10/dist-packages/Browser/entry/__main__.py", line 187, in _unix_process_executor_with_bar27.97 message = output.decode("utf-8")27.97 UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 1022-1023: unexpected end of data

Has anyone discovered a similar issue?

It works well on our side with the second last commit.

Comments

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
    edited December 4

    Heyhey @LukasB ,

    the team is informed and is looking into some mitigation.

    So far it seems like there is a bad coindident with a bug from another library :/
    https://github.com/MarketSquare/robotframework-browser/issues/3938

    All the best,

    Florian

  • LukasB
    LukasB lukas.bruecklmeier@unic.com Posts: 22 ✨ - Novice
    edited December 4

    Hi @fsmeier,

    great thanks a lot for sharing this, I was also digging deeper into the topic.

    Let's see when they come up with a solution.

    Best,

    Lukas

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)

    Currently we really need to wait for the fix on their side.

    For the meantime, i quote from our internal team:

    Latest commit in spryker robotframework repository is a quick fix for failing spryker CI/CD. We also faced it internally.
    Problem comes from the latest release of library that we use, and we can only bypass it until it's solved (by vendor, not by us).as a quick fix, 2 options

    1. Use only chromium driver https://github.com/spryker-shop/b2c-demo-shop/commit/1907245e8ba4e59c04d67b3c3ee78b51577f5db1
    2. Lock browser library to a previous working version (mentioned in the issue above): pip install robotframework-browser==19.0.1

    Both options should be done on the project level.

    Hope this unblocks you.

    All the best,

    Florian

  • LukasB
    LukasB lukas.bruecklmeier@unic.com Posts: 22 ✨ - Novice

    Thanks a lot @fsmeier, works on my end 😊

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
  • LukasB
    LukasB lukas.bruecklmeier@unic.com Posts: 22 ✨ - Novice

    Great, thanks for sharing :)