Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Bit Bucket Pipeline Step marked as Failed though no error occurred

No errors logged and Test summary has no failure and error. But pipeline step is marked as Failed.

Maven Console Log:

[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.563 s - in TestSuite
[INFO] Results:
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ FrameworkCore2.0 ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: C:\Users\xxxxx\atlassian-bitbucket-pipelines-runner\temp\965507bc-86c8-5f4a-af2c-8731bed4c82b\1670476923823\build\target\FrameworkCore2.0-0.0.2-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58.683 s
[INFO] Finished at: 2022-12-07T23:26:16-06:00
[INFO] ------------------------------------------------------------------------

Build Teardown:
Skipping cache upload for failed step
Searching for test report files in directories named [failsafe-reports, TestResults, surefire-reports, test-reports, test-results] down to a depth of 4
Found matching test report file C:\Users\xxxxx\atlassian-bitbucket-pipelines-runner\bin\..\temp\965507bc-86c8-5f4a-af2c-8731bed4c82b\1670476923823\build\target\surefire-reports\junitreports\TEST-application.Driver.xml
Located test suite containing 1 tests, with 0 failures and 0 errors.
Found matching test report file C:\Users\xxxxx\atlassian-bitbucket-pipelines-runner\bin\..\temp\965507bc-86c8-5f4a-af2c-8731bed4c82b\1670476923823\build\target\surefire-reports\Suite\Test.xml
Located test suite containing 1 tests, with 0 failures and 0 errors.
Found matching test report file C:\Users\xxxxx\atlassian-bitbucket-pipelines-runner\bin\..\temp\965507bc-86c8-5f4a-af2c-8731bed4c82b\1670476923823\build\target\surefire-reports\TEST-TestSuite.xml
Located test suite containing 1 tests, with 0 failures and 0 errors.
Found matching test report file C:\Users\xxxxx\atlassian-bitbucket-pipelines-runner\bin\..\temp\965507bc-86c8-5f4a-af2c-8731bed4c82b\1670476923823\build\target\surefire-reports\testng-results.xml
Finished scanning for test reports. Found 4 test report files.
Merged test suites, total number tests is 3, with 0 failures and 0 errors.
Uploading test results
Finished uploading test results.

1 answer

0 votes

Hi @Sasitharan Govindharam and welcome to the community.

Is there any error message in the panel next to the build log that has the build number and commit hash?

Are you perhaps running a script that returns a non-zero exit code? A step will fail when a command returns a non-zero exit code.

Kind regards,

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events