Hi Jan, I downloaded the output and displayed it in VSCode. VSCode says there are 4808 lines of output. It looks like compc is called several times, but the last call is on line 587. On line 1747 the first of 3 errors are reported. I think that should cause the build to fail.
One thing you could try is to capture the same output for the successful build and compare output. Find and replace folder names so they all match before comparing output. Hope that helps, -Alex On 10/23/23, 4:09 AM, "Weber Jan" <jan.we...@dallmeier.com.inva <mailto:jan.we...@dallmeier.com.inva>LID> wrote: EXTERNAL: Use caution when clicking on links or opening attachments. Hi Alex, first of all, thank you very much for your support on this issue - really appreciated! I'm pretty sure the build output is entirely written in the console log; normally we do see here the typical stack traces and actual compiler errors in the same way we would see them from/in the IDE. I have uploaded the Jenkins output log to the cloud from the build process which fails so you can actually see what is getting logged: https://cloud.dallmeier.com/s/D246GdaGSQ9Q9km <https://cloud.dallmeier.com/s/D246GdaGSQ9Q9km> Password: H76X436K Hint: I removed a few non-public texts in the log and replaced them with "[*** CONTENT MANUALLY REMOVED HERE ***]" Mit freundlichen Grüßen / Best Regards i.A. Jan Weber Software Development Contact: Location: Head & Accounts Office: tel +49 941 8700 326 Bahnhofstr. 16 Bahnhofstr. 16 fax 93047 Regensburg 93047 Regensburg mail jan.we...@dallmeier.com <mailto:jan.we...@dallmeier.com><mailto:jan.we...@dallmeier.com <mailto:jan.we...@dallmeier.com>> Germany Germany [banner] <https://www.dallmeier.com/signatur> <https://www.dallmeier.com/signatur;> http://www.dallmeier.com/<http://www.dallmeier.com/en/home.html> <http://www.dallmeier.com/;> Dallmeier electronic GmbH & Co.KG CEO: Registry Court: VAT ID: Unlimited Partner: Registry Court: Thomas Dallmeier Amtsgericht Regensburg HRA 6827 DE813790649 Dallmeier GmbH Amtsgericht Regensburg HRB 9085 -----Ursprüngliche Nachricht----- Von: Alex Harui <aha...@adobe.com.inva <mailto:aha...@adobe.com.inva>LID> Gesendet: Donnerstag, 19. Oktober 2023 19:14 An: users@flex.apache.org <mailto:users@flex.apache.org> Cc: Fischer Michael <michael.fisc...@dallmeier.com <mailto:michael.fisc...@dallmeier.com>>; Staudte Norbert <norbert.stau...@dallmeier.com <mailto:norbert.stau...@dallmeier.com>> Betreff: Re: compc Error on CI / Jenkins (folder-name-dependent/Cache?) ACHTUNG: Diese Mail kommt von einem externen Absender. Bitte behandeln Sie alle Dateianhänge und Links mit besonderer Vorsicht. Im Zweifel wenden Sie sich bitte an die IT. The compiler source is part of the Flex SDK, so if you can build from sources you can modify the compiler to generate more info. I took a look at the exit code logic. It looks like it is returning number of errors, but it should report those errors to System.err. Could that output stream be missing from the captured output? -Alex On 10/19/23, 1:12 AM, "Weber Jan" <jan.we...@dallmeier.com.inva <mailto:jan.we...@dallmeier.com.inva> <mailto:jan.we...@dallmeier.com.inva <mailto:jan.we...@dallmeier.com.inva>>LID> wrote: EXTERNAL: Use caution when clicking on links or opening attachments. On the CI there is one job with several pipeline steps - if this job is targeting the folder with the ending "Tool" instead of "Tool2" it always fails without giving a specific error. The source code and git revision is the very same; job is set to do a clean/full checkout, too. I deleted the entire folder for "Tool" so it gets recreated but it still fails to build. I did compare the entire contents of both folders with a diff ("Tool" and "Tool2") and both are exactly the same. The job/pipeline uses both, compc and mxmlc, to first build some libraries using compc and then build the main executable using mxmlc. When the name is "Tool": 1) one specific module cannot be built with compc so the step for creating the main executable using mxmlc is never reached 2) pipeline steps before this one failing module do actually get build successfully with compc When the output folder is renamed to something else like "Tool2" everything is built successfully. The only error we can see in the logs when the one module is failing to be built is "ERROR: script returned exit code 1". The screenshot from "https://cloud.dallmeier.com/s/9Hdk6KaF4HxGQNB" <https://cloud.dallmeier.com/s/9Hdk6KaF4HxGQNB;> <https://cloud.dallmeier.com/s/9Hdk6KaF4HxGQNB;> <https://cloud.dallmeier.com/s/9Hdk6KaF4HxGQNB;> (password "FWxH9jb7") shows the job with its pipeline steps where the first build on the screenshot #7 is outputting to the folder ending with "Tool2" (successful build), the second build #8 is using the folder with the ending "Tool" (which fails, see "No changes" label indicating nothing has changed commit/repository-wise); build #9 then having changed the name of the output folder back to ending "Tool2" builds successfully again. For the upcoming build #10, I now delete the entire folder ending with "Tool" from workspace on the CI, change the project to output to folder "Tool" (which currently is "Tool2" from build #9) by renaming the project on Jenkins ("Rename Pipeline SeMSy5-Translation-Tool2" to "SeMSy5-Translation-Tool") and then it fails again to build. I was wondering if it would be possible to get a some kind of debug-version of compc which outputs additional information on the actual error and why it cannot build? Mit freundlichen Grüßen / Best Regards i.A. Jan Weber Software Development Contact: Location: Head & Accounts Office: tel +49 941 8700 326 Bahnhofstr. 16 Bahnhofstr. 16 fax 93047 Regensburg 93047 Regensburg mail jan.we...@dallmeier.com <mailto:jan.we...@dallmeier.com> <mailto:jan.we...@dallmeier.com <mailto:jan.we...@dallmeier.com>><mailto:jan.we...@dallmeier.com <mailto:jan.we...@dallmeier.com> <mailto:jan.we...@dallmeier.com <mailto:jan.we...@dallmeier.com>>> Germany Germany [banner] <https://www.dallmeier.com/signatur> <https://www.dallmeier.com/signatur;> <https://www.dallmeier.com/signatur;> <https://www.dallmeier.com/signatur;> http://www.dallmeier.com/<http://www.dallmeier.com/en/home.html> <http://www.dallmeier.com/;> <http://www.dallmeier.com/;> <http://www.dallmeier.com/;> Dallmeier electronic GmbH & Co.KG CEO: Registry Court: VAT ID: Unlimited Partner: Registry Court: Thomas Dallmeier Amtsgericht Regensburg HRA 6827 DE813790649 Dallmeier GmbH Amtsgericht Regensburg HRB 9085 -----Ursprüngliche Nachricht----- Von: Alex Harui <aha...@adobe.com.inva <mailto:aha...@adobe.com.inva> <mailto:aha...@adobe.com.inva <mailto:aha...@adobe.com.inva>>LID> Gesendet: Montag, 9. Oktober 2023 18:28 An: users@flex.apache.org <mailto:users@flex.apache.org> <mailto:users@flex.apache.org <mailto:users@flex.apache.org>> Betreff: Re: compc Error on CI / Jenkins (folder-name-dependent/Cache?) Is there a valid job/workspace/pipeline that uses the folder ending in "Tool" instead of "Tool2"? Otherwise, try deleting that workspace and see if it gets re-created again and which job did it. Are there other jobs or pipelines that run compc or mxmlc? -Alex On 10/9/23, 12:32 AM, "Weber Jan" <jan.we...@dallmeier.com.inva <mailto:jan.we...@dallmeier.com.inva> <mailto:jan.we...@dallmeier.com.inva <mailto:jan.we...@dallmeier.com.inva>> <mailto:jan.we...@dallmeier.com.inva <mailto:jan.we...@dallmeier.com.inva> <mailto:jan.we...@dallmeier.com.inva <mailto:jan.we...@dallmeier.com.inva>>>LID> wrote: EXTERNAL: Use caution when clicking on links or opening attachments. I’m reaching out to you regarding a rather strange behavior of compc on the CI/Jenkins, when it tries to build a specific swc module within a pipeline script. An error occurs, where it looks like this is actually depending on the name of the root folder where the modules are located at. The pipeline builds several modules successfully with compc but one of the modules always fails to build. If the folder where the sources are located and where compc is outputting to is renamed, the module is actually build. Same sources (/git revision, clean/new checkout). I uploaded two images for better imagination of what is going on here: Jenkins Pipeline: URL: https://cloud.dallmeier.com/s/9Hdk6KaF4HxGQNB <https://cloud.dallmeier.com/s/9Hdk6KaF4HxGQNB> <https://cloud.dallmeier.com/s/9Hdk6KaF4HxGQNB> <https://cloud.dallmeier.com/s/9Hdk6KaF4HxGQNB;> <https://cloud.dallmeier.com/s/9Hdk6KaF4HxGQNB> <https://cloud.dallmeier.com/s/9Hdk6KaF4HxGQNB;> <https://cloud.dallmeier.com/s/9Hdk6KaF4HxGQNB;> <https://cloud.dallmeier.com/s/9Hdk6KaF4HxGQNB;> Password: FWxH9jb7 Jenkins Workspace with the different folder names: URL: https://cloud.dallmeier.com/s/pj7qZCsiEebnwMT <https://cloud.dallmeier.com/s/pj7qZCsiEebnwMT> <https://cloud.dallmeier.com/s/pj7qZCsiEebnwMT> <https://cloud.dallmeier.com/s/pj7qZCsiEebnwMT;> <https://cloud.dallmeier.com/s/pj7qZCsiEebnwMT> <https://cloud.dallmeier.com/s/pj7qZCsiEebnwMT;> <https://cloud.dallmeier.com/s/pj7qZCsiEebnwMT;> <https://cloud.dallmeier.com/s/pj7qZCsiEebnwMT;> Password: MsGrttg5 When the specific module is not building, the following error is outputted - please note the difference in the folder names, which is "SeMSy5-Translation-Tool" (building fails) and "SeMSy5-Translation-Tool2" (building successfully). Running in D:\Program Files (x86)\Jenkins\workspace\SeMSy5-Translation-Tool\SeMSy-Next-Lib D:\Program Files (x86)\Jenkins\workspace\SeMSy5-Translation-Tool\SeMSy-Next-Lib>"C:\Program Files (x86)\Ant-1.10.12\bin\ant" main Buildfile: D:\Program Files (x86)\Jenkins\workspace\SeMSy5-Translation-Tool\SeMSy-Next-Lib\build.xml [compc] Loading configuration file D:\dependencies\AIR_50.2.2\frameworks\air-config.xml BUILD FAILED D:\Program Files (x86)\Jenkins\workspace\SeMSy5-Translation-Tool\SeMSy-Next-Lib\build.xml:46: compc task failed. ERROR: script returned exit code 1 When it is building, the following output: Running in D:\Program Files (x86)\Jenkins\workspace\SeMSy5-Translation-Tool2\SeMSy-Next-Lib D:\Program Files (x86)\Jenkins\workspace\SeMSy5-Translation-Tool2\SeMSy-Next-Lib>"C:\Program Files (x86)\Ant-1.10.12\bin\ant" main Buildfile: D:\Program Files (x86)\Jenkins\workspace\SeMSy5-Translation-Tool2\SeMSy-Next-Lib\build.xml [compc] Loading configuration file D:\dependencies\AIR_50.2.2\frameworks\air-config.xml [compc] D:\Program Files (x86)\Jenkins\workspace\SeMSy5-Translation-Tool2\SeMSy-Next-Lib\build\SeMSy-Next-Lib.swc (15942226 bytes) BUILD SUCCESSFUL The issue is very strange and hard to understand. Could anyone imagine anything that may cause this? Is something cached somewhere where I could clear the cache? Mit freundlichen Grüßen / Best Regards i.A. Jan Weber Software Development Contact: Location: Head & Accounts Office: tel +49 941 8700 326 Bahnhofstr. 16 Bahnhofstr. 16 fax 93047 Regensburg 93047 Regensburg mail jan.we...@dallmeier.com <mailto:jan.we...@dallmeier.com> <mailto:jan.we...@dallmeier.com <mailto:jan.we...@dallmeier.com>> <mailto:jan.we...@dallmeier.com <mailto:jan.we...@dallmeier.com> <mailto:jan.we...@dallmeier.com <mailto:jan.we...@dallmeier.com>>><mailto:jan.we...@dallmeier.com <mailto:jan.we...@dallmeier.com> <mailto:jan.we...@dallmeier.com <mailto:jan.we...@dallmeier.com>> <mailto:jan.we...@dallmeier.com <mailto:jan.we...@dallmeier.com> <mailto:jan.we...@dallmeier.com <mailto:jan.we...@dallmeier.com>>>> Germany Germany [banner] <https://www.dallmeier.com/signatur> <https://www.dallmeier.com/signatur;> <https://www.dallmeier.com/signatur;> <https://www.dallmeier.com/signatur;> <https://www.dallmeier.com/signatur;> <https://www.dallmeier.com/signatur;> <https://www.dallmeier.com/signatur;> <https://www.dallmeier.com/signatur;> http://www.dallmeier.com/<http://www.dallmeier.com/en/home.html> <http://www.dallmeier.com/;> <http://www.dallmeier.com/;> <http://www.dallmeier.com/;> <http://www.dallmeier.com/;> <http://www.dallmeier.com/;> <http://www.dallmeier.com/;> <http://www.dallmeier.com/;> Dallmeier electronic GmbH & Co.KG CEO: Registry Court: VAT ID: Unlimited Partner: Registry Court: Thomas Dallmeier Amtsgericht Regensburg HRA 6827 DE813790649 Dallmeier GmbH Amtsgericht Regensburg HRB 9085