Branch: refs/heads/master
Home: https://github.com/jenkinsci/lockable-resources-plugin
Commit: b7a4d1354721c1c393f473fbb7fb7ded6b5ab9a1
https://github.com/jenkinsci/lockable-resources-plugin/commit/b7a4d1354721c1c393f473fbb7fb7ded6b5ab9a1
Author: Jim Klimov <[email protected]>
Date: 2021-12-17 (Fri, 17 Dec 2021)
Changed paths:
M src/test/java/org/jenkins/plugins/lockableresources/LockStepTest.java
Log Message:
-----------
LockStepTest.java: add test cases for re-locked resource that was (hacked as)
reserved but there was a queue for it
Commit: 71a89cba1cc4312909424fff8cf5ca27bf79e046
https://github.com/jenkinsci/lockable-resources-plugin/commit/71a89cba1cc4312909424fff8cf5ca27bf79e046
Author: Jim Klimov <[email protected]>
Date: 2021-12-17 (Fri, 17 Dec 2021)
Changed paths:
M
src/main/java/org/jenkins/plugins/lockableresources/LockableResourcesManager.java
Log Message:
-----------
LockableResourcesManager.java: checkResourcesAvailability(): do not consider
available candidate resources that are reserved
Commit: 65bf08a339b34208890f4fe6c0807f172f6ed6ba
https://github.com/jenkinsci/lockable-resources-plugin/commit/65bf08a339b34208890f4fe6c0807f172f6ed6ba
Author: Jim Klimov <[email protected]>
Date: 2021-12-17 (Fri, 17 Dec 2021)
Changed paths:
M src/test/java/org/jenkins/plugins/lockableresources/LockStepTest.java
Log Message:
-----------
LockStepTest.java: add handling of stuck LRM (queued locks are not granted
after release of hacked lock)
Commit: 00e64474104cf4620b62f52470994d06bb82d840
https://github.com/jenkinsci/lockable-resources-plugin/commit/00e64474104cf4620b62f52470994d06bb82d840
Author: Jim Klimov <[email protected]>
Date: 2021-12-17 (Fri, 17 Dec 2021)
Changed paths:
M
src/main/java/org/jenkins/plugins/lockableresources/LockableResourcesManager.java
Log Message:
-----------
LockableResourcesManager.java: checkResourcesAvailability(): do not disregard
available candidate resources that are reserved (get notified and use them when
finally released by user)
Commit: a030099b6867b71152e3b60f9d3c2848d89a91b3
https://github.com/jenkinsci/lockable-resources-plugin/commit/a030099b6867b71152e3b60f9d3c2848d89a91b3
Author: Jim Klimov <[email protected]>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M
src/main/java/org/jenkins/plugins/lockableresources/LockableResourcesManager.java
Log Message:
-----------
LockableResourcesManager.java: checkResourcesAvailability(): comment some of
the logic and implications in human language
Commit: 14476d24c4e1510faec5fb43890bab317bf185f2
https://github.com/jenkinsci/lockable-resources-plugin/commit/14476d24c4e1510faec5fb43890bab317bf185f2
Author: Jim Klimov <[email protected]>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M
src/main/java/org/jenkins/plugins/lockableresources/LockableResourcesManager.java
Log Message:
-----------
LockableResourcesManager.java: extend checkResourcesAvailability() and
getNextQueuedContext() to consider locked vs reserved resources differently
Commit: 5d93d2b1256942d9dfcffa9a45e8f7adcd1ef506
https://github.com/jenkinsci/lockable-resources-plugin/commit/5d93d2b1256942d9dfcffa9a45e8f7adcd1ef506
Author: Jim Klimov <[email protected]>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M src/main/java/org/jenkins/plugins/lockableresources/LockableResource.java
M
src/main/java/org/jenkins/plugins/lockableresources/LockableResourcesManager.java
Log Message:
-----------
LockableResourcesManager.java + LockableResource.java: introduce a recycle()
method to cover unlock()+unreserve() and queue the un-stucking for resources
that were setReservedBy() inside a lock step
Commit: 58efc3bfe70803815c876da2091a987836a196ae
https://github.com/jenkinsci/lockable-resources-plugin/commit/58efc3bfe70803815c876da2091a987836a196ae
Author: Jim Klimov <[email protected]>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M
src/main/java/org/jenkins/plugins/lockableresources/LockableResourcesManager.java
Log Message:
-----------
LockableResourcesManager.java: refactor checkResourcesAvailability() to
determine candidate nuances once and maintain a more compact codebase
Commit: 831847e7adc1aee7b0b7fd5efccbf18510f66cc9
https://github.com/jenkinsci/lockable-resources-plugin/commit/831847e7adc1aee7b0b7fd5efccbf18510f66cc9
Author: Jim Klimov <[email protected]>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M src/test/java/org/jenkins/plugins/lockableresources/LockStepTest.java
Log Message:
-----------
LockStepTest.java: reserveInsideLockHonoured(): reword the stage 1-4
activities
Commit: ec9f721a5820c0407f8b8efe52c4f0c514910cc4
https://github.com/jenkinsci/lockable-resources-plugin/commit/ec9f721a5820c0407f8b8efe52c4f0c514910cc4
Author: Jim Klimov <[email protected]>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M src/test/java/org/jenkins/plugins/lockableresources/LockStepTest.java
Log Message:
-----------
LockStepTest.java: reserveInsideLockHonoured(): reword the "LRM unstucking"
activities
Commit: 833fb42699a9ab998ed176d5b66a1017dc40af16
https://github.com/jenkinsci/lockable-resources-plugin/commit/833fb42699a9ab998ed176d5b66a1017dc40af16
Author: Jim Klimov <[email protected]>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M src/test/java/org/jenkins/plugins/lockableresources/LockStepTest.java
Log Message:
-----------
LockStepTest.java: setReservedByInsideLockHonoured(): reword the "LRM
unstucking" activities
Commit: 8e758c370769da7af847307abc9ffc194256b9b4
https://github.com/jenkinsci/lockable-resources-plugin/commit/8e758c370769da7af847307abc9ffc194256b9b4
Author: Jim Klimov <[email protected]>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M src/test/java/org/jenkins/plugins/lockableresources/LockStepTest.java
Log Message:
-----------
LockStepTest.java: *reserve*InsideLockHonoured(): track that pipeline
survived completely (by message it echoes in the end)
Commit: 7f6353d228f3d04a54cd0bbda8384f2ea78a38f1
https://github.com/jenkinsci/lockable-resources-plugin/commit/7f6353d228f3d04a54cd0bbda8384f2ea78a38f1
Author: Jim Klimov <[email protected]>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M src/test/java/org/jenkins/plugins/lockableresources/LockStepTest.java
Log Message:
-----------
LockStepTest.java: *reserve*InsideLockHonoured(): sleep a bit after getting
lock#2 to not confuse the log-parser occasionally
Commit: f16b06e019b228a50f8cb65b86ff264a6400c4b6
https://github.com/jenkinsci/lockable-resources-plugin/commit/f16b06e019b228a50f8cb65b86ff264a6400c4b6
Author: Jim Klimov <[email protected]>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M src/test/java/org/jenkins/plugins/lockableresources/LockStepTest.java
Log Message:
-----------
LockStepTest.java: reserveInsideLockHonoured(): add a test that reserving and
unreserving a resource while in lock{} closure does not let others grab it
Commit: 2164baa05550b6eb7ad6aaff9c64c78b68692577
https://github.com/jenkinsci/lockable-resources-plugin/commit/2164baa05550b6eb7ad6aaff9c64c78b68692577
Author: Jim Klimov <[email protected]>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M src/test/java/org/jenkins/plugins/lockableresources/LockStepTest.java
Log Message:
-----------
LockStepTest.java: *reserve*InsideLockHonoured(): do not assume anymore that
reaching stage 1-5 (after we unreserve lock#1) means that lock#2 should not
have been taken yet
Commit: a6318baa1c6d62337b996f203e3ef2bec3f96a59
https://github.com/jenkinsci/lockable-resources-plugin/commit/a6318baa1c6d62337b996f203e3ef2bec3f96a59
Author: Jim Klimov <[email protected]>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M src/test/java/org/jenkins/plugins/lockableresources/LockStepTest.java
Log Message:
-----------
LockStepTest.java: *reserve*InsideLockHonoured(): report GOOD outcomes
(expected bugs indeed not encountered) into test log
Commit: 2eae16137793fc7f6200732bb7034ae8fc4e6dfc
https://github.com/jenkinsci/lockable-resources-plugin/commit/2eae16137793fc7f6200732bb7034ae8fc4e6dfc
Author: Jim Klimov <[email protected]>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M src/test/java/org/jenkins/plugins/lockableresources/LockStepTest.java
Log Message:
-----------
LockStepTest.java: setReservedByInsideLockHonoured(): lr.reset() is useless
and toxic for letting go of resources queued by someone else; switch to testing
the new lr.recycle() method
Commit: 3666264886c297f32ea175cd36a2ff93afd5691d
https://github.com/jenkinsci/lockable-resources-plugin/commit/3666264886c297f32ea175cd36a2ff93afd5691d
Author: Jim Klimov <[email protected]>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M src/test/java/org/jenkins/plugins/lockableresources/LockStepTest.java
Log Message:
-----------
LockStepTest.java: reserveInsideLockHonoured(): add a test that
LRM.recycle([lr]) of a reserved but not locked resource makes it available for
those who wait on the queue
Commit: 0165b57fd907da4ff20604ac7a83c6871b57a664
https://github.com/jenkinsci/lockable-resources-plugin/commit/0165b57fd907da4ff20604ac7a83c6871b57a664
Author: Jim Klimov <[email protected]>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M src/test/java/org/jenkins/plugins/lockableresources/LockStepTest.java
Log Message:
-----------
LockStepTest.java: *reserve*InsideLockHonoured(): sleep a bit before
requesting lock() from parallel stages added just for pressure, so they do not
intervene in other tests
Commit: 7ac8386d2321c7e3fd6535846b953da7005416c3
https://github.com/jenkinsci/lockable-resources-plugin/commit/7ac8386d2321c7e3fd6535846b953da7005416c3
Author: Jim Klimov <[email protected]>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M src/test/java/org/jenkins/plugins/lockableresources/LockStepTest.java
Log Message:
-----------
LockStepTest.java: reserveInsideLockHonoured(): report GOOD outcomes of lock
states between p2 and p3
Commit: e3976f4fedb837695e06cfc74c145a050e09a179
https://github.com/jenkinsci/lockable-resources-plugin/commit/e3976f4fedb837695e06cfc74c145a050e09a179
Author: Jim Klimov <[email protected]>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M src/main/java/org/jenkins/plugins/lockableresources/LockableResource.java
M
src/main/java/org/jenkins/plugins/lockableresources/LockableResourcesManager.java
Log Message:
-----------
LockableResourcesManager.java + LockableResource.java: comment the caveat for
recycle() - do not use from lock{} step
Commit: c8477bc2b93a5975b37e9e8092f6f75e48954b99
https://github.com/jenkinsci/lockable-resources-plugin/commit/c8477bc2b93a5975b37e9e8092f6f75e48954b99
Author: Jim Klimov <[email protected]>
Date: 2021-12-18 (Sat, 18 Dec 2021)
Changed paths:
M src/test/java/org/jenkins/plugins/lockableresources/LockStepTest.java
Log Message:
-----------
LockStepTest.java: reserveInsideLockHonoured(): in test for reserve-unreserve
inside lock{}, sleep a bit between these two operations
Commit: c0fe37137384c19a53dc508493e5cad813f775e8
https://github.com/jenkinsci/lockable-resources-plugin/commit/c0fe37137384c19a53dc508493e5cad813f775e8
Author: Jim Klimov <[email protected]>
Date: 2022-02-01 (Tue, 01 Feb 2022)
Changed paths:
M src/main/java/org/jenkins/plugins/lockableresources/LockableResource.java
M
src/main/java/org/jenkins/plugins/lockableresources/LockableResourcesManager.java
M src/test/java/org/jenkins/plugins/lockableresources/LockStepTest.java
Log Message:
-----------
Merge pull request #279 from jimklimov/JENKINS-67403
Compare:
https://github.com/jenkinsci/lockable-resources-plugin/compare/dcc0f497fc38...c0fe37137384
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/lockable-resources-plugin/push/refs/heads/master/dcc0f4-c0fe37%40github.com.