[JBoss JIRA] (JGRP-1739) Test output leaking across test cases
by Richard Achmatowicz (JIRA)
[ https://issues.jboss.org/browse/JGRP-1739?page=com.atlassian.jira.plugin.... ]
Richard Achmatowicz resolved JGRP-1739.
---------------------------------------
Fix Version/s: 3.5
Resolution: Done
Should fix the issue.
> Test output leaking across test cases
> -------------------------------------
>
> Key: JGRP-1739
> URL: https://issues.jboss.org/browse/JGRP-1739
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.5
> Reporter: Richard Achmatowicz
> Assignee: Bela Ban
> Priority: Minor
> Fix For: 3.5
>
>
> Test case output written to System.out and System.err can be written from test case Y and end up in the output files of test case X, where Y is the test case immediately following X in the execution sequence.
> Here is an example obrained from running the ant target stack-independent::
> {noformat}
> stack-independent:
> [mkdir] Created dir: /home/nrla/projects/jgroups-git-repo/tmp/test-results/xml/stack-independent
> [xslt] Processing /home/nrla/projects/jgroups-git-repo/conf/testng/stack-independent.xml to /home/nrla/projects/jgroups-git-repo/tmp/stack-independent.xml
> [xslt] Loading stylesheet /home/nrla/projects/jgroups-git-repo/conf/testng/parallelConfig.xsl
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeMultiplePartitions()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeMultiplePartitionsWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeTwoPartitions()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeTwoPartitionsWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitions()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitions2()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitionsWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitionsWithFlush2()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeRequestTimeout()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeRequestTimeoutWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testSimpleMerge()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testSimpleMergeWithFlush()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad-String()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad-String()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testSimpleMessageReception-String()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testSimpleMessageReception-String()
> [testng] OK: [8] org.jgroups.tests.TUNNELDeadLockTest.testStress()
> [testng] OK: [8] org.jgroups.tests.ConnectStressTest.testConcurrentJoining()
> [testng] OK: [8] org.jgroups.tests.SequencerOrderTest.testBroadcastSequence()
> [testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithDefaultUDP_Loopback()
> [testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithDefaultUDP_NoLoopback()
> [testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithLoopback()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGeneratePreSignedUrlForDelete()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGeneratePreSignedUrlForPut()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicGet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicPost()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicPutAndHeaders()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testUsingPreSignedUrlWhenNotSet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testUsingPreSignedUrlWhenSet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButNoBucket()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButNoFile()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButTooManySubdirectories()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetToValid()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetToValidSubdirectory()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithPreSignedDeleteSet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithPreSignedPutSet()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testAddInitialHosts()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThree()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThreeChannelsWithGRAlreadyDown()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThreeChannelsWithGRDown()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testDisconnectConnectTwo()
> [testng] OK: [8] org.jgroups.tests.GossipRouterTest.testLateStart()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testConnectThree()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectOne_Default()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectOne_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectSendTwo_Default()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectSendTwo_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectTwo_Default()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectTwo_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testFailureDetection()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testNullLocalAddress_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.SequencerMergeTest.testMergeAndSendOrdering()
> [testng] OK: [8] org.jgroups.tests.SequencerMergeTest.testMergeWithParticipant()
> BUILD SUCCESSFUL
> Total time: 4 minutes 20 seconds
> [1]+ Done emacs
> [nrla@lenovo jgroups-git-repo]$ grep -R testGeneratePreSignedUrlForDelete *
> Binary file classes/org/jgroups/protocols/S3_PINGTest.class matches
> tests/junit/org/jgroups/protocols/S3_PINGTest.java: public void testGeneratePreSignedUrlForDelete() {
> tmp/test-results/xml/stack-independent/org.jgroups.tests.SendAndReceiveTest/stdout.txt:------------- testGeneratePreSignedUrlForDelete -----------
> tmp/test-results/xml/stack-independent/TESTS-org.jgroups.tests.SendAndReceiveTest-stack-independent.xml:------------- testGeneratePreSignedUrlForDelete -----------
> Binary file tmp/test-results/xml/stack-independent/org.jgroups.protocols.S3_PINGTest/tests.data matches
> tmp/test-results/xml/stack-independent/TESTS-org.jgroups.protocols.S3_PINGTest-stack-independent.xml: <testcase classname="org.jgroups.protocols.S3_PINGTest" name="testGeneratePreSignedUrlForDelete" time="0.16">
> {noformat}
>
> You'll see that some output from S3_PINGTest is written to the output file of SendAndReceiveTest, which precedes it in execution order.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] (JGRP-1739) Test output leaking across test cases
by Richard Achmatowicz (JIRA)
[ https://issues.jboss.org/browse/JGRP-1739?page=com.atlassian.jira.plugin.... ]
Richard Achmatowicz commented on JGRP-1739:
-------------------------------------------
With the fix in place, we now have:
{noformat}
[nrla@lenovo jgroups-git-repo]$ grep -R testGeneratePreSignedUrlForDelete *
Binary file classes/org/jgroups/protocols/S3_PINGTest.class matches
tests/junit/org/jgroups/protocols/S3_PINGTest.java: public void testGeneratePreSignedUrlForDelete() {
tmp/test-results/xml/stack-independent/org.jgroups.protocols.S3_PINGTest/stdout.txt:------------- testGeneratePreSignedUrlForDelete -----------
Binary file tmp/test-results/xml/stack-independent/org.jgroups.protocols.S3_PINGTest/tests.data matches
tmp/test-results/xml/stack-independent/TESTS-org.jgroups.protocols.S3_PINGTest-stack-independent.xml: <testcase classname="org.jgroups.protocols.S3_PINGTest" name="testGeneratePreSignedUrlForDelete" time="0.091">
tmp/test-results/xml/stack-independent/TESTS-org.jgroups.protocols.S3_PINGTest-stack-independent.xml:------------- testGeneratePreSignedUrlForDelete -----------
{noformat}
> Test output leaking across test cases
> -------------------------------------
>
> Key: JGRP-1739
> URL: https://issues.jboss.org/browse/JGRP-1739
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.5
> Reporter: Richard Achmatowicz
> Assignee: Bela Ban
> Priority: Minor
>
> Test case output written to System.out and System.err can be written from test case Y and end up in the output files of test case X, where Y is the test case immediately following X in the execution sequence.
> Here is an example obrained from running the ant target stack-independent::
> {noformat}
> stack-independent:
> [mkdir] Created dir: /home/nrla/projects/jgroups-git-repo/tmp/test-results/xml/stack-independent
> [xslt] Processing /home/nrla/projects/jgroups-git-repo/conf/testng/stack-independent.xml to /home/nrla/projects/jgroups-git-repo/tmp/stack-independent.xml
> [xslt] Loading stylesheet /home/nrla/projects/jgroups-git-repo/conf/testng/parallelConfig.xsl
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeMultiplePartitions()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeMultiplePartitionsWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeTwoPartitions()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeTwoPartitionsWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitions()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitions2()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitionsWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitionsWithFlush2()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeRequestTimeout()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeRequestTimeoutWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testSimpleMerge()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testSimpleMergeWithFlush()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad-String()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad-String()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testSimpleMessageReception-String()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testSimpleMessageReception-String()
> [testng] OK: [8] org.jgroups.tests.TUNNELDeadLockTest.testStress()
> [testng] OK: [8] org.jgroups.tests.ConnectStressTest.testConcurrentJoining()
> [testng] OK: [8] org.jgroups.tests.SequencerOrderTest.testBroadcastSequence()
> [testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithDefaultUDP_Loopback()
> [testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithDefaultUDP_NoLoopback()
> [testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithLoopback()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGeneratePreSignedUrlForDelete()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGeneratePreSignedUrlForPut()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicGet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicPost()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicPutAndHeaders()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testUsingPreSignedUrlWhenNotSet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testUsingPreSignedUrlWhenSet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButNoBucket()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButNoFile()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButTooManySubdirectories()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetToValid()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetToValidSubdirectory()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithPreSignedDeleteSet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithPreSignedPutSet()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testAddInitialHosts()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThree()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThreeChannelsWithGRAlreadyDown()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThreeChannelsWithGRDown()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testDisconnectConnectTwo()
> [testng] OK: [8] org.jgroups.tests.GossipRouterTest.testLateStart()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testConnectThree()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectOne_Default()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectOne_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectSendTwo_Default()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectSendTwo_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectTwo_Default()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectTwo_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testFailureDetection()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testNullLocalAddress_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.SequencerMergeTest.testMergeAndSendOrdering()
> [testng] OK: [8] org.jgroups.tests.SequencerMergeTest.testMergeWithParticipant()
> BUILD SUCCESSFUL
> Total time: 4 minutes 20 seconds
> [1]+ Done emacs
> [nrla@lenovo jgroups-git-repo]$ grep -R testGeneratePreSignedUrlForDelete *
> Binary file classes/org/jgroups/protocols/S3_PINGTest.class matches
> tests/junit/org/jgroups/protocols/S3_PINGTest.java: public void testGeneratePreSignedUrlForDelete() {
> tmp/test-results/xml/stack-independent/org.jgroups.tests.SendAndReceiveTest/stdout.txt:------------- testGeneratePreSignedUrlForDelete -----------
> tmp/test-results/xml/stack-independent/TESTS-org.jgroups.tests.SendAndReceiveTest-stack-independent.xml:------------- testGeneratePreSignedUrlForDelete -----------
> Binary file tmp/test-results/xml/stack-independent/org.jgroups.protocols.S3_PINGTest/tests.data matches
> tmp/test-results/xml/stack-independent/TESTS-org.jgroups.protocols.S3_PINGTest-stack-independent.xml: <testcase classname="org.jgroups.protocols.S3_PINGTest" name="testGeneratePreSignedUrlForDelete" time="0.16">
> {noformat}
>
> You'll see that some output from S3_PINGTest is written to the output file of SendAndReceiveTest, which precedes it in execution order.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] (JASSIST-212) FieldAccess.replace causes java.lang.VerifyError
by Scott Marlow (JIRA)
[ https://issues.jboss.org/browse/JASSIST-212?page=com.atlassian.jira.plugi... ]
Scott Marlow commented on JASSIST-212:
--------------------------------------
A few questions:
1. What happens if id is an Integer instead of Long?
2. Can you recreate on a recent Java 8 JDK and attach the full VerifyError exception output. The VerifyError Exception is more verbose in Java 8.
3. Have you tried to recreate this problem in the Javassist testsuite? The source is available from https://github.com/jboss-javassist/javassist and your steps (to recreate) should be possible in the testsuite as well.
> FieldAccess.replace causes java.lang.VerifyError
> ------------------------------------------------
>
> Key: JASSIST-212
> URL: https://issues.jboss.org/browse/JASSIST-212
> Project: Javassist
> Issue Type: Bug
> Affects Versions: 3.17.0-GA, 3.17.1-GA, 3.18.0-GA, 3.18.1-GA
> Environment: JAVA7
> Reporter: Jungkook Kim
> Assignee: Shigeru Chiba
>
> FieldAccess.replace causes java.lang.VerifyError with a specific code structure.
> javassist version 3.17.0~3.18.1
> 3.16.1 works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] (JGRP-1739) Test output leaking across test cases
by Richard Achmatowicz (JIRA)
[ https://issues.jboss.org/browse/JGRP-1739?page=com.atlassian.jira.plugin.... ]
Richard Achmatowicz commented on JGRP-1739:
-------------------------------------------
Solution:
{noformat}
public void onConfigurationSuccess(ITestResult tr) {
closeStreams();
}
...
public void onConfigurationSkip(ITestResult tr) {
closeStreams();
}
{noformat}
> Test output leaking across test cases
> -------------------------------------
>
> Key: JGRP-1739
> URL: https://issues.jboss.org/browse/JGRP-1739
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.5
> Reporter: Richard Achmatowicz
> Assignee: Bela Ban
> Priority: Minor
>
> Test case output written to System.out and System.err can be written from test case Y and end up in the output files of test case X, where Y is the test case immediately following X in the execution sequence.
> Here is an example obrained from running the ant target stack-independent::
> {noformat}
> stack-independent:
> [mkdir] Created dir: /home/nrla/projects/jgroups-git-repo/tmp/test-results/xml/stack-independent
> [xslt] Processing /home/nrla/projects/jgroups-git-repo/conf/testng/stack-independent.xml to /home/nrla/projects/jgroups-git-repo/tmp/stack-independent.xml
> [xslt] Loading stylesheet /home/nrla/projects/jgroups-git-repo/conf/testng/parallelConfig.xsl
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeMultiplePartitions()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeMultiplePartitionsWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeTwoPartitions()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeTwoPartitionsWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitions()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitions2()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitionsWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitionsWithFlush2()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeRequestTimeout()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeRequestTimeoutWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testSimpleMerge()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testSimpleMergeWithFlush()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad-String()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad-String()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testSimpleMessageReception-String()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testSimpleMessageReception-String()
> [testng] OK: [8] org.jgroups.tests.TUNNELDeadLockTest.testStress()
> [testng] OK: [8] org.jgroups.tests.ConnectStressTest.testConcurrentJoining()
> [testng] OK: [8] org.jgroups.tests.SequencerOrderTest.testBroadcastSequence()
> [testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithDefaultUDP_Loopback()
> [testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithDefaultUDP_NoLoopback()
> [testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithLoopback()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGeneratePreSignedUrlForDelete()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGeneratePreSignedUrlForPut()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicGet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicPost()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicPutAndHeaders()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testUsingPreSignedUrlWhenNotSet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testUsingPreSignedUrlWhenSet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButNoBucket()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButNoFile()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButTooManySubdirectories()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetToValid()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetToValidSubdirectory()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithPreSignedDeleteSet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithPreSignedPutSet()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testAddInitialHosts()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThree()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThreeChannelsWithGRAlreadyDown()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThreeChannelsWithGRDown()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testDisconnectConnectTwo()
> [testng] OK: [8] org.jgroups.tests.GossipRouterTest.testLateStart()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testConnectThree()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectOne_Default()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectOne_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectSendTwo_Default()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectSendTwo_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectTwo_Default()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectTwo_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testFailureDetection()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testNullLocalAddress_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.SequencerMergeTest.testMergeAndSendOrdering()
> [testng] OK: [8] org.jgroups.tests.SequencerMergeTest.testMergeWithParticipant()
> BUILD SUCCESSFUL
> Total time: 4 minutes 20 seconds
> [1]+ Done emacs
> [nrla@lenovo jgroups-git-repo]$ grep -R testGeneratePreSignedUrlForDelete *
> Binary file classes/org/jgroups/protocols/S3_PINGTest.class matches
> tests/junit/org/jgroups/protocols/S3_PINGTest.java: public void testGeneratePreSignedUrlForDelete() {
> tmp/test-results/xml/stack-independent/org.jgroups.tests.SendAndReceiveTest/stdout.txt:------------- testGeneratePreSignedUrlForDelete -----------
> tmp/test-results/xml/stack-independent/TESTS-org.jgroups.tests.SendAndReceiveTest-stack-independent.xml:------------- testGeneratePreSignedUrlForDelete -----------
> Binary file tmp/test-results/xml/stack-independent/org.jgroups.protocols.S3_PINGTest/tests.data matches
> tmp/test-results/xml/stack-independent/TESTS-org.jgroups.protocols.S3_PINGTest-stack-independent.xml: <testcase classname="org.jgroups.protocols.S3_PINGTest" name="testGeneratePreSignedUrlForDelete" time="0.16">
> {noformat}
>
> You'll see that some output from S3_PINGTest is written to the output file of SendAndReceiveTest, which precedes it in execution order.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] (JGRP-1739) Test output leaking across test cases
by Richard Achmatowicz (JIRA)
[ https://issues.jboss.org/browse/JGRP-1739?page=com.atlassian.jira.plugin.... ]
Richard Achmatowicz commented on JGRP-1739:
-------------------------------------------
It appears that in JUnitXMLReporter, the per-testcase sysout and syserr files are managed as follows:
For test cases:
* opened at the start of each test case (onTestStart)
* closed at the finish of each test case by intercepting the methods (onTestSuccess, onTestFailure, onTestSkipped)
For configurations:
* opened at the start of each configuration (beforeConfiguration)
* closed when a configuration fails (onConfigurationFailure)
In the case of successful configuration steps, this means that the files are left open, and someone else will have to close them.
Because configuration methods can occur after the test case has completed (@AfterClass, @AfterMethod), this means that in test case X, we can open sysout and syserr, and then will not get closed until the end of the first test method in the following test case. This seems to be what is happening.
> Test output leaking across test cases
> -------------------------------------
>
> Key: JGRP-1739
> URL: https://issues.jboss.org/browse/JGRP-1739
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.5
> Reporter: Richard Achmatowicz
> Assignee: Bela Ban
> Priority: Minor
>
> Test case output written to System.out and System.err can be written from test case Y and end up in the output files of test case X, where Y is the test case immediately following X in the execution sequence.
> Here is an example obrained from running the ant target stack-independent::
> {noformat}
> stack-independent:
> [mkdir] Created dir: /home/nrla/projects/jgroups-git-repo/tmp/test-results/xml/stack-independent
> [xslt] Processing /home/nrla/projects/jgroups-git-repo/conf/testng/stack-independent.xml to /home/nrla/projects/jgroups-git-repo/tmp/stack-independent.xml
> [xslt] Loading stylesheet /home/nrla/projects/jgroups-git-repo/conf/testng/parallelConfig.xsl
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeMultiplePartitions()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeMultiplePartitionsWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeTwoPartitions()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeTwoPartitionsWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitions()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitions2()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitionsWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitionsWithFlush2()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeRequestTimeout()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeRequestTimeoutWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testSimpleMerge()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testSimpleMergeWithFlush()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad-String()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad-String()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testSimpleMessageReception-String()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testSimpleMessageReception-String()
> [testng] OK: [8] org.jgroups.tests.TUNNELDeadLockTest.testStress()
> [testng] OK: [8] org.jgroups.tests.ConnectStressTest.testConcurrentJoining()
> [testng] OK: [8] org.jgroups.tests.SequencerOrderTest.testBroadcastSequence()
> [testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithDefaultUDP_Loopback()
> [testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithDefaultUDP_NoLoopback()
> [testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithLoopback()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGeneratePreSignedUrlForDelete()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGeneratePreSignedUrlForPut()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicGet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicPost()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicPutAndHeaders()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testUsingPreSignedUrlWhenNotSet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testUsingPreSignedUrlWhenSet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButNoBucket()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButNoFile()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButTooManySubdirectories()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetToValid()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetToValidSubdirectory()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithPreSignedDeleteSet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithPreSignedPutSet()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testAddInitialHosts()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThree()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThreeChannelsWithGRAlreadyDown()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThreeChannelsWithGRDown()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testDisconnectConnectTwo()
> [testng] OK: [8] org.jgroups.tests.GossipRouterTest.testLateStart()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testConnectThree()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectOne_Default()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectOne_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectSendTwo_Default()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectSendTwo_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectTwo_Default()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectTwo_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testFailureDetection()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testNullLocalAddress_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.SequencerMergeTest.testMergeAndSendOrdering()
> [testng] OK: [8] org.jgroups.tests.SequencerMergeTest.testMergeWithParticipant()
> BUILD SUCCESSFUL
> Total time: 4 minutes 20 seconds
> [1]+ Done emacs
> [nrla@lenovo jgroups-git-repo]$ grep -R testGeneratePreSignedUrlForDelete *
> Binary file classes/org/jgroups/protocols/S3_PINGTest.class matches
> tests/junit/org/jgroups/protocols/S3_PINGTest.java: public void testGeneratePreSignedUrlForDelete() {
> tmp/test-results/xml/stack-independent/org.jgroups.tests.SendAndReceiveTest/stdout.txt:------------- testGeneratePreSignedUrlForDelete -----------
> tmp/test-results/xml/stack-independent/TESTS-org.jgroups.tests.SendAndReceiveTest-stack-independent.xml:------------- testGeneratePreSignedUrlForDelete -----------
> Binary file tmp/test-results/xml/stack-independent/org.jgroups.protocols.S3_PINGTest/tests.data matches
> tmp/test-results/xml/stack-independent/TESTS-org.jgroups.protocols.S3_PINGTest-stack-independent.xml: <testcase classname="org.jgroups.protocols.S3_PINGTest" name="testGeneratePreSignedUrlForDelete" time="0.16">
> {noformat}
>
> You'll see that some output from S3_PINGTest is written to the output file of SendAndReceiveTest, which precedes it in execution order.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] (JGRP-1739) Test output leaking across test cases
by Richard Achmatowicz (JIRA)
[ https://issues.jboss.org/browse/JGRP-1739?page=com.atlassian.jira.plugin.... ]
Richard Achmatowicz updated JGRP-1739:
--------------------------------------
Description:
Test case output written to System.out and System.err can be written from test case Y and end up in the output files of test case X, where Y is the test case immediately following X in the execution sequence.
Here is an example obrained from running the ant target stack-independent::
{noformat}
stack-independent:
[mkdir] Created dir: /home/nrla/projects/jgroups-git-repo/tmp/test-results/xml/stack-independent
[xslt] Processing /home/nrla/projects/jgroups-git-repo/conf/testng/stack-independent.xml to /home/nrla/projects/jgroups-git-repo/tmp/stack-independent.xml
[xslt] Loading stylesheet /home/nrla/projects/jgroups-git-repo/conf/testng/parallelConfig.xsl
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeMultiplePartitions()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeMultiplePartitionsWithFlush()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeTwoPartitions()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeTwoPartitionsWithFlush()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitions()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitions2()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitionsWithFlush()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitionsWithFlush2()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeRequestTimeout()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeRequestTimeoutWithFlush()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testSimpleMerge()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testSimpleMergeWithFlush()
[testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad-String()
[testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad-String()
[testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testSimpleMessageReception-String()
[testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testSimpleMessageReception-String()
[testng] OK: [8] org.jgroups.tests.TUNNELDeadLockTest.testStress()
[testng] OK: [8] org.jgroups.tests.ConnectStressTest.testConcurrentJoining()
[testng] OK: [8] org.jgroups.tests.SequencerOrderTest.testBroadcastSequence()
[testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithDefaultUDP_Loopback()
[testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithDefaultUDP_NoLoopback()
[testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithLoopback()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGeneratePreSignedUrlForDelete()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGeneratePreSignedUrlForPut()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicGet()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicPost()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicPutAndHeaders()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testUsingPreSignedUrlWhenNotSet()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testUsingPreSignedUrlWhenSet()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButNoBucket()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButNoFile()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButTooManySubdirectories()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetToValid()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetToValidSubdirectory()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithPreSignedDeleteSet()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithPreSignedPutSet()
[testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testAddInitialHosts()
[testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThree()
[testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThreeChannelsWithGRAlreadyDown()
[testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThreeChannelsWithGRDown()
[testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testDisconnectConnectTwo()
[testng] OK: [8] org.jgroups.tests.GossipRouterTest.testLateStart()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testConnectThree()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectOne_Default()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectOne_TUNNEL()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectSendTwo_Default()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectSendTwo_TUNNEL()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectTwo_Default()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectTwo_TUNNEL()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testFailureDetection()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testNullLocalAddress_TUNNEL()
[testng] OK: [8] org.jgroups.tests.SequencerMergeTest.testMergeAndSendOrdering()
[testng] OK: [8] org.jgroups.tests.SequencerMergeTest.testMergeWithParticipant()
BUILD SUCCESSFUL
Total time: 4 minutes 20 seconds
[1]+ Done emacs
[nrla@lenovo jgroups-git-repo]$ grep -R testGeneratePreSignedUrlForDelete *
Binary file classes/org/jgroups/protocols/S3_PINGTest.class matches
tests/junit/org/jgroups/protocols/S3_PINGTest.java: public void testGeneratePreSignedUrlForDelete() {
tmp/test-results/xml/stack-independent/org.jgroups.tests.SendAndReceiveTest/stdout.txt:------------- testGeneratePreSignedUrlForDelete -----------
tmp/test-results/xml/stack-independent/TESTS-org.jgroups.tests.SendAndReceiveTest-stack-independent.xml:------------- testGeneratePreSignedUrlForDelete -----------
Binary file tmp/test-results/xml/stack-independent/org.jgroups.protocols.S3_PINGTest/tests.data matches
tmp/test-results/xml/stack-independent/TESTS-org.jgroups.protocols.S3_PINGTest-stack-independent.xml: <testcase classname="org.jgroups.protocols.S3_PINGTest" name="testGeneratePreSignedUrlForDelete" time="0.16">
{noformat}
You'll see that some output from S3_PINGTest is written to the output file of SendAndReceiveTest, which precedes it in execution order.
was:
Test case output written to System.out and System.err can be written from test case Y and end up in the output files of test case X, where Y is the test case immediately following X in the execution sequence.
Here is an example obrained from running the ant target stack-independent::
{noformat}
stack-independent:
[mkdir] Created dir: /home/nrla/projects/jgroups-git-repo/tmp/test-results/xml/stack-independent
[xslt] Processing /home/nrla/projects/jgroups-git-repo/conf/testng/stack-independent.xml to /home/nrla/projects/jgroups-git-repo/tmp/stack-independent.xml
[xslt] Loading stylesheet /home/nrla/projects/jgroups-git-repo/conf/testng/parallelConfig.xsl
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeMultiplePartitions()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeMultiplePartitionsWithFlush()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeTwoPartitions()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeTwoPartitionsWithFlush()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitions()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitions2()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitionsWithFlush()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitionsWithFlush2()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeRequestTimeout()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeRequestTimeoutWithFlush()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testSimpleMerge()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testSimpleMergeWithFlush()
[testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad-String()
[testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad-String()
[testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testSimpleMessageReception-String()
[testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testSimpleMessageReception-String()
[testng] OK: [8] org.jgroups.tests.TUNNELDeadLockTest.testStress()
[testng] OK: [8] org.jgroups.tests.ConnectStressTest.testConcurrentJoining()
[testng] OK: [8] org.jgroups.tests.SequencerOrderTest.testBroadcastSequence()
[testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithDefaultUDP_Loopback()
[testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithDefaultUDP_NoLoopback()
[testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithLoopback()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGeneratePreSignedUrlForDelete()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGeneratePreSignedUrlForPut()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicGet()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicPost()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicPutAndHeaders()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testUsingPreSignedUrlWhenNotSet()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testUsingPreSignedUrlWhenSet()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButNoBucket()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButNoFile()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButTooManySubdirectories()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetToValid()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetToValidSubdirectory()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithPreSignedDeleteSet()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithPreSignedPutSet()
[testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testAddInitialHosts()
[testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThree()
[testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThreeChannelsWithGRAlreadyDown()
[testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThreeChannelsWithGRDown()
[testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testDisconnectConnectTwo()
[testng] OK: [8] org.jgroups.tests.GossipRouterTest.testLateStart()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testConnectThree()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectOne_Default()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectOne_TUNNEL()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectSendTwo_Default()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectSendTwo_TUNNEL()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectTwo_Default()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectTwo_TUNNEL()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testFailureDetection()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testNullLocalAddress_TUNNEL()
[testng] OK: [8] org.jgroups.tests.SequencerMergeTest.testMergeAndSendOrdering()
[testng] OK: [8] org.jgroups.tests.SequencerMergeTest.testMergeWithParticipant()
BUILD SUCCESSFUL
Total time: 4 minutes 20 seconds
[1]+ Done emacs
[nrla@lenovo jgroups-git-repo]$ grep -R testGeneratePreSignedUrlForDelete *
Binary file classes/org/jgroups/protocols/S3_PINGTest.class matches
tests/junit/org/jgroups/protocols/S3_PINGTest.java: public void testGeneratePreSignedUrlForDelete() {
tmp/test-results/xml/stack-independent/org.jgroups.tests.SendAndReceiveTest/stdout.txt:------------- testGeneratePreSignedUrlForDelete -----------
tmp/test-results/xml/stack-independent/TESTS-org.jgroups.tests.SendAndReceiveTest-stack-independent.xml:------------- testGeneratePreSignedUrlForDelete -----------
Binary file tmp/test-results/xml/stack-independent/org.jgroups.protocols.S3_PINGTest/tests.data matches
tmp/test-results/xml/stack-independent/TESTS-org.jgroups.protocols.S3_PINGTest-stack-independent.xml: <testcase classname="org.jgroups.protocols.S3_PINGTest" name="testGeneratePreSignedUrlForDelete" time="0.16">
{noformat}
You'll see that some output from S3_PINGTest is written to the output file of SendAndReceiveTest, which precedes it in execution order.
> Test output leaking across test cases
> -------------------------------------
>
> Key: JGRP-1739
> URL: https://issues.jboss.org/browse/JGRP-1739
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.5
> Reporter: Richard Achmatowicz
> Assignee: Bela Ban
> Priority: Minor
>
> Test case output written to System.out and System.err can be written from test case Y and end up in the output files of test case X, where Y is the test case immediately following X in the execution sequence.
> Here is an example obrained from running the ant target stack-independent::
> {noformat}
> stack-independent:
> [mkdir] Created dir: /home/nrla/projects/jgroups-git-repo/tmp/test-results/xml/stack-independent
> [xslt] Processing /home/nrla/projects/jgroups-git-repo/conf/testng/stack-independent.xml to /home/nrla/projects/jgroups-git-repo/tmp/stack-independent.xml
> [xslt] Loading stylesheet /home/nrla/projects/jgroups-git-repo/conf/testng/parallelConfig.xsl
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeMultiplePartitions()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeMultiplePartitionsWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeTwoPartitions()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeTwoPartitionsWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitions()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitions2()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitionsWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitionsWithFlush2()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeRequestTimeout()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeRequestTimeoutWithFlush()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testSimpleMerge()
> [testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testSimpleMergeWithFlush()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad-String()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad-String()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testSimpleMessageReception-String()
> [testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testSimpleMessageReception-String()
> [testng] OK: [8] org.jgroups.tests.TUNNELDeadLockTest.testStress()
> [testng] OK: [8] org.jgroups.tests.ConnectStressTest.testConcurrentJoining()
> [testng] OK: [8] org.jgroups.tests.SequencerOrderTest.testBroadcastSequence()
> [testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithDefaultUDP_Loopback()
> [testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithDefaultUDP_NoLoopback()
> [testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithLoopback()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGeneratePreSignedUrlForDelete()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGeneratePreSignedUrlForPut()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicGet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicPost()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicPutAndHeaders()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testUsingPreSignedUrlWhenNotSet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testUsingPreSignedUrlWhenSet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButNoBucket()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButNoFile()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButTooManySubdirectories()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetToValid()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetToValidSubdirectory()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithPreSignedDeleteSet()
> [testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithPreSignedPutSet()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testAddInitialHosts()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThree()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThreeChannelsWithGRAlreadyDown()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThreeChannelsWithGRDown()
> [testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testDisconnectConnectTwo()
> [testng] OK: [8] org.jgroups.tests.GossipRouterTest.testLateStart()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testConnectThree()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectOne_Default()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectOne_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectSendTwo_Default()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectSendTwo_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectTwo_Default()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectTwo_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testFailureDetection()
> [testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testNullLocalAddress_TUNNEL()
> [testng] OK: [8] org.jgroups.tests.SequencerMergeTest.testMergeAndSendOrdering()
> [testng] OK: [8] org.jgroups.tests.SequencerMergeTest.testMergeWithParticipant()
> BUILD SUCCESSFUL
> Total time: 4 minutes 20 seconds
> [1]+ Done emacs
> [nrla@lenovo jgroups-git-repo]$ grep -R testGeneratePreSignedUrlForDelete *
> Binary file classes/org/jgroups/protocols/S3_PINGTest.class matches
> tests/junit/org/jgroups/protocols/S3_PINGTest.java: public void testGeneratePreSignedUrlForDelete() {
> tmp/test-results/xml/stack-independent/org.jgroups.tests.SendAndReceiveTest/stdout.txt:------------- testGeneratePreSignedUrlForDelete -----------
> tmp/test-results/xml/stack-independent/TESTS-org.jgroups.tests.SendAndReceiveTest-stack-independent.xml:------------- testGeneratePreSignedUrlForDelete -----------
> Binary file tmp/test-results/xml/stack-independent/org.jgroups.protocols.S3_PINGTest/tests.data matches
> tmp/test-results/xml/stack-independent/TESTS-org.jgroups.protocols.S3_PINGTest-stack-independent.xml: <testcase classname="org.jgroups.protocols.S3_PINGTest" name="testGeneratePreSignedUrlForDelete" time="0.16">
> {noformat}
>
> You'll see that some output from S3_PINGTest is written to the output file of SendAndReceiveTest, which precedes it in execution order.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] (JGRP-1739) Test output leaking across test cases
by Richard Achmatowicz (JIRA)
Richard Achmatowicz created JGRP-1739:
-----------------------------------------
Summary: Test output leaking across test cases
Key: JGRP-1739
URL: https://issues.jboss.org/browse/JGRP-1739
Project: JGroups
Issue Type: Bug
Affects Versions: 3.5
Reporter: Richard Achmatowicz
Assignee: Bela Ban
Priority: Minor
Test case output written to System.out and System.err can be written from test case Y and end up in the output files of test case X, where Y is the test case immediately following X in the execution sequence.
Here is an example obrained from running the ant target stack-independent::
{noformat}
stack-independent:
[mkdir] Created dir: /home/nrla/projects/jgroups-git-repo/tmp/test-results/xml/stack-independent
[xslt] Processing /home/nrla/projects/jgroups-git-repo/conf/testng/stack-independent.xml to /home/nrla/projects/jgroups-git-repo/tmp/stack-independent.xml
[xslt] Loading stylesheet /home/nrla/projects/jgroups-git-repo/conf/testng/parallelConfig.xsl
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeMultiplePartitions()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeMultiplePartitionsWithFlush()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeTwoPartitions()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testConcurrentMergeTwoPartitionsWithFlush()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitions()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitions2()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitionsWithFlush()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeAsymmetricPartitionsWithFlush2()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeRequestTimeout()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testMergeRequestTimeoutWithFlush()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testSimpleMerge()
[testng] OK: [8] org.jgroups.protocols.GMS_MergeTest.testSimpleMergeWithFlush()
[testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad-String()
[testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testMessageReceptionUnderHighLoad-String()
[testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testSimpleMessageReception-String()
[testng] OK: [8] org.jgroups.protocols.UNICAST_ContentionTest.testSimpleMessageReception-String()
[testng] OK: [8] org.jgroups.tests.TUNNELDeadLockTest.testStress()
[testng] OK: [8] org.jgroups.tests.ConnectStressTest.testConcurrentJoining()
[testng] OK: [8] org.jgroups.tests.SequencerOrderTest.testBroadcastSequence()
[testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithDefaultUDP_Loopback()
[testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithDefaultUDP_NoLoopback()
[testng] OK: [8] org.jgroups.tests.SendAndReceiveTest.testSendAndReceiveWithLoopback()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGeneratePreSignedUrlForDelete()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGeneratePreSignedUrlForPut()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicGet()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicPost()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testGenerateQueryStringAuthenticationWithBasicPutAndHeaders()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testUsingPreSignedUrlWhenNotSet()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testUsingPreSignedUrlWhenSet()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButNoBucket()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButNoFile()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetButTooManySubdirectories()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetToValid()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithBothPreSignedSetToValidSubdirectory()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithPreSignedDeleteSet()
[testng] OK: [8] org.jgroups.protocols.S3_PINGTest.testValidatePropertiesWithPreSignedPutSet()
[testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testAddInitialHosts()
[testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThree()
[testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThreeChannelsWithGRAlreadyDown()
[testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testConnectThreeChannelsWithGRDown()
[testng] OK: [8] org.jgroups.tests.TCPGOSSIP_Test.testDisconnectConnectTwo()
[testng] OK: [8] org.jgroups.tests.GossipRouterTest.testLateStart()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testConnectThree()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectOne_Default()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectOne_TUNNEL()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectSendTwo_Default()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectSendTwo_TUNNEL()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectTwo_Default()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testDisconnectConnectTwo_TUNNEL()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testFailureDetection()
[testng] OK: [8] org.jgroups.tests.TUNNEL_Test.testNullLocalAddress_TUNNEL()
[testng] OK: [8] org.jgroups.tests.SequencerMergeTest.testMergeAndSendOrdering()
[testng] OK: [8] org.jgroups.tests.SequencerMergeTest.testMergeWithParticipant()
BUILD SUCCESSFUL
Total time: 4 minutes 20 seconds
[1]+ Done emacs
[nrla@lenovo jgroups-git-repo]$ grep -R testGeneratePreSignedUrlForDelete *
Binary file classes/org/jgroups/protocols/S3_PINGTest.class matches
tests/junit/org/jgroups/protocols/S3_PINGTest.java: public void testGeneratePreSignedUrlForDelete() {
tmp/test-results/xml/stack-independent/org.jgroups.tests.SendAndReceiveTest/stdout.txt:------------- testGeneratePreSignedUrlForDelete -----------
tmp/test-results/xml/stack-independent/TESTS-org.jgroups.tests.SendAndReceiveTest-stack-independent.xml:------------- testGeneratePreSignedUrlForDelete -----------
Binary file tmp/test-results/xml/stack-independent/org.jgroups.protocols.S3_PINGTest/tests.data matches
tmp/test-results/xml/stack-independent/TESTS-org.jgroups.protocols.S3_PINGTest-stack-independent.xml: <testcase classname="org.jgroups.protocols.S3_PINGTest" name="testGeneratePreSignedUrlForDelete" time="0.16">
{noformat}
You'll see that some output from S3_PINGTest is written to the output file of SendAndReceiveTest, which precedes it in execution order.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] (WFLY-2488) Adding a datasource fails in a composite operation
by Jesper Pedersen (JIRA)
[ https://issues.jboss.org/browse/WFLY-2488?page=com.atlassian.jira.plugin.... ]
Jesper Pedersen reassigned WFLY-2488:
-------------------------------------
Assignee: Stefano Maestri (was: Jesper Pedersen)
> Adding a datasource fails in a composite operation
> --------------------------------------------------
>
> Key: WFLY-2488
> URL: https://issues.jboss.org/browse/WFLY-2488
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JCA
> Affects Versions: 8.0.0.Beta1
> Reporter: James Perkins
> Assignee: Stefano Maestri
> Attachments: wfly2488-sources.jar, wfly2488.jar
>
>
> Executing a composite operation fails when adding a datasource.
> Stack Trace:
> {code}
> 08:38:49,787 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 6) JBAS014612: Operation ("add") failed - address: ([
> ("subsystem" => "datasources"),
> ("data-source" => "ds-test")
> ]): org.jboss.msc.service.DuplicateServiceException: Service jboss.data-source-config.ds-test is already registered
> at org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:158) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
> at org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:235) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
> at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:767) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
> at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:223) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
> at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2384) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
> at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:317) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
> at org.jboss.as.controller.OperationContextImpl$ContextServiceBuilder.install(OperationContextImpl.java:1422) [wildfly-controller-8.0.0.Beta1.jar:8.0.0.Beta1]
> at org.jboss.as.connector.subsystems.datasources.DataSourceEnable.addServices(DataSourceEnable.java:188)
> at org.jboss.as.connector.subsystems.datasources.DataSourceEnable$1.execute(DataSourceEnable.java:84)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:609) [wildfly-controller-8.0.0.Beta1.jar:8.0.0.Beta1]
> at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:487) [wildfly-controller-8.0.0.Beta1.jar:8.0.0.Beta1]
> at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:277) [wildfly-controller-8.0.0.Beta1.jar:8.0.0.Beta1]
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:272) [wildfly-controller-8.0.0.Beta1.jar:8.0.0.Beta1]
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:258) [wildfly-controller-8.0.0.Beta1.jar:8.0.0.Beta1]
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:143) [wildfly-controller-8.0.0.Beta1.jar:8.0.0.Beta1]
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:205) [wildfly-controller-8.0.0.Beta1.jar:8.0.0.Beta1]
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$300(ModelControllerClientOperationHandler.java:110) [wildfly-controller-8.0.0.Beta1.jar:8.0.0.Beta1]
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$2.run(ModelControllerClientOperationHandler.java:157) [wildfly-controller-8.0.0.Beta1.jar:8.0.0.Beta1]
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$2.run(ModelControllerClientOperationHandler.java:153) [wildfly-controller-8.0.0.Beta1.jar:8.0.0.Beta1]
> at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_45]
> at javax.security.auth.Subject.doAs(Subject.java:415) [rt.jar:1.7.0_45]
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:153) [wildfly-controller-8.0.0.Beta1.jar:8.0.0.Beta1]
> at org.jboss.as.protocol.mgmt.AbstractMessageHandler$2$1.doExecute(AbstractMessageHandler.java:296) [wildfly-protocol-8.0.0.Beta1.jar:8.0.0.Beta1]
> at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:518) [wildfly-protocol-8.0.0.Beta1.jar:8.0.0.Beta1]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
> at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months