-
Notifications
You must be signed in to change notification settings - Fork 95
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
mps-test doesn't include ingestion-sink JAR #716
Comments
The Dockerfile includes
So your steps to repro I think make sense to me. The The point of I'm thinking about potential workarounds here. |
Thanks for writing this up, @ahounsel! |
* Don't mount entire pwd in mps-tests Should address #716 * Force x86
* Don't mount entire pwd in mps-tests Should address mozilla-services#716 * Force x86
I'm trying to update the schema for a custom ping that we developed for a Normandy study (telemetry/dnssec-study-v1). I want to test my changes and ensure that they're not breaking the schema. However, I'm having trouble getting the tests to run in Docker.
I'm on a 2018 Macbook Pro running Catalina. When I run
mps-build
followed bymps-test
, the tests hang on "Collecting 0 items." To investigate further, I modifiedmps-test
to replace--entrypoint=pytest
with--entrypoint=/bin/bash
. This shelled me into a container, so I then ranpytest -s -v
to see if any errors would get printed. This seems to be the problem causing the tests to hang:jnius.JavaException: JVM exception occurred: com/mozilla/telemetry/ingestion/sink/config/SinkConfig java.lang.NoClassDefFoundError
Interestingly, if I simply remove the
--volume "$(pwd)":/app
flag frommps-test
, the dependency seems to appear in the container intarget/ingestion-sink-0.1-SNAPSHOT.jar
andtarget/ingestion-sink-0.1-SNAPSHOT.lib
. When I runpytest -s -v
again, the tests work.Anyone have insight into why the ingestion-sink JAR is not copied over to the container when I run
mps-test
?The text was updated successfully, but these errors were encountered: