Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Visual Studio builder gets stuck after successful build Edited

I am using Bamboo version 7.2.2 and I have a builder task that uses the Visual Studio (devenv.exe) executable to build a C++ API. My solution consists of 2 projects, and I build with the option "/rebuild Release" and platform x86.

The job's log shows that Visual Studio has succeeded in building the 2 projects, but Bamboo never ends the task; it gets stuck for hours, and therefore the following tasks in the stage are never executed.

This is the last message in the job's log, which is, in fact, the output from Visual Studio:

15-Mar-2021 11:58:33 ========== Rebuild All: 2 succeeded, 0 failed, 0 skipped ==========


On the other hand, the Bamboo log file shows the following lines regarding the build process and the hung state:


2021-03-15 11:57:36,595 INFO [19-BAM::Default Agent::Agent:pool-44-thread-1] [ProcessServiceImpl] Beginning to execute external process for build 'Tests - Test_Src - Default Job #53 (TESTS-TESTSRC-JOB1-53)'\n ... running command line: \nC:\Atlassian\ApplicationData\bamboo-home\DotNetSupport\devenvrunner.bat C:\Atlassian\ApplicationData\bamboo-home\xml-data\build-dir\TESTS-TESTSRC-JOB1 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community x86 test.sln /rebuild Release\n ... in: C:\Atlassian\ApplicationData\bamboo-home\xml-data\build-dir\TESTS-TESTSRC-JOB1\n
2021-03-15 12:18:35,619 WARN [scheduler_Worker-7] [BuildHangingMonitor] Bamboo has detected that TESTS-TESTSRC-JOB1-53 may have hung.
2021-03-15 12:18:35,620 WARN [scheduler_Worker-7] [BuildHangingMonitor] Time Since Last Log: 1202577, Max log time: 1200000
2021-03-15 12:18:35,641 WARN [scheduler_Worker-7] [BuildHangingMonitor] Expected Build Time: 5055.0, Current Build Time: 1259029

Looking at both logs, the build process took around a minute to be executed (which is normal), and around 20 minutes later Bamboo noticed that it was hung. Unfortunately, there's no more feedback that could give me a hint of what could be wrong.

I have tested this behavior with a very simple Hello World solution, consisting of a single C++ console app project. I get the same results; the executable is compiled correctly and the log shows that it was successfully built, but the builder task hangs forever.

I would appreciate any clues to solve this issue. Thanks in advance!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

69 views 2 5
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you