
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
Created: 21/Oct/25 08:59 AM
Updated: 21/Oct/25 08:59 AM
|
|
| Component/s: |
None
|
| Affects Version/s: |
15.0.26
|
| Fix Version/s: |
None
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
Environment:
|
Windows Server 2019 (10.0)
JDK 21.0.7+6-LTS
CPU: 2,9 GHz GenuineIntel / 6 processors
Memory: 96 GB
Swap: 14 GB
JVM Memory Max: 38,4 GB
JVM Heap Max: 38,4 GB
Windows Server 2019 (10.0)
JDK 21.0.7+6-LTS
CPU: 2,9 GHz GenuineIntel / 6 processors
Memory: 96 GB
Swap: 14 GB
JVM Memory Max: 38,4 GB
JVM Heap Max: 38,4 GB
|
|
|
A fortnight ago, I updated our QB production system from version 13.0.15 to 15.0.26 and the JDK from 11 to 21.
Now I have noticed that the artifacts are no longer being deleted regularly.
Our global settings in the root:
Build Cleanup Strategy | Reserve builds by days (10 days)
Artifact Cleanup Strategy | Reserve artifacts for specified number of builds (4 builds)
Our system maintenance schedule time is once a day at 23:50.
But the only thing that is displayed in the server log is (There are several lines, I have only inserted the last one here: Removing ...)
[DefaultQuartzScheduler_Worker-4] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/bla/blub/nix'...
[DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultAuditManager - Removing obsolete audit entries.
[DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultAlertManager - Removing obsolete message entries.
[DefaultQuartzScheduler_Worker-3] ERROR com.pmease.quickbuild.taskschedule.DefaultTaskScheduler - Error executing scheduled task
javax.persistence.TransactionRequiredException: Executing an update/delete query
at org.hibernate.internal.AbstractSharedSessionContract.checkTransactionNeededForUpdateOperation(AbstractSharedSessionContract.java:413)
at org.hibernate.query.internal.AbstractProducedQuery.executeUpdate(AbstractProducedQuery.java:1668)
at com.pmease.quickbuild.entitymanager.impl.DefaultAlertManager.maintain(DefaultAlertManager.java:181)
at com.pmease.quickbuild.persistence.SessionInterceptor.invoke(SessionInterceptor.java:49)
at com.pmease.quickbuild.maintenance.SystemCareTask.execute(SystemCareTask.java:23)
at com.pmease.quickbuild.taskschedule.DefaultTaskScheduler$HelperTask.execute(DefaultTaskScheduler.java:107)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
But no information about the deletion of the build artifacts
Now I have installed a minimal QB 13 version that only has one configuration, 'Test', which publishes a file every 100 seconds
And when the System Maintenance Task ran, the build and artifacts were deleted as expected.
Here are the log outputs from QB version 13
2025-10-21 09:10:00,001 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root'...
2025-10-21 09:10:00,003 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance'...
2025-10-21 09:10:00,004 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/sync configurations'...
2025-10-21 09:10:00,005 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/copy steps'...
2025-10-21 09:10:00,006 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/copy repositories'...
2025-10-21 09:10:00,007 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/copy variables'...
2025-10-21 09:10:00,008 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/copy promotions'...
2025-10-21 09:10:00,009 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/remove obsolete accounts'...
2025-10-21 09:10:00,009 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/Test'...
2025-10-21 09:10:00,036 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultAuditManager - Removing obsolete audit entries.
2025-10-21 09:10:00,039 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultAlertManager - Removing obsolete message entries.
2025-10-21 09:10:00,044 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.plugin.artifact.ArtifactCleanupTask - Cleaning up artifacts for configuration 'root'...
2025-10-21 09:10:00,048 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.plugin.artifact.ArtifactCleanupTask - Cleaning up artifacts for configuration 'root/~maintenance'...
2025-10-21 09:10:00,052 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.plugin.artifact.ArtifactCleanupTask - Cleaning up artifacts for configuration 'root/~maintenance/sync configurations'...
2025-10-21 09:10:00,054 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.plugin.artifact.ArtifactCleanupTask - Cleaning up artifacts for configuration 'root/~maintenance/copy steps'...
2025-10-21 09:10:00,057 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.plugin.artifact.ArtifactCleanupTask - Cleaning up artifacts for configuration 'root/~maintenance/copy repositories'...
2025-10-21 09:10:00,060 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.plugin.artifact.ArtifactCleanupTask - Cleaning up artifacts for configuration 'root/~maintenance/copy variables'...
2025-10-21 09:10:00,062 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.plugin.artifact.ArtifactCleanupTask - Cleaning up artifacts for configuration 'root/~maintenance/copy promotions'...
2025-10-21 09:10:00,065 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.plugin.artifact.ArtifactCleanupTask - Cleaning up artifacts for configuration 'root/~maintenance/remove obsolete accounts'...
2025-10-21 09:10:00,068 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.plugin.artifact.ArtifactCleanupTask - Cleaning up artifacts for configuration 'root/Test'...
Then I updated this QB13 version with QB version 15.0.26. After that, some builds ran again and when the system maintenance task ran,
ONLY the builds were deleted, not the artifacts (as is also the case in our production system).
And here are the log outputs from QB version 15
2025-10-21 09:18:00,004 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root'...
2025-10-21 09:18:00,012 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance'...
2025-10-21 09:18:00,021 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/sync configurations'...
2025-10-21 09:18:00,027 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/copy steps'...
2025-10-21 09:18:00,034 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/copy repositories'...
2025-10-21 09:18:00,040 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/copy variables'...
2025-10-21 09:18:00,045 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/copy promotions'...
2025-10-21 09:18:00,050 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/remove obsolete accounts'...
2025-10-21 09:18:00,053 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/Test'...
2025-10-21 09:18:00,136 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultAuditManager - Removing obsolete audit entries.
2025-10-21 09:18:00,143 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultAlertManager - Removing obsolete message entries.
2025-10-21 09:18:00,144 [DefaultQuartzScheduler_Worker-3] ERROR com.pmease.quickbuild.taskschedule.DefaultTaskScheduler - Error executing scheduled task
javax.persistence.TransactionRequiredException: Executing an update/delete query
at org.hibernate.internal.AbstractSharedSessionContract.checkTransactionNeededForUpdateOperation(AbstractSharedSessionContract.java:413)
at org.hibernate.query.internal.AbstractProducedQuery.executeUpdate(AbstractProducedQuery.java:1668)
at com.pmease.quickbuild.entitymanager.impl.DefaultAlertManager.maintain(DefaultAlertManager.java:181)
at com.pmease.quickbuild.persistence.SessionInterceptor.invoke(SessionInterceptor.java:49)
at com.pmease.quickbuild.maintenance.SystemCareTask.execute(SystemCareTask.java:23)
at com.pmease.quickbuild.taskschedule.DefaultTaskScheduler$HelperTask.execute(DefaultTaskScheduler.java:107)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
We're in a bit of a rush because the disc is filling up and we have to delete files manually now.
Georg
|
|
Description
|
A fortnight ago, I updated our QB production system from version 13.0.15 to 15.0.26 and the JDK from 11 to 21.
Now I have noticed that the artifacts are no longer being deleted regularly.
Our global settings in the root:
Build Cleanup Strategy | Reserve builds by days (10 days)
Artifact Cleanup Strategy | Reserve artifacts for specified number of builds (4 builds)
Our system maintenance schedule time is once a day at 23:50.
But the only thing that is displayed in the server log is (There are several lines, I have only inserted the last one here: Removing ...)
[DefaultQuartzScheduler_Worker-4] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/bla/blub/nix'...
[DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultAuditManager - Removing obsolete audit entries.
[DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultAlertManager - Removing obsolete message entries.
[DefaultQuartzScheduler_Worker-3] ERROR com.pmease.quickbuild.taskschedule.DefaultTaskScheduler - Error executing scheduled task
javax.persistence.TransactionRequiredException: Executing an update/delete query
at org.hibernate.internal.AbstractSharedSessionContract.checkTransactionNeededForUpdateOperation(AbstractSharedSessionContract.java:413)
at org.hibernate.query.internal.AbstractProducedQuery.executeUpdate(AbstractProducedQuery.java:1668)
at com.pmease.quickbuild.entitymanager.impl.DefaultAlertManager.maintain(DefaultAlertManager.java:181)
at com.pmease.quickbuild.persistence.SessionInterceptor.invoke(SessionInterceptor.java:49)
at com.pmease.quickbuild.maintenance.SystemCareTask.execute(SystemCareTask.java:23)
at com.pmease.quickbuild.taskschedule.DefaultTaskScheduler$HelperTask.execute(DefaultTaskScheduler.java:107)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
But no information about the deletion of the build artifacts
Now I have installed a minimal QB 13 version that only has one configuration, 'Test', which publishes a file every 100 seconds
And when the System Maintenance Task ran, the build and artifacts were deleted as expected.
Here are the log outputs from QB version 13
2025-10-21 09:10:00,001 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root'...
2025-10-21 09:10:00,003 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance'...
2025-10-21 09:10:00,004 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/sync configurations'...
2025-10-21 09:10:00,005 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/copy steps'...
2025-10-21 09:10:00,006 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/copy repositories'...
2025-10-21 09:10:00,007 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/copy variables'...
2025-10-21 09:10:00,008 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/copy promotions'...
2025-10-21 09:10:00,009 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/remove obsolete accounts'...
2025-10-21 09:10:00,009 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/Test'...
2025-10-21 09:10:00,036 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultAuditManager - Removing obsolete audit entries.
2025-10-21 09:10:00,039 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.entitymanager.impl.DefaultAlertManager - Removing obsolete message entries.
2025-10-21 09:10:00,044 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.plugin.artifact.ArtifactCleanupTask - Cleaning up artifacts for configuration 'root'...
2025-10-21 09:10:00,048 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.plugin.artifact.ArtifactCleanupTask - Cleaning up artifacts for configuration 'root/~maintenance'...
2025-10-21 09:10:00,052 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.plugin.artifact.ArtifactCleanupTask - Cleaning up artifacts for configuration 'root/~maintenance/sync configurations'...
2025-10-21 09:10:00,054 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.plugin.artifact.ArtifactCleanupTask - Cleaning up artifacts for configuration 'root/~maintenance/copy steps'...
2025-10-21 09:10:00,057 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.plugin.artifact.ArtifactCleanupTask - Cleaning up artifacts for configuration 'root/~maintenance/copy repositories'...
2025-10-21 09:10:00,060 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.plugin.artifact.ArtifactCleanupTask - Cleaning up artifacts for configuration 'root/~maintenance/copy variables'...
2025-10-21 09:10:00,062 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.plugin.artifact.ArtifactCleanupTask - Cleaning up artifacts for configuration 'root/~maintenance/copy promotions'...
2025-10-21 09:10:00,065 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.plugin.artifact.ArtifactCleanupTask - Cleaning up artifacts for configuration 'root/~maintenance/remove obsolete accounts'...
2025-10-21 09:10:00,068 [DefaultQuartzScheduler_Worker-15] INFO com.pmease.quickbuild.plugin.artifact.ArtifactCleanupTask - Cleaning up artifacts for configuration 'root/Test'...
Then I updated this QB13 version with QB version 15.0.26. After that, some builds ran again and when the system maintenance task ran,
ONLY the builds were deleted, not the artifacts (as is also the case in our production system).
And here are the log outputs from QB version 15
2025-10-21 09:18:00,004 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root'...
2025-10-21 09:18:00,012 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance'...
2025-10-21 09:18:00,021 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/sync configurations'...
2025-10-21 09:18:00,027 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/copy steps'...
2025-10-21 09:18:00,034 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/copy repositories'...
2025-10-21 09:18:00,040 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/copy variables'...
2025-10-21 09:18:00,045 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/copy promotions'...
2025-10-21 09:18:00,050 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/~maintenance/remove obsolete accounts'...
2025-10-21 09:18:00,053 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultBuildManager - Removing unwanted builds of configuration 'root/Test'...
2025-10-21 09:18:00,136 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultAuditManager - Removing obsolete audit entries.
2025-10-21 09:18:00,143 [DefaultQuartzScheduler_Worker-3] INFO com.pmease.quickbuild.entitymanager.impl.DefaultAlertManager - Removing obsolete message entries.
2025-10-21 09:18:00,144 [DefaultQuartzScheduler_Worker-3] ERROR com.pmease.quickbuild.taskschedule.DefaultTaskScheduler - Error executing scheduled task
javax.persistence.TransactionRequiredException: Executing an update/delete query
at org.hibernate.internal.AbstractSharedSessionContract.checkTransactionNeededForUpdateOperation(AbstractSharedSessionContract.java:413)
at org.hibernate.query.internal.AbstractProducedQuery.executeUpdate(AbstractProducedQuery.java:1668)
at com.pmease.quickbuild.entitymanager.impl.DefaultAlertManager.maintain(DefaultAlertManager.java:181)
at com.pmease.quickbuild.persistence.SessionInterceptor.invoke(SessionInterceptor.java:49)
at com.pmease.quickbuild.maintenance.SystemCareTask.execute(SystemCareTask.java:23)
at com.pmease.quickbuild.taskschedule.DefaultTaskScheduler$HelperTask.execute(DefaultTaskScheduler.java:107)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
We're in a bit of a rush because the disc is filling up and we have to delete files manually now.
Georg
|
Show » |
| There are no comments yet on this issue.
|
|