Build failed in Jenkins: ActiveMQ-Artemis-Master #2285

2019-02-22 Thread Apache Jenkins Server
See 


Changes:

[michael.andre.pearce] NO-JIRA Document reloading when using modularised 
broker.xml

[michael.andre.pearce] NO-JIRA Document reloading when using modularised 
broker.xml

--
[...truncated 1.19 MB...]
)???0‚  â?  *†H†÷
??? ‚   Ó?‚ Ï0‚ Ë0‚?g?  *†H†÷
??? ‚?X?‚?T0‚?P0‚?L??*†H†÷
??
?? ‚?û0‚?÷0)?
*†H†÷
0???½/ 
DÛüo¶7?E\"Øê?Ò¶???ÃP?‚?ÈèÐF玀8§©òct¦$X„öCCâ?yï5?Q?‡?ÀcKÖ??§ÐLù²ÅŸûÑ??˜eÛ~w†ÛÆk?Yîwuú#°KSï:8¨ß¾uv9CGö?FV5bŸ?\’°Õ¨e$VCŸÜÄ??¼Àç?®SÝ{ž?|à?7AÈ4±?éÃCi?°¯n¾µŒÖÍP
 oßá=`0t&zœuê9?ó®rê÷ˆFÞ?%äþV7ÁîKüHíí—ÀP?ï
å?CŽ¶f?ÿØÌúށu¤ÖAéuèoXç˜Í1?9UE}·€ù:·O™‰ó»ÊKž¸?‘?ÀBG?{X@kòËÕº;O?Y|WA†Î§?° 
‰ŽÀBsî`"d?„öŒ³?þ^–·ÂÁò?ý?¥ñJ쉝1êÅ°´žë¥`Ĭ‰št€3÷õ‹Þ€½Û®zfœòbÅ¡«7O•¥BÚ×#ÑÙÑ?êÇ?“.¿??&?÷L'ó/Þ?,?W¹+Ÿ`?Ï{֒S¸3Ÿç?ÝÐ@?Õ¿U¸=î?#Y†AÁu-zãúµn¥¸??75µ?7mûíG)1À?X?!n>)¶¿b#n—$QòŠùÙ-⽕¸Œ:èñ?¹(OÖ?Ž`:ýñÏ_
…ÅŽ?.Öú½Y4N…
¥çÍ?p¼6g»ÉKzå?Ö?q?ƒ'L>çï?=Ovx™¦™ºX¨ŸÎèx©¤Gä—?W(ãX®€¼Fð$/Š—?Ý>??„¼ˆ?z"ùø‚ÙzæRAâV?9j‘÷µš?¯)?B4(ý:ä÷Pƒ'‡ÛéTLBtš^GuõX?‡?Æ»Š?E¸5s–éôh¾0??*†H†÷
?   ?1??
?m?y?k?e?y0!?   *†H†÷
?   ?1???Time 15270966159850‚?\?*†H†÷
??? ‚?M0‚?I???0‚?B? *†H†÷
???0)?
*†H†÷
0???9?`fPˆ¬IM›Å
Ä?Ê÷Q”‡Ç???ÃP€‚??m¾WÇ
^’[â8?l€0_z¸0TÐԝò9o?£H?€÷öªÚ?ºÉ?ÆÇ+˘½?=ðcå%Q#~0ääþiwOÿvgAïæú?sò†1;`U(?cñøñ+>üùD?Sk?Ëöä?ËSöp?”±¼$÷qd?kÂ?0?8`?Êe?V?ËÛ²ÄP?æÕ???›ðîñµ½`?ˆ,hþj¦û[”T?5ü“öØ·n7äNŸþÁ»ÀF5NÉlZáŨñ©¬?€ÁSë'œ?6yX?z"£àüÑñeÞ÷m???¯wSü®g©?DX?5Ê]?¥?1y?n
²¶÷0!0
??+u?é?É?áڅ¨ú?¢4ºÝbκ??¯?ƒƒÄ?õ?›2?¿–3[Ž?Ú»#???† 

=
== File: 

=
0‚?†???0‚???*†H†÷
??? ‚?0?‚?,0‚?(0‚?$?*†H†÷
??? ‚??0‚?0‚?
?   *†H†÷
???0)?
*†H†÷
0???8,?¿¹lÓ;°hXš.j·¡Û.À7???ÃP€‚?Ъ24zÅi‚ H±?u¡zåûH>pæÇôj?¦? 
Š"Èò(?Á|Ê&$rö1~ñ ì×W?÷
»??N½^@éÙvVEËÓwÍ?'?éÛbpãu?ÿ‚X?z¡xܝ€‘4=6?5'´6X%ŽÇ?™¦“S4¼òKhüèή×ÀÝ%m`×òí¦dŠ?Ì9
…`,4gêÆk늶ÐRˆ?lyݜF÷#š´ 
"YvîÌ`äùñ4?­®ñúL™ÛÊ!æV{v?2>ÛBL?tÖUŸpÁœøž*+fDÖ?iŠ?ÄI«Mп'W&:§??Ðt÷?v¢í…
½?†ã>Ã?Y×ómüO?¥)³êEŽ¸ê»Ø?
gìZs}.»‰'6ò¡àU?و?ªtÀÖù²?Þ÷??@«õ«¸@§?RòçÎ9(çQ?þv?'ê?¼–Yú?'Ðû×ê§ÀáÉv6¹êM‘å¥O·—2Ñ]™4ß+ëŒ?OŸAwŒ?ö)‚Xt
 ?›éf’]É?!.&ÁTS𙠳&¡Y 
ÕgLƒˆm?™—¢q×m8I?þ—¢ÏØm??oå]ÙÉѾ=ª]d›?tpçëˆ#©ÚÑàH+Æã¥éhaÁ‘$ñ?¬=??e—Ÿ?…Ms 
àÓ¤X›K#0>0!0 ??+?8ÔôÑ?ÉÚºûëÕ¤ HTê?Ÿ??¡Þ…
ßü…HÜ&BŒàËð„„>† 

=
== File: 

