[ 
https://issues.apache.org/jira/browse/SOLR-14379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17079798#comment-17079798
 ] 

Mike Drob commented on SOLR-14379:
----------------------------------

Note that this does not fail on Jenkins... Unclear what I'm doing differently.

> nightly smoke fails due to java servlet jar
> -------------------------------------------
>
>                 Key: SOLR-14379
>                 URL: https://issues.apache.org/jira/browse/SOLR-14379
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Mike Drob
>            Priority: Major
>
> Running locally:
> {noformat}
>    [smoker] Traceback (most recent call last):
>    [smoker]   File 
> "/Users/mdrob/code/lucene-solr/dev-tools/scripts/smokeTestRelease.py", line 
> 1487, in <module>
>    [smoker]     main()
>    [smoker]   File 
> "/Users/mdrob/code/lucene-solr/dev-tools/scripts/smokeTestRelease.py", line 
> 1413, in main
>    [smoker]     downloadOnly=c.download_only)
>    [smoker]   File 
> "/Users/mdrob/code/lucene-solr/dev-tools/scripts/smokeTestRelease.py", line 
> 1474, in smokeTest
>    [smoker]     unpackAndVerify(java, 'solr', tmpDir, artifact, gitRevision, 
> version, testArgs, baseURL)
>    [smoker]   File 
> "/Users/mdrob/code/lucene-solr/dev-tools/scripts/smokeTestRelease.py", line 
> 566, in unpackAndVerify
>    [smoker]     verifyUnpacked(java, project, artifact, unpackPath, 
> gitRevision, version, testArgs, tmpDir, baseURL)
>    [smoker]   File 
> "/Users/mdrob/code/lucene-solr/dev-tools/scripts/smokeTestRelease.py", line 
> 716, in verifyUnpacked
>    [smoker]     checkAllJARs(os.getcwd(), project, gitRevision, version, 
> tmpDir, baseURL)
>    [smoker]   File 
> "/Users/mdrob/code/lucene-solr/dev-tools/scripts/smokeTestRelease.py", line 
> 237, in checkAllJARs
>    [smoker]     noJavaPackageClasses('JAR file "%s"' % fullPath, fullPath)
>    [smoker]   File 
> "/Users/mdrob/code/lucene-solr/dev-tools/scripts/smokeTestRelease.py", line 
> 125, in noJavaPackageClasses
>    [smoker]     raise RuntimeError('%s contains sheisty class "%s"' %  (desc, 
> name2))
>    [smoker] RuntimeError: JAR file 
> "/Users/mdrob/code/lucene-solr/lucene/build/smokeTestRelease/tmp/unpack/solr-9.0.0/server/build/packaging/lib/javax.servlet-api-3.1.0.jar"
>  contains sheisty class "javax/servlet/annotation/HandlesTypes.class" 
> {noformat}
> There's some checks in there about ignoring javax.serlvet and ignoring 
> server/lib directory, but it's somehow picking up this file still. Did we 
> move paths around at some point?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to