Slow make compile time with bamboo

Hi, I am experiencing really slow compile time from bamboo build, about every 3 minutes for each make compile command to finish.

 

build	01-May-2015 13:34:23	     [exec] `libProtobuf.so' -> `D:/bamboo-agent-1/xml-data/build-dir/HSQ-HSQEAETEST-COMBLD/FWShared/svn-ext/ThirdParty/Protobuf/../../../../Deploy/abbott/lib/libProtobuf.so'
build	01-May-2015 13:37:16	     [exec] `libProtobuf.so' -> `D:/bamboo-agent-1/xml-data/build-dir/HSQ-HSQEAETEST-COMBLD/FWShared/svn-ext/ThirdParty/Protobuf/../../../../HSQEmbedded/Deploy/abbott/lib/libProtobuf.so'
build	01-May-2015 13:37:16	     [exec] C:/QNX650/host/win32/x86/usr/bin/rm -f  D:/bamboo-agent-1/xml-data/build-dir/HSQ-HSQEAETEST-COMBLD/FWShared/svn-ext/ThirdParty/Protobuf/x86/so-g/libProtobufS.a
build	01-May-2015 13:40:09	     [exec] C:/QNX650/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -a  D:/bamboo-agent-1/xml-data/build-dir/HSQ-HSQEAETEST-COMBLD/FWShared/svn-ext/ThirdParty/Protobuf/x86/so-g/libProtobufS.a coded_stream.o common.o descriptor.o descriptor.pb.o descriptor_database.o dynamic_message.o extension_set.o extension_set_heavy.o generated_message_reflection.o generated_message_util.o gzip_stream.o hash.o importer.o message.o message_lite.o once.o parser.o printer.o reflection_ops.o repeated_field.o service.o structurally_valid.o strutil.o substitute.o text_format.o tokenizer.o unknown_field_set.o wire_format.o wire_format_lite.o zero_copy_stream.o zero_copy_stream_impl.o zero_copy_stream_impl_lite.o     -g  
build	01-May-2015 13:40:09	     [exec] C:\QNX650\host\win32\x86\usr\bin\ntox86-ar: creating D:/bamboo-agent-1/xml-data/build-dir/HSQ-HSQEAETEST-COMBLD/FWShared/svn-ext/ThirdParty/Protobuf/x86/so-g/libProtobufS.a
build	01-May-2015 13:43:02	     [exec] `libProtobuf.so' -> `D:/bamboo-agent-1/xml-data/build-dir/HSQ-HSQEAETEST-COMBLD/FWShared/svn-ext/ThirdParty/Protobuf/../../../../Deploy/abbott/lib/libProtobuf.so'
build	01-May-2015 13:45:55	     [exec] `libProtobuf.so' -> `D:/bamboo-agent-1/xml-data/build-dir/HSQ-HSQEAETEST-COMBLD/FWShared/svn-ext/ThirdParty/Protobuf/../../../../HSQEmbedded/Deploy/abbott/lib/libProtobuf.so'
build	01-May-2015 13:48:49	     [exec] `libProtobuf.so' -> `D:/bamboo-agent-1/xml-data/build-dir/HSQ-HSQEAETEST-COMBLD/FWShared/svn-ext/ThirdParty/Protobuf/../../../../Deploy/abbott/lib/libProtobuf.so'
build	01-May-2015 13:51:42	     [exec] `libProtobuf.so' -> `D:/bamboo-agent-1/xml-data/build-dir/HSQ-HSQEAETEST-COMBLD/FWShared/svn-ext/ThirdParty/Protobuf/../../../../HSQEmbedded/Deploy/abbott/lib/libProtobuf.so'

 

In task manager, I can see there are 7 make threads process, but only one is moving, the other threads do nothing but being idle. Usually, the make threads should come and go and usually move fast. But at some point, it started acting up. It only happens building from the bamboo, from command line, the make runs normal and fast, like ~1 second for each make command. Have anyone seen this kind of problem before with bamboo? Thanks. 

1 answer

Reviving an old thread...

I have this problem as well. Bamboo seems to delay when calling any MinGW related executables. Our make scripts make a lot of calls to C:\MinGW\msys\1.0\bin\rm.exe, each one of which takes 7-20 seconds to complete. Through the course of a make that involves a couple thousand operations, it pushes my build time to ~50 minutes. The rm command takes < 1 second from the command line and the build takes < 5 minutes from the command line.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,316 views 0 5
Read article

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