See <https://builds.apache.org/job/JMeter-trunk/7317/display/redirect?page=changes>
Changes: [felix.schumacher] spelchak [felix.schumacher] Formatting of code no other change [felix.schumacher] Reuse local variable actualChar [felix.schumacher] Add a few more tests for date conversion [felix.schumacher] More unit tests for automatic conversion [felix.schumacher] Test one more method in Converter ------------------------------------------ [...truncated 74.53 KB...] > Task :src:examples:assemble UP-TO-DATE > Task :src:functions:compileJava Note: <https://builds.apache.org/job/JMeter-trunk/ws/src/functions/src/main/java/org/apache/jmeter/functions/StringFromFile.java> uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :src:functions:compileGroovy NO-SOURCE > Task :src:functions:classes > Task :src:functions:jar > Task :src:functions:checkstyleMain > Task :src:functions:assemble > Task :src:protocol:http:compileJava Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: <https://builds.apache.org/job/JMeter-trunk/ws/src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java> uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. > Task :src:protocol:http:compileGroovy NO-SOURCE > Task :src:protocol:http:classes > Task :src:dist:compileJava NO-SOURCE > Task :src:dist:classes UP-TO-DATE > Task :src:protocol:http:jar UP-TO-DATE > Task :src:dist-check:compileJava NO-SOURCE > Task :src:dist:checkstyleMain NO-SOURCE > Task :src:dist-check:compileGroovy NO-SOURCE > Task :src:dist-check:classes UP-TO-DATE > Task :src:dist-check:checkstyleMain NO-SOURCE > Task :src:dist:jar UP-TO-DATE > Task :src:dist-check:jar UP-TO-DATE > Task :src:dist-check:assemble UP-TO-DATE > Task :src:protocol:junit-sample:spotbugsMain SpotBugs rule violations were found. See the report at: file://<https://builds.apache.org/job/JMeter-trunk/ws/src/protocol/junit-sample/build/reports/spotbugs/main.xml> > Task :src:protocol:junit-sample:compileTestJava NO-SOURCE > Task :src:protocol:junit-sample:testClasses UP-TO-DATE > Task :src:protocol:junit-sample:checkstyleTest NO-SOURCE > Task :src:protocol:junit-sample:spotbugsTest NO-SOURCE > Task :src:protocol:junit-sample:test NO-SOURCE > Task :src:protocol:junit-sample:check > Task :src:components:checkstyleMain > Task :src:protocol:ftp:spotbugsMain > Task :src:protocol:java:spotbugsMain > Task :src:protocol:jdbc:spotbugsMain > Task :src:protocol:native:spotbugsMain > Task :src:protocol:ldap:spotbugsMain > Task :src:protocol:mongodb:spotbugsMain > Task :src:protocol:tcp:spotbugsMain > Task :src:protocol:junit:spotbugsMain > Task :src:protocol:jms:spotbugsMain > Task :src:protocol:mail:spotbugsMain > Task :src:components:compileTestJava Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :src:protocol:mongodb:spotbugsMain SpotBugs rule violations were found. See the report at: file://<https://builds.apache.org/job/JMeter-trunk/ws/src/protocol/mongodb/build/reports/spotbugs/main.xml> > Task :src:protocol:http:checkstyleMain > Task :src:protocol:http:assemble UP-TO-DATE > Task :src:protocol:mongodb:compileTestJava > Task :src:protocol:mongodb:testClasses > Task :src:protocol:mongodb:testJar UP-TO-DATE > Task :src:protocol:mongodb:checkstyleTest > Task :src:core:checkstyleMain > Task :src:protocol:native:spotbugsMain SpotBugs rule violations were found. See the report at: file://<https://builds.apache.org/job/JMeter-trunk/ws/src/protocol/native/build/reports/spotbugs/main.xml> > Task :src:protocol:native:compileTestJava > Task :src:protocol:native:testClasses > Task :src:protocol:native:testJar UP-TO-DATE > Task :src:protocol:ftp:spotbugsMain SpotBugs rule violations were found. See the report at: file://<https://builds.apache.org/job/JMeter-trunk/ws/src/protocol/ftp/build/reports/spotbugs/main.xml> > Task :src:protocol:native:checkstyleTest > Task :src:protocol:ftp:compileTestJava > Task :src:protocol:ftp:testClasses > Task :src:protocol:ftp:testJar UP-TO-DATE > Task :src:components:compileTestGroovy > Task :src:components:testClasses > Task :src:protocol:ftp:checkstyleTest > Task :src:core:checkstyleTest > Task :src:protocol:jdbc:spotbugsMain SpotBugs rule violations were found. See the report at: file://<https://builds.apache.org/job/JMeter-trunk/ws/src/protocol/jdbc/build/reports/spotbugs/main.xml> > Task :src:components:checkstyleTest > Task :src:protocol:jdbc:compileTestJava > Task :src:protocol:jdbc:compileTestGroovy > Task :src:protocol:jdbc:testClasses > Task :src:protocol:jdbc:testJar UP-TO-DATE > Task :src:protocol:tcp:spotbugsMain SpotBugs rule violations were found. See the report at: file://<https://builds.apache.org/job/JMeter-trunk/ws/src/protocol/tcp/build/reports/spotbugs/main.xml> > Task :src:protocol:jdbc:checkstyleTest > Task :src:protocol:tcp:compileTestJava > Task :src:protocol:tcp:testClasses > Task :src:protocol:tcp:testJar UP-TO-DATE > Task :src:protocol:tcp:checkstyleTest > Task :src:protocol:junit:spotbugsMain SpotBugs rule violations were found. See the report at: file://<https://builds.apache.org/job/JMeter-trunk/ws/src/protocol/junit/build/reports/spotbugs/main.xml> > Task :src:protocol:junit:compileTestJava > Task :src:protocol:junit:testClasses > Task :src:protocol:junit:testJar UP-TO-DATE > Task :src:protocol:junit:checkstyleTest > Task :src:protocol:ldap:compileTestJava > Task :src:protocol:ldap:testClasses > Task :src:protocol:ldap:testJar UP-TO-DATE > Task :src:protocol:ldap:checkstyleTest > Task :src:protocol:java:compileTestJava > Task :src:protocol:java:testClasses > Task :src:protocol:java:testJar UP-TO-DATE > Task :src:protocol:mail:spotbugsMain SpotBugs rule violations were found. See the report at: file://<https://builds.apache.org/job/JMeter-trunk/ws/src/protocol/mail/build/reports/spotbugs/main.xml> > Task :src:protocol:java:checkstyleTest > Task :src:dist:javadocAggregate > Task :src:protocol:mail:compileTestJava > Task :src:protocol:mail:testClasses > Task :src:protocol:mail:testJar UP-TO-DATE > Task :src:protocol:mail:checkstyleTest > Task :src:protocol:mongodb:spotbugsTest > Task :src:protocol:jms:spotbugsMain SpotBugs rule violations were found. See the report at: file://<https://builds.apache.org/job/JMeter-trunk/ws/src/protocol/jms/build/reports/spotbugs/main.xml> > Task :src:protocol:jms:compileTestJava > Task :src:protocol:jms:testClasses > Task :src:protocol:jms:testJar UP-TO-DATE > Task :src:protocol:jms:checkstyleTest > Task :src:protocol:mongodb:test > Task :src:protocol:mongodb:check > Task :src:protocol:mongodb:assemble UP-TO-DATE > Task :src:protocol:ftp:spotbugsTest > Task :src:protocol:native:spotbugsTest > Task :src:protocol:ftp:test > Task :src:protocol:ftp:check > Task :src:jorphan:test org.apache.jorphan.util.ConverterSpec > Convert to date from '8/20/19' FAILED Condition not satisfied: Math.abs(Converter.convert(value, Date.class).getTime() - expected.getTime()) < 1000 | | | | | | | | 7200000 | 8/20/19 | | | | false | | | | 1566252000000 | | | Mon Aug 19 22:00:00 UTC 2019 | | 7200000 | 1566259200000 Tue Aug 20 00:00:00 UTC 2019 at org.apache.jorphan.util.ConverterSpec.Convert to date from '#value'(ConverterSpec.groovy:122) org.apache.jorphan.util.ConverterSpec > Convert to Calendar from '8/20/19' FAILED Condition not satisfied: Math.abs( Converter.convert(value, Calendar.class).getTime().getTime() - expected.getTime()) < 1000 | | | | | | | | | 7200000 | 8/20/19 | | | | | false | | | | | 1566252000000 | | | | Mon Aug 19 22:00:00 UTC 2019 | | | 7200000 | | 1566259200000 | Tue Aug 20 00:00:00 UTC 2019 java.util.GregorianCalendar[time=1566259200000,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Etc/UTC",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2019,MONTH=7,WEEK_OF_YEAR=34,WEEK_OF_MONTH=4,DAY_OF_MONTH=20,DAY_OF_YEAR=232,DAY_OF_WEEK=3,DAY_OF_WEEK_IN_MONTH=3,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=0,ZONE_OFFSET=0,DST_OFFSET=0] at org.apache.jorphan.util.ConverterSpec.Convert to Calendar from '#value'(ConverterSpec.groovy:133) > Task :src:protocol:native:test > Task :src:protocol:native:check > Task :src:jorphan:test FAILED 227 tests completed, 2 failed, 2 skipped > Task :src:protocol:junit:spotbugsTest > Task :src:protocol:ldap:spotbugsTest > Task :src:protocol:tcp:spotbugsTest > Task :src:protocol:java:spotbugsTest > Task :src:protocol:jdbc:spotbugsTest SpotBugs rule violations were found. See the report at: file://<https://builds.apache.org/job/JMeter-trunk/ws/src/protocol/jdbc/build/reports/spotbugs/test.xml> > Task :src:protocol:mail:spotbugsTest > Task :src:protocol:jms:spotbugsTest > Task :src:core:spotbugsMain > Task :src:components:spotbugsMain The following classes needed for analysis were missing: org.bouncycastle.asn1.x500.style.BCStyle org.bouncycastle.asn1.ASN1ObjectIdentifier org.bouncycastle.asn1.ASN1Encodable org.bouncycastle.asn1.x509.Extension org.bouncycastle.operator.DigestCalculatorProvider org.bouncycastle.util.Selector org.bouncycastle.cert.X509CertificateHolder org.bouncycastle.cms.SignerInformationVerifier org.bouncycastle.mail.smime.SMIMESignedParser org.bouncycastle.operator.bc.BcDigestCalculatorProvider org.bouncycastle.cms.CMSException org.bouncycastle.mail.smime.SMIMEException org.bouncycastle.cms.SignerInformationStore org.bouncycastle.cms.SignerInformation org.bouncycastle.util.Store org.bouncycastle.cms.jcajce.JcaSimpleSignerInfoVerifierBuilder org.bouncycastle.asn1.x500.X500Name org.bouncycastle.cert.jcajce.JcaX509CertificateHolder org.bouncycastle.asn1.x500.RDN org.bouncycastle.asn1.x500.AttributeTypeAndValue org.bouncycastle.asn1.x500.style.IETFUtils org.bouncycastle.asn1.x509.GeneralNames org.bouncycastle.asn1.x509.GeneralName org.bouncycastle.jce.provider.BouncyCastleProvider org.bouncycastle.operator.OperatorCreationException SpotBugs rule violations were found. See the report at: file://<https://builds.apache.org/job/JMeter-trunk/ws/src/components/build/reports/spotbugs/main.xml> > Task :src:core:spotbugsMain SpotBugs rule violations were found. See the report at: file://<https://builds.apache.org/job/JMeter-trunk/ws/src/core/build/reports/spotbugs/main.xml> FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':src:jorphan:test'. > There were failing tests. See the report at: > file://<https://builds.apache.org/job/JMeter-trunk/ws/src/jorphan/build/reports/tests/test/index.html> * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/5.5.1/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 2m 51s 198 actionable tasks: 122 executed, 76 up-to-date Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure [locks-and-latches] Releasing all the locks [locks-and-latches] All the locks released Archiving artifacts [Fast Archiver] Compressed 147.68 MB of artifacts by 74.9% relative to #7316 Recording test results
