youngmon/atlassian-qna huggingface dataset:
Robot test executes locally but fails whiles executing from bamboo[Agent]
Asked by Pavankumar:

While running the bamboo plan fails to execute the robot tests as below:

```
command	26-Apr-2023 05:22:39	Beginning to execute external process for build 'Platform - Validation - Initial Job #63 (P-V-JOB1-63)'\n ... running command line: \n/home/root/bamboo-agent-home/temp/P-V-JOB1-63-ScriptBuildTask-1082238127479262881.sh\n ... in: /home/root/bamboo-agent-home/xml-data/build-dir/P-V-JOB1\nbuild	26-Apr-2023 05:22:39	Hello!build	26-Apr-2023 05:22:39	Entered into scripts foldererror	26-Apr-2023 05:22:39	Traceback (most recent call last):error	26-Apr-2023 05:22:39	  File "/usr/bin/robot", line 5, in <module>error	26-Apr-2023 05:22:39	    from robot.run import run_clierror	26-Apr-2023 05:22:39	ModuleNotFoundError: No module named 'robot'
```

In the same machine I have installed robot framework and able to execute tests from different folder but failing in bamboo-agent


Answers:
author: Eduardo Alvarenga
body: Hello [@Pavankumar](/t5/user/viewprofilepage/user-id/5085004)

That's a Python environment configuration issue.

Please review if all the required modules in your code are installed on the Build agent and if they are accessible by the user that is running the Agent (in your case root)

The Robot Framework can be installed on the Agent by running:

* *pip install robotframework*

To reproduce the issue and test for alternatives, you can log to your Agent server as the same user that runs the Bamboo Agent application, cwd to the /home/root/bamboo-agent-home/xml-data/build-dir/P-V-JOB1 directory and run the build commands manually.

Kind regards,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**


author: Akermanihao
body: I had a similar problem running robot tests in a different environment. That "ModuleNotFoundError" can be tricky. Ensure the Bamboo agent knows where to find the 'robot' module. Check its settings and paths. If it's still not working, maybe get help from Bamboo support or others who have faced this, or try a [telepresence robot](https://boteyes.com) instead. I know it can be frustrating, but keep at it!


Tags: robot
Copy one bamboo plan variables to different plan
Asked by shahjad ahemad:

Hi All,

is there something possible to copy one plan variables to another plan variables when first plan execution gets completed. I want to use variable values of first plan to another plan

Thanks

Shahjad


Answers:
author: Eduardo Alvarenga
body: Hello [@shahjad ahemad](/t5/user/viewprofilepage/user-id/4233677)

The default Bamboo setup does not provide that feature. Still, you can install the "**Variables tasks for Bamboo** " app and add a "**Copy variable configuration** " to your source plan, selecting scope as "**Plan/Deployment Environment** " and enabling "**Include global variables**".

Your "destination Plan" will have to load the desired variable globally.

