asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ildar Absalyamov <ildar.absalya...@gmail.com>
Subject Re: ExternalLibraryIT tests broken on master
Date Wed, 30 Dec 2015 00:01:04 GMT
Seems like since the issue is DNS related, the local JVM DNS lookup caching can spoil repro
for the issue. To disable DNS caching create file $JAVA_HOME/lib/security/java.security and
write “networkaddress.cache.ttl=0” into it. Let me know anyone can reproduce it on master.

Here is the error stacktrace:

Running org.apache.asterix.installer.test.AsterixExternalLibraryIT
log4j:WARN No appenders could be found for logger (org.apache.asterix.installer.command.AbstractCommand).
log4j:WARN Please initialize the log4j system properly.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Users/iabsalyamov/.m2/repository/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/Users/iabsalyamov/.m2/repository/org/slf4j/slf4j-jcl/1.6.3/slf4j-jcl-1.6.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
Dec 29, 2015 3:43:09 PM org.apache.asterix.installer.test.AsterixExternalLibraryIT setUp
INFO: Installing library :testlib located at /Users/iabsalyamov/Coding/UCR/ASTERIX/asterixdb/asterix-external-data/target/testlib-zip-binary-assembly.zip
in dataverse externallibtest
Dec 29, 2015 3:43:27 PM org.apache.asterix.test.aql.TestExecutor executeTest
INFO: Starting [TEST]: library-functions/mysum ...
Expected results file: src/test/resources/integrationts/library/results/library-functions/mysum/mysum.1.adm
Dec 29, 2015 3:43:31 PM org.apache.asterix.test.aql.TestExecutor executeTest
INFO: [TEST]: library-functions/mysum PASSED
Dec 29, 2015 3:43:31 PM org.apache.asterix.test.aql.TestExecutor executeTest
INFO: Starting [TEST]: library-functions/toUpper ...
Expected results file: src/test/resources/integrationts/library/results/library-functions/toUpper/toUpper.1.adm
Dec 29, 2015 3:43:31 PM org.apache.asterix.test.aql.TestExecutor executeTest
INFO: [TEST]: library-functions/toUpper PASSED
Dec 29, 2015 3:43:31 PM org.apache.asterix.test.aql.TestExecutor executeTest
INFO: Starting [TEST]: library-functions/insert-from-select ...
Expected results file: src/test/resources/integrationts/library/results/library-functions/insert-from-select/insert-from-select.1.adm
Dec 29, 2015 3:43:32 PM org.apache.asterix.test.aql.TestExecutor executeTest
INFO: [TEST]: library-functions/insert-from-select PASSED
Dec 29, 2015 3:43:32 PM org.apache.asterix.test.aql.TestExecutor executeTest
INFO: Starting [TEST]: library-functions/getCapital ...
Expected results file: src/test/resources/integrationts/library/results/library-functions/getCapital/getCapital.1.adm
Dec 29, 2015 3:43:32 PM org.apache.asterix.test.aql.TestExecutor executeTest
INFO: [TEST]: library-functions/getCapital PASSED
Dec 29, 2015 3:43:32 PM org.apache.asterix.test.aql.TestExecutor executeTest
INFO: Starting [TEST]: library-metadata/functionDataset ...
Expected results file: src/test/resources/integrationts/library/results/library-metadata/functionDataset/functionDataset.1.adm
Dec 29, 2015 3:43:32 PM org.apache.asterix.test.aql.TestExecutor executeTest
INFO: [TEST]: library-metadata/functionDataset PASSED
Dec 29, 2015 3:43:32 PM org.apache.asterix.test.aql.TestExecutor executeTest
INFO: Starting [TEST]: library-metadata/libraryDataset ...
Expected results file: src/test/resources/integrationts/library/results/library-metadata/libraryDataset/libraryDataset.1.adm
Dec 29, 2015 3:43:32 PM org.apache.asterix.test.aql.TestExecutor executeTest
INFO: [TEST]: library-metadata/libraryDataset PASSED
Dec 29, 2015 3:43:32 PM org.apache.asterix.test.aql.TestExecutor executeTest
INFO: Starting [TEST]: library-metadata/dataverseDataset ...
Expected results file: src/test/resources/integrationts/library/results/library-metadata/dataverseDataset/dataverseDataset.1.adm
Dec 29, 2015 3:43:32 PM org.apache.asterix.test.aql.TestExecutor executeTest
INFO: [TEST]: library-metadata/dataverseDataset PASSED
Dec 29, 2015 3:43:32 PM org.apache.asterix.test.aql.TestExecutor executeTest
INFO: Starting [TEST]: library-feeds/feed_ingest ...
testFile src/test/resources/integrationts/library/queries/library-feeds/feed_ingest/feed_ingest.2.update.aql
raised an exception:
java.lang.Exception: HTTP operation failed.
STATUS LINE:HTTP/1.1 500 Server Error
Error code: 2, details:SyntaxError: Unable to resolve hostname 'asterix_nc1' to an IP address


	at org.apache.asterix.test.aql.TestExecutor.executeHttpMethod(TestExecutor.java:257)
	at org.apache.asterix.test.aql.TestExecutor.executeUpdate(TestExecutor.java:302)
	at org.apache.asterix.test.aql.TestExecutor.executeTest(TestExecutor.java:469)
	at org.apache.asterix.test.aql.TestExecutor.executeTest(TestExecutor.java:428)
	at org.apache.asterix.installer.test.AsterixExternalLibraryIT.test(AsterixExternalLibraryIT.java:66)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:145)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:104)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1017)
...Unexpected!

> On Dec 28, 2015, at 21:02, abdullah alamoudi <bamousaa@gmail.com> wrote:
> 
> Ildar,
> Can you share more information (logs, specific tests, stacktraces, etc,)? I
> can take a look.
> 
> Cheers,
> Abdullah.
> 
> Amoudi, Abdullah.
> 
> On Mon, Dec 28, 2015 at 9:05 PM, Ildar Absalyamov <
> ildar.absalyamov@gmail.com> wrote:
> 
>> If I checkout master and run usual ‘mvn clean verify
>> -Poptimizer-tests,metadata-tests,execution-tests’ I can observe that some
>> tests (feeds tests installing external libraries) in asterix-installer fail.
>> Does anyone experience the same issue? I have no idea how that was not
>> triggered on Jenkins before, but now it’s causing one of my builds to fail.
>> The issue seems to be DNS resolving: although IdentityResolver is set up
>> through -Dnode.Resolver runtime parameter, but its value never correctly
>> propagates to the place where the resolver is instantiated.
>> 
>> Best regards,
>> Ildar
>> 
>> 

Best regards,
Ildar


Mime
View raw message