Build #457

Build: #457 was successful Child of CDAP-DRC-3846

Build result summary

Details

Completed
Duration
150 minutes
Labels
None
Agent
bamboo-agent09
Revision
1ec698215bf872433b106daaf5d170d52f24faa1 1ec698215bf872433b106daaf5d170d52f24faa1
Total tests
2398
First to pass since
#456 (Child of CDAP-DRC-3844)

Code commits

Author Commit Message Commit date
Terence Yim <885032+chtyim@users.noreply.github.com> Terence Yim <885032+chtyim@users.noreply.github.com> 1ec698215bf872433b106daaf5d170d52f24faa1 1ec698215bf872433b106daaf5d170d52f24faa1 Merge pull request #10195 from caskdata/feature/CDAP-13532-fix-workflow-resources
(CDAP-13532) Fix the workflow resources setting to honor runtime arguments
Terence Yim Terence Yim 84ec38b6a177b1b8244194ffca7d71d1118c23e5 84ec38b6a177b1b8244194ffca7d71d1118c23e5 (CDAP-13532) Fix the workflow resources setting to honor runtime arguments
albertshau <ashau@google.com> albertshau <ashau@google.com> 581c2f6dca78f4c2c7477524bafc1adc4692c492 581c2f6dca78f4c2c7477524bafc1adc4692c492 Merge pull request #10174 from caskdata/feature/CDAP-13296-fix-program-status-race
CDAP-13296 fix race in program status call
Albert Shau <ashau@desktobert.svl.corp.google.com> Albert Shau <ashau@desktobert.svl.corp.google.com> 62d442fb3f16d527b3c9087a3f429b3529397645 m 62d442fb3f16d527b3c9087a3f429b3529397645 CDAP-13296 fix race in program status call
The call to get a program status was suspectible to races because
run records for the program were not read in a single transaction.
If run state happened to change in between run record reads, the
state could incorrectly be returned as stopped.

This race condition would cascade and cause other tests to fail
that would wait for a program run to complete. If one of those
tests ran into this scenario, the test would move on assuming
the program had stopped when it in fact was still running.

Fixed to read run records in a single transaction, and added
missing unit tests.

Also fixing a bug where a suspended program would have a stopped
status instead of a running status.

Tests

Fixed tests 1
Status Test Failing since View job Duration
Successful FileSetWordCountTest testWordCountOnFileSet History
Failing since build #456 (Child of CDAP-DRC-3844) Unit Test Job 12 secs

JIRA issues

IssueDescriptionStatus
Unknown Issue TypeCDAP-13296Could not obtain issue details from JIRA
Unknown Issue TypeCDAP-13532Could not obtain issue details from JIRA