# New Bamboo agent available for tests

**URL:** <https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959>\
**Category:** Infrastructure\
**Created:** [September 27, 2018, 3:17am UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959 "2018-09-27T03:17:27Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![cintiadr](https://talk.openmrs.org/user_avatar/talk.openmrs.org/cintiadr/32/8081_2.png) [@cintiadr](https://talk.openmrs.org/u/cintiadr)\
**Post date:** [September 27, 2018, 3:17am UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/1 "2018-09-27T03:17:27Z")

</div>

I rebuilt one of our bamboo agents, yokobue.

It’s an upgraded OS, upgraded docker, upgraded puppet, and everything in between.

The main difference is that JDK 8 is the default java now.

If you have a build that went unexpectedly red, check if it ran on the new agent:

 ![39%20PM](https://talk.openmrs.org/uploads/default/original/2X/a/a0d685b06c6dc103c21cf193653da4f65fbfbc5d.png)

If so, and it passes in other agents, please let me know and I will investigate.

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [September 27, 2018, 7:12am UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/2 "2018-09-27T07:12:19Z")

</div>

Thanks @cintiadr for the good work! 🙂

Will keep an eye on this and let you know when it happens.

---

<div class="post-metadata">

**Author:** ![tendomart](https://talk.openmrs.org/user_avatar/talk.openmrs.org/tendomart/32/6753_2.png) [@tendomart](https://talk.openmrs.org/u/tendomart)\
**Post date:** [September 28, 2018, 2:41pm UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/3 "2018-09-28T14:41:29Z")

</div>

@cintiadr thanks

---

<div class="post-metadata">

**Author:** ![cintiadr](https://talk.openmrs.org/user_avatar/talk.openmrs.org/cintiadr/32/8081_2.png) [@cintiadr](https://talk.openmrs.org/u/cintiadr)\
**Post date:** [September 29, 2018, 6:29am UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/4 "2018-09-29T06:29:50Z")

</div>

A new agent, called ‘xindi’, is also available for tests.

---

<div class="post-metadata">

**Author:** ![cintiadr](https://talk.openmrs.org/user_avatar/talk.openmrs.org/cintiadr/32/8081_2.png) [@cintiadr](https://talk.openmrs.org/u/cintiadr)\
**Post date:** [October 6, 2018, 6:32am UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/5 "2018-10-06T06:32:11Z")

</div>

[Yue.openmrs.org](http://Yue.openmrs.org) was rebuilt as well.

---

<div class="post-metadata">

**Author:** ![cintiadr](https://talk.openmrs.org/user_avatar/talk.openmrs.org/cintiadr/32/8081_2.png) [@cintiadr](https://talk.openmrs.org/u/cintiadr)\
**Post date:** [October 23, 2018, 5:42am UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/6 "2018-10-23T05:42:05Z")

</div>

The last agent, yak, was recreated.

All brand new ones 😃

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [October 23, 2018, 6:31am UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/7 "2018-10-23T06:31:22Z")

</div>

Thanks @cintiadr for rebuilding our house! 😄

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [November 1, 2018, 8:58am UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/8 "2018-11-01T08:58:43Z")

</div>

@cintiadr are these CI failures in any way related to the new agents?

[https://ci.openmrs.org/browse/SON-OPENMRSCOREMASTER-1867](https://ci.openmrs.org/browse/SON-OPENMRSCOREMASTER-1867)

[https://ci.openmrs.org/browse/ASU-ASUML-150](https://ci.openmrs.org/browse/ASU-ASUML-150)

---

<div class="post-metadata">

**Author:** ![cintiadr](https://talk.openmrs.org/user_avatar/talk.openmrs.org/cintiadr/32/8081_2.png) [@cintiadr](https://talk.openmrs.org/u/cintiadr)\
**Post date:** [November 1, 2018, 10:53am UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/9 "2018-11-01T10:53:14Z")

</div>

Maybe?

I will check.

---

<div class="post-metadata">

**Author:** ![cintiadr](https://talk.openmrs.org/user_avatar/talk.openmrs.org/cintiadr/32/8081_2.png) [@cintiadr](https://talk.openmrs.org/u/cintiadr)\
**Post date:** [November 1, 2018, 11:04am UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/10 "2018-11-01T11:04:14Z")

</div>

The sonar one I doubt.

It has been running in the new agents with green results for a long time. Maybe some security patch was applied and broke it, but it’s not really the new agents at all.

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [November 2, 2018, 8:02am UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/11 "2018-11-02T08:02:24Z")

</div>

Could it be a java upgrade effect as per this? Error: Could not find or load main class org.apache.maven.surefire.booter.ForkedBooter

Bamboo turns green when i make these commits:

This commit: [https://github.com/openmrs/openmrs-module-chartsearch/commit/2c9828738669341a486bd1f904de38c245b0f1fc](https://github.com/openmrs/openmrs-module-chartsearch/commit/2c9828738669341a486bd1f904de38c245b0f1fc)

This: [https://github.com/openmrs/openmrs-module-appointmentschedulingui/commit/ab3046481a7aed08b1e7a515a3a4f3035b705ba0](https://github.com/openmrs/openmrs-module-appointmentschedulingui/commit/ab3046481a7aed08b1e7a515a3a4f3035b705ba0)

And this: [https://github.com/openmrs/openmrs-core/commit/7a6f890930fc0c3c21cda8afbf5bf5675ed64e1a](https://github.com/openmrs/openmrs-core/commit/7a6f890930fc0c3c21cda8afbf5bf5675ed64e1a)

I can revert these commits, once the main cause is fixed, because they were purely for troubleshooting purposes.

---

<div class="post-metadata">

**Author:** ![cintiadr](https://talk.openmrs.org/user_avatar/talk.openmrs.org/cintiadr/32/8081_2.png) [@cintiadr](https://talk.openmrs.org/u/cintiadr)\
**Post date:** [November 3, 2018, 7:32am UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/12 "2018-11-03T07:32:49Z")

</div>

I think it makes sense to add those commits, google searches were telling me that too.

So it makes sense they fixed it but it was already running on the new agents, but it’s not clear why they just broke now?

Your fixes are good and fine as far as I can see, no other side-effects, but I’m afraid I couldn’t find anything that could have triggered the problem in the first place.

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [November 4, 2018, 10:04am UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/13 "2018-11-04T10:04:42Z")

</div>

@cintiadr looks like each and every build is now failing until when we make this commit to it. Still wondering if am doing the right thing. 🙂

[https://ci.openmrs.org/browse/RESTWS-RESTWS-773/log](https://ci.openmrs.org/browse/RESTWS-RESTWS-773/log)

---

<div class="post-metadata">

**Author:** ![cintiadr](https://talk.openmrs.org/user_avatar/talk.openmrs.org/cintiadr/32/8081_2.png) [@cintiadr](https://talk.openmrs.org/u/cintiadr)\
**Post date:** [November 4, 2018, 11:52am UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/14 "2018-11-04T11:52:19Z")

</div>

Let’s try to build a case here.

Previous green build was on 25 Oct 2018, 6:22:13 PM , UTC Xindi is a new machine, so it wasn’t rebuilt.

 ![32%20pm](https://talk.openmrs.org/uploads/default/original/2X/e/e5cbae20dbafdca50d49bea2c5f605012a64f2f2.png)

We had some patches applied, and we had a restart. -Java wasn’t upgraded-

But we have: [https://issues.apache.org/jira/browse/SUREFIRE-1588](https://issues.apache.org/jira/browse/SUREFIRE-1588)

I’m not going to tell you I know what’s happening, but it appears I might be able to apply a patch that affects all builds.

---

<div class="post-metadata">

**Author:** ![cintiadr](https://talk.openmrs.org/user_avatar/talk.openmrs.org/cintiadr/32/8081_2.png) [@cintiadr](https://talk.openmrs.org/u/cintiadr)\
**Post date:** [November 4, 2018, 12:02pm UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/15 "2018-11-04T12:02:34Z")

</div>

Oh, it appears that java was indeed upgraded. on the Oct 23.

[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911925#38](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911925#38) Maybe the restart was the trigger here.

Adding that line won’t hurt, and it’s probably a good thing anyway, and I really don’t want to keep that package without security updates.

---

<div class="post-metadata">

**Author:** ![cintiadr](https://talk.openmrs.org/user_avatar/talk.openmrs.org/cintiadr/32/8081_2.png) [@cintiadr](https://talk.openmrs.org/u/cintiadr)\
**Post date:** [November 4, 2018, 12:14pm UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/16 "2018-11-04T12:14:33Z")

</div>

I don’t really have any good solutions.

The ‘nicest’ one is to actually commit that line to all affected projects. Apparently the package upstream decided to do that change, so I really cannot downgrade and ignore security patches forever 😕

---

<div class="post-metadata">

**Author:** ![cintiadr](https://talk.openmrs.org/user_avatar/talk.openmrs.org/cintiadr/32/8081_2.png) [@cintiadr](https://talk.openmrs.org/u/cintiadr)\
**Post date:** [November 7, 2018, 9:13am UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/17 "2018-11-07T09:13:32Z")

</div>

@dkayiwa can we get away with it updating the affected pom files?

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [November 7, 2018, 9:25am UTC](https://talk.openmrs.org/t/new-bamboo-agent-available-for-tests/19959/18 "2018-11-07T09:25:44Z")

</div>

@cintiadr yes we are now updating pom files for each module whose build fails.
