Hi Daniil,

When I invoked conversion tests using "mvn clean install
-Pjava-bdb.1-0 ", all tests passed as expected.

However when I tried executing them using

mvn clean install -Pjava-bdb.1-0
-Dtest=\!CompressedMessageContentTest*,\!ExportImportMessagesTest*,\!UpgradeFrom7To8Test*,\!MultiNodeTest*,\!BDBUpgradeTest*
-Dsurefire.failIfNoSpecifiedTests=false

the real test executions "default-tests", "1.0_to_0-9-1",etc passed the tests.
Here are some of the logs

[INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @
qpid-systests-end-to-end-conversion-tests ---
[INFO] Using auto detected provider
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running 
org.apache.qpid.systests.end_to_end_conversion.SimpleConversionTest
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 13, Time
elapsed: 24.78 s -- in
org.apache.qpid.systests.end_to_end_conversion.SimpleConversionTest
[INFO]
[INFO] Results:
[INFO]
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 13
[INFO]
[INFO]
[INFO] --- maven-surefire-plugin:3.1.2:test (1.0_to_0-9-1) @
qpid-systests-end-to-end-conversion-tests ---
[INFO] Using auto detected provider
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running 
org.apache.qpid.systests.end_to_end_conversion.SimpleConversionTest
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 11, Time
elapsed: 24.78 s -- in
org.apache.qpid.systests.end_to_end_conversion.SimpleConversionTest
[INFO]
[INFO] Results:
[INFO]
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 11


The tests failed only when an execution "integration-test" gets
executed. here the corresponding logs


[INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @
qpid-systests-end-to-end-conversion-tests ---
[INFO] Building jar:
/home/alex/work/9.1.0-rc1/apache-qpid-broker-j-9.1.0-src/systests/end-to-end-conversion-tests/target/qpid-systests-end-to-end-conversion-tests-9.1.0.jar
[INFO]
[INFO] --- maven-site-plugin:3.12.1:attach-descriptor
(attach-descriptor) @ qpid-systests-end-to-end-conversion-tests ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO]
[INFO] --- maven-surefire-plugin:3.1.2:test (integration-test) @
qpid-systests-end-to-end-conversion-tests ---
[INFO] Using auto detected provider
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running 
org.apache.qpid.systests.end_to_end_conversion.SimpleConversionTest



When I looked in the test logs, I found the following there

Downloading artifact org.apache.qpid:qpid-jms-client:pom:2.4.0 from
local (file:/home/alex/.m2/repository/, default, releases+snapshots)
Downloading: 
file:/home/alex/.m2/repository/org/apache/qpid/qpid-jms-client/2.4.0/qpid-jms-client-2.4.0.pom

org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find
artifact org.apache.qpid:qpid-jms-client:pom:2.4.0 in local
(file:/home/alex/.m2/repository/)

It seems that execution "integration-test" was added to skip the
tests. Here is the corresponding declaration

<execution>
                        <id>integration-test</id>
                        <goals>
                            <goal>test</goal>
                        </goals>
                        <configuration>
                            <excludes>
                                <exclude>**</exclude>
                            </excludes>
                        </configuration>
                    </execution>

I think it should be changed to

<execution>
                        <id>integration-test</id>
                        <goals>
                            <goal>test</goal>
                        </goals>
                        <configuration>
                            <skipTests>true</skipTests>
                        </configuration>
                            </execution>

                </executions>


Kind Regards,
Alex

On Fri, 18 Aug 2023 at 06:55, Daniil Kirilyuk <daniel.kiril...@gmail.com> wrote:
>
> Hi Alex,
>
> Speaking of SimpleConversionTest, in some of our environments it was
> hanging due to the maven resolver trying to connect the central
> repository from behind the proxy. There was a workaround added for
> programmatically proxy creation using either the environment variable
> or the system property in a following PR:
> https://github.com/apache/qpid-broker-j/pull/222
>
> Kind regards,
> Daniil
>
> On Thu, 17 Aug 2023 at 15:43, Tomas Vavricka <vavr...@apache.org> wrote:
> >
> > Hi Alex,
> >
> > thanks for checking the RC, I was able to replicate all test failures 
> > except SimpleConversionTest. The SimpleConversionTest passed in all 
> > profiles I tried.
> >
> > Environment and failed test results below:
> >
> > OS - Ubuntu 22.04.2 LTS
> > Java 11 - build 11.0.19+7-post-Ubuntu-0ubuntu122.04.1
> > Java 17 - build 17.0.8+7-Ubuntu-122.04
> >
> > -Pjava-bdb.1-0
> >
> > * UpgradeFrom7To8Test* - 1 test error
> > * ExportImportMessagesTest* - 1 test failure
> > * MultiNodeTest* - 4 test failures
> > * BDBUpgradeTest* - 3 test errors
> >
> > -Pjava-bdb.0-10 or -Pjava-bdb.0-9-1
> >
> > * UpgradeFrom7To8Test* - 1 test error
> > * ExportImportMessagesTest* - 1 test failure
> > * MultiNodeTest* - 3 test failures, 1 test error
> > * CompressedMessageContentTest - 4 test failures
> >
> > Daniil created Pull requests below to fix the failing tests.
> >
> > https://github.com/apache/qpid-broker-j/pull/218 - fix for 
> > UpgradeFrom7To8Test
> > https://github.com/apache/qpid-broker-j/pull/220 - fix for 
> > CompressedMessageContentTest and ExportImportMessagesTest
> > https://github.com/apache/qpid-broker-j/pull/221 - fix for MultiNodeTest 
> > and BDBUpgradeTest
> >
> > Since the UpgradeFrom7To8Test fix is done in the bdbstore module which is 
> > part of release I think it makes sense to cancel the vote and fix it along 
> > with other failing tests (all other fixes seem to be done in tests only).
> >
> > Regards,
> > Tomas
> >
> > On 2023/08/17 03:31:19 Oleksandr Rudyy wrote:
> > > Hi Tomas,
> > >
> > > I tried to execute system tests using the 9.1 source bundle and JDK17
> > > on fedora 37.
> > >
> > > The system tests invoked using default profile are all passing as expected
> > >
> > > mvn clean install -DskipITs=false
> > >
> > > However, with bdb profiles for AMQP 1.0 and 0-9 a number of tests are
> > > failing or hanging for me.
> > > Here are the failing test suites from various modules
> > > * CompressedMessageContentTest*
> > > * ExportImportMessagesTest*
> > > * UpgradeFrom7To8Test*
> > > * MultiNodeTest*
> > > * BDBUpgradeTest*
> > >
> > > Here are hanging tests
> > > * SimpleConversionTest*
> > >
> > > In order to ignore the failures I had  to exclude the tests using the 
> > > below
> > >
> > > mvn clean install -DskipITs=false  -Pjava-bdb.1-0
> > > -Dtest=\!CompressedMessageContentTest*,\!ExportImportMessagesTest*,\!UpgradeFrom7To8Test*,\!SimpleConversionTest*,\!MultiNodeTest*,\!BDBUpgradeTest*
> > >  -Dsurefire.failIfNoSpecifiedTests=false
> > >
> > > To be fair I have not looked into the root causes of failures. It
> > > could be just test failures. The most worrying test failures are
> > > SimpleConversionTest covering the functionality to convert messages
> > > between different protocols.
> > >
> > > Kind Regards,
> > > Alex
> > >
> > > On Mon, 14 Aug 2023 at 11:04, Tomas Vavricka <vavr...@apache.org> wrote:
> > > >
> > > > Hi all,
> > > >
> > > > I built release artifacts for Qpid Broker-J version 9.1.0 RC1.
> > > > Please, give them a test out and vote accordingly.
> > > >
> > > > The source and binary archives can be found at:
> > > > https://dist.apache.org/repos/dist/dev/qpid/broker-j/9.1.0-rc1/
> > > >
> > > > The maven artifacts are also staged at:
> > > > https://repository.apache.org/content/repositories/orgapacheqpid-1266/
> > > >
> > > > The new version brings a number of improvements and bug fixes.
> > > > You can find the full list of JIRAs included in the release here:
> > > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310520&version=12353514
> > > >
> > > > Regards,
> > > > Tomas
> > > >
> > > > P.S. For testing of maven broker staging repo artifacts, please add
> > > > into to your project pom the staging repo as below:
> > > >
> > > > <repositories>
> > > >     <repository>
> > > >       <id>staging</id>
> > > >       
> > > > <url>https://repository.apache.org/content/repositories/orgapacheqpid-1266/</url>
> > > >     </repository>
> > > > </repositories>
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> > > > For additional commands, e-mail: users-h...@qpid.apache.org
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> > > For additional commands, e-mail: users-h...@qpid.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> > For additional commands, e-mail: users-h...@qpid.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
> For additional commands, e-mail: users-h...@qpid.apache.org
>

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

Reply via email to