History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3083
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Unassigned
Reporter: Piotr Jedrys
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Duplicate entries on DB, no measurements for nodes

Created: 20/Nov/17 02:47 PM   Updated: 24/Nov/17 11:52 AM
Component/s: None
Affects Version/s: 7.0.28
Fix Version/s: 7.0.29

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Linux 4.4.0-83-generic #106~14.04.1-Ubuntu SMP Mon Jun 26 18:10:19 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux


 Description  « Hide
After upgrade to QuickBuild 7.0.28 (from 6.0) we still see multiple errors on measurements data:

Query is: /* insert com.pmease.quickbuild.model.MeasurementDataR01 */ insert into QB_MEASUREMENT_DATAR01 (QB_METRIC_NAME, QB_SOURCE, QB_TIMESTAMP, QB_VALUE, QB_ID) values (?, ?, ?, ?, ?), parameters ['disk.usage./','node_x:8811',1511189148247,0.15542780752143154,647659]
2017-11-20 14:45:49,894 [pool-1-thread-51850] INFO com.pmease.quickbuild.DefaultBuildEngine - Processing build request (configuration:root/configuration_x, request id:f0de6076-8cf2-43b4-8b6a-e6ffdb94514f)
2017-11-20 14:45:49,905 [pool-1-thread-51850] INFO com.pmease.quickbuild.DefaultBuildEngine - Checking build condition on node (address: node_x:8811, ip: 10.123.25.180)...
2017-11-20 14:45:49,975 [pool-1-thread-51867] WARN org.hibernate.engine.jdbc.spi.SqlExceptionHelper - SQL Error: 1062, SQLState: 23000
2017-11-20 14:45:49,975 [pool-1-thread-51867] ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper - Duplicate entry '1511189149955-node_x:8811-disk.usage./opt' for key 'PK_DATA_R01'

This problem makes the log unreadable, growing very fast

 All   Comments   Work Log   Change History      Sort Order:
Change by Robin Shen [21/Nov/17 12:18 AM]
Field Original Value New Value
Assignee Robin Shen [ robinshine ] Steve Luo [ steve ]

Change by Steve Luo [24/Nov/17 11:52 AM]
Status Open [ 1 ] Resolved [ 5 ]
Assignee Steve Luo [ steve ]
Resolution Fixed [ 1 ]

Change by Steve Luo [24/Nov/17 11:52 AM]
Fix Version/s 7.0.29 [ 11776 ]