shared: Fix recovery after an interrupted build
When build process is interrupted (like when the buildout process terminated by SIGKILL), building with shared leave the system in a state that looks like installation succeeded, so next execution will assume the part was properly installed. The behavior was something like this: if isSharedPartSignatureOK(): useThisAlreadyInstalledPart() else: writeSignatureInSharedPart() try: build() except: removeSharedPart() raise and when program is terminated during build step, the signature is there. The fix is to write signature later, algorithm becomes: if isSharedPartSignatureOK(): useThisAlreadyInstalledPart() else: try: build() except: removeSharedPart() raise writeSignatureInSharedPart()
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
running |
#37978
external
|
SlapOS.Eggs.UnitTest-Jerome.Python2 |
43146:23:01 |
||||||
running |
#37956
external
|
SlapOS.Eggs.UnitTest-Jerome.Python3 |
43146:24:09 |
||||||
passed |
#37683
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python2 |
00:16:05
|
||||||
passed |
#37614
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python2 |
00:27:21
|
||||||
passed |
#37707
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python2 |
00:12:37
|
||||||
passed |
#37566
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python2 |
00:13:08
|
||||||
passed |
#37814
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python2 |
00:25:27
|
||||||
passed |
#37816
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python2 |
|
||||||
passed |
#37568
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python2 |
00:30:04
|
||||||
passed |
#37822
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python2 |
00:22:37
|
||||||
passed |
#37866
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python2 |
00:17:58
|
||||||
passed |
#37660
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python2 |
00:17:57
|
||||||
passed |
#37611
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python2 |
00:12:11
|
||||||
passed |
#37906
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python2 |
00:16:22
|
||||||
passed |
#37884
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python3 |
00:15:52
|
||||||
passed |
#37680
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python3 |
00:15:14
|
||||||
passed |
#37540
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python3 |
|
||||||
passed |
#37543
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python3 |
00:31:21
|
||||||
passed |
#37571
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python3 |
00:19:13
|
||||||
passed |
#37608
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python3 |
00:19:26
|
||||||
passed |
#37633
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python3 |
00:16:31
|
||||||
passed |
#37654
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python3 |
00:14:26
|
||||||
failed |
#37537
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python3 |
00:16:41
|
||||||
passed |
#37694
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python3 |
00:14:52
|
||||||
passed |
#37810
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python3 |
00:27:54
|
||||||
passed |
#37818
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python3 |
00:19:11
|
||||||
passed |
#37867
external
retried
|
SlapOS.Eggs.UnitTest-Jerome.Python3 |
00:11:28
|
||||||