* [Variable tasks for Bamboo](https://marketplace.atlassian.com/apps/1212549/variable-tasks-for-bamboo?hosting=server&tab=overview)

Cheers,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**
Java Spec linked repository build plan branch
Asked by David:

The standard build plan pattern for a bunch of my plans is the based build plan as follows:

* Connected to a linked repo
* base branch is always development

I always have a repo collection of branches of development,test and production for which I normally create build plan branches for when I setup builds from the UI.  
However I am now moving these plans to Java Spec and I noticed it isn't clearly defined if you can create Build Plan Branches through Java Spec using a linked repository. This is in contrast to plan repos where it looks possible.  

Has anyone worked out how to use a linked repo in a plan and create plan branches using Java Spec?


Answers:
author: Eduardo Alvarenga
body: Hello [@David](/t5/user/viewprofilepage/user-id/1801388),

From <https://docs.atlassian.com/bamboo-specs-docs/latest/specs.html?java#manual-branch-management>:
> *Bamboo allows to manually create plan branches for already existing branches in a repository. **Bamboo Specs does not have an option to manually specify plan branches at the moment.** You need to use Bamboo to manually create branches after plan is created.*
>
> *Alternatively, you could create separate plans for each branch. Keep in mind that using this approach you will not be able to use Bamboo branch-specific features (for instance to see them on the "Branch view" page).*

Check the link above for an example in Java Specs.

Best regards,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**

comments: author: David
body: So the solution is to create a bunch of new plans that sit side by side?  
Is there a feature request to fix this as it seems a bit odd to not have it


author: Eduardo Alvarenga
body: Hello [@David](/t5/user/viewprofilepage/user-id/1801388)

Yes; creating multiple Plans is a workaround.

Please check <https://jira.atlassian.com/browse/BAM-19808> in the comments for a possible alternative using the REST API using an expanded Java Specs code.

Thank you,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**


Tags: bamboo-development

java

repository

spec
Bamboo agent urldecoder: illegal hex character
Asked by William McKeon:

Hi all,

I have the DC bamboo server and bamboo agent containers both at version 9.2.1-jdk11. I'm using the helm chart to start both containers. There are no errors in the bamboo-server's logs during startup or when the bamboo-agent tries to connect. On the bamboo-agent's side I see the bamboo-agent successfully connect to the server, but then immediately throw a fatal error exception: FATAL \[WrapperSimpleAppMain\] \[RemoteAgentBootstrap\] Exiting due to fatal exception. java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - Error at index 0 in: ";""

I feel that I'm missing some configuration somewhere, but I've been through both the values file and the installation guides and haven't seen where I am missing the setting. Any help would be appreciated.


Answers:
author: Eduardo Alvarenga
body: Hello [@William McKeon](/t5/user/viewprofilepage/user-id/5189941)

Kindly review your Agent's ***\<bamboo-agent-home\>/conf/wrapper.conf***settings, as they may contain broken quotes or unescaped characters that interfere with its ability to connect to the Bamboo server.

Those properties will be declared under **wrapper.java.additional.*num*** entries.

Best regards,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**

comments: author: William McKeon
body: [@Eduardo Alvarenga](/t5/user/viewprofilepage/user-id/4365410) I checked the wrapper.conf and I didn't see any broken quotes or unescaped characters. Everything looked appropriate.


Tags: data-center

helm
disabling docker at the job level
Asked by Timothy Goff:

I am using YAML specs to define my build plan, and I have my jobs each configured to specify the docker image to use. I would like to avoid repetition by setting the docker configuration at the plan level, but I have a few jobs in the plan which I would like to run in the native OS instead of docker. per <https://docs.atlassian.com/bamboo-specs-docs/9.2.1/specs.html?java#docker> there is a flag to explicitely disable docker for a job in Java Specs, but <https://docs.atlassian.com/bamboo-specs-docs/9.2.1/specs.html?yaml#docker> indicates that in YAML the only way to disable docker is to omit it from the specs - which is not really doable in this case since it is set at the plan level and we want to override that for a particular job. Is there any way to do this or do I have to specify docker settings in each job, if not all jobs will be running in docker?


Answers:
author: Eduardo Alvarenga
body: Hello [@Timothy Goff](/t5/user/viewprofilepage/user-id/5201913)

Welcome to **Atlassian Community**!

Unfortunately, that feature is not available in Bamboo. As mentioned by you, to make it work, you will have to add individual "*docker:"* entries to each Job in your Plan and skip that on the Job you don't wish to run in docker.

I have created a feature request that suggests that functionality be added:

* [BAM-22207 - Allow YAML Specs to disable the docker runner when the Plan configuration defaults do a docker container](https://jira.atlassian.com/browse/BAM-22207)

We encourage you to **add yourself as a watcher** to be kept informed about the state of the bug moving forward and **vote** on it so our developers can have an idea of the number of affected customers.

Several factors determine how Atlassian prioritizes the implementation of [feature requests](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html).

Best regards,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**

comments: author: Timothy Goff
body: Thanks for the response and for writing a feature request. I will watch for updates on that request
Where can I find the Bamboo swagger/openApi spec
Asked by George Lindholm:

In <https://community.atlassian.com/t5/Bamboo-articles/Bamboo-Data-Center-9-2-LTS-is-now-available/ba-p/2262729> it states:
> REST API documentation migrated to Swagger

where do I find the file?

Thanks

George


Answers:
author: Eduardo Alvarenga
body: Hello [@George Lindholm](/t5/user/viewprofilepage/user-id/3957473)

This is the page:

* <https://developer.atlassian.com/server/bamboo/rest>

Best regards,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**

comments: author: George Lindholm
body: Hi [@Eduardo Alvarenga](/t5/user/viewprofilepage/user-id/4365410)

that just gives me the HTML representation of the swagger file.

I'm looking for the actual swagger source so I can generate the java files to communicate with the bamboo server

Thanks


author: Eduardo Alvarenga
body: Hey [@George Lindholm](/t5/user/viewprofilepage/user-id/3957473)

On the provided link, click on the three dots (...) in the top right corner and select:

* ***Download OpenAPI spec***

Sincerely,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**


author: George Lindholm
body: Ah, got it. Thanks

[@Eduardo Alvarenga](/t5/user/viewprofilepage/user-id/4365410)So when I tried it out I found a couple of problems (so far):

1. openapi-generator-maven-plugin:6.5.0 generated bad Java code due to how

   NotificationRecipient-\>scopes was defined.
2. RestPlan-\>planKey caused a MismatchedInputException

I see similar patterns elsewhere in the file but I haven't set up my Bamboo8 plans so that I can see what the code returns.

How do I pass back my findings so the swagger can be updated?

thanks

George


author: Eduardo Alvarenga
body: Hell [@George Lindholm](/t5/user/viewprofilepage/user-id/3957473) thanks for your feedback.

After testing it on the latest Bamboo version (currently 9.2.1), if you understand it is a bug, you can create a bug report at <https://jira.atlassian.com/browse/BAM>

If you have a valid Support Entitlement Number (SEN) you can also log a ticket at <https://support.atlassian.com/contact> where our Engineers will be able to assist you in detail, collect logs and suggest a workaround if available. They are also able to reach out to the developers and provide you with a quicker turnaround in case the bug proves critical.

Thank you,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**


author: George Lindholm
body: Hi Eduardo,

that just gives me the HTML representation of the swagger file.

I'm looking for the actual swagger source so I can generate the java files to communicate with the bamboo serverd

Thanks

George


Tags: openapi

server

swagger
LDAP configuration gives PKIX error
Asked by Mark Wolff:

I work for research center and we have Bamboo on an air-gapped, off the internet, network. We used self-signed certificates and always have warnings when going to the Bamboo home page. We now have our own CA and those warnings are gone when going to the Bamboo home page. But now, when trying to configure a connection to LDAP for authentication, I get an PKIX error.

More about the environment: The system admin put the root CA on the Bamboo server and the other necessary things. He gave me the new certs, which I put in to the Bamboo user's ".keystore" file, which took care of the warnings I mentioned. But I still can't get LDAP to work. Any suggestions on what I missed?


Answers:
author: Mark Wolff
body: We would keep the cert in the lib/security directory. When we get a new java, we lose the cert. You were close. It was the LDAP cert itself that was missing.


author: Charlie Misonne
body: Did you import your root CA's certificate in the java truststore? (the cacerts file).

The cacerts file contains lots of certificates by default from public CA companies but not your own company CA of course.
How to disable headless mode for Selenium Cucumber Automation test run from Bamboo build?
Asked by SAGAR PADTE:

Hello All,

I am executing my Selenium Cucumber - Automation Test in mass (approx 10 Cases) using Bamboo build plan.

But Some automation cases are failing when executed from bamboo build plan in headless mode, whereas when executed in UI mode manually , the Test steps are executed without any Fail.

Could anyone help me, how to disable the Headless mode while executing from bamboo build plan?

Browser - Google Chrome R112

Bamboo build plan interpreter is Windows Poweshell and the Automation execution script is in .bat format.

Thanks in advance!


Answers:
author: Eduardo Alvarenga
body: Hello [@SAGAR PADTE](/t5/user/viewprofilepage/user-id/5201604)

Welcome to **Atlassian Community**!

Can you confirm if you have tried using the "*--headless*" option? Check the following article for instructions.

* <https://www.browserstack.com/guide/selenium-headless-browser-testing>

Sincerely,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**

comments: author: SAGAR PADTE
body: Thanks [@Eduardo Alvarenga](/t5/user/viewprofilepage/user-id/4365410) ,

I got how to configure the headless mode of execution in Bamboo , but I would like to know how to switch back to Non -headless or GUI mode for the Selenium Test execution from Bamboo plan.

Thanks in advance!
Release notification popup keeps reappearing after clicking on close button
Asked by nitin.nihalani:

Release notification popup keeps reappearing after clicking on close button.

I click on close button and it closes but as soon as i navigate to another page, the popup reappears.


Answers:
author: Abraham Musalem
body: Hi Nitin,  

Thanks for reaching out to Community. Is this in regards to Statuspage? Any more info you can provide would be great!   

Regards,  
Abraham, Statuspage support
Degraded incident does not degrade itself in impact drop/filed
Asked by Jacob B_:

Hi,

Lets say I have an incident with the impact = Critical with a component that is in "Major outage".

After creating the incident the component affected is downgraded to "Degraded performance", which should downgrade the impact to "Minor".

But the impact state is still "Critical" for me, do you know why? And is there something I need to do to fix this?

Br!


Answers:
author: Jesse Klein
body: Hi Jacob,

Welcome to the community and thanks for the question. I actually just responded to this similar post [here](https://community.atlassian.com/t5/Statuspage-questions/Regarding-top-level-impact-status/qaq-p/2370787)

I ended up creating a bug report for the development team since I was able to recreate the issue. For now, you would need to manually update the impact since it appears that this feature is not working as expected. Please let me know if you have any questions.

Regards,  
Jesse


Tags: cloud
Regarding top level impact status
Asked by Fredrik:

Hi

We are trying out Atlassian product : status page.

I have a question regarding the top level impact, if you have a high impact like critical.. because one of the affected components

Have status **Major outage** , if this is changed on the ++component++ to **Degraded performance** for this ongoing incident.

The ++top level impact++ is not changed at all from **Critical** to **Major** as mentioned in your site linked here below

Note. We only used one component.

<https://support.atlassian.com/statuspage/docs/top-level-status-and-incident-impact-calculations/>

Br

Fredrik


Answers:
author: Jesse Klein
body: Hello Fredrik,

Welcome! Thanks for reaching out to the community. I tried to reproduce this issue where the impact does not change on an incident and I am also getting the same results, which is not what I have expected. I will go ahead and open a bug report to raise the flag for our development team. Thanks for pointing this out! In the meantime, the recommendation would be to manually change the impact after updating the components. Please let me know if you have any questions about that.

Regards,  
Jesse


Tags: cloud
Cannot Set up Statuspage - Can't fulfill your request right now
Asked by Matt Richards:

We are currently using the free tiers of Jira, Confluence and Jira Product Discovery. We tried to set up Statuspage and we receive this message:

"We can't fulfil your request right now. This product is temporarily unavailable for your site."

How do we address this?

![statuspage.png](https://community.atlassian.com/t5/image/serverpage/image-id/259372i7787540D5F8FE630/image-size/large?v=v2&px=999 "statuspage.png")


Answers:
author: Ian Furlong
body: I also get the same problem. Would like to know the answer, otherwise my POC comes to a quick conclusion that this doesn't meet our needs!

comments: author: Matt Richards
body: It's hard to believe the "answer" but here it is:

<https://jira.atlassian.com/browse/CLOUD-11531>
Audience-specific Page - Notifying specific (impacted) subcribers of a component
Asked by Ketan Nadkarni:

Hi All!

I'd like to know if it is possible via API to create an incident and notify via email only impacted customers who have subscribed to a component of our audience specific page.

Example:

Component: Payment gateway

Customers who have subscribed to Payment Gateway component are: johndoe@gmail.com, samdoe@hotmail.com

if there is an incident with Payment Gateway that (somehow) only impacts johndoe@gmail.com but not samdoe@hotmail.com,

is there a way I can create an incident (via API) to notify only johndoe@gmail.com?


Answers:
author: Alan Violada
body: Hey Ketan, thanks for reaching out with this question. Currently, it is not possible to choose specific subscribers to send notifications to - Notifications will always go out based on component or incident subscriptions.

The workaround for this would be to have more specific components for each user group, for more granular notification control, but I understand this can be difficult/impractical to implement.

Let me know if there is anything else we can try to assist with!

Regards,

Alan - Atlassian Support

comments: author: Ketan Nadkarni
body: Thank you for confirming!
Update Component in Status Page Via Postman API
Asked by Venkat Sai Nag Bhargav Sabbineni:

Hello,

Ive been trying to figure out how to update a component in status page via Postman API.

Ive gone through the statuspage API documentation below

[Statuspage API Documentation](https://developer.statuspage.io/#operation/patchPagesPageIdComponentsComponentId)

I've initiated the PATCH API request to update the component by giving API key, page_id and component_id of the respective status page.

given the component group value to group_id , description and name of a statuspage.io  
JSON:

{  
"component": {  
"description": "string",  
"status": "operational",  
"name": "string",  
"only_show_if_degraded": true,  
"group_id": "string",  
"showcase": true,  
"start_date": "2023-05-23"  
}  
}

After sending the request, it throws Error:422 (Unprocessable entity) stating that

<br />

{  
"error": \[  
"You have downtime data recorded prior to the start date you selected. Delete that data (incident or maintenance) in order to select this date."  
\]  
}

Ive checked there is no down time data in my status page to delete(from incidents or maintenance).

Please let me know how to proceed to resolve this issue. what could be the possible areas to look into?

Thank you in advance  
:)


Answers:
author: Alan Violada
body: Hi Venkat,  

Thanks for reaching out. As mentioned in the community post [here,](https://community.atlassian.com/t5/Statuspage-questions/Update-Component-in-Status-Page-Via-Postman-API/qaq-p/2368389#U2370014) please submit a support ticket via [support.atlassian.com](http://support.atlassian.com) so we can help you out!   

Regards,

Alan Violada

comments: author: Venkat Sai Nag Bhargav Sabbineni
body: Thank you Alan
Update Component in Status Page Via Postman API
Asked by Venkat Sai Nag Bhargav Sabbineni:

Hello,  

Ive been trying to figure out how to update a component in status page via Postman API.  

Ive gone through the statuspage API documentation below  

[Statuspage API Documentation](https://developer.statuspage.io/#operation/patchPagesPageIdComponentsComponentId)  

I've initiated the PATCH API request to update the component by giving API key, page_id and component_id of the respective status page.  

given the component group value to group_id , description and name of a statuspage.io  
JSON:  

{  
"component": {  
"description": "string",  
"status": "operational",  
"name": "string",  
"only_show_if_degraded": true,  
"group_id": "string",  
"showcase": true,  
"start_date": "2023-05-23"  
}  
}  

After sending the request, it throws Error:422 (Unprocessable entity) stating that  

{  
"error": \[  
"You have downtime data recorded prior to the start date you selected. Delete that data (incident or maintenance) in order to select this date."  
\]  
}  

Ive checked the there is no down time data in my status page to delete(from incidents or maintenance).  

Please let me know how to proceed to resolve this issue.  

Thank you in advance  
:)


Answers:
author: Alan Violada
body: Hi Venkat,  

Thanks for reaching out. Please submit a support ticket via [support.atlassian.com](http://support.atlassian.com) so we can help you out!   

Regards,

Alan Violada


Tags: postman-api-requests-to-status-page
How to rectify wrong DNS records?
Asked by Venkat Sai Nag Bhargav Sabbineni:

It shows that we require correct DNS records to send email alerts from an organization email or else the emails come from noreply@statuspage.io. It doesn't look like the correct record has been set yet even though I added TXT record as a host record with CNAME as a type.  

Please let me know how to resolve this issue.  

Thank you in advance.  

<br />


Answers:
author: Abraham Musalem
body: Hi Venkat,  

Thanks for reaching out. Please submit a support ticket via support.atlassian.com so we can help you out!   

Regards,   
Abraham, Statuspage support