opendevstack / ods-jenkins-shared-library

Shared Jenkins library which all ODS projects & components use - provisioning, SonarQube code scanning, Nexus publishing, OpenShift template based deployments and repository orchestration
Apache License 2.0
70 stars 57 forks source link

$itr serialization error occurs again in 4.x #861

Open clemensutschig opened 2 years ago

clemensutschig commented 2 years ago

I guess (until we move doc-gen out) - we have to fix this - with your approach @metmajer - a script.retrySh(.....)

we see this after some runs with Brass - and we see it on "normal" script.sh - which we tried to fix in the core layer - but it's popping up on other places as well now

metmajer commented 2 years ago

@clemensutschig as you can see from the method invocations in the screenshots in https://github.com/opendevstack/ods-jenkins-shared-library/issues/857, this is legacy Hudson behavior and happens during Serialization due to in-memory data being swapped to disk. Workarounds using our utility methods would work but only temporary. The refactoring we are working on will create improvements. FYI @s2oBCN @victorpablosceruelo @angelmp01