Setting up Selenium on Bamboo OnDemand

I followed the instructions on Confluence:

https://confluence.atlassian.com/display/AOD/Populating+your+EBS+volume#PopulatingyourEBSvolume-SettingupSeleniumonelasticagents

I placed the setupSelenium.sh in /mnt/bamboo-ebs

I edited /mnt/bamboo-ebs/bin/customise-extras.sh and added the following line

#!/bin/bash

/mnt/bamboo-ebs/setupSelenium.sh

I created a snapshot

I added the custom capability (e.g. selenium=true) to the agent image

-------------------- IT DIDN'T WORK --------------

Nothing is added to the bamboo users home directory

bamboo@ip-10-194-37-76 ~ $ ls -la

total 144

drwx------ 5 bamboo bamboo 4096 Jan 4 09:05 .

drwxr-xr-x 4 root root 4096 Oct 7 16:47 ..

drwxr-xr-x 6 bamboo bamboo 4096 Jan 4 08:39 bamboo-agent-home

-rw-rw-r-- 1 bamboo bamboo 930 Oct 7 16:47 bamboo-capabilities.properties

-rw-rw-r-- 1 bamboo bamboo 89909 Jan 4 09:05 bamboo-elastic-agent.out

-rw------- 1 bamboo bamboo 537 Jan 4 09:05 .bash_history

-rw-r--r-- 1 bamboo bamboo 18 Jul 28 2011 .bash_logout

-rw-r--r-- 1 bamboo bamboo 176 Jul 28 2011 .bash_profile

-rw-r--r-- 1 bamboo bamboo 124 Jul 28 2011 .bashrc

-rwxr-xr-x 1 bamboo bamboo 45 Jan 4 08:36 build.properties

-rw-r--r-- 1 bamboo bamboo 121 Jul 28 2011 .kshrc

drwxr-xr-x 3 bamboo bamboo 4096 Jan 4 08:39 .m2

drwxrwxr-x 2 bamboo bamboo 4096 Jan 4 08:39 .subversion

-rw------- 1 bamboo bamboo 1267 Jan 4 09:05 .viminfo

bamboo@ip-10-194-37-76 ~ $

looks like firefox etc has been installed - yum.log suggest so (Jan 04 08:37:29 Installed: firefox-3.6.26-1.el5.centos.i386).

But if I do a `which firefox` then, it shows up as /usr/bin/firefox - which has a created date feb 2012

If I look deeper, I can see updates to /usr/lib/firefox-3.6

Any ideas on what I'm doing wrong? Where can I see logs?

2 answers

1 accepted

0 votes
Accepted answer

Thanks Lucas

Turns out that I had installed everything ok.. Our test code was the problem.

Hi Tony,

The "/usr/bin/firefox" may be a symlink to the real Firefox location. You can assure whether Firefox was correctly installed or not by the following command:

rpm -ql $(rpm -qa | grep -i firefox)

This will return where Firefox was installed.

I hope it helps!

Best regards,
Lucas Timm

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

181 views 4 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you