FHIR Chat · Is main branch broken? · committers

Stream: committers

Topic: Is main branch broken?


view this post on Zulip Jose Costa Teixeira (Jun 11 2021 at 17:02):

(nevermind, had an issue, walking back because it's my problem)

view this post on Zulip Jose Costa Teixeira (Jun 11 2021 at 18:05):

My local build is complaining

ERROR @ fhir:ValueSet[example-filter].compose.include[1]: The system 'http://hl7.org/fhir/CodeSystem/example' is not valid
ERROR @ fhir:ValueSet[nhin-purposeofuse].compose.include[1]: The system 'http://healthit.gov/nhin/purposeofuse' is not valid

view this post on Zulip Jose Costa Teixeira (Jun 11 2021 at 18:06):

CI build seems ok

view this post on Zulip Jose Costa Teixeira (Jun 11 2021 at 18:06):

I'm on windows, JDK 14. Any ideas?

view this post on Zulip Rob Hausam (Jun 11 2021 at 18:38):

@Jose Costa Teixeira The only thing that comes to mind if it works in CI and you have errors like this locally, is something odd that's in your local txcache. You might want to delete the txcache files (at least the relevant ones, if not all of them) and see if that helps.

view this post on Zulip Jose Costa Teixeira (Jun 11 2021 at 19:16):

in which folder is the txcache in the core build? vscache? or temp?

view this post on Zulip Rob Hausam (Jun 11 2021 at 19:33):

It's in vscache.

view this post on Zulip Jose Costa Teixeira (Jun 11 2021 at 20:01):

thanks. cleaned it, same error, but then I figured out what I was doing wrong.

view this post on Zulip Jose Costa Teixeira (Jun 11 2021 at 20:52):

...and another one
The CI build was working well in my lat commit, but now it is not. I get these errors that seem intermittent

view this post on Zulip Jose Costa Teixeira (Jun 11 2021 at 20:52):

https://dev.azure.com/fhir-pipelines/fhir-publisher/_build/results?buildId=3588&view=logs&j=ab68b630-6476-573a-954f-d89e4292687e&t=ab58c233-aa15-51d8-8258-3d2a9910e74a

view this post on Zulip Jose Costa Teixeira (Jun 11 2021 at 20:53):

I haven't touched the mentioned files and it was building before.

view this post on Zulip Jose Costa Teixeira (Jun 11 2021 at 20:53):

@Mark Iantorno any idea?

view this post on Zulip Jose Costa Teixeira (Jun 11 2021 at 20:56):

(oops, i restarted the build so I killed the log). The error was a failure to validate examples

view this post on Zulip Jose Costa Teixeira (Jun 11 2021 at 20:58):

medicinalproductdefinition-example-co-packaged-liquid-and-syringe.xml
medicinalproductdefinition-example-co-packaged-liquid-and-syringe-complete.xml (line 289, col10)
packagedproductdefinition-example-co-packaged-liquid-and-syringe.xml (line 8, col10)
@Rik Smithies have you seen these errors before?

view this post on Zulip Jose Costa Teixeira (Jun 11 2021 at 21:40):

this is strange. a few changes to devicedefinition and the build crashes due to issues in the medication stuff

view this post on Zulip Jose Costa Teixeira (Jun 11 2021 at 21:41):

I'm blocked and would appreciate any suggestions.

view this post on Zulip Mark Iantorno (Jun 11 2021 at 22:30):

Let me take a quick look

view this post on Zulip Mark Iantorno (Jun 11 2021 at 22:30):

So both master and R4B and building fine according to the pipelines.

view this post on Zulip Mark Iantorno (Jun 11 2021 at 22:30):

I would clean your local fhir cache

view this post on Zulip Mark Iantorno (Jun 11 2021 at 22:31):

Clean your local gradle cache

view this post on Zulip Mark Iantorno (Jun 11 2021 at 22:31):

build the project again

view this post on Zulip Mark Iantorno (Jun 11 2021 at 22:31):

if it still doesn't build try to run the command manually ./gradlew clean publish

view this post on Zulip Mark Iantorno (Jun 11 2021 at 22:31):

Let me know if that doesn't work

view this post on Zulip Jose Costa Teixeira (Jun 14 2021 at 21:15):

@Mark Iantorno it works, i had some junk somewhere that made me follow a wrong path. After cleaning everything up, i saw my issue was with some dependencies (my changes affected those resources so of course the publisher would complain)


Last updated: Apr 12 2022 at 19:14 UTC