Stream: committers
Topic: Build Pipeline
Bryn Rhodes (Feb 10 2021 at 03:28):
Committed to the main branch and the build pipeline is saying it can't find the specified JDK version?
Bryn Rhodes (Feb 10 2021 at 03:29):
Do I just re-run the build?
Grahame Grieve (Feb 10 2021 at 03:29):
@Mark Iantorno
Mark Iantorno (Feb 10 2021 at 03:29):
?
Mark Iantorno (Feb 10 2021 at 03:29):
Did you change the java version?
Mark Iantorno (Feb 10 2021 at 03:30):
interesting
Mark Iantorno (Feb 10 2021 at 03:31):
let me look
Bryn Rhodes (Feb 10 2021 at 03:32):
No, I only committed resource changes
Mark Iantorno (Feb 10 2021 at 04:16):
The GCP compute engine blew away the JAVA installation
Mark Iantorno (Feb 10 2021 at 04:16):
on restart
Mark Iantorno (Feb 10 2021 at 04:17):
I will fix it first thing tomorrow
Mark Iantorno (Feb 10 2021 at 04:17):
it's pooched for now
Mark Iantorno (Feb 10 2021 at 04:17):
I will make it persist
Mark Iantorno (Feb 10 2021 at 04:17):
sorry
Bryn Rhodes (Feb 10 2021 at 15:37):
No worries, thanks for the update!
Mark Iantorno (Feb 10 2021 at 17:17):
OKAY
Mark Iantorno (Feb 10 2021 at 17:18):
so that was a bigger pain than anticipated, but I have changed it so the pipeline doesn't depend on the building agent local environment to run the build. It reaches out externally to download the JDK8, and then installs it and sets the proper environment variables right at build time, so technically, this pipeline would run on any machine
Mark Iantorno (Feb 10 2021 at 17:18):
running the test builds now
Rik Smithies (Feb 11 2021 at 12:01):
when I commit my build checks appear to be sticking:
The normal build checks pass ok (takes 30 minutes) but then this seems to not be completing:
Some checks haven’t completed yet
2 expected and 4 successful checks
Pull Request Pipeline (buildSpecification) Expected — Waiting for status to be reported
Required
Pull Request Pipeline (publish) Expected — Waiting for status to be reported
Required
Mark Iantorno (Feb 11 2021 at 15:30):
If you pushed changes in the last 2 days, there were issues with the pipeline that I have since fixed
Mark Iantorno (Feb 11 2021 at 15:31):
send me the link to the pull requests that are stuck and I will restart the process and they should go through
Mark Iantorno (Feb 11 2021 at 15:32):
if you look at the history now, you will see that Late Monday- Early Wednesday, there were issues, but they are running as expected again
Mark Iantorno (Feb 11 2021 at 15:32):
https://dev.azure.com/fhir-pipelines/fhir-publisher/_build?definitionId=42
Richard Ettema (Feb 11 2021 at 17:33):
@Mark Iantorno, I have a pull request https://github.com/HL7/fhir/pull/1084 where there are two checks that appear to be stuck.
Bryn Rhodes (Feb 11 2021 at 18:05):
@Mark Iantorno , same pattern on https://github.com/HL7/fhir/pull/1092
Mark Iantorno (Feb 11 2021 at 18:17):
Pull the master (or R4B) branch into the branch you are working on to get the latest pipeline changes, and then reopen the pull request
Mark Iantorno (Feb 11 2021 at 18:17):
that should fix the issue
Mark Iantorno (Feb 11 2021 at 18:17):
I will monitor the build pipeline
Richard Ettema (Feb 11 2021 at 18:25):
I did do that this morning (and have been doing that as I've seen your commits happening over the past few days). You can see my "Merge branch 'master' into rje-testscript-scope" attempts at the end of the Conversation list. As far as I can tell, I have the latest from 'master' merged into my pull request.
Rik Smithies (Feb 11 2021 at 18:35):
thanks @Mark Iantorno mine is https://github.com/HL7/fhir/pull/1091
Mark Iantorno (Feb 11 2021 at 18:43):
Please everyone check your branches again
Mark Iantorno (Feb 11 2021 at 18:43):
I have fixed the issue
Richard Ettema (Feb 11 2021 at 18:50):
:+1: Thank you.
Bryn Rhodes (Feb 11 2021 at 20:36):
Build failed, but I'm not 100% sure I understand why. It looks like it's getting validation errors in Claim examples, but I didn't change any Claim example resources.
Mark Iantorno (Feb 11 2021 at 20:49):
Does it work locally for you?
Bryn Rhodes (Feb 11 2021 at 20:52):
It did when I committed it, but several merges from master have happened, let me sync and make sure it still builds locally
Bryn Rhodes (Feb 12 2021 at 00:40):
Builds locally after sync'ing.
Bryn Rhodes (Feb 12 2021 at 00:42):
This is the error in the build log:
ERROR @ Claim.item[0].productOrService.coding[0] (line 0, col0): claim-example-institutional:: Claim.item[0].productOrService.coding[0]: Unknown Code System 'http://hl7.org/fhir/ex-serviceproduct' (src = InstanceValidator)
ERROR @ Claim.item[0].productOrService.coding[0] (line 0, col0): claim-example-institutional-rich:: Claim.item[0].productOrService.coding[0]: Unknown Code System 'http://hl7.org/fhir/ex-serviceproduct' (src = InstanceValidator)
ERROR @ Claim.item[0].productOrService.coding[0] (line 0, col0): claim-example-professional:: Claim.item[0].productOrService.coding[0]: Unknown Code System 'http://hl7.org/fhir/ex-serviceproduct' (src = InstanceValidator)
ERROR @ Claim.item[0].productOrService.coding[0] (line 0, col0): claim-example-pharmacy:: Claim.item[0].productOrService.coding[0]: Unknown Code System 'http://hl7.org/fhir/ex-pharmaservice' (src = InstanceValidator)
ERROR @ Claim.item[0].detail[0].productOrService.coding[0] (line 0, col0): claim-example-pharmacy-medication:: Claim.item[0].detail[0].productOrService.coding[0]: Unknown Code System 'http://hl7.org/fhir/ex-pharmaservice' (src = InstanceValidator)
ERROR @ Claim.item[0].detail[1].productOrService.coding[0] (line 0, col0): claim-example-pharmacy-medication:: Claim.item[0].detail[1].productOrService.coding[0]: Unknown Code System 'http://hl7.org/fhir/ex-pharmaservice' (src = InstanceValidator)
ERROR @ Claim.item[0].detail[2].productOrService.coding[0] (line 0, col0): claim-example-pharmacy-medication:: Claim.item[0].detail[2].productOrService.coding[0]: Unknown Code System 'http://hl7.org/fhir/ex-pharmaservice' (src = InstanceValidator)
ERROR @ Claim.item[0].detail[0].subDetail[0].productOrService.coding[0] (line 0, col0): claim-example-pharmacy-compound:: Claim.item[0].detail[0].subDetail[0].productOrService.coding[0]: Unknown Code System 'http://hl7.org/fhir/ex-pharmaservice' (src = InstanceValidator)
ERROR @ Claim.item[0].detail[1].subDetail[0].productOrService.coding[0] (line 0, col0): claim-example-pharmacy-compound:: Claim.item[0].detail[1].subDetail[0].productOrService.coding[0]: Unknown Code System 'http://hl7.org/fhir/ex-pharmaservice' (src = InstanceValidator)
ERROR @ Claim.item[0].detail[2].subDetail[0].productOrService.coding[0] (line 0, col0): claim-example-pharmacy-compound:: Claim.item[0].detail[2].subDetail[0].productOrService.coding[0]: Unknown Code System 'http://hl7.org/fhir/ex-pharmaservice' (src = InstanceValidator)
ERROR @ Claim.item[0].detail[3].productOrService.coding[0] (line 0, col0): claim-example-pharmacy-compound:: Claim.item[0].detail[3].productOrService.coding[0]: Unknown Code System 'http://hl7.org/fhir/ex-pharmaservice' (src = InstanceValidator)
ERROR @ Claim.item[0].detail[4].productOrService.coding[0] (line 0, col0): claim-example-pharmacy-compound:: Claim.item[0].detail[4].productOrService.coding[0]: Unknown Code System 'http://hl7.org/fhir/ex-pharmaservice' (src = InstanceValidator)
Mark Iantorno (Feb 12 2021 at 01:12):
you pulled master and it build locally, but when you push the branch it doesn't build?
Mark Iantorno (Feb 12 2021 at 01:12):
could you try closing your pull request and opening a new one
Mark Iantorno (Feb 12 2021 at 16:55):
@Bryn Rhodes you just needed to pull master into your branch
Mark Iantorno (Feb 12 2021 at 16:55):
https://github.com/HL7/fhir/pull/1092
Mark Iantorno (Feb 12 2021 at 16:56):
I merged in the latest master and it worked
Bryn Rhodes (Feb 12 2021 at 17:27):
Awesome thank you. I had tried that, but I must have missed the latest or something.
Last updated: Apr 12 2022 at 19:14 UTC