Thanks Arvind for the quick feedback, the test failures are due to difference seen in the calendar/time/date implementation and behaviour due to the time format (AM/PM) on Mac.
I fixed the test can you once again do a git pull and then mvn clean install. Thanks again. Regards Ankit On Thu, Nov 28, 2013 at 7:43 PM, Arvind Prabhakar <[email protected]> wrote: > Thanks for adding the README file. I updated the working tree and ran mvn > clean install. It definitely went past the earlier failure but failed in > the Salesforce module. I have pasted the relevant build output below. > > It is possible that in order to run these tests, the developer must have a > Salesforce account with valid credentials and hence is it is failing for > me. If that is the case, the general rule of thumb is to put these tests in > a maven profile that is not executed by default, and have the setup/test > instructions in the README file for those who would like to run the > extended tests which require such setup. Also, the how to release guide on > the project wiki should explicitly state that such profiles must be > executed for release candidate validation. > > Regards, > Arvind Prabhakar > ---- > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building MetaModel module for Salesforce.com > 4.0.1-incubating-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > Downloading: > > http://repo.maven.apache.org/maven2/com/force/api/force-partner-api/24.0.0/force-partner-api-24.0.0.pom > Downloaded: > > http://repo.maven.apache.org/maven2/com/force/api/force-partner-api/24.0.0/force-partner-api-24.0.0.pom(5 > KB at 24.6 KB/sec) > Downloading: > > http://repo.maven.apache.org/maven2/com/force/api/force-wsc/24.0.0/force-wsc-24.0.0.pom > Downloaded: > > http://repo.maven.apache.org/maven2/com/force/api/force-wsc/24.0.0/force-wsc-24.0.0.pom(5 > KB at 36.9 KB/sec) > Downloading: > > http://repo.maven.apache.org/maven2/javax/xml/ws/jaxws-api/2.0/jaxws-api-2.0.pom > Downloaded: > > http://repo.maven.apache.org/maven2/javax/xml/ws/jaxws-api/2.0/jaxws-api-2.0.pom(640 > B at 8.9 KB/sec) > Downloading: > > http://repo.maven.apache.org/maven2/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.pom > Downloaded: > > http://repo.maven.apache.org/maven2/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.pom(715 > B at 11.8 KB/sec) > Downloading: > > http://repo.maven.apache.org/maven2/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.pom > Downloaded: > > http://repo.maven.apache.org/maven2/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.pom(157 > B at 3.3 KB/sec) > Downloading: > > http://repo.maven.apache.org/maven2/com/force/api/force-partner-api/24.0.0/force-partner-api-24.0.0.jar > Downloading: > > http://repo.maven.apache.org/maven2/com/force/api/force-wsc/24.0.0/force-wsc-24.0.0.jar > Downloading: > > http://repo.maven.apache.org/maven2/javax/xml/ws/jaxws-api/2.0/jaxws-api-2.0.jar > Downloading: > > http://repo.maven.apache.org/maven2/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar > Downloading: > > http://repo.maven.apache.org/maven2/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar > Downloaded: > > http://repo.maven.apache.org/maven2/javax/xml/ws/jaxws-api/2.0/jaxws-api-2.0.jar(24 > KB at 183.1 KB/sec) > Downloaded: > > http://repo.maven.apache.org/maven2/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar(49 > KB at 263.6 KB/sec) > Downloaded: > > http://repo.maven.apache.org/maven2/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar(72 > KB at 299.9 KB/sec) > Downloaded: > > http://repo.maven.apache.org/maven2/com/force/api/force-wsc/24.0.0/force-wsc-24.0.0.jar(279 > KB at 1141.6 KB/sec) > Downloaded: > > http://repo.maven.apache.org/maven2/com/force/api/force-partner-api/24.0.0/force-partner-api-24.0.0.jar(365 > KB at 1400.6 KB/sec) > [INFO] > [INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-versions) @ > MetaModel-salesforce --- > [INFO] > [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ > MetaModel-salesforce --- > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > MetaModel-salesforce --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory > /Users/arvind/Projects/metamodel/salesforce/src/main/resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ > MetaModel-salesforce --- > [INFO] Compiling 9 source files to > /Users/arvind/Projects/metamodel/salesforce/target/classes > [INFO] > [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) > @ MetaModel-salesforce --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 1 resource > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ > MetaModel-salesforce --- > [INFO] Compiling 2 source files to > /Users/arvind/Projects/metamodel/salesforce/target/test-classes > [INFO] > [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ > MetaModel-salesforce --- > [INFO] Surefire report directory: > /Users/arvind/Projects/metamodel/salesforce/target/surefire-reports > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running org.apache.metamodel.salesforce.SalesforceDataContextTest > !!! WARN !!! Salesforce ignored > Please configure salesforce credentials locally > (/Users/arvind/sfdc-credentials.properties), to run integration tests > !!! WARN !!! Salesforce ignored > Please configure salesforce credentials locally > (/Users/arvind/sfdc-credentials.properties), to run integration tests > !!! WARN !!! Salesforce ignored > Please configure salesforce credentials locally > (/Users/arvind/sfdc-credentials.properties), to run integration tests > !!! WARN !!! Salesforce ignored > Please configure salesforce credentials locally > (/Users/arvind/sfdc-credentials.properties), to run integration tests > !!! WARN !!! Salesforce ignored > Please configure salesforce credentials locally > (/Users/arvind/sfdc-credentials.properties), to run integration tests > ERROR 10:37:20 SalesforceUtils - Wrapping Salesforce.com > ConnectionException > com.sforce.ws.ConnectionException: Check authEndpoint. It must contain > '/services/Soap/u/'. authEndpoint specified https://non_existing_domain > at com.sforce.ws.ConnectorConfig.verifyEndpoint(ConnectorConfig.java:318) > at > > com.sforce.ws.ConnectorConfig.verifyPartnerEndpoint(ConnectorConfig.java:277) > at > > com.sforce.soap.partner.PartnerConnection.<init>(PartnerConnection.java:375) > at com.sforce.soap.partner.Connector.newConnection(Connector.java:27) > at > > org.apache.metamodel.salesforce.SalesforceDataContext.<init>(SalesforceDataContext.java:82) > at > > org.apache.metamodel.salesforce.SalesforceDataContextTest.testInvalidEndpoint(SalesforceDataContextTest.java:99) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at junit.framework.TestCase.runTest(TestCase.java:176) > at junit.framework.TestCase.runBare(TestCase.java:141) > at junit.framework.TestResult$1.protect(TestResult.java:122) > at junit.framework.TestResult.runProtected(TestResult.java:142) > at junit.framework.TestResult.run(TestResult.java:125) > at junit.framework.TestCase.run(TestCase.java:129) > at junit.framework.TestSuite.runTest(TestSuite.java:255) > at junit.framework.TestSuite.run(TestSuite.java:250) > at > > org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) > at > > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) > at > > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) > at > > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > > org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) > at > > org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) > at > > org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) > at > > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) > at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) > ERROR 10:37:21 SalesforceUtils - Wrapping Salesforce.com > ConnectionException > [LoginFault [ApiFault exceptionCode='INVALID_LOGIN' > exceptionMessage='Invalid username, password, security token; or user > locked out.' > ] > ] > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > at > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:513) > at java.lang.Class.newInstance0(Class.java:357) > at java.lang.Class.newInstance(Class.java:310) > at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:627) > at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:504) > at > com.sforce.ws.transport.SoapConnection.parseDetail(SoapConnection.java:229) > at > > com.sforce.ws.transport.SoapConnection.createException(SoapConnection.java:203) > at com.sforce.ws.transport.SoapConnection.receive(SoapConnection.java:149) > at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:98) > at > com.sforce.soap.partner.PartnerConnection.login(PartnerConnection.java:954) > at > > com.sforce.soap.partner.PartnerConnection.<init>(PartnerConnection.java:379) > at com.sforce.soap.partner.Connector.newConnection(Connector.java:27) > at com.sforce.soap.partner.Connector.newConnection(Connector.java:17) > at > > org.apache.metamodel.salesforce.SalesforceDataContext.<init>(SalesforceDataContext.java:90) > at > > org.apache.metamodel.salesforce.SalesforceDataContextTest.testInvalidLoginException(SalesforceDataContextTest.java:76) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at junit.framework.TestCase.runTest(TestCase.java:176) > at junit.framework.TestCase.runBare(TestCase.java:141) > at junit.framework.TestResult$1.protect(TestResult.java:122) > at junit.framework.TestResult.runProtected(TestResult.java:142) > at junit.framework.TestResult.run(TestResult.java:125) > at junit.framework.TestCase.run(TestCase.java:129) > at junit.framework.TestSuite.runTest(TestSuite.java:255) > at junit.framework.TestSuite.run(TestSuite.java:250) > at > > org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) > at > > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) > at > > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) > at > > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > > org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) > at > > org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) > at > > org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) > at > > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) > at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) > !!! WARN !!! Salesforce ignored > Please configure salesforce credentials locally > (/Users/arvind/sfdc-credentials.properties), to run integration tests > !!! WARN !!! Salesforce ignored > Please configure salesforce credentials locally > (/Users/arvind/sfdc-credentials.properties), to run integration tests > Tests run: 10, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.974 sec > <<< FAILURE! > > testRewriteWhereItem(org.apache.metamodel.salesforce.SalesforceDataContextTest) > Time elapsed: 0.01 sec <<< FAILURE! > junit.framework.ComparisonFailure: expected:<...3 OR baz = 2013-01-2[3] OR > zaz = 2013-01-22...> but was:<...3 OR baz = 2013-01-2[2] OR zaz = > 2013-01-22...> > at junit.framework.Assert.assertEquals(Assert.java:100) > at junit.framework.Assert.assertEquals(Assert.java:107) > at junit.framework.TestCase.assertEquals(TestCase.java:269) > at > > org.apache.metamodel.salesforce.SalesforceDataContextTest.testRewriteWhereItem(SalesforceDataContextTest.java:383) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at junit.framework.TestCase.runTest(TestCase.java:176) > at junit.framework.TestCase.runBare(TestCase.java:141) > at junit.framework.TestResult$1.protect(TestResult.java:122) > at junit.framework.TestResult.runProtected(TestResult.java:142) > at junit.framework.TestResult.run(TestResult.java:125) > at junit.framework.TestCase.run(TestCase.java:129) > at junit.framework.TestSuite.runTest(TestSuite.java:255) > at junit.framework.TestSuite.run(TestSuite.java:250) > at > > org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) > at > > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) > at > > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) > at > > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > > org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) > at > > org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) > at > > org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) > at > > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) > at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) > > > Results : > > Failed tests: > > testRewriteWhereItem(org.apache.metamodel.salesforce.SalesforceDataContextTest): > expected:<...3 OR baz = 2013-01-2[3] OR zaz = 2013-01-22...> but was:<...3 > OR baz = 2013-01-2[2] OR zaz = 2013-01-22...> > > Tests run: 10, Failures: 1, Errors: 0, Skipped: 0 > > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] MetaModel ......................................... SUCCESS [3.302s] > [INFO] MetaModel core API ................................ SUCCESS [6.827s] > [INFO] MetaModel module for collection and POJO-based DataContexts. > SUCCESS [0.687s] > [INFO] MetaModel module for fixed width value files ...... SUCCESS [0.717s] > [INFO] MetaModel module for Excel spreadsheets ........... SUCCESS > [24.211s] > [INFO] MetaModel module for comma-separated value (CSV) files SUCCESS > [3.127s] > [INFO] MetaModel module for XML files .................... SUCCESS [4.360s] > [INFO] MetaModel module for relational JDBC databases .... SUCCESS > [10.296s] > [INFO] MetaModel module for MongoDB databases ............ SUCCESS [3.383s] > [INFO] MetaModel module for CouchDB databases ............ SUCCESS [2.474s] > [INFO] MetaModel module for OpenOffice.org database files SUCCESS [0.927s] > [INFO] MetaModel module for Salesforce.com ............... FAILURE [3.198s] > [INFO] MetaModel module for SugarCRM ..................... SKIPPED > [INFO] MetaModel full package, including DataContext factories SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1:03.952s > [INFO] Finished at: Thu Nov 28 10:37:21 PST 2013 > [INFO] Final Memory: 27M/81M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) > on project MetaModel-salesforce: There are test failures. > [ERROR] > [ERROR] Please refer to > /Users/arvind/Projects/metamodel/salesforce/target/surefire-reports for the > individual test results. > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :MetaModel-salesforce > > > > > > On Thu, Nov 28, 2013 at 5:57 AM, Ankit Kumar <[email protected] > >wrote: > > > Hi Arvind, > > > > I have applied a fix which should solve the test failures you notice with > > the time difference seen on MacOS. > > > > Could you please try to build the code from the git source code and > provide > > feedback as I don't have Mac to test myself. > > > > https://git-wip-us.apache.org/repos/asf/incubator-metamodel.git > > > > Regards > > Ankit > > > > > > > > > > On Wed, Nov 27, 2013 at 2:37 PM, Kasper Sørensen < > > [email protected]> wrote: > > > > > Looks to me that most of these failing tests have to do with 12h/24h > > > convention differences ... We probably have an omission of that flag in > > our > > > DateUtils class. > > > > > > > > > 2013/11/26 Arvind Prabhakar <[email protected]> > > > > > > > Thanks Ankit. The Disclaimer file looks good to me. > > > > > > > > Also, regarding build failures - I was not able to find information > on > > > how > > > > to build the project. Hence I ran mvn install, which resulted in a > few > > > test > > > > failures. Adding build instructions in the readme file (or another > file > > > of > > > > your choice) that clearly identifies how to build and run tests for > the > > > > project would be a great help. I am pasting below the full build > output > > > for > > > > your reference. > > > > > > > > Regards, > > > > Arvind Prabhakar > > > > ----- > > > > [INFO] Scanning for projects... > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > [INFO] Reactor Build Order: > > > > [INFO] > > > > [INFO] MetaModel > > > > [INFO] MetaModel core API > > > > [INFO] MetaModel module for collection and POJO-based DataContexts. > > > > [INFO] MetaModel module for fixed width value files > > > > [INFO] MetaModel module for Excel spreadsheets > > > > [INFO] MetaModel module for comma-separated value (CSV) files > > > > [INFO] MetaModel module for XML files > > > > [INFO] MetaModel module for relational JDBC databases > > > > [INFO] MetaModel module for MongoDB databases > > > > [INFO] MetaModel module for CouchDB databases > > > > [INFO] MetaModel module for OpenOffice.org database files > > > > [INFO] MetaModel module for Salesforce.com > > > > [INFO] MetaModel module for SugarCRM > > > > [INFO] MetaModel full package, including DataContext factories > > > > [INFO] > > > > > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > [INFO] Building MetaModel 4.0.1-incubating-SNAPSHOT > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > [INFO] > > > > [INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-versions) @ > > > > MetaModel --- > > > > [INFO] > > > > [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ > > > MetaModel > > > > --- > > > > [INFO] > > > > [INFO] --- apache-rat-plugin:0.8:check (rat-verify) @ MetaModel --- > > > > [INFO] Exclude: CHANGES.txt > > > > [INFO] Exclude: README.txt > > > > [INFO] Exclude: NOTICE.txt > > > > [INFO] Exclude: LICENSE.txt > > > > [INFO] Exclude: KEYS > > > > [INFO] Exclude: **/.gitignore/** > > > > [INFO] Exclude: .git/** > > > > [INFO] Exclude: **/src/test/** > > > > [INFO] Exclude: **/src/site/** > > > > [INFO] Exclude: **/.project > > > > [INFO] Exclude: **/.classpath > > > > [INFO] Exclude: **/.settings/** > > > > [INFO] Exclude: **/target/** > > > > [INFO] Exclude: DEPENDENCIES > > > > [INFO] > > > > [INFO] --- maven-site-plugin:3.2:attach-descriptor > (attach-descriptor) > > @ > > > > MetaModel --- > > > > [INFO] > > > > [INFO] --- maven-license-plugin:1.4.0:check (verify-license-headers) > @ > > > > MetaModel --- > > > > [INFO] Checking licenses... > > > > [INFO] > > > > [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ > > > MetaModel > > > > --- > > > > [INFO] Installing /Users/arvind/Projects/metamodel/pom.xml to > > > > > > > > > > > > > > /Users/arvind/.m2/repository/org/apache/metamodel/MetaModel/4.0.1-incubating-SNAPSHOT/MetaModel-4.0.1-incubating-SNAPSHOT.pom > > > > [INFO] Installing > > > > > > > > > > > > > > /Users/arvind/Projects/metamodel/target/MetaModel-4.0.1-incubating-SNAPSHOT-site.xml > > > > to > > > > > > > > > > > > > > /Users/arvind/.m2/repository/org/apache/metamodel/MetaModel/4.0.1-incubating-SNAPSHOT/MetaModel-4.0.1-incubating-SNAPSHOT-site.xml > > > > [INFO] > > > > > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > [INFO] Building MetaModel core API 4.0.1-incubating-SNAPSHOT > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > [INFO] > > > > [INFO] --- maven-enforcer-plugin:1.0.1:enforce (enforce-versions) @ > > > > MetaModel-core --- > > > > [INFO] > > > > [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ > > > > MetaModel-core --- > > > > [INFO] > > > > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > > > > MetaModel-core --- > > > > [INFO] Using 'UTF-8' encoding to copy filtered resources. > > > > [INFO] skip non existing resourceDirectory > > > > /Users/arvind/Projects/metamodel/core/src/main/resources > > > > [INFO] Copying 3 resources > > > > [INFO] > > > > [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ > > > > MetaModel-core --- > > > > [INFO] Compiling 245 source files to > > > > /Users/arvind/Projects/metamodel/core/target/classes > > > > [INFO] > > > > [INFO] --- maven-resources-plugin:2.6:testResources > > > (default-testResources) > > > > @ MetaModel-core --- > > > > [INFO] Using 'UTF-8' encoding to copy filtered resources. > > > > [INFO] Copying 6 resources > > > > [INFO] Copying 3 resources > > > > [INFO] > > > > [INFO] --- maven-compiler-plugin:2.5.1:testCompile > > (default-testCompile) > > > @ > > > > MetaModel-core --- > > > > [INFO] Compiling 83 source files to > > > > /Users/arvind/Projects/metamodel/core/target/test-classes > > > > [INFO] > > > > [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ > > > > MetaModel-core --- > > > > [INFO] Surefire report directory: > > > > /Users/arvind/Projects/metamodel/core/target/surefire-reports > > > > > > > > ------------------------------------------------------- > > > > T E S T S > > > > ------------------------------------------------------- > > > > Running org.apache.metamodel.AbstractDataContextTest > > > > Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 > > sec > > > > Running org.apache.metamodel.CompositeDataContextTest > > > > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 > > sec > > > > Running org.apache.metamodel.convert.ColumnTypeDetectorTest > > > > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 > > sec > > > > Running org.apache.metamodel.convert.ConvertedDataSetInterceptorTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 > > sec > > > > Running > > org.apache.metamodel.convert.ConvertedRowInsertionInterceptorTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 > > sec > > > > Running org.apache.metamodel.convert.ConvertersTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 > > sec > > > > Running org.apache.metamodel.convert.StringToBooleanConverterTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 > > sec > > > > Running org.apache.metamodel.convert.StringToDateConverterTest > > > > Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.017 > > sec > > > > <<< FAILURE! > > > > > > > > > > testToVirtualNoArgs(org.apache.metamodel.convert.StringToDateConverterTest) > > > > Time elapsed: 0.014 sec <<< FAILURE! > > > > junit.framework.AssertionFailedError: expected:<Fri Dec 31 12:00:00 > PST > > > > 2010> but was:<Fri Dec 31 00:00:00 PST 2010> > > > > at junit.framework.Assert.fail(Assert.java:57) > > > > at junit.framework.Assert.failNotEquals(Assert.java:329) > > > > at junit.framework.Assert.assertEquals(Assert.java:78) > > > > at junit.framework.Assert.assertEquals(Assert.java:86) > > > > at junit.framework.TestCase.assertEquals(TestCase.java:253) > > > > at > > > > > > > > > > > > > > org.apache.metamodel.convert.StringToDateConverterTest.testToVirtualNoArgs(StringToDateConverterTest.java:45) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > at > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > at junit.framework.TestCase.runTest(TestCase.java:176) > > > > at junit.framework.TestCase.runBare(TestCase.java:141) > > > > at junit.framework.TestResult$1.protect(TestResult.java:122) > > > > at junit.framework.TestResult.runProtected(TestResult.java:142) > > > > at junit.framework.TestResult.run(TestResult.java:125) > > > > at junit.framework.TestCase.run(TestCase.java:129) > > > > at junit.framework.TestSuite.runTest(TestSuite.java:255) > > > > at junit.framework.TestSuite.run(TestSuite.java:250) > > > > at > > > > > > > > > > > > > > org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > at > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) > > > > at > > > > > > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) > > > > > > > > > > > > > > > > > > testToVirtualSimpleDateFormat(org.apache.metamodel.convert.StringToDateConverterTest) > > > > Time elapsed: 0 sec <<< FAILURE! > > > > junit.framework.AssertionFailedError: expected:<Fri Dec 31 12:00:00 > PST > > > > 2010> but was:<Fri Dec 31 00:00:00 PST 2010> > > > > at junit.framework.Assert.fail(Assert.java:57) > > > > at junit.framework.Assert.failNotEquals(Assert.java:329) > > > > at junit.framework.Assert.assertEquals(Assert.java:78) > > > > at junit.framework.Assert.assertEquals(Assert.java:86) > > > > at junit.framework.TestCase.assertEquals(TestCase.java:253) > > > > at > > > > > > > > > > > > > > org.apache.metamodel.convert.StringToDateConverterTest.testToVirtualSimpleDateFormat(StringToDateConverterTest.java:36) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > at > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > at junit.framework.TestCase.runTest(TestCase.java:176) > > > > at junit.framework.TestCase.runBare(TestCase.java:141) > > > > at junit.framework.TestResult$1.protect(TestResult.java:122) > > > > at junit.framework.TestResult.runProtected(TestResult.java:142) > > > > at junit.framework.TestResult.run(TestResult.java:125) > > > > at junit.framework.TestCase.run(TestCase.java:129) > > > > at junit.framework.TestSuite.runTest(TestSuite.java:255) > > > > at junit.framework.TestSuite.run(TestSuite.java:250) > > > > at > > > > > > > > > > > > > > org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > at > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) > > > > at > > > > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) > > > > > > > > Running org.apache.metamodel.convert.StringToDoubleConverterTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.convert.StringToIntegerConverterTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 > > sec > > > > Running org.apache.metamodel.create.AbstractCreateTableBuilderTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 > > sec > > > > Running org.apache.metamodel.data.DataSetIteratorTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 > > sec > > > > Running org.apache.metamodel.data.DataSetTableModelTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 > > sec > > > > Running org.apache.metamodel.data.DefaultRowTest > > > > Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.069 > > sec > > > > Running org.apache.metamodel.data.FirstRowDataSetTest > > > > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 > > sec > > > > Running org.apache.metamodel.data.RowPublisherDataSetTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.04 > > sec > > > > Running org.apache.metamodel.data.RowTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 > > sec > > > > Running org.apache.metamodel.data.StyleBuilderTest > > > > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 > > sec > > > > Running org.apache.metamodel.delete.AbstractRowDeletionCallbackTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 > > sec > > > > Running org.apache.metamodel.insert.AbstractInsertBuilderTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 > > sec > > > > Running org.apache.metamodel.intercept.InterceptableDataContextTest > > > > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 > > sec > > > > Running org.apache.metamodel.intercept.InterceptorListTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.intercept.InterceptorsTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.MetaModelHelperTest > > > > Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > 0.006 > > > sec > > > > Running > org.apache.metamodel.query.builder.GroupedQueryBuilderImplTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 > > sec > > > > Running org.apache.metamodel.query.builder.SyntaxExamplesTest > > > > Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 > > sec > > > > Running org.apache.metamodel.query.builder.WhereBuilderImplTest > > > > Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 > > sec > > > > Running org.apache.metamodel.query.DefaultCompiledQueryTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 > > sec > > > > Running org.apache.metamodel.query.FilterItemTest > > > > Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > 0.008 > > > sec > > > > Running org.apache.metamodel.query.FromClauseTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.query.FromItemTest > > > > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 > > sec > > > > Running org.apache.metamodel.query.FunctionTypeTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 > > sec > > > > Running org.apache.metamodel.query.GroupByItemTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.query.OperatorTypeTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.query.OrderByItemTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.query.parser.QueryParserTest > > > > Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > 0.022 > > > sec > > > > Running org.apache.metamodel.query.parser.QueryPartParserTest > > > > Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.query.QueryTest > > > > Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > 0.024 > > > sec > > > > Running org.apache.metamodel.query.SelectClauseTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.query.SelectItemTest > > > > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.QueryPostprocessDataContextTest > > > > Tests run: 27, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 > > sec > > > > Running org.apache.metamodel.schema.ColumnTypeTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 > > sec > > > > Running org.apache.metamodel.schema.DataTypeTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.schema.ImmutableSchemaTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.schema.JavaTypesTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.schema.MutableColumnTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.schema.MutableSchemaTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.schema.MutableTableTest > > > > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.schema.SchemaModelTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 > > sec > > > > Running org.apache.metamodel.schema.TableTypeTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.SchemaNameComparatorTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 > > sec > > > > Running org.apache.metamodel.util.AlphabeticSequenceTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.util.BaseObjectTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.util.BooleanComparatorTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.util.ClasspathResourceTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.util.CollectionUtilsTest > > > > Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.util.DateUtilsTest > > > > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > <<< > > > > FAILURE! > > > > testGet(org.apache.metamodel.util.DateUtilsTest) Time elapsed: 0 sec > > > <<< > > > > FAILURE! > > > > junit.framework.ComparisonFailure: expected:<2010-12-24 [00]:00:00> > but > > > > was:<2010-12-24 [12]:00:00> > > > > at junit.framework.Assert.assertEquals(Assert.java:100) > > > > at junit.framework.Assert.assertEquals(Assert.java:107) > > > > at junit.framework.TestCase.assertEquals(TestCase.java:269) > > > > at > > org.apache.metamodel.util.DateUtilsTest.testGet(DateUtilsTest.java:32) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > at > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > at junit.framework.TestCase.runTest(TestCase.java:176) > > > > at junit.framework.TestCase.runBare(TestCase.java:141) > > > > at junit.framework.TestResult$1.protect(TestResult.java:122) > > > > at junit.framework.TestResult.runProtected(TestResult.java:142) > > > > at junit.framework.TestResult.run(TestResult.java:125) > > > > at junit.framework.TestCase.run(TestCase.java:129) > > > > at junit.framework.TestSuite.runTest(TestSuite.java:255) > > > > at junit.framework.TestSuite.run(TestSuite.java:250) > > > > at > > > > > > > > > > > > > > org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > at > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) > > > > at > > > > > > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) > > > > > > > > Running org.apache.metamodel.util.EqualsBuilderTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 > > sec > > > > Running org.apache.metamodel.util.ExclusionPredicateTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.util.FileHelperTest > > > > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 > > sec > > > > Running org.apache.metamodel.util.FormatHelperTest > > > > Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.003 > > sec > > > > <<< FAILURE! > > > > testFormatSqlValue(org.apache.metamodel.util.FormatHelperTest) Time > > > > elapsed: 0.001 sec <<< FAILURE! > > > > junit.framework.ComparisonFailure: expected:<...MESTAMP '2011-07-24 > > > > [00]:00:00'> but was:<...MESTAMP '2011-07-24 [12]:00:00'> > > > > at junit.framework.Assert.assertEquals(Assert.java:100) > > > > at junit.framework.Assert.assertEquals(Assert.java:107) > > > > at junit.framework.TestCase.assertEquals(TestCase.java:269) > > > > at > > > > > > > > > > > > > > org.apache.metamodel.util.FormatHelperTest.testFormatSqlValue(FormatHelperTest.java:42) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > at > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > at junit.framework.TestCase.runTest(TestCase.java:176) > > > > at junit.framework.TestCase.runBare(TestCase.java:141) > > > > at junit.framework.TestResult$1.protect(TestResult.java:122) > > > > at junit.framework.TestResult.runProtected(TestResult.java:142) > > > > at junit.framework.TestResult.run(TestResult.java:125) > > > > at junit.framework.TestCase.run(TestCase.java:129) > > > > at junit.framework.TestSuite.runTest(TestSuite.java:255) > > > > at junit.framework.TestSuite.run(TestSuite.java:250) > > > > at > > > > > > > > > > > > > > org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > at > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) > > > > at > > > > > > > > > > > > > > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) > > > > at > > > > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) > > > > > > > > Running org.apache.metamodel.util.InclusionPredicateTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 > > sec > > > > Running org.apache.metamodel.util.InMemoryResourceTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 > > sec > > > > Running org.apache.metamodel.util.LazyRefTest > > > > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 > > sec > > > > Running org.apache.metamodel.util.MonthTest > > > > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.util.NumberComparatorTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.util.ObjectComparatorTest > > > > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 > > sec > > > > Running org.apache.metamodel.util.ResourceUtilsTest > > > > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 > > sec > > > > Running org.apache.metamodel.util.SerializableRefTest > > > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 > > sec > > > > Running org.apache.metamodel.util.SimpleRefTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.util.TimeComparatorTest > > > > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.212 > > sec > > > > Running org.apache.metamodel.util.ToStringComparatorTest > > > > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.util.UrlResourceTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > Running org.apache.metamodel.util.WeekdayTest > > > > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 > > sec > > > > Running org.apache.metamodel.util.WildcardPatternTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec > > > > > > > > Results : > > > > > > > > Failed tests: > > > > > > > > > > > > > > testToVirtualNoArgs(org.apache.metamodel.convert.StringToDateConverterTest): > > > > expected:<Fri Dec 31 12:00:00 PST 2010> but was:<Fri Dec 31 00:00:00 > > PST > > > > 2010> > > > > > > > > > > > > > > > > > > testToVirtualSimpleDateFormat(org.apache.metamodel.convert.StringToDateConverterTest): > > > > expected:<Fri Dec 31 12:00:00 PST 2010> but was:<Fri Dec 31 00:00:00 > > PST > > > > 2010> > > > > testGet(org.apache.metamodel.util.DateUtilsTest): > > expected:<2010-12-24 > > > > [00]:00:00> but was:<2010-12-24 [12]:00:00> > > > > testFormatSqlValue(org.apache.metamodel.util.FormatHelperTest): > > > > expected:<...MESTAMP '2011-07-24 [00]:00:00'> but was:<...MESTAMP > > > > '2011-07-24 [12]:00:00'> > > > > > > > > Tests run: 255, Failures: 4, Errors: 0, Skipped: 0 > > > > > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > [INFO] Reactor Summary: > > > > [INFO] > > > > [INFO] MetaModel ......................................... SUCCESS > > > [2.827s] > > > > [INFO] MetaModel core API ................................ FAILURE > > > [6.589s] > > > > [INFO] MetaModel module for collection and POJO-based DataContexts. > > > > SKIPPED > > > > [INFO] MetaModel module for fixed width value files ...... SKIPPED > > > > [INFO] MetaModel module for Excel spreadsheets ........... SKIPPED > > > > [INFO] MetaModel module for comma-separated value (CSV) files > SKIPPED > > > > [INFO] MetaModel module for XML files .................... SKIPPED > > > > [INFO] MetaModel module for relational JDBC databases .... SKIPPED > > > > [INFO] MetaModel module for MongoDB databases ............ SKIPPED > > > > [INFO] MetaModel module for CouchDB databases ............ SKIPPED > > > > [INFO] MetaModel module for OpenOffice.org database files SKIPPED > > > > [INFO] MetaModel module for Salesforce.com ............... SKIPPED > > > > [INFO] MetaModel module for SugarCRM ..................... SKIPPED > > > > [INFO] MetaModel full package, including DataContext factories > SKIPPED > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > [INFO] BUILD FAILURE > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > [INFO] Total time: 9.860s > > > > [INFO] Finished at: Tue Nov 26 13:00:30 PST 2013 > > > > [INFO] Final Memory: 20M/81M > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > [ERROR] Failed to execute goal > > > > org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test > > (default-test) > > > > on project MetaModel-core: There are test failures. > > > > [ERROR] > > > > [ERROR] Please refer to > > > > /Users/arvind/Projects/metamodel/core/target/surefire-reports for the > > > > individual test results. > > > > [ERROR] -> [Help 1] > > > > [ERROR] > > > > [ERROR] To see the full stack trace of the errors, re-run Maven with > > the > > > -e > > > > switch. > > > > [ERROR] Re-run Maven using the -X switch to enable full debug > logging. > > > > [ERROR] > > > > [ERROR] For more information about the errors and possible solutions, > > > > please read the following articles: > > > > [ERROR] [Help 1] > > > > > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > > > > [ERROR] > > > > [ERROR] After correcting the problems, you can resume the build with > > the > > > > command > > > > [ERROR] mvn <goals> -rf :MetaModel-core > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Nov 26, 2013 at 6:01 AM, Ankit Kumar < > [email protected] > > > > >wrote: > > > > > > > > > Thanks Kasper for pointing to the exact fix. > > > > > > > > > > @Arvind, I have committed the fix for first 2 issues. May be you > want > > > to > > > > > review the Disclaimer file content. > > > > > Also if you share more info on the test failure on MacOS then we > can > > > > solve > > > > > that. I also don't have a Mac. > > > > > > > > > > Regards > > > > > Ankit > > > > > > > > > > > > > > > On Tue, Nov 26, 2013 at 9:46 AM, Kasper Sørensen < > > > > > [email protected]> wrote: > > > > > > > > > > > Build works here if I fix the rat plugin by adding this on line > 197 > > > of > > > > > > /pom.xml: > > > > > > > > > > > > <exclude>DEPENDENCIES</exclude> > > > > > > > > > > > > Arvind, can you elaborate which tests fail on your Mac OS? Sorry > I > > > > don't > > > > > > have a Mac OS myself to test it on, it might be a bug in one of > the > > > > > > unittests. > > > > > > > > > > > > Kasper > > > > > > > > > > > > > > > > > > 2013/11/26 Kasper Sørensen <[email protected]> > > > > > > > > > > > > > Thank you for pointing these things out Arvind. So I guess we > > still > > > > > have > > > > > > a > > > > > > > little work to do Ankit :-) Are you up for making these small > > > > > > > modifications/additions? > > > > > > > > > > > > > > > > > > > > > 2013/11/22 Arvind Prabhakar <[email protected]> > > > > > > > > > > > > > >> Ankit, > > > > > > >> > > > > > > >> Thanks for your hard work and that of the fellow community > > members > > > > to > > > > > > get > > > > > > >> this release candidate out. This is great progress and I > believe > > > you > > > > > are > > > > > > >> very close to making your first incubating release now. There > > are > > > a > > > > > few > > > > > > >> issues that I noticed that have been mentioned below. Please > > > glance > > > > > > >> through > > > > > > >> them and let me know if you have any questions. > > > > > > >> > > > > > > >> I verified the following for > > > > > > MetaModel-4.0.0-incubating-source-release.zip > > > > > > >> [1] only. > > > > > > >> > > > > > > >> The following checked out OK: > > > > > > >> * Verified signature > > > > > > >> * Verified checksums (md5, sha1) > > > > > > >> * Verified tag against source distribution > > > > > > >> > > > > > > >> Following issues were found: > > > > > > >> * RAT test fails in the source artifact since it does not > > exclude > > > > > > >> DEPENDENCIES file. > > > > > > >> * No DISCLAIMER file found. See [2] for details. > > > > > > >> * Source distribution does not build (test failures on Mac OSX > > > > 10.9), > > > > > > and > > > > > > >> no build instructions found. > > > > > > >> > > > > > > >> Give the above I am -1 for this release candidate. > > > > > > >> > > > > > > >> [1] > > > > > > >> > > > > > > >> > > > > > > > > > > > > > > > > > > > > > https://repository.apache.org/content/repositories/orgapachemetamodel-142/org/apache/metamodel/MetaModel/4.0.0-incubating/MetaModel-4.0.0-incubating-source-release.zip > > > > > > >> [2] > > > > > > >> > > > > > > > > > > > > > > > > > > > > > http://incubator.apache.org/guides/releasemanagement.html#notes-disclaimer > > > > > > >> > > > > > > >> Regards, > > > > > > >> Arvind Prabhakar > > > > > > >> > > > > > > >> > > > > > > >> On Wed, Nov 20, 2013 at 4:35 AM, Ankit Kumar < > > > > [email protected] > > > > > > >> >wrote: > > > > > > >> > > > > > > >> > Hi All, > > > > > > >> > > > > > > > >> > Please vote on releasing the following candidate as Apache > > > > Metamodel > > > > > > >> > (incubating) version 4.0.0. > > > > > > >> > This will be the first incubator release for MetaModel > project > > > in > > > > > > >> Apache. > > > > > > >> > > > > > > > >> > The tag to be voted on is v4.0.0-incubating : > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > https://git-wip-us.apache.org/repos/asf?p=incubator-metamodel.git;a=tag;h=refs/tags/MetaModel-4.0.0-incubating > > > > > > >> > > > > > > > >> > > > > > > > >> > Release artifacts are signed with the following key: > > > > > > >> > https://people.apache.org/keys/committer/ankitkumar2711.asc > > > > > > >> > > > > > > > >> > The staging repository for this release can be found at: > > > > > > >> > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > https://repository.apache.org/content/repositories/orgapachemetamodel-142 > > > > > > >> > > > > > > > >> > Please vote on releasing this package as Apache MetaModel > > > > > > >> 4.0.0-incubating. > > > > > > >> > The vote is open until < DATE AND TIME FOR THE NEXT 72 > hours> > > > and > > > > > > >> > passes if a majority of at least 3 IPMC votes are cast. > > > > > > >> > > > > > > > >> > [ ] +1 Release this package as Apache MetaModel > > 4.0.0-incubating > > > > > > >> > [ ] -1 Do not release this package because ... > > > > > > >> > > > > > > > >> > > > > > > > >> > Regards > > > > > > >> > Ankit > > > > > > >> > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