=
0‚
0‚  Ò?  *†H†÷
??? ‚   Ã?‚ ¿0‚ »0‚?g?  *†H†÷
??? ‚?X?‚?T0‚?P0‚?L??*†H†÷
??
?? ‚?û0‚?÷0)?
*†H†÷
0???5?“s?Lù‹nbáQ%ÔÍ?£?á???ÃP?‚?È}‡N%M/5fє?D¹-™ÝîUÈy©? QÔÜ
lÿçtÂãn@u‚ùÁù×2V{ ™Þ–ÅÉÁò,áf6…î´ðÞ!á?ƒ>íô Þ>‡ïßv’Î?<)ˆû>?i&§Æ¡„ÐÆU}O?‡É¡©„
Æôɐ*®‹Õß?U?ÛÓ´"UûMØ–?i¼$þ@Õe®?±m?kâAFW>¦þIº??¬õè?h"Ü?ƒb¥&»%yÈúÔ?Q?ë2Ñ%¦Ô†Çµ\?&
ò@è¤÷mfjÏÒ«]=‰É
?—?–÷ìµxůxkB?û™¥?2?‹¤?GØÞu_
-tëL±BO³,?Àé¥??ˤ`î˜í2Ôu‹?]a!u
o?Fø\ÂÐÏ?e³
·+¨??¸dn?6“?ƒxÄ??­0½x??.Um?Ø"Â
8?Ë4_??è@??:³ßühdðº¶6æ±?‹‰RÐ^Ÿîò˦g–3ñÌ,»aô녰œúpé4Tq²I‡i<â\?2?˜?˜??”ªdxþàb
iRc•|Œ¸wšV?©úœµf
9]?p¸?橀ß#¿î|&›¸2BCÒ%!¡??dK½î™»­??0ûP?³¼?„´3Ñ"?wR¤Ek[Ô脚.¤‰(Ä|]?ô?’^­ÏèWñ&Üxç´:´”?Õ
   
Í"ŽI–"ô|ýéÞ·;µ•Ô}¹??2F?(à²z[Ž‰Pcͼ?z¸`?Cž¡àKn?Lተ¢Í?~Ä?z×6÷áW¶??³?މ&afø"fm3û(?K*ÏcWÅÒwÍé´Wؖ?-§uL?¥b_à@s&؛eÞ?G?04ÿ'°œ?aÄgq!¥È?à¸ñ¡?'`÷¢-*?d÷‹½ßÒ¦"Š‹AoÛ»¢)l+ýº’?•:mÓ¶d’»??º7i±´º¢¯N¯u,??äÓfw?¸ûÉ?8d毿uÿ4?®Šr­/X?;wø²Í'W÷SM4æчԥÍÏTG¦‚’w[?"•mÁm¸îŠB°Œs\¢^ë?Äk?Ì}?3'Ô°“˜¤§{ÑMX©ŒY0Y8·ÙÏmÞñ
 þ???¿·
Ê?4`ÒĹH±X«„‘ÀãíŽóóÚçe•õ4õ¥
XÊÔ?֗Wx?x-¨š[@·ù°Õ{T k>&˜˜‚n"?ďÇƼ’N„üD=¸wÊ才Ç?•} ý݅
vzœ{?$K@M?Þßî¾Á?‚Rž?É»tý2m´A²eÀ$.F?þ›._-?ï“?f†?%cZšY?þ9%)b…k¢g™ß1>0?? *†H†÷
?   ?1??
?m?y?k?e?y0!?   *†H†÷
?   ?1???Time 15270978378910‚?L?*†H†÷
??? ‚?=0‚?9???0‚?2? *†H†÷
???0)?
*†H†÷
0???’M©o©?›k?³?ÂщÀ?xc?ü¥f1??+4†^Á×¥?ã³?Â\ò?áý³ÓÅ?Ìãþ„u'é??㫝õ¹ÉO¹¥
 }êÅð×?Nq.ìÃØËф¡öÊ@FÅ4û^ï“Q8Õ­½Cř©æ?
?JÝ(Df¦?Êóm·3Ûäã ùµyÌ@
Ƕ0!?>qΨH‚N?…Jþfk?õiRÏç?Xp?l_ÍÙ?gL%¤7ÏßNÀ0fº(´Úê]IəD ??õÓân„û?¤©}P}@,*op4
”?ç;·¯‚Ü?zþÉoo…?àäVmà?{?&º#ŠB’gùòx?ËnC7×x—ÁúÜúÆh1A2ˆÔ§·?ÈJð ObßMÖëP
?‹ˆ_`?Úz-$z<¯?ƒ¨ˆ?LbjwÎ`Ädlé/dcÑ=1ÛrÊÝçÏ/uE‰kræρ?1±ÀÄÓ?K±ˆ:?ƒ_Z7-J9l0ýò<8Ò«??š9€Ñ«“?þ46´W?!pC´“ûãŒ?rwjõ?–˜r¬ërþ?÷ÆSŸ½vבDrü±Oà$‡€?ôûÿò„?ó‰
 "Ðó0Læ; 
˜×R›?Çäþ£¸·“ªÓoòÙÌúÕt7$Ä??Õ??õ?‘?“È™ò[†û¢˜àݔ}?óô?õO¸J[î>f1m?§ÖxLì?9?#¸Ä¡¼½@ÆI
 ñ?“§zߟe²3U­®­Ùy¦s՚Ԛ¿<¢L?²n??9ÚÝE‚?¿½ÙûA@æ?S¨–?N¥§ª&u‡KçX·?Û{5i‡ßf 
€ÝÕ4::šÚø›éÙÌa.À€??ýWÚ'?ž[À]+õÇ)gÕf>°§)כªäN?¢†
ÁÈ?YOQQDs¬
. 
jÒßP‰ÆéÐø?Ž†x¯¥!4†)S?¶?š?Œ=œ/?q8:™??Þ¢ª?T·ÛC‹ÇÊÀÀN+]??{ÈZ‡»»?ò:?#©Ü‘Ô?:/?QŒNRjr=„??‹:?M~Àì'I^çÍÙ?D¿Ub\?ƁíóµR¬uý±°õ݁
óŠÛ?Öæ¶?âÀ?ÞI.ÉQ°1bPøô®*[&"AŠ?ŽN­ö2€™?K¾jÍ5s?Þøñ:œëqxVš÷Ïáƒ>ã
ñD?
Òy¹•)»?
q÷n7‘?{QW??‘NVïŠéKŠíî?€‚ì»?¥.ö©ïCN–½îÄ^?Èkš¢+?QÍ??€ªÙ]™d®ÿ'éæw?7¡0>0!0  
??+d?Ë.´??}GWJAÚ$£6¤Ñ??oPå†Ø'\Ø㎜Y÷G‡È
FÃ???† 


[activemq-artemis] branch master updated: NO-JIRA Document reloading when using modularised broker.xml

2019-02-22 Thread michaelpearce
This is an automated email from the ASF dual-hosted git repository.

michaelpearce pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/master by this push:
 new 33d9edf  NO-JIRA Document reloading when using modularised broker.xml
 new 0cf29fe  This closes #2563
33d9edf is described below

commit 33d9edf525a21ce8befed39715c690939b78e7b0
Author: Michael André Pearce 
AuthorDate: Sat Feb 23 05:49:03 2019 +

NO-JIRA Document reloading when using modularised broker.xml
---
 docs/user-manual/en/config-reload.md | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/docs/user-manual/en/config-reload.md 
b/docs/user-manual/en/config-reload.md
index be2ac98..0f639b5 100644
--- a/docs/user-manual/en/config-reload.md
+++ b/docs/user-manual/en/config-reload.md
@@ -12,10 +12,7 @@ be reloaded automatically:
 - Diverts
 - Addresses & queues
 
-If using [modulised 
broker.xml](configuration-index.md#modularising-broker.xml) you need to touch 
broker.xml for modularised config to reload.
- 
-This is on-purpose to avoid reload occurring whilst modifying separate 
modularised parts e.g. address-settings and addressesm that you may want to 
have updated at the same time but maybe modularised separately.
-
+If using [modulised 
broker.xml](configuration-index.md#modularising-broker.xml) ensure you also 
read [Reloading modular configuration 
files](configuration-index.md#reloading-modular-configuration-files)
 
 **Note:**
 



[activemq-artemis] branch master updated: NO-JIRA Document reloading when using modularised broker.xml

2019-02-22 Thread michaelpearce
This is an automated email from the ASF dual-hosted git repository.

michaelpearce pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/master by this push:
 new ffa5a37  NO-JIRA Document reloading when using modularised broker.xml
 new 073eef4  This closes #2562
ffa5a37 is described below

commit ffa5a3718f15ad11b14e682687d1d13eaab348bf
Author: Michael André Pearce 
AuthorDate: Sat Feb 23 05:44:08 2019 +

NO-JIRA Document reloading when using modularised broker.xml

Add docs to clarify the need to touch broker.xml for modularised config to 
reload
---
 docs/user-manual/en/config-reload.md | 4 
 1 file changed, 4 insertions(+)

diff --git a/docs/user-manual/en/config-reload.md 
b/docs/user-manual/en/config-reload.md
index 45029e5..be2ac98 100644
--- a/docs/user-manual/en/config-reload.md
+++ b/docs/user-manual/en/config-reload.md
@@ -12,6 +12,10 @@ be reloaded automatically:
 - Diverts
 - Addresses & queues
 
+If using [modulised 
broker.xml](configuration-index.md#modularising-broker.xml) you need to touch 
broker.xml for modularised config to reload.
+ 
+This is on-purpose to avoid reload occurring whilst modifying separate 
modularised parts e.g. address-settings and addressesm that you may want to 
have updated at the same time but maybe modularised separately.
+
 
 **Note:**
 



buildbot success in on activemq-site-production

2019-02-22 Thread buildbot
The Buildbot has detected a restored build on builder activemq-site-production 
while building . Full details are available at:
https://ci.apache.org/builders/activemq-site-production/builds/31938

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'activemq-site-production' triggered 
this build
Build Source Stamp: [branch activemq/activemq-website] HEAD
Blamelist: 

Build succeeded!

Sincerely,
 -The Buildbot





buildbot failure in on activemq-site-production

2019-02-22 Thread buildbot
The Buildbot has detected a new failure on builder activemq-site-production 
while building . Full details are available at:
https://ci.apache.org/builders/activemq-site-production/builds/31935

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'activemq-site-production' triggered 
this build
Build Source Stamp: [branch activemq/activemq-website] HEAD
Blamelist: 

BUILD FAILED: failed shell

Sincerely,
 -The Buildbot





buildbot success in on activemq-site-production

2019-02-22 Thread buildbot
The Buildbot has detected a restored build on builder activemq-site-production 
while building . Full details are available at:
https://ci.apache.org/builders/activemq-site-production/builds/31932

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'activemq-site-production' triggered 
this build
Build Source Stamp: [branch activemq/activemq-website] HEAD
Blamelist: 

Build succeeded!

Sincerely,
 -The Buildbot





buildbot failure in on activemq-site-production

2019-02-22 Thread buildbot
The Buildbot has detected a new failure on builder activemq-site-production 
while building . Full details are available at:
https://ci.apache.org/builders/activemq-site-production/builds/31931

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'activemq-site-production' triggered 
this build
Build Source Stamp: [branch activemq/activemq-website] HEAD
Blamelist: 

BUILD FAILED: failed compile

Sincerely,
 -The Buildbot





Build failed in Jenkins: ActiveMQ-Artemis-Master #2284

2019-02-22 Thread Apache Jenkins Server
See 


Changes:

[clebertsuconic] ARTEMIS-2260 Refactor the library build code

--
[...truncated 1.14 MB...]
??? ‚   Ó?‚ Ï0‚ Ë0‚?g?  *†H†÷
??? ‚?X?‚?T0‚?P0‚?L??*†H†÷
??
?? ‚?û0‚?÷0)?
*†H†÷
0???½/ 
DÛüo¶7?E\"Øê?Ò¶???ÃP?‚?ÈèÐF玀8§©òct¦$X„öCCâ?yï5?Q?‡?ÀcKÖ??§ÐLù²ÅŸûÑ??˜eÛ~w†ÛÆk?Yîwuú#°KSï:8¨ß¾uv9CGö?FV5bŸ?\’°Õ¨e$VCŸÜÄ??¼Àç?®SÝ{ž?|à?7AÈ4±?éÃCi?°¯n¾µŒÖÍP
 oßá=`0t&zœuê9?ó®rê÷ˆFÞ?%äþV7ÁîKüHíí—ÀP?ï
å?CŽ¶f?ÿØÌúށu¤ÖAéuèoXç˜Í1?9UE}·€ù:·O™‰ó»ÊKž¸?‘?ÀBG?{X@kòËÕº;O?Y|WA†Î§?° 
‰ŽÀBsî`"d?„öŒ³?þ^–·ÂÁò?ý?¥ñJ쉝1êÅ°´žë¥`Ĭ‰št€3÷õ‹Þ€½Û®zfœòbÅ¡«7O•¥BÚ×#ÑÙÑ?êÇ?“.¿??&?÷L'ó/Þ?,?W¹+Ÿ`?Ï{֒S¸3Ÿç?ÝÐ@?Õ¿U¸=î?#Y†AÁu-zãúµn¥¸??75µ?7mûíG)1À?X?!n>)¶¿b#n—$QòŠùÙ-⽕¸Œ:èñ?¹(OÖ?Ž`:ýñÏ_
…ÅŽ?.Öú½Y4N…
¥çÍ?p¼6g»ÉKzå?Ö?q?ƒ'L>çï?=Ovx™¦™ºX¨ŸÎèx©¤Gä—?W(ãX®€¼Fð$/Š—?Ý>??„¼ˆ?z"ùø‚ÙzæRAâV?9j‘÷µš?¯)?B4(ý:ä÷Pƒ'‡ÛéTLBtš^GuõX?‡?Æ»Š?E¸5s–éôh¾0??*†H†÷
?   ?1??
?m?y?k?e?y0!?   *†H†÷
?   ?1???Time 15270966159850‚?\?*†H†÷
??? ‚?M0‚?I???0‚?B? *†H†÷
???0)?
*†H†÷
0???9?`fPˆ¬IM›Å
Ä?Ê÷Q”‡Ç???ÃP€‚??m¾WÇ
^’[â8?l€0_z¸0TÐԝò9o?£H?€÷öªÚ?ºÉ?ÆÇ+˘½?=ðcå%Q#~0ääþiwOÿvgAïæú?sò†1;`U(?cñøñ+>üùD?Sk?Ëöä?ËSöp?”±¼$÷qd?kÂ?0?8`?Êe?V?ËÛ²ÄP?æÕ???›ðîñµ½`?ˆ,hþj¦û[”T?5ü“öØ·n7äNŸþÁ»ÀF5NÉlZáŨñ©¬?€ÁSë'œ?6yX?z"£àüÑñeÞ÷m???¯wSü®g©?DX?5Ê]?¥?1y?n
²¶÷0!0
??+u?é?É?áڅ¨ú?¢4ºÝbκ??¯?ƒƒÄ?õ?›2?¿–3[Ž?Ú»#???† 

=
== File: 

=
0‚?†???0‚???*†H†÷
??? ‚?0?‚?,0‚?(0‚?$?*†H†÷
??? ‚??0‚?0‚?
?   *†H†÷
???0)?
*†H†÷
0???8,?¿¹lÓ;°hXš.j·¡Û.À7???ÃP€‚?Ъ24zÅi‚ H±?u¡zåûH>pæÇôj?¦? 
Š"Èò(?Á|Ê&$rö1~ñ ì×W?÷
»??N½^@éÙvVEËÓwÍ?'?éÛbpãu?ÿ‚X?z¡xܝ€‘4=6?5'´6X%ŽÇ?™¦“S4¼òKhüèή×ÀÝ%m`×òí¦dŠ?Ì9
…`,4gêÆk늶ÐRˆ?lyݜF÷#š´ 
"YvîÌ`äùñ4?­®ñúL™ÛÊ!æV{v?2>ÛBL?tÖUŸpÁœøž*+fDÖ?iŠ?ÄI«Mп'W&:§??Ðt÷?v¢í…
½?†ã>Ã?Y×ómüO?¥)³êEŽ¸ê»Ø?
gìZs}.»‰'6ò¡àU?و?ªtÀÖù²?Þ÷??@«õ«¸@§?RòçÎ9(çQ?þv?'ê?¼–Yú?'Ðû×ê§ÀáÉv6¹êM‘å¥O·—2Ñ]™4ß+ëŒ?OŸAwŒ?ö)‚Xt
 ?›éf’]É?!.&ÁTS𙠳&¡Y 
