Karate: Building karate-chrome docker image locally causing dependency conflict in 0.9.6

Created on 8 Oct 2020  路  8Comments  路  Source: intuit/karate

Building karate-chrome docker image locally by running: https://github.com/intuit/karate/blob/master/karate-docker/karate-chrome/install.sh causing maven dependency conflict. It happens in 0.9.6

Step to reproduce:

  1. Setup Maven project and write any UI test, making sure it runs.
  2. Clone karate-chrome above and run https://github.com/intuit/karate/blob/master/karate-docker/karate-chrome/install.sh to build docker image locally.
  3. After step 2 completed, rerun test in step 1, it throws error:
    10:59:00.581 [nioEventLoopGroup-2-1] ERROR c.i.k.netty.WebSocketClientHandler - websocket exception: io.netty.buffer.ByteBuf.isContiguous()Z

The work around I found is to delete local .m2 repository and rebuild the project completely.

invalid

Most helpful comment

Would like to contribute to above project.
Please assign it to me

All 8 comments

tagging as help-wanted / hacktoberfest - this is a weird edge case that most end-users will not land. also I would like someone to verify that amvn clean would suffice

Would like to contribute to above project.
Please assign it to me

@saurabhmarpadge done

@ptrthomas seems I need to spend some more time to learn the karate before starting contributing to karate. I will unassign myself for now.

@ptrthomas - I can take a look at this too, pls assign if still open. Thank you.

@chaudharydeepak that would help ! thanks

@Jack-Hua-Lu - I just tried executing as per your steps [ using current develop branch ] and didn't encountered any error -

  1. executed driver.demo.Demo06Runner [ this will open chrome browser few times ]
  2. installed local docker chrome image - execute build.sh vs install.sh.
  3. executed test in step 1.

I have mac with docker desktop running.

can you please upload a sample workspace / code to help recreate the scenario? Thank you.

@ptrthomas .

closing this as there is no response from @Jack-Hua-Lu - thanks @chaudharydeepak for looking into this

Was this page helpful?
0 / 5 - 0 ratings