<< Back to previous view

[QB-3991] SCM changes result is not correct
Created: 23/Jun/23  Updated: 23/Dec/23

Status: Closed
Project: QuickBuild
Component/s: None
Affects Version/s: 8.0.45
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Nguyen Duc Long Assigned To: Robin Shen
Resolution: Cannot Reproduce Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown

File Attachments: Zip Archive backup.zip     PNG File correct-scm-changes.png     PNG File correct-scm-changes2.png     JPEG File scm.jpg    

 Description   
I have a configuration in which there are many checkout steps. It seems that it only record count commit of last Step

Checkout_1 - Total Commits 2:
- commit 1
- commit 2
Checkout_2 - Total Commits 0:
Checkout_3 - Total Commits 1:
- commit 3

What I expect:
SCM Changes (3)
- commit 1
- commit 2
- commit 3

What I get:
SCM Changes (1)
- commit 1
- commit 2
- commit 3

 Comments   
Comment by Robin Shen [ 24/Jun/23 01:47 AM ]
QB8 is very old, and we no longer maintain it. Just tested with QB13 against git repository and SCM changes are correct.
Comment by Nguyen Duc Long [ 29/Jun/23 02:22 AM ]
I checked and the error still exists on QB10.
Please check again.(check with p4)

Step:
Create a configuration
Create 3 Repositories
Create 3 sync Step, type checkout using 3 repositories
Comment by Robin Shen [ 29/Jun/23 11:27 PM ]
Have you specified different destination directory for these 3 repositories? To use multiple checkout steps in same build, different destination directory should be used.
Comment by Nguyen Duc Long [ 30/Jun/23 03:49 AM ]
I will test more and tell you if there is more information
Comment by Nguyen Duc Long [ 30/Jun/23 07:32 AM ]
I tried to specify different target folders. Error still happens.
Comment by Robin Shen [ 30/Jun/23 03:15 PM ]
Can you please reproduce this with a sample database and send me [robin AT pmease DOT com] the backup?
Comment by Nguyen Duc Long [ 03/Jul/23 05:05 AM ]
Sorry, this is impossible.
(Commitment to information security)
___
Instead, send me your backup database [longduc2202 AT gmail DOT com]
I will try to find the difference that causing an error.
Comment by Robin Shen [ 03/Jul/23 05:37 AM ]
I don't mean to send your production server. You may set up a brand new QB instance, create a test config to reproduce the issue.
Comment by Robin Shen [ 03/Jul/23 05:42 AM ]
My setup here is simple:

1. Create two repositories with client spec retrieving different repositories to different destination directories
2. Create two checkout steps to checkout from defined repositories
Comment by Nguyen Duc Long [ 03/Jul/23 06:47 AM ]
case 1: Submit a change on repo 1. There is no change on the repo 2.
case 2: Submit a change on repo 2. There is no change on the repo 1.

==> compare the results
Comment by Robin Shen [ 03/Jul/23 10:27 PM ]
Still works correct at my side. There might exist some unawared difference in your setup. So please reproduce this with a sample QB instance without any sensitive data, and send me the backup.
Comment by Nguyen Duc Long [ 04/Jul/23 03:11 AM ]
Commitment to information security does not allow me to share any information with the outside. The permission of comment in here is an exception.
Please send me your backup and I will check it. [longduc2202 AT gmail DOT com]
Comment by Nguyen Duc Long [ 04/Jul/23 03:12 AM ]
Please set up with P4 and QB13.
Comment by Robin Shen [ 04/Jul/23 10:20 PM ]
Backup attached. Please restore with bin/restore.sh. After restore, login with admin/admin
Comment by Nguyen Duc Long [ 11/Jul/23 04:38 AM ]
Take screenshots of SCM Changes Panel in cases where you test
Comment by Robin Shen [ 11/Jul/23 11:23 PM ]
Screenshot attached
Comment by Nguyen Duc Long [ 12/Jul/23 07:03 AM ]
This seems to be a very difficult problem to reproduce.

Please help me check again:
- Step checkout of repo1 placed in front has the change.
- Step 2 no change.

Please share pictures of that case. if it still works properly for you then finish this quest.
Comment by Robin Shen [ 12/Jul/23 11:18 PM ]
Still correct. See attached screenshot. Have you tried QB13?
Comment by Nguyen Duc Long [ 13/Jul/23 03:25 AM ]
I try on QB8 and QB10.
Is the logic of SCM Changes changing on QB13?
Comment by Robin Shen [ 14/Jul/23 12:36 AM ]
We fixed a lot of bugs since then, and SCM change page is also refactored.
Comment by Nguyen Duc Long [ 14/Jul/23 02:54 AM ]
Please help me check again on the QB8 version.
I just want to know the fault of the QB8 version or it only happens to us. You do not need to fix anything.
Please share your test results.
Comment by Robin Shen [ 14/Jul/23 11:02 PM ]
Tested with QB 8.0.49, and SCM changes are still correct.
Comment by Robin Shen [ 14/Jul/23 11:06 PM ]
Can you please test if this issue still exists if both QB repositories pointing to same p4 repo, but to different folders?
Generated at Thu May 16 10:40:30 UTC 2024 using JIRA 189.