[jira] [Updated] (OAK-2440) local build 22 minutes
[ https://issues.apache.org/jira/browse/OAK-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dürig updated OAK-2440: --- Labels: build (was: ) > local build 22 minutes > -- > > Key: OAK-2440 > URL: https://issues.apache.org/jira/browse/OAK-2440 > Project: Jackrabbit Oak > Issue Type: Bug >Reporter: Davide Giannella > Labels: build > Attachments: OAK-2440-00.patch, elapsed-times-01.txt, > elasped-times.txt > > > A build without any integrationTesting or pedantic profile completed locally > in 22:40.901s. > While this is an exceptional case, on my machine is common for it to last 12 > minutes. > Extracted a list of longest tests > {noformat} > 188.913 Running > org.apache.jackrabbit.oak.plugins.segment.standby.ExternalPrivateStoreIT > 187.421 Running > org.apache.jackrabbit.oak.plugins.segment.standby.ExternalSharedStoreIT > 66.123 Running > org.apache.jackrabbit.oak.plugins.document.BasicDocumentStoreTest > 50.314 Running org.apache.jackrabbit.oak.plugins.segment.HeavyWriteIT > 44.019 Running org.apache.jackrabbit.oak.jcr.query.QueryJcrTest > 40.476 Running > org.apache.jackrabbit.oak.plugins.segment.file.SegmentReferenceLimitTestIT > 35.61 Running org.apache.jackrabbit.oak.jcr.tck.ObservationIT > 32.004 Running org.apache.jackrabbit.oak.plugins.segment.standby.RecoverTest > 26.578 Running org.apache.jackrabbit.oak.core.RootFuzzIT > 24.861 Running > org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OAK-2440) local build 22 minutes
[ https://issues.apache.org/jira/browse/OAK-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Davide Giannella updated OAK-2440: -- Attachment: OAK-2440-00.patch [~alex.parvulescu] I understood that makes sense to run the ITs only on Segment. In [^OAK-2440-00.patch] a patch where I changed the tests so that they're aware of the {{ns-fixtures}} and will run only in the segment case. > local build 22 minutes > -- > > Key: OAK-2440 > URL: https://issues.apache.org/jira/browse/OAK-2440 > Project: Jackrabbit Oak > Issue Type: Bug >Reporter: Davide Giannella > Attachments: OAK-2440-00.patch, elapsed-times-01.txt, > elasped-times.txt > > > A build without any integrationTesting or pedantic profile completed locally > in 22:40.901s. > While this is an exceptional case, on my machine is common for it to last 12 > minutes. > Extracted a list of longest tests > {noformat} > 188.913 Running > org.apache.jackrabbit.oak.plugins.segment.standby.ExternalPrivateStoreIT > 187.421 Running > org.apache.jackrabbit.oak.plugins.segment.standby.ExternalSharedStoreIT > 66.123 Running > org.apache.jackrabbit.oak.plugins.document.BasicDocumentStoreTest > 50.314 Running org.apache.jackrabbit.oak.plugins.segment.HeavyWriteIT > 44.019 Running org.apache.jackrabbit.oak.jcr.query.QueryJcrTest > 40.476 Running > org.apache.jackrabbit.oak.plugins.segment.file.SegmentReferenceLimitTestIT > 35.61 Running org.apache.jackrabbit.oak.jcr.tck.ObservationIT > 32.004 Running org.apache.jackrabbit.oak.plugins.segment.standby.RecoverTest > 26.578 Running org.apache.jackrabbit.oak.core.RootFuzzIT > 24.861 Running > org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OAK-2440) local build 22 minutes
[ https://issues.apache.org/jira/browse/OAK-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Davide Giannella updated OAK-2440: -- Attachment: elapsed-times-01.txt This is at least annoying. I re-did the build and the IT didn't appear any longer... Nevertheless the build took 14:13.662s to complete which IMO is a bit too long. here the new top 10 and in [^elapsed-times-01.txt] the full list {noformat} 88.951 org.apache.jackrabbit.oak.jcr.query.QueryJcrTest 86.353 org.apache.jackrabbit.oak.plugins.segment.standby.StandbyTest 65.145 org.apache.jackrabbit.oak.plugins.document.BasicDocumentStoreTest 44.222 org.apache.jackrabbit.oak.jcr.query.QueryJcrTest 32.011 org.apache.jackrabbit.oak.plugins.segment.standby.RecoverTest 24.931 org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest 21.172 org.apache.jackrabbit.oak.plugins.segment.standby.FailoverMultipleClientsTest 18.411 org.apache.jackrabbit.oak.plugins.segment.ExternalBlobTest 17.849 org.apache.jackrabbit.oak.plugins.segment.standby.FailoverSslTest 16.48 org.apache.jackrabbit.oak.plugins.document.VersionGarbageCollectorTest {noformat} for generating the list {noformat} $ mvn clean install | tee ~/tmp/oak-build-001.log $ grep 'Running\|Time elapsed' ~/tmp/oak-build-001.log | awk '{ if ($0 ~ /^Running/) test=$2 ; if ($0 ~ /^Tests run/) print $12," ",test }' | sort -rn | tee ~/tmp/elapsed-times-01.txt {noformat} > local build 22 minutes > -- > > Key: OAK-2440 > URL: https://issues.apache.org/jira/browse/OAK-2440 > Project: Jackrabbit Oak > Issue Type: Bug >Reporter: Davide Giannella > Attachments: elapsed-times-01.txt, elasped-times.txt > > > A build without any integrationTesting or pedantic profile completed locally > in 22:40.901s. > While this is an exceptional case, on my machine is common for it to last 12 > minutes. > Extracted a list of longest tests > {noformat} > 188.913 Running > org.apache.jackrabbit.oak.plugins.segment.standby.ExternalPrivateStoreIT > 187.421 Running > org.apache.jackrabbit.oak.plugins.segment.standby.ExternalSharedStoreIT > 66.123 Running > org.apache.jackrabbit.oak.plugins.document.BasicDocumentStoreTest > 50.314 Running org.apache.jackrabbit.oak.plugins.segment.HeavyWriteIT > 44.019 Running org.apache.jackrabbit.oak.jcr.query.QueryJcrTest > 40.476 Running > org.apache.jackrabbit.oak.plugins.segment.file.SegmentReferenceLimitTestIT > 35.61 Running org.apache.jackrabbit.oak.jcr.tck.ObservationIT > 32.004 Running org.apache.jackrabbit.oak.plugins.segment.standby.RecoverTest > 26.578 Running org.apache.jackrabbit.oak.core.RootFuzzIT > 24.861 Running > org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OAK-2440) local build 22 minutes
[ https://issues.apache.org/jira/browse/OAK-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Davide Giannella updated OAK-2440: -- Attachment: elasped-times.txt Attaching [^elasped-times.txt] with the list of all the executed tests sorted from the slowest to the fastest. It seems a quick win would be to avoid executing IntegrationTesting when not requested. > local build 22 minutes > -- > > Key: OAK-2440 > URL: https://issues.apache.org/jira/browse/OAK-2440 > Project: Jackrabbit Oak > Issue Type: Bug >Reporter: Davide Giannella > Attachments: elasped-times.txt > > > A build without any integrationTesting or pedantic profile completed locally > in 22:40.901s. > While this is an exceptional case, on my machine is common for it to last 12 > minutes. > Extracted a list of longest tests > {noformat} > 188.913 Running > org.apache.jackrabbit.oak.plugins.segment.standby.ExternalPrivateStoreIT > 187.421 Running > org.apache.jackrabbit.oak.plugins.segment.standby.ExternalSharedStoreIT > 66.123 Running > org.apache.jackrabbit.oak.plugins.document.BasicDocumentStoreTest > 50.314 Running org.apache.jackrabbit.oak.plugins.segment.HeavyWriteIT > 44.019 Running org.apache.jackrabbit.oak.jcr.query.QueryJcrTest > 40.476 Running > org.apache.jackrabbit.oak.plugins.segment.file.SegmentReferenceLimitTestIT > 35.61 Running org.apache.jackrabbit.oak.jcr.tck.ObservationIT > 32.004 Running org.apache.jackrabbit.oak.plugins.segment.standby.RecoverTest > 26.578 Running org.apache.jackrabbit.oak.core.RootFuzzIT > 24.861 Running > org.apache.jackrabbit.oak.security.authentication.ldap.LdapProviderTest > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)