Skip to content

Instantly share code, notes, and snippets.

@gaol
Created May 4, 2016 09:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gaol/35cebc53e58850a19de32596640dd63d to your computer and use it in GitHub Desktop.
Save gaol/35cebc53e58850a19de32596640dd63d to your computer and use it in GitHub Desktop.
Message is stored to page only
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ActiveMQ Artemis Integration Tests 1.3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ integration-tests ---
[INFO] Deleting /sources/activemq-artemis/tests/integration-tests/target
[INFO]
[INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-maven) @ integration-tests ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java) @ integration-tests ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ integration-tests ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ integration-tests ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /sources/activemq-artemis/tests/integration-tests/src/main/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ integration-tests ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-checkstyle-plugin:2.16:check (default) @ integration-tests ---
[INFO]
[INFO] --- apache-rat-plugin:0.11:check (default) @ integration-tests ---
[INFO] RAT will not execute since it is configured to be skipped via system property 'rat.skip'.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ integration-tests ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 18 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ integration-tests ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 543 source files to /sources/activemq-artemis/tests/integration-tests/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ integration-tests ---
[INFO] Surefire report directory: /sources/activemq-artemis/tests/integration-tests/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.activemq.artemis.tests.integration.client.PagingTest
17:08:20,566 INFO [org.apache.activemq.artemis.core.server] #*#*# Starting test: testStoreToPageOnly()...
#test testStoreToPageOnly
17:08:20,759 INFO [org.apache.activemq.artemis.core.server] AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=false,journalDirectory=/sources/activemq-artemis/tests/integration-tests/./target/tmp/junit4744114508078999604/journal0-L,bindingsDirectory=/sources/activemq-artemis/tests/integration-tests/./target/tmp/junit4744114508078999604/bindings0-L,largeMessagesDirectory=/sources/activemq-artemis/tests/integration-tests/./target/tmp/junit4744114508078999604/large-msg0-L,pagingDirectory=/sources/activemq-artemis/tests/integration-tests/./target/tmp/junit4744114508078999604/page0-L)
17:08:20,785 INFO [org.apache.activemq.artemis.core.server] AMQ221012: Using AIO Journal
17:08:20,837 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE
17:08:20,838 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol support for: AMQP
17:08:20,839 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol support for: STOMP
17:08:20,841 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-openwire-protocol]. Adding protocol support for: OPENWIRE
17:08:20,842 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding protocol support for: HORNETQ
17:08:20,845 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-mqtt-protocol]. Adding protocol support for: MQTT
17:08:21,206 INFO [org.apache.activemq.artemis.core.server] AMQ221007: Server is now live
17:08:21,206 INFO [org.apache.activemq.artemis.core.server] AMQ221001: Apache ActiveMQ Artemis Message Broker version 1.3.0-SNAPSHOT [localhost, nodeID=bf58616b-11d7-11e6-bfd4-7c7a91a2a427]
============= Before Paging enabled ======================
_ _ _
/ \ ____| |_ ___ __ __(_) _____
/ _ \| _ \ __|/ _ \ \/ | |/ __/
/ ___ \ | \/ |_/ __/ |\/| | |\___ \
/_/ \_\| \__\____|_| |_|_|/___ /
Apache ActiveMQ Artemis 1.3.0-SNAPSHOT
********************************************
Server's ID=bf58616b-11d7-11e6-bfd4-7c7a91a2a427
********************************************
********************************************
B I N D I N G S J O U R N A L
********************************************
Journal path: /sources/activemq-artemis/tests/integration-tests/./target/tmp/junit4744114508078999604/bindings0-L
#JournalFileImpl: (activemq-bindings-1.bindings id = 1, recordID = 1) (size=1048576)
operation@AddRecord;recordID=1;userRecordType=24;isUpdate=false;compactCount=0;IDCounterEncoding [id=2147483647]
operation@AddRecordTX;txID=2,recordID=3;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding [id=3, name=SimpleAddress, address=SimpleAddress, filterString=null, user=null, autoCreated=false]
operation@Commit;txID=2,numberOfRecords=1
#JournalFileImpl: (activemq-bindings-2.bindings id = 2, recordID = 2) (size=1048576)
### Surviving Records Summary ###
recordID=1;userRecordType=24;isUpdate=false;compactCount=0;IDCounterEncoding [id=2147483647]
recordID=3;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding [id=3, name=SimpleAddress, address=SimpleAddress, filterString=null, user=null, autoCreated=false]
### Prepared TX ###
### Message Counts ###
message count=0
message reference count
prepared message count=0
********************************************
M E S S A G E S J O U R N A L
********************************************
Journal path: /sources/activemq-artemis/tests/integration-tests/./target/tmp/junit4744114508078999604/journal0-L
#JournalFileImpl: (activemq-data-1.amq id = 1, recordID = 1) (size=102400)
operation@AddRecordTX;txID=0,recordID=5;userRecordType=31;isUpdate=false;compactCount=0;Message(messageID=5;msg=ServerMessage[messageID=5,durable=true,userID=null,priority=4, bodySize=256, timestamp=Wed May 04 17:08:21 CST 2016,expiration=0, durable=true, address=SimpleAddress,properties=TypedProperties[id=1,Paging=false]]@1970436060
operation@UpdateTX;txID=0,recordID=5;userRecordType=32;isUpdate=true;compactCount=0;AddRef;QueueEncoding [queueID=3]
operation@Commit;txID=0,numberOfRecords=2
#JournalFileImpl: (activemq-data-2.amq id = 2, recordID = 2) (size=102400)
### Surviving Records Summary ###
recordID=5;userRecordType=31;isUpdate=false;compactCount=0;Message(messageID=5;msg=ServerMessage[messageID=5,durable=true,userID=null,priority=4, bodySize=256, timestamp=Wed May 04 17:08:21 CST 2016,expiration=0, durable=true, address=SimpleAddress,properties=TypedProperties[id=1,Paging=false]]@210156003
recordID=5;userRecordType=32;isUpdate=true;compactCount=0;AddRef;QueueEncoding [queueID=3]
### Prepared TX ###
### Message Counts ###
message count=1
message reference count
queue id 3,count=1
prepared message count=0
********************************************
P A G I N G
********************************************
======================================================
17:08:21,718 WARN [org.apache.activemq.artemis.core.client] AMQ212037: Connection failure has been detected: AMQ119015: The connection was disconnected because of server shutdown [code=DISCONNECTED]
17:08:21,743 INFO [org.apache.activemq.artemis.core.server] AMQ221002: Apache ActiveMQ Artemis Message Broker version 1.3.0-SNAPSHOT [bf58616b-11d7-11e6-bfd4-7c7a91a2a427] stopped, uptime 1.074 seconds
============= After Paging enabled ======================
_ _ _
/ \ ____| |_ ___ __ __(_) _____
/ _ \| _ \ __|/ _ \ \/ | |/ __/
/ ___ \ | \/ |_/ __/ |\/| | |\___ \
/_/ \_\| \__\____|_| |_|_|/___ /
Apache ActiveMQ Artemis 1.3.0-SNAPSHOT
********************************************
Server's ID=bf58616b-11d7-11e6-bfd4-7c7a91a2a427
********************************************
********************************************
B I N D I N G S J O U R N A L
********************************************
Journal path: /sources/activemq-artemis/tests/integration-tests/./target/tmp/junit4744114508078999604/bindings0-L
#JournalFileImpl: (activemq-bindings-1.bindings id = 1, recordID = 1) (size=1048576)
operation@AddRecord;recordID=1;userRecordType=24;isUpdate=false;compactCount=0;IDCounterEncoding [id=2147483647]
operation@AddRecordTX;txID=2,recordID=3;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding [id=3, name=SimpleAddress, address=SimpleAddress, filterString=null, user=null, autoCreated=false]
operation@Commit;txID=2,numberOfRecords=1
operation@AddRecord;recordID=13;userRecordType=24;isUpdate=false;compactCount=0;IDCounterEncoding [id=13]
#JournalFileImpl: (activemq-bindings-2.bindings id = 2, recordID = 2) (size=1048576)
#JournalFileImpl: (activemq-bindings-3.bindings id = 3, recordID = 3) (size=1048576)
### Surviving Records Summary ###
recordID=1;userRecordType=24;isUpdate=false;compactCount=0;IDCounterEncoding [id=2147483647]
recordID=3;userRecordType=21;isUpdate=false;compactCount=0;PersistentQueueBindingEncoding [id=3, name=SimpleAddress, address=SimpleAddress, filterString=null, user=null, autoCreated=false]
recordID=13;userRecordType=24;isUpdate=false;compactCount=0;IDCounterEncoding [id=13]
### Prepared TX ###
### Message Counts ###
message count=0
message reference count
prepared message count=0
********************************************
M E S S A G E S J O U R N A L
********************************************
Journal path: /sources/activemq-artemis/tests/integration-tests/./target/tmp/junit4744114508078999604/journal0-L
#JournalFileImpl: (activemq-data-1.amq id = 1, recordID = 1) (size=102400)
operation@AddRecordTX;txID=0,recordID=5;userRecordType=31;isUpdate=false;compactCount=0;Message(messageID=5;msg=ServerMessage[messageID=5,durable=true,userID=null,priority=4, bodySize=256, timestamp=Wed May 04 17:08:21 CST 2016,expiration=0, durable=true, address=SimpleAddress,properties=TypedProperties[id=1,Paging=false]]@1332210474
operation@UpdateTX;txID=0,recordID=5;userRecordType=32;isUpdate=true;compactCount=0;AddRef;QueueEncoding [queueID=3]
operation@Commit;txID=0,numberOfRecords=2
operation@AddRecordTX;txID=6,recordID=8;userRecordType=41;isUpdate=false;compactCount=0;PageCountRecordInc [queueID=3, value=1]
operation@AddRecordTX;txID=6,recordID=9;userRecordType=35;isUpdate=false;compactCount=0;PageTransactionInfoImpl(transactionID=6,id=9,numberOfMessages=1)
operation@Commit;txID=6,numberOfRecords=2
#JournalFileImpl: (activemq-data-2.amq id = 2, recordID = 2) (size=102400)
#JournalFileImpl: (activemq-data-3.amq id = 3, recordID = 3) (size=10485760)
### Surviving Records Summary ###
recordID=5;userRecordType=31;isUpdate=false;compactCount=0;Message(messageID=5;msg=ServerMessage[messageID=5,durable=true,userID=null,priority=4, bodySize=256, timestamp=Wed May 04 17:08:21 CST 2016,expiration=0, durable=true, address=SimpleAddress,properties=TypedProperties[id=1,Paging=false]]@1600667055
recordID=5;userRecordType=32;isUpdate=true;compactCount=0;AddRef;QueueEncoding [queueID=3]
recordID=8;userRecordType=41;isUpdate=false;compactCount=0;PageCountRecordInc [queueID=3, value=1]
##SubsCounter for queue=3, value=1
recordID=9;userRecordType=35;isUpdate=false;compactCount=0;PageTransactionInfoImpl(transactionID=6,id=9,numberOfMessages=1)
### Page Counters
Queue 3 value=1
### Prepared TX ###
### Message Counts ###
message count=1
message reference count
queue id 3,count=1
prepared message count=0
********************************************
P A G I N G
********************************************
####################################################################################################
Exploring store SimpleAddress folder = /sources/activemq-artemis/tests/integration-tests/./target/tmp/junit4744114508078999604/page0-L/bfe7a922-11d7-11e6-bfd4-7c7a91a2a427
******* Page 1
pg=1, msg=0,pgTX=6,userMessageID=, msg=ServerMessage[messageID=7,durable=true,userID=null,priority=4, bodySize=256, timestamp=Wed May 04 17:08:21 CST 2016,expiration=0, durable=true, address=SimpleAddress,properties=TypedProperties[id=2,Paging=true]]@2030036700,Queues = 3
======================================================
17:08:22,019 INFO [org.apache.activemq.artemis.core.server] #*#*# Finished test: testStoreToPageOnly()...
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.521 sec - in org.apache.activemq.artemis.tests.integration.client.PagingTest
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ integration-tests ---
[INFO] Building jar: /sources/activemq-artemis/tests/integration-tests/target/integration-tests-1.3.0-SNAPSHOT-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.055 s
[INFO] Finished at: 2016-05-04T17:08:22+08:00
[INFO] Final Memory: 181M/1185M
[INFO] ------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment