Hi Andy,

Thanks for sharing the image. Cypress also offers a ready-to-use Docker
container, with batteries included (the name itself is cypress/included):
https://hub.docker.com/r/cypress/included

I had a look at your gist, and then used the tamarin maven image just to
grab their Maven and Java packages. Then used the cypress/included image as
the main stage/layer. Copied maven and java, and updated $PATH so I'd have
java + mvn + cypress available.

Also selected the cypress/included:$version where $version matched our
package.json version of Cypress (a hard-requirement from how Cypress works
:shrugs:).

For the frozen test execution, looks like it is IPV6 that's confusing
wait-on. It was starting yarn fine, running cross-env, concurrently, and
launching the separated processes. But then it just stood there, and the
only thing I could think of was wait-on forever waiting, without crashing.

I disabled ipv6 with the --sysctl net.ipv6.conf.all.disable_ipv6=1 docker
run option, and it worked. Jena Fuseki UI successfully built inside the
container (didn't try the whole build as I ran out of time today, sorry).

Care to have a look if that works for you and if you think that'll work for
Jenkins too?

https://gist.github.com/kinow/c227a7f0ea1c509a36f57beb02e9d8e3 (check out
the Dockerfile header, the example docker build like that produces
jena/build:latest; then read the README.md instructions...).

Cheers,

Bruno

On Thu, 8 Aug 2024 at 14:45, Andy Seaborne <a...@apache.org> wrote:

>
>
> On 07/08/2024 07:16, Bruno Kinoshita wrote:
> > Can you share the container and the other files from your experiment,
> > please, Andy? I can have a look why Cypress/networking isn't working.
>  >
>  > Thanks
>
> The starting point is the Cypress requirements since the last version
> upgrade.
>
>
> https://docs.cypress.io/guides/getting-started/installing-cypress#Linux-Prerequisites
>
> The ASF Jenkins servers don't have these.
>
> I tried building a docker container (ubuntu based, installing maven and
> also as a maven image) which installed the dependencies, then ran maven
> in the container with Jena as a mounted volume.
>
> Using maven+jammy as the base:
>
> https://gist.github.com/afs/e3d51fa685cd0c0a0ec5a383dc0b4b37
>
>      Andy
>
>

Reply via email to