ÕgLƒˆm?™—¢q×m8I?þ—¢ÏØm??oå]ÙÉѾ=ª]d›?tpçëˆ#©ÚÑàH+Æã¥éhaÁ‘$ñ?¬=??e—Ÿ?…Ms 
àÓ¤X›K#0>0!0 ??+?8ÔôÑ?ÉÚºûëÕ¤ HTê?Ÿ??¡Þ…
ßü…HÜ&BŒàËð„„>† 

=
== File: 

=
0‚
0‚  Ò?  *†H†÷
??? ‚   Ã?‚ ¿0‚ »0‚?g?  *†H†÷
??? ‚?X?‚?T0‚?P0‚?L??*†H†÷
??
?? ‚?û0‚?÷0)?
*†H†÷
0???5?“s?Lù‹nbáQ%ÔÍ?£?á???ÃP?‚?È}‡N%M/5fє?D¹-™ÝîUÈy©? QÔÜ
lÿçtÂãn@u‚ùÁù×2V{ ™Þ–ÅÉÁò,áf6…î´ðÞ!á?ƒ>íô Þ>‡ïßv’Î?<)ˆû>?i&§Æ¡„ÐÆU}O?‡É¡©„
Æôɐ*®‹Õß?U?ÛÓ´"UûMØ–?i¼$þ@Õe®?±m?kâAFW>¦þIº??¬õè?h"Ü?ƒb¥&»%yÈúÔ?Q?ë2Ñ%¦Ô†Çµ\?&
ò@è¤÷mfjÏÒ«]=‰É
?—?–÷ìµxůxkB?û™¥?2?‹¤?GØÞu_
-tëL±BO³,?Àé¥??ˤ`î˜í2Ôu‹?]a!u
o?Fø\ÂÐÏ?e³
·+¨??¸dn?6“?ƒxÄ??­0½x??.Um?Ø"Â
8?Ë4_??è@??:³ßühdðº¶6æ±?‹‰RÐ^Ÿîò˦g–3ñÌ,»aô녰œúpé4Tq²I‡i<â\?2?˜?˜??”ªdxþàb
iRc•|Œ¸wšV?©úœµf
9]?p¸?橀ß#¿î|&›¸2BCÒ%!¡??dK½î™»­??0ûP?³¼?„´3Ñ"?wR¤Ek[Ô脚.¤‰(Ä|]?ô?’^­ÏèWñ&Üxç´:´”?Õ
   
Í"ŽI–"ô|ýéÞ·;µ•Ô}¹??2F?(à²z[Ž‰Pcͼ?z¸`?Cž¡àKn?Lተ¢Í?~Ä?z×6÷áW¶??³?މ&afø"fm3û(?K*ÏcWÅÒwÍé´Wؖ?-§uL?¥b_à@s&؛eÞ?G?04ÿ'°œ?aÄgq!¥È?à¸ñ¡?'`÷¢-*?d÷‹½ßÒ¦"Š‹AoÛ»¢)l+ýº’?•:mÓ¶d’»??º7i±´º¢¯N¯u,??äÓfw?¸ûÉ?8d毿uÿ4?®Šr­/X?;wø²Í'W÷SM4æчԥÍÏTG¦‚’w[?"•mÁm¸îŠB°Œs\¢^ë?Äk?Ì}?3'Ô°“˜¤§{ÑMX©ŒY0Y8·ÙÏmÞñ
 þ???¿·
Ê?4`ÒĹH±X«„‘ÀãíŽóóÚçe•õ4õ¥
XÊÔ?֗Wx?x-¨š[@·ù°Õ{T k>&˜˜‚n"?ďÇƼ’N„üD=¸wÊ才Ç?•} ý݅
vzœ{?$K@M?Þßî¾Á?‚Rž?É»tý2m´A²eÀ$.F?þ›._-?ï“?f†?%cZšY?þ9%)b…k¢g™ß1>0?? *†H†÷
?   ?1??
?m?y?k?e?y0!?   *†H†÷
?   ?1???Time 15270978378910‚?L?*†H†÷
??? ‚?=0‚?9???0‚?2? *†H†÷
???0)?
*†H†÷
0???’M©o©?›k?³?ÂщÀ?xc?ü¥f1??+4†^Á×¥?ã³?Â\ò?áý³ÓÅ?Ìãþ„u'é??㫝õ¹ÉO¹¥
 }êÅð×?Nq.ìÃØËф¡öÊ@FÅ4û^ï“Q8Õ­½Cř©æ?
?JÝ(Df¦?Êóm·3Ûäã ùµyÌ@
Ƕ0!?>qΨH‚N?…Jþfk?õiRÏç?Xp?l_ÍÙ?gL%¤7ÏßNÀ0fº(´Úê]IəD ??õÓân„û?¤©}P}@,*op4
”?ç;·¯‚Ü?zþÉoo…?àäVmà?{?&º#ŠB’gùòx?ËnC7×x—ÁúÜúÆh1A2ˆÔ§·?ÈJð ObßMÖëP
?‹ˆ_`?Úz-$z<¯?ƒ¨ˆ?LbjwÎ`Ädlé/dcÑ=1ÛrÊÝçÏ/uE‰kræρ?1±ÀÄÓ?K±ˆ:?ƒ_Z7-J9l0ýò<8Ò«??š9€Ñ«“?þ46´W?!pC´“ûãŒ?rwjõ?–˜r¬ërþ?÷ÆSŸ½vבDrü±Oà$‡€?ôûÿò„?ó‰
 "Ðó0Læ; 
˜×R›?Çäþ£¸·“ªÓoòÙÌúÕt7$Ä??Õ??õ?‘?“È™ò[†û¢˜àݔ}?óô?õO¸J[î>f1m?§ÖxLì?9?#¸Ä¡¼½@ÆI
 ñ?“§zߟe²3U­®­Ùy¦s՚Ԛ¿<¢L?²n??9ÚÝE‚?¿½ÙûA@æ?S¨–?N¥§ª&u‡KçX·?Û{5i‡ßf 
€ÝÕ4::šÚø›éÙÌa.À€??ýWÚ'?ž[À]+õÇ)gÕf>°§)כªäN?¢†
ÁÈ?YOQQDs¬
. 
jÒßP‰ÆéÐø?Ž†x¯¥!4†)S?¶?š?Œ=œ/?q8:™??Þ¢ª?T·ÛC‹ÇÊÀÀN+]??{ÈZ‡»»?ò:?#©Ü‘Ô?:/?QŒNRjr=„??‹:?M~Àì'I^çÍÙ?D¿Ub\?ƁíóµR¬uý±°õ݁
óŠÛ?Öæ¶?âÀ?ÞI.ÉQ°1bPøô®*[&"AŠ?ŽN­ö2€™?K¾jÍ5s?Þøñ:œëqxVš÷Ïáƒ>ã
ñD?
Òy¹•)»?
q÷n7‘?{QW??‘NVïŠéKŠíî?€‚ì»?¥.ö©ïCN–½îÄ^?Èkš¢+?QÍ??€ªÙ]™d®ÿ'éæw?7¡0>0!0  
??+d?Ë.´??}GWJAÚ$£6¤Ñ??oPå†Ø'\Ø㎜Y÷G‡È
FÃ???† 

=
== File: 


Build failed in Jenkins: ActiveMQ-Artemis-Master #2283

2019-02-22 Thread Apache Jenkins Server
See 


Changes:

[clebertsuconic] ARTEMIS-2260 Fixes a potential NULL pointer dereference on the 
thin

[clebertsuconic] ARTEMIS-2260 Prevent a null pointer dereference if unable to 
allocate

[clebertsuconic] ARTEMIS-2260 Fix an incorrect cleanup of the AIO I/O context.

[clebertsuconic] ARTEMIS-2260 Refactor the context initialization code

--
[...truncated 1.14 MB...]
??? ‚   Ó?‚ Ï0‚ Ë0‚?g?  *†H†÷
??? ‚?X?‚?T0‚?P0‚?L??*†H†÷
??
?? ‚?û0‚?÷0)?
*†H†÷
0???½/ 
DÛüo¶7?E\"Øê?Ò¶???ÃP?‚?ÈèÐF玀8§©òct¦$X„öCCâ?yï5?Q?‡?ÀcKÖ??§ÐLù²ÅŸûÑ??˜eÛ~w†ÛÆk?Yîwuú#°KSï:8¨ß¾uv9CGö?FV5bŸ?\’°Õ¨e$VCŸÜÄ??¼Àç?®SÝ{ž?|à?7AÈ4±?éÃCi?°¯n¾µŒÖÍP
 oßá=`0t&zœuê9?ó®rê÷ˆFÞ?%äþV7ÁîKüHíí—ÀP?ï
å?CŽ¶f?ÿØÌúށu¤ÖAéuèoXç˜Í1?9UE}·€ù:·O™‰ó»ÊKž¸?‘?ÀBG?{X@kòËÕº;O?Y|WA†Î§?° 
‰ŽÀBsî`"d?„öŒ³?þ^–·ÂÁò?ý?¥ñJ쉝1êÅ°´žë¥`Ĭ‰št€3÷õ‹Þ€½Û®zfœòbÅ¡«7O•¥BÚ×#ÑÙÑ?êÇ?“.¿??&?÷L'ó/Þ?,?W¹+Ÿ`?Ï{֒S¸3Ÿç?ÝÐ@?Õ¿U¸=î?#Y†AÁu-zãúµn¥¸??75µ?7mûíG)1À?X?!n>)¶¿b#n—$QòŠùÙ-⽕¸Œ:èñ?¹(OÖ?Ž`:ýñÏ_
…ÅŽ?.Öú½Y4N…
¥çÍ?p¼6g»ÉKzå?Ö?q?ƒ'L>çï?=Ovx™¦™ºX¨ŸÎèx©¤Gä—?W(ãX®€¼Fð$/Š—?Ý>??„¼ˆ?z"ùø‚ÙzæRAâV?9j‘÷µš?¯)?B4(ý:ä÷Pƒ'‡ÛéTLBtš^GuõX?‡?Æ»Š?E¸5s–éôh¾0??*†H†÷
?   ?1??
?m?y?k?e?y0!?   *†H†÷
?   ?1???Time 15270966159850‚?\?*†H†÷
??? ‚?M0‚?I???0‚?B? *†H†÷
???0)?
*†H†÷
0???9?`fPˆ¬IM›Å
Ä?Ê÷Q”‡Ç???ÃP€‚??m¾WÇ
^’[â8?l€0_z¸0TÐԝò9o?£H?€÷öªÚ?ºÉ?ÆÇ+˘½?=ðcå%Q#~0ääþiwOÿvgAïæú?sò†1;`U(?cñøñ+>üùD?Sk?Ëöä?ËSöp?”±¼$÷qd?kÂ?0?8`?Êe?V?ËÛ²ÄP?æÕ???›ðîñµ½`?ˆ,hþj¦û[”T?5ü“öØ·n7äNŸþÁ»ÀF5NÉlZáŨñ©¬?€ÁSë'œ?6yX?z"£àüÑñeÞ÷m???¯wSü®g©?DX?5Ê]?¥?1y?n
²¶÷0!0
??+u?é?É?áڅ¨ú?¢4ºÝbκ??¯?ƒƒÄ?õ?›2?¿–3[Ž?Ú»#???† 

=
== File: 

=
0‚?†???0‚???*†H†÷
??? ‚?0?‚?,0‚?(0‚?$?*†H†÷
??? ‚??0‚?0‚?
?   *†H†÷
???0)?
*†H†÷
0???8,?¿¹lÓ;°hXš.j·¡Û.À7???ÃP€‚?Ъ24zÅi‚ H±?u¡zåûH>pæÇôj?¦? 
Š"Èò(?Á|Ê&$rö1~ñ ì×W?÷
»??N½^@éÙvVEËÓwÍ?'?éÛbpãu?ÿ‚X?z¡xܝ€‘4=6?5'´6X%ŽÇ?™¦“S4¼òKhüèή×ÀÝ%m`×òí¦dŠ?Ì9
…`,4gêÆk늶ÐRˆ?lyݜF÷#š´ 
"YvîÌ`äùñ4?­®ñúL™ÛÊ!æV{v?2>ÛBL?tÖUŸpÁœøž*+fDÖ?iŠ?ÄI«Mп'W&:§??Ðt÷?v¢í…
½?†ã>Ã?Y×ómüO?¥)³êEŽ¸ê»Ø?
gìZs}.»‰'6ò¡àU?و?ªtÀÖù²?Þ÷??@«õ«¸@§?RòçÎ9(çQ?þv?'ê?¼–Yú?'Ðû×ê§ÀáÉv6¹êM‘å¥O·—2Ñ]™4ß+ëŒ?OŸAwŒ?ö)‚Xt
 ?›éf’]É?!.&ÁTS𙠳&¡Y 
