-
Notifications
You must be signed in to change notification settings - Fork 971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Material update broke after 16.6 upgrade (Windows) #2362
Comments
@esiqveland
Closing this as we recommend discarding the corrupted material history. More details on this commit 43e907a |
Hi there, I have had this issue for weeks on four of my repos/pipelines. New commits have come through on the affected repos, yet this error persists. Should this be a new ticket? GoCD version is 16.9.0 |
Were the repo's rebased? |
I'm not sure whether the repos were rebased. Is there a command I can run to find out? |
Assigning to @jyotisingh to take a look once back on Monday. I suspect we'll need more information to diagnose this. This issue could also be related to #2470. |
@greenmoss - could you pick one of the repos for which you have been seeing this issue and give some more details about that one. The things I would like to know are: |
Please find answers below: (i) (ii) This is a plain scm git material. (iii) They trigger automatically. I confirmed this by looking at the "changes" list of the pipeline associated with the repo. The git repo pointed to by the error message is highlighted in yellow, referencing the same commit hash. So even though there's an error for that hash, it did launch the pipeline. Also, a bunch of new errors of this nature just appeared. I've seen this before on other repo/branch combinations: the error appears and persists for several days, then eventually disappears. |
Are you saying for every new commit that you make, the error log entry says unable to save modification with that same SHA as your commit but the build triggers and the same SHA is listed out on the changes popup for the pipeline run? Could you look for a message such as I speculate this is happening because of rebasing and force push to the git repo. While rebase workflow mostly works in newer releases of Go, this could possibly be a missing scenario. I would need your help to find whats going on. From the log message that you shared earlier:
The log message here lists out the flyweight folder (mentioned as working directory) as Check the output of
Or you could just look for all git processes running on Go server whichever you find easier. |
@jyotisingh: Unsure if it's related to something happening in this issue. I realize that one is GitHub PR and not pure git. |
@greenmoss - Could you please tell the version of git running on your git-server as well as the version running on go-server machine. |
@greenmoss - could you run |
Started seeing this issue recently on one of our local servers for a few git materials. It turns out, these git repos had a branch called |
@jyotisingh I plan to look into this some more next week |
@jyotisingh I work with @greenmoss and I have been assigned to work on this. We are using github-enterprise, 2.7.5. I don't know the version of git running on it, because it is a self contained application. Based on the commit mentioned earlier, has this been fixed on the latest version of GoCD, 16.11? |
@compuguy - There was a change made to help with this, and it was released as a part of 16.11 a few days ago. The PR was this. If you have a test system, you can check whether it helps. |
@arvindsv Upgrading from 16.09 to 16.11 is on our todo list. I will have to talk to @greenmoss about when we want to test migrating to 16.11. |
Issue Type
Summary
After upgrading go CD from 16.3 to 16.6 on windows I am getting this with several pipelines, and they refuse to build:
I made sure to stop the server before starting the upgrade.
I also made a backup of the db folder after stopping the service.
Environment
16.6.0 (3590-af0f8b8ae8a4342ab748ce80224971887f018ccc)
Windows Server 2012
Additional Environment Details
Including this as it was the only part listing anything of my plugins:
Maybe /support api should include list of plugins + their versions?
Steps to Reproduce
Can't reproduce at will :/
Expected Results
I expect material updates to work after upgrade :)
Actual Results
Some materials broke updating after upgrade.
Possible Workaround
Modifying material path so it gets seen as a new material seems to work around the issue.
Log snippets
Code snippets/Screenshots
Any other info
The text was updated successfully, but these errors were encountered: