I reverted the commit from KNOX-1463. The last full test passed without the commit from KNOX-1463: https://builds.apache.org/job/Knox-master-daily/8073/ Currently there is a build checking it as well. I see the same failure you got locally.
For checkstyle, I created KNOX-1478 to add the run from submodule support. In the meantime you should be able to add -Dcheckstyle.skip=true for the build. Kevin Risden On Fri, Sep 28, 2018 at 4:30 PM Kevin Risden <[email protected]> wrote: > Yea the PreEncodedHttpField I am trying to figure out. Jenkins Knox builds > are failing due to full disk. Pinged on INFRA hipchat about that to have > them look. I'm pretty sure the failure is from the last commit to master. I > will revert the commit if I figure out that last commit is the issue. > > For the checkstyle thing, I don't think I tried building from separate > modules. It might be the configuration variable doesn't get picked up > properly in a submodule. I can take a look at this. > > Kevin Risden > > > On Fri, Sep 28, 2018 at 4:16 PM Phil Zampino <[email protected]> wrote: > >> I've pulled the latest Knox sources, and built using the following: >> >> mvn -Panalyze,package,release clean install >> >> (I ran this atypical profile set to confirm a fix I committed earlier >> today) >> >> The most pressing result is the failure of the >> gateway-test-release/webhdfs-kerb-test tests, due to a NoClassDefFoundError: >> >> [INFO] Running org.apache.knox.gateway.SecureClusterTest >> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: >> 0.004 s <<< FAILURE! - in org.apache.knox.gateway.SecureClusterTest >> [ERROR] org.apache.knox.gateway.SecureClusterTest Time elapsed: 0.003 s >> <<< ERROR! >> java.lang.NoClassDefFoundError: org/eclipse/jetty/http/PreEncodedHttpField >> at >> org.apache.knox.gateway.SecureClusterTest.setupKnox(SecureClusterTest.java:174) >> at >> org.apache.knox.gateway.SecureClusterTest.initKdc(SecureClusterTest.java:154) >> at >> org.apache.knox.gateway.SecureClusterTest.setupSuite(SecureClusterTest.java:98) >> Caused by: java.lang.ClassNotFoundException: >> org.eclipse.jetty.http.PreEncodedHttpField >> at >> org.apache.knox.gateway.SecureClusterTest.setupKnox(SecureClusterTest.java:174) >> at >> org.apache.knox.gateway.SecureClusterTest.initKdc(SecureClusterTest.java:154) >> at >> org.apache.knox.gateway.SecureClusterTest.setupSuite(SecureClusterTest.java:98) >> >> I'm presuming this is related to some of the dependency-related changes >> that have been committed today?; I did not see this when I ran this same >> build command earlier today. >> >> Of less concern, is something I did notice earlier today; I am not able >> to run the gateway-test-release module tests directly due to a checkstyle >> issue: >> >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check (validate) on >> project gateway-test-release: Failed during checkstyle execution: Unable to >> find suppressions file at location: >> /Users/pzampino/projects/knox/gateway-test-release/src/checkstyle/suppressions.xml: >> Could not find resource >> '/Users/pzampino/projects/knox/gateway-test-release/src/checkstyle/suppressions.xml'. >> >> As I've said, these appear to be loose ends from the >> build/dependency-related changes that have been committed this week. >> >> >>