ÕgLƒˆm?™—¢q×m8I?þ—¢ÏØm??oå]ÙÉѾ=ª]d›?tpçëˆ#©ÚÑàH+Æã¥éhaÁ‘$ñ?¬=??e—Ÿ?…Ms 
àÓ¤X›K#0>0!0 ??+?8ÔôÑ?ÉÚºûëÕ¤ HTê?Ÿ??¡Þ…
ßü…HÜ&BŒàËð„„>† 

=
== File: 

=
0‚
0‚  Ò?  *†H†÷
??? ‚   Ã?‚ ¿0‚ »0‚?g?  *†H†÷
??? ‚?X?‚?T0‚?P0‚?L??*†H†÷
??
?? ‚?û0‚?÷0)?
*†H†÷
0???5?“s?Lù‹nbáQ%ÔÍ?£?á???ÃP?‚?È}‡N%M/5fє?D¹-™ÝîUÈy©? QÔÜ
lÿçtÂãn@u‚ùÁù×2V{ ™Þ–ÅÉÁò,áf6…î´ðÞ!á?ƒ>íô Þ>‡ïßv’Î?<)ˆû>?i&§Æ¡„ÐÆU}O?‡É¡©„
Æôɐ*®‹Õß?U?ÛÓ´"UûMØ–?i¼$þ@Õe®?±m?kâAFW>¦þIº??¬õè?h"Ü?ƒb¥&»%yÈúÔ?Q?ë2Ñ%¦Ô†Çµ\?&
ò@è¤÷mfjÏÒ«]=‰É
?—?–÷ìµxůxkB?û™¥?2?‹¤?GØÞu_
-tëL±BO³,?Àé¥??ˤ`î˜í2Ôu‹?]a!u
o?Fø\ÂÐÏ?e³
·+¨??¸dn?6“?ƒxÄ??­0½x??.Um?Ø"Â
8?Ë4_??è@??:³ßühdðº¶6æ±?‹‰RÐ^Ÿîò˦g–3ñÌ,»aô녰œúpé4Tq²I‡i<â\?2?˜?˜??”ªdxþàb
iRc•|Œ¸wšV?©úœµf
9]?p¸?橀ß#¿î|&›¸2BCÒ%!¡??dK½î™»­??0ûP?³¼?„´3Ñ"?wR¤Ek[Ô脚.¤‰(Ä|]?ô?’^­ÏèWñ&Üxç´:´”?Õ
   
Í"ŽI–"ô|ýéÞ·;µ•Ô}¹??2F?(à²z[Ž‰Pcͼ?z¸`?Cž¡àKn?Lተ¢Í?~Ä?z×6÷áW¶??³?މ&afø"fm3û(?K*ÏcWÅÒwÍé´Wؖ?-§uL?¥b_à@s&؛eÞ?G?04ÿ'°œ?aÄgq!¥È?à¸ñ¡?'`÷¢-*?d÷‹½ßÒ¦"Š‹AoÛ»¢)l+ýº’?•:mÓ¶d’»??º7i±´º¢¯N¯u,??äÓfw?¸ûÉ?8d毿uÿ4?®Šr­/X?;wø²Í'W÷SM4æчԥÍÏTG¦‚’w[?"•mÁm¸îŠB°Œs\¢^ë?Äk?Ì}?3'Ô°“˜¤§{ÑMX©ŒY0Y8·ÙÏmÞñ
 þ???¿·
Ê?4`ÒĹH±X«„‘ÀãíŽóóÚçe•õ4õ¥
XÊÔ?֗Wx?x-¨š[@·ù°Õ{T k>&˜˜‚n"?ďÇƼ’N„üD=¸wÊ才Ç?•} ý݅
vzœ{?$K@M?Þßî¾Á?‚Rž?É»tý2m´A²eÀ$.F?þ›._-?ï“?f†?%cZšY?þ9%)b…k¢g™ß1>0?? *†H†÷
?   ?1??
?m?y?k?e?y0!?   *†H†÷
?   ?1???Time 15270978378910‚?L?*†H†÷
??? ‚?=0‚?9???0‚?2? *†H†÷
???0)?
*†H†÷
0???’M©o©?›k?³?ÂщÀ?xc?ü¥f1??+4†^Á×¥?ã³?Â\ò?áý³ÓÅ?Ìãþ„u'é??㫝õ¹ÉO¹¥
 }êÅð×?Nq.ìÃØËф¡öÊ@FÅ4û^ï“Q8Õ­½Cř©æ?
?JÝ(Df¦?Êóm·3Ûäã ùµyÌ@
Ƕ0!?>qΨH‚N?…Jþfk?õiRÏç?Xp?l_ÍÙ?gL%¤7ÏßNÀ0fº(´Úê]IəD ??õÓân„û?¤©}P}@,*op4
”?ç;·¯‚Ü?zþÉoo…?àäVmà?{?&º#ŠB’gùòx?ËnC7×x—ÁúÜúÆh1A2ˆÔ§·?ÈJð ObßMÖëP
?‹ˆ_`?Úz-$z<¯?ƒ¨ˆ?LbjwÎ`Ädlé/dcÑ=1ÛrÊÝçÏ/uE‰kræρ?1±ÀÄÓ?K±ˆ:?ƒ_Z7-J9l0ýò<8Ò«??š9€Ñ«“?þ46´W?!pC´“ûãŒ?rwjõ?–˜r¬ërþ?÷ÆSŸ½vבDrü±Oà$‡€?ôûÿò„?ó‰
 "Ðó0Læ; 
˜×R›?Çäþ£¸·“ªÓoòÙÌúÕt7$Ä??Õ??õ?‘?“È™ò[†û¢˜àݔ}?óô?õO¸J[î>f1m?§ÖxLì?9?#¸Ä¡¼½@ÆI
 ñ?“§zߟe²3U­®­Ùy¦s՚Ԛ¿<¢L?²n??9ÚÝE‚?¿½ÙûA@æ?S¨–?N¥§ª&u‡KçX·?Û{5i‡ßf 
€ÝÕ4::šÚø›éÙÌa.À€??ýWÚ'?ž[À]+õÇ)gÕf>°§)כªäN?¢†
ÁÈ?YOQQDs¬
. 
jÒßP‰ÆéÐø?Ž†x¯¥!4†)S?¶?š?Œ=œ/?q8:™??Þ¢ª?T·ÛC‹ÇÊÀÀN+]??{ÈZ‡»»?ò:?#©Ü‘Ô?:/?QŒNRjr=„??‹:?M~Àì'I^çÍÙ?D¿Ub\?ƁíóµR¬uý±°õ݁
óŠÛ?Öæ¶?âÀ?ÞI.ÉQ°1bPøô®*[&"AŠ?ŽN­ö2€™?K¾jÍ5s?Þøñ:œëqxVš÷Ïáƒ>ã
ñD?
Òy¹•)»?
q÷n7‘?{QW??‘NVïŠéKŠíî?€‚ì»?¥.ö©

[activemq-artemis] branch master updated: ARTEMIS-2260 Refactor the library build code

2019-02-22 Thread clebertsuconic
This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/master by this push:
 new b0a1481  ARTEMIS-2260 Refactor the library build code
 new 35e0b3f  This closes #2529
b0a1481 is described below

commit b0a148158dc63fc5b57f1885a1bc63876be16740
Author: Otavio R. Piske 
AuthorDate: Sun Jan 27 14:22:54 2019 +0100

ARTEMIS-2260 Refactor the library build code

This refactoring changes the native library build code to allow 
cross-compilation
and brings the following changes:

- Fix the link target to the one that was actually found by find_library

- Replace add definitions with standard CMake C flags handling options. 
Among
other things, this allow greater control over which compiler flags are used
and makes it easier to turn on/off debug flags by manipulating the
CMAKE_USER_C_FLAGS variable as documented in the README

- Updates the CMake scripts to allow cross-compilation of the artemis
native library into x86 32-bit code when building on a x86 64-bit system

- Updates the library documentation

- Defines C99 as the C standard in use so that the native library code can 
be
compiled in older GCC versions

- Renames the readme file so it can be better visualized on the web
---
 artemis-native/README| 46 -
 artemis-native/README.md | 87 
 artemis-native/src/main/c/CMakeLists.txt | 55 
 3 files changed, 121 insertions(+), 67 deletions(-)

diff --git a/artemis-native/README b/artemis-native/README
deleted file mode 100644
index 52db5a2..000
--- a/artemis-native/README
+++ /dev/null
@@ -1,46 +0,0 @@
-
-This is a simple tutorial on compiling libActiveMQLibAIO.so
-
-DEPENDENCIES
-
-Make sure you install these packages:
-
-- G++ (yum install gcc-c++ or aptitude install g++)
-- Gcc (yum insall gcc or aptitude install gcc)
-- JDK (full JDK)
-
-
-LIBAIO INFORMATION
-
-libaio is part of the kernel project. The library makes system calls on the 
kernel layer.
-
-This is the project information:
-
-Git Repository:  git://git.kernel.org/pub/scm/libs/libaio/libaio.git
-Mailing List:linux-...@kvack.org
-
-
-STEPS TO BUILD
-
-1. Make sure you have JAVA_HOME defined, and pointing to the root of your JDK:
-
-Example:
-
- $> export JAVA_HOME=/usr/share/jdk1.7
-
-
-2. Call compile-native.sh. Bootstrap will call all the initial scripts you need
- $>  ./compile-native.sh
-
-if you are missing any dependencies, autoconf would tell you what you're 
missing.
-
-
-COMPILED FILE
-
-The produced file will be under the ./target/nar (example: 
./target/nar/artemis-native-1.0.0-amd64-Linux-gpp-jni/lib/amd64-Linux-gpp/jni/libartemis-native-1.0.0.so)
-and you will have to rename it manually under ./bin following the appropriate 
pattern.
-
-
-DOCUMENTATION
-
-The User Manual, chapter 38 (Libaio Native Libraries) will provide more 
details about our native libraries on libaio.
diff --git a/artemis-native/README.md b/artemis-native/README.md
new file mode 100644
index 000..4d9d730
--- /dev/null
+++ b/artemis-native/README.md
@@ -0,0 +1,87 @@
+# Introduction
+
+
+This is a simple tutorial about building and packaging the libartemis-native 
library. The libartemis-native is a thin
+layer library that interface with Linux' lib AIO library as part of the 
journaling feature of the broker when operating
+with AIO journal.
+
+The lib AIO is a Linux-specific dependency, therefore having a relatively 
modern Linux operating system is assumed for
+the purpose of this documentation.
+
+## Dependencies
+
+In order to build the package, make sure you install these packages:
+
+- The GNU compiler library container both the C and C++ compiler
+- The GNU C library
+- The respective libaio package for your Linux distribution
+- JDK (full JDK)
+
+
+For example, on Fedora Linux, compilation of the library requires the 
following specific packages:
+
+- glibc-devel
+- libaio-devel
+- gcc
+- gcc-g++
+- java-1.8.0-openjdk-devel
+
+### Cross compilation
+
+Using a 64-bit Linux OS, it is possible to cross-compile the 32-bit version of 
the library. For this, the 32-bits
+version of the GNU C Library and lib AIO should be installed.
+
+Once again using Fedora Linux as an example, it would mean that the following 
packages need to be installed:
+
+- glibc-devel.i686
+- libaio-devel.i686
+
+## Lib AIO Information
+
+The Lib AIO is the Linux' Kernel Asynchronous I/O Support Library. It is part 
of the kernel project. The library makes
+system calls on the kernel layer.
+
+This is the project information:
+
+Git Repository:  git://git.kernel.org/pub/scm/libs/libaio/libaio.git
+Mailing List:linux-...@kvack.org
+
+
+## Steps to build
+
+1. Make sure you have JAVA_HOME defined, and poin

[activemq-artemis] 05/05: This closes #2530

2019-02-22 Thread clebertsuconic
This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git

commit 3de8b7bd96f779b86248d193da6dbfb075a1e21f
Merge: 059e56e 308486a
Author: Clebert Suconic 
AuthorDate: Fri Feb 22 10:11:22 2019 -0500

This closes #2530

 ...apache_activemq_artemis_jlibaio_LibaioContext.c | 127 +++--
 1 file changed, 89 insertions(+), 38 deletions(-)



[activemq-artemis] 03/05: ARTEMIS-2260 Fix an incorrect cleanup of the AIO I/O context.

2019-02-22 Thread clebertsuconic
This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git

commit 24b3f08c881eb972d63e1f5f8918e9a80d2480b9
Author: Otavio Rodolfo Piske 
AuthorDate: Wed Jan 30 14:32:47 2019 +0100

ARTEMIS-2260 Fix an incorrect cleanup of the AIO I/O context.

Since the context is initialized on the stack, calling free on it is
incorrect and can lead to memory corruption. This replaces the cleanup
routines w/ io_queue_release which is the appropriate way to cleanup the
context.
---
 .../main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c   | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git 
a/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c 
b/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c
index 9e10c9d..ac49210 100644
--- 
a/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c
+++ 
b/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c
@@ -374,7 +374,7 @@ JNIEXPORT jobject JNICALL 
Java_org_apache_activemq_artemis_jlibaio_LibaioContext
 int res = io_queue_init(queueSize, &libaioContext);
 if (res) {
 // Error, so need to release whatever was done before
-free(libaioContext);
+io_queue_release(libaioContext);
 
 throwRuntimeExceptionErrorNo(env, "Cannot initialize queue:", res);
 return NULL;
@@ -407,7 +407,7 @@ JNIEXPORT jobject JNICALL 
Java_org_apache_activemq_artemis_jlibaio_LibaioContext
 res = pthread_mutex_init(&(theControl->iocbLock), 0);
 if (res) {
 free(theControl);
-free(libaioContext);
+io_queue_release(libaioContext);
 throwRuntimeExceptionErrorNo(env, "Can't initialize mutext:", res);
 return NULL;
 }
@@ -415,7 +415,7 @@ JNIEXPORT jobject JNICALL 
Java_org_apache_activemq_artemis_jlibaio_LibaioContext
 res = pthread_mutex_init(&(theControl->pollLock), 0);
 if (res) {
 free(theControl);
-free(libaioContext);
+io_queue_release(libaioContext);
 throwRuntimeExceptionErrorNo(env, "Can't initialize mutext:", res);
 return NULL;
 }
@@ -423,7 +423,8 @@ JNIEXPORT jobject JNICALL 
Java_org_apache_activemq_artemis_jlibaio_LibaioContext
 struct io_event * events = (struct io_event *)malloc(sizeof(struct 
io_event) * (size_t)queueSize);
 if (events == NULL) {
 free(theControl);
-free(libaioContext);
+io_queue_release(libaioContext);
+
 throwRuntimeExceptionErrorNo(env, "Can't initialize mutext (not enough 
memory for the events member): ", res);
 return NULL;
 }



[activemq-artemis] 01/05: ARTEMIS-2260 Fixes a potential NULL pointer dereference on the thin library

2019-02-22 Thread clebertsuconic
This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git

commit 584a610f6a1c06cedecea565b62cff19ac32cb12
Author: Otavio Rodolfo Piske 
AuthorDate: Tue Jan 29 14:34:42 2019 +0100

ARTEMIS-2260 Fixes a potential NULL pointer dereference on the thin library

If the code fails to allocate native memory for the error message, it
will still perform the call to strcpy, which will result in a
segmentation fault to occur. This may cause the JVM to shutdown abruptly
potentially causing the original root cause to be hidden.
---
 .../main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git 
a/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c 
b/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c
index 3a25cee..f8a04e3 100644
--- 
a/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c
+++ 
b/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c
@@ -113,10 +113,12 @@ char* exceptionMessage(char* msg, int error) {
 error = error * -1;
 }
 //strerror is returning a constant, so no need to free anything coming 
from strerror
-char* err = strerror(error);
-char* result = malloc(strlen(msg) + strlen(err) + 1);
-strcpy(result, msg);
-strcat(result, err);
+char *result = NULL;
+
+if (asprintf(&result, "%s%s", msg, strerror(error)) == -1) {
+   fprintf(stderr, "Could not allocate enough memory for the error 
message: %s/%s\n", msg, strerror(error));
+}
+
 return result;
 }
 



[activemq-artemis] branch master updated (059e56e -> 3de8b7b)

2019-02-22 Thread clebertsuconic
This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git.


from 059e56e  This closes #2545
 new 584a610  ARTEMIS-2260 Fixes a potential NULL pointer dereference on 
the thin library
 new 6dafedb  ARTEMIS-2260 Prevent a null pointer dereference if unable to 
allocate memory for the events member of the control structure. This could also 
cause the broker to abruptly shutdown.
 new 24b3f08  ARTEMIS-2260 Fix an incorrect cleanup of the AIO I/O context.
 new 308486a  ARTEMIS-2260 Refactor the context initialization code
 new 3de8b7b  This closes #2530

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ...apache_activemq_artemis_jlibaio_LibaioContext.c | 127 +++--
 1 file changed, 89 insertions(+), 38 deletions(-)



[activemq-artemis] 04/05: ARTEMIS-2260 Refactor the context initialization code

2019-02-22 Thread clebertsuconic
This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git

commit 308486ad8e41e1a11722c1acef32d851256948aa
Author: Otavio Rodolfo Piske 
AuthorDate: Thu Jan 31 10:50:16 2019 +0100

ARTEMIS-2260 Refactor the context initialization code

The code is adjusted to ensure proper release of allocated memory when
failure occurs.

It also moves the common IOCB cleanup logic to allow reuse in the
deleteContext method.
---
 ...apache_activemq_artemis_jlibaio_LibaioContext.c | 114 ++---
 1 file changed, 78 insertions(+), 36 deletions(-)

diff --git 
a/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c 
b/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c
index ac49210..854a28d 100644
--- 
a/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c
+++ 
b/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c
@@ -360,79 +360,125 @@ JNIEXPORT jboolean JNICALL 
Java_org_apache_activemq_artemis_jlibaio_LibaioContex
 return flock(handle, LOCK_EX | LOCK_NB) == 0;
 }
 
+
+/**
+ * Destroys the individual members of the IOCB pool
+ * @param theControl the IO Control structure containing an IOCB pool
+ * @param upperBound the number of elements contained within the pool
+ */
+static inline void iocb_destroy_members(struct io_control * theControl, int 
upperBound) {
+for (int i = 0; i < upperBound; i++) {
+free(theControl->iocb[i]);
+}
+}
+
+
+/**
+ * Destroys an IOCB pool and its members up to a certain limit. Should be used 
when the IOCB
+ * pool fails to initialize completely
+ * @param theControl the IO Control structure containing an IOCB pool
+ * @param upperBound the number of elements contained within the pool
+ */
+static inline void iocb_destroy_bounded(struct io_control * theControl, int 
upperBound) {
+iocb_destroy_members(theControl, upperBound);
+free(theControl->iocb);
+}
+
+
+/**
+ * Destroys an IOCB pool and all its members
+ * @param theControl
+ */
+static inline void iocb_destroy(struct io_control * theControl) {
+iocb_destroy_bounded(theControl, theControl->queueSize);
+}
+
 /**
  * Everything that is allocated here will be freed at deleteContext when the 
class is unloaded.
  */
 JNIEXPORT jobject JNICALL 
Java_org_apache_activemq_artemis_jlibaio_LibaioContext_newContext(JNIEnv* env, 
jobject thisObject, jint queueSize) {
-io_context_t libaioContext;
 int i = 0;
 
 #ifdef DEBUG
 fprintf (stdout, "Initializing context\n");
 #endif
 
-int res = io_queue_init(queueSize, &libaioContext);
-if (res) {
-// Error, so need to release whatever was done before
-io_queue_release(libaioContext);
-
-throwRuntimeExceptionErrorNo(env, "Cannot initialize queue:", res);
+   struct io_control * theControl = (struct io_control *) 
malloc(sizeof(struct io_control));
+if (theControl == NULL) {
+throwOutOfMemoryError(env);
 return NULL;
 }
 
-struct iocb ** iocb = (struct iocb **)malloc((sizeof(struct iocb *) * 
(size_t)queueSize));
-if (iocb == NULL) {
-   throwOutOfMemoryError(env);
-   return NULL;
+   int res = io_queue_init(queueSize, &theControl->ioContext);
+   if (res) {
+   // Error, so need to release whatever was done before
+io_queue_release(theControl->ioContext);
+free(theControl);
+
+   throwRuntimeExceptionErrorNo(env, "Cannot initialize queue:", 
res);
+   return NULL;
+   }
+
+theControl->iocb = (struct iocb **)malloc((sizeof(struct iocb *) * 
(size_t)queueSize));
+if (theControl->iocb == NULL) {
+io_queue_release(theControl->ioContext);
+free(theControl);
+
+throwOutOfMemoryError(env);
+return NULL;
 }
 
 for (i = 0; i < queueSize; i++) {
-   iocb[i] = (struct iocb *)malloc(sizeof(struct iocb));
-   if (iocb[i] == NULL) {
-   // it's unlikely this would happen at this point
-   // for that reason I'm not cleaning up individual IOCBs here
-   // we could increase support here with a cleanup of any previously 
allocated iocb
-   // But I'm afraid of adding not needed complexity here
+theControl->iocb[i] = (struct iocb *)malloc(sizeof(struct iocb));
+if (theControl->iocb[i] == NULL) {
+
+   // It may not have been fully initialized, therefore limit the 
cleanup up to 'i' members.
+   iocb_destroy_bounded(theControl, i);
+
+   io_queue_release(theControl->ioContext);
+   free(theControl);
+
throwOutOfMemoryError(env);
return NULL;
}
 }
+theControl->queueSize = queueSize;
 
-struct io_control * theControl = (struct io_control *) 
malloc(sizeof(struct io_control));
-if (theCont

[activemq-artemis] 02/05: ARTEMIS-2260 Prevent a null pointer dereference if unable to allocate memory for the events member of the control structure. This could also cause the broker to abruptly shut

2019-02-22 Thread clebertsuconic
This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git

commit 6dafedb6af5b7d28b35664c3e039fab42eda9439
Author: Otavio Rodolfo Piske 
AuthorDate: Tue Jan 29 14:37:08 2019 +0100

ARTEMIS-2260 Prevent a null pointer dereference if unable to allocate 
memory for the
events member of the control structure. This could also cause the broker
to abruptly shutdown.
---
 .../src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c  | 6 ++
 1 file changed, 6 insertions(+)

diff --git 
a/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c 
b/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c
index f8a04e3..9e10c9d 100644
--- 
a/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c
+++ 
b/artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.c
@@ -421,6 +421,12 @@ JNIEXPORT jobject JNICALL 
Java_org_apache_activemq_artemis_jlibaio_LibaioContext
 }
 
 struct io_event * events = (struct io_event *)malloc(sizeof(struct 
io_event) * (size_t)queueSize);
+if (events == NULL) {
+free(theControl);
+free(libaioContext);
+throwRuntimeExceptionErrorNo(env, "Can't initialize mutext (not enough 
memory for the events member): ", res);
+return NULL;
+}
 
 theControl->ioContext = libaioContext;
 theControl->events = events;



buildbot success in on activemq-site-production

2019-02-22 Thread buildbot
The Buildbot has detected a restored build on builder activemq-site-production 
while building . Full details are available at:
https://ci.apache.org/builders/activemq-site-production/builds/31920

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'activemq-site-production' triggered 
this build
Build Source Stamp: [branch activemq/activemq-website] HEAD
Blamelist: 

Build succeeded!

Sincerely,
 -The Buildbot





buildbot failure in on activemq-site-production

2019-02-22 Thread buildbot
The Buildbot has detected a new failure on builder activemq-site-production 
while building . Full details are available at:
https://ci.apache.org/builders/activemq-site-production/builds/31919

Buildbot URL: https://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'activemq-site-production' triggered 
this build
Build Source Stamp: [branch activemq/activemq-website] HEAD
Blamelist: 

BUILD FAILED: failed compile

Sincerely,
 -The Buildbot