ipm icon indicating copy to clipboard operation
ipm copied to clipboard

Expand packages CI workflow to cover *all* packages

Open isc-tleavitt opened this issue 1 year ago • 2 comments

We'll end up adding more things to #475 as a result. @isc-shuliu found one issue in an InterSystems package that escaped the existing workflow - we'll want to expand eventually anyway, so let's just do it now!

isc-tleavitt avatar Jun 07 '24 18:06 isc-tleavitt

@isc-tleavitt The 256 job limit is a hard cap set by GitHub. I'm working on an amazing idea that uses high dimensional pooled testing to get a list of potentially failing packages. Once done right, the probability for false positives (packages that are flagged as failure but are actually passing) will be very close to 0 and there will be no false negatives (packages that are not flagged as failure but actually failed).

isc-shuliu avatar Jun 13 '24 15:06 isc-shuliu

These packages that are passing in master but not in v1:

  • [x] appmsw-banks-ru This module requires an interoperability-enabled namespace.
  • [x] appmsw-sql2xlsx This module requires an interoperability-enabled namespace. [appmsw-sql2xlsx] Activate FAILURE ERROR! ObjectScript error: <CLASS DOES NOT EXIST>IsInstallzpm+1^appmsw.python.util.1 *%ZPM.PackageManager
  • [x] bg-appealai This module requires an interoperability-enabled namespace. [bg-appealai] Activate FAILURE ERROR! ObjectScript error: <NAMESPACE>SetupServer+10^Init.Setup.1
  • [x] demo-pandas-analytics In %IPM.Storage.Module:LoadDependencies, the call Set tSC = ##class(%IPM.Utils.Module).LoadDependencies(.tDependencyGraph,.tParams) hanged.
    zw tDependencyGraph
    tDependencyGraph("dsw")=$lb(1,"registry","3.2.26")
    tDependencyGraph("mdx2json")=$lb(2,"registry","3.2.41")
    tDependencyGraph("mdx2json","dsw 3.2.26")="3.*"
    tDependencyGraph("yaml-utils")=$lb(2,"registry","0.1.4")
    tDependencyGraph("yaml-utils","zpm-registry 1.2.7")="0.1.*"
    tDependencyGraph("zpm-registry")=$lb(1,"registry","1.2.7")
    
    zw tParams
    tParams("DeveloperMode")=0
    tParams("Verbose")=1
    tParams("cmd")="install"
    tParams("qstruct")="ckd"
    
  • [x] evshvarov-covid19-analytics (This one somehow takes too long to install)
  • [x] fhir-server [fhir-server] Activate FAILURE ERROR! ObjectScript error: <NAMESPACE>SetupFHIRServer+3^fhirtemplate.Setup.1
  • [x] glassdoor-reviews ERROR! Class '%Library.Vector', used by 'dc.data.GlassdoorReviews:property:consVector', does not exist
  • [x] health-harbour [health-harbour] Activate FAILURE ERROR! ObjectScript error: <NAMESPACE>SetupFHIRServer+3^fhir.Setup.1
  • [x] interoperability-for-money Won't fix
  • [x] iris-fhirfy [USER|swagger-ui] Activate SUCCESS ERROR! ObjectScript error: <NAMESPACE>SetupFHIRServer+3^fhirtemplate.Setup.1
  • [x] iris-flow [iris-climatiq-adapter] Compile FAILURE Module appmsw-telestat was downloaded from registry (https://pm.community.intersystems.com/) Loading from /opt/ipm-dev/mgr/.modules/USER/appmsw-telestat/1.0.3/ Load started on 07/30/2024 10:27:45 Loading file /opt/ipm-dev/mgr/.modules/USER/appmsw-telestat/1.0.3/module.xml as xml Imported document: appmsw-telestat.ZPM Load finished successfully. ERROR! Class 'Ens.BusinessOperation', used by 'dc.jrpereirajr.interop.adapter.climatiq.ClimatiqOperation:superclass', does not exist
  • [x] iris-health-coach ERROR! This module requires an interoperability-enabled namespace. USER is not interoperability-enabled. Loading pex-embbeded-python in process 97029 [INTEROP|pex-embbeded-python] Reload START (/opt/ipm-dev/mgr/.modules/INTEROP/pex-embbeded-python/2.3.8/) [INTEROP|pex-embbeded-python] requirements.txt START

Detecting pip caller Attempting to find python3 or python... [INTEROP|pex-embbeded-python] requirements.txt FAILURE [pex-embbeded-python] Reload FAILURE ERROR! ObjectScript error: <NOTOPEN>DetectPipCaller+42^%IPM.Lifecycle.Base.1

  • [x] iris-medicopilot ERROR! The module cannot be installed on the current version (2023.1) of the system, version ">=2024.1" is required
  • [x] iris-rad-studio (passing)
  • [x] iris-vectorlab chmod-R775/opt/ipm09/csp/vectorlab/ chmod-R775/opt/ipm09/csp/vectorlab/ Clearing CSPGateway cache of /csp/vectorlab/* [iris-VectorLab] Configure FAILURE [iris-VectorLab] Activate FAILURE ERROR! ObjectScript error: \<PYTHON EXCEPTION\> *<class 'ImportError'
ImportError: Failed to load PyTorch C extensions:
    It appears that PyTorch has loaded the `torch/_C` folder
    of the PyTorch repository rather than the C extensions which
    are expected in the `torch._C` namespace. This can occur when
    using the `install` workflow. e.g.
        $ python setup.py install && python -c "import torch"
    This error can generally be solved using the `develop` workflow
        $ python setup.py develop && python -c "import torch"  # This should succeed
    or by running Python from a different directory.
  • [x] isc.ipm.js Fixed on GitHub. Registry version not yet up-to-date. [isc.ipm.js] Compile FAILURE ERROR! Class '%ZPM.PackageManager.Developer.Processor.Abstract', used by 'pkg.isc.ipm.js.base.processor:superclass', does not exist ERROR #5030: An error occurred while compiling class 'pkg.isc.ipm.js.angular.processor'

  • [x] isc.json Fixed on GitHub. Registry version not yet up-to-date. Compilation started on 07/30/2024 14:07:29 Compiling class pkg.isc.json.lifecycle ERROR #5002: ObjectScript error: <CLASS DOES NOT EXIST>RunOnLoad+4^pkg.isc.json.lifecycle.G1 *%ZPM.PackageManager.Developer.Utils ERROR #5490: Error running generator for method 'RunOnLoad:pkg.isc.json.lifecycle' ERROR: pkg.isc.json.lifecycle.G1.int(RunOnLoad+4) : <CLASS DOES NOT EXIST> ERROR: pkg.isc.json.lifecycle.cls(RunOnLoad) of generated code ERROR #5030: An error occurred while compiling class 'pkg.isc.json.lifecycle' Compiling routine pkg.isc.json.lifecycle.1 Detected 1 errors during compilation in 0.100s.

    ERROR! ObjectScript error: <CLASS DOES NOT EXIST>RunOnLoad+4^pkg.isc.json.lifecycle.G1 *%ZPM.PackageManager.Developer.Utils ERROR #5490: Error running generator for method 'RunOnLoad:pkg.isc.json.lifecycle' ERROR: pkg.isc.json.lifecycle.G1.int(RunOnLoad+4) : <CLASS DOES NOT EXIST> ERROR: pkg.isc.json.lifecycle.cls(RunOnLoad) of generated code

    ERROR #5030: An error occurred while compiling class 'pkg.isc.json.lifecycle'

  • [x] openapi-server-gen This package has been archived and deprecated in favor of openapi-suite, which passes successfully (Probably because of missing JDK)

  • [x] samples-bi (Installation taking longer than 30 seconds)

  • [x] telegram-gpt ERROR! This module requires an interoperability-enabled namespace. USER is not interoperability-enabled. ERROR! Command pip not found.

  • [x] vscode-snippets-john.murray-example (won't fix) ERROR! ObjectScript error: <CLASS DOES NOT EXIST>doInvoke+5^%IPM.Storage.InvokeReference.1 *%Z.IPM.Bootstraps.Main

  • [x] zbash [zbash] Compile FAILURE ERROR! Error compiling routine: %ZBASH.zbash. Errors: %ZBASH.zbash.cls ERROR: %ZBASH.zbash.1(7) : MPP5635 : No include file '%ZPM.PackageManager.Common' TEXT: #include %ZPM.PackageManager.Common

  • [x] zpip [zpip] Compile FAILURE ERROR! Error compiling routine: %ZPIP.zpip. Errors: %ZPIP.zpip.cls ERROR: %ZPIP.zpip.1(7) : MPP5635 : No include file '%ZPM.PackageManager.Common' TEXT: #include %ZPM.PackageManager.Common

  • [x] zpm-generate-ui This has been fixed in the latest version of zpm-generate-ui on GitHub, but somehow the registry version isn't up-to-date. ERROR! This module requires an interoperability-enabled namespace. USER is not interoperability-enabled. ERROR! ObjectScript error: <CLASS DOES NOT EXIST>IsInstallzpm+1^apptools.lte.zapm.1 *%ZPM.PackageManager

These packages are passing on v1 but failing on master

  • [ ] analytics-okr
  • [ ] cloudstudio
  • [ ] cmpurgebackup
  • [ ] code-compare
  • [ ] collection-index-and-query
  • [ ] columnar-native
  • [ ] healthcare-hl7-xml
  • [ ] ifindportal
  • [ ] ijc-demo
  • [ ] iknow-utils
  • [ ] imageaicreator
  • [ ] imagesearchvideo
  • [ ] import-csv-update-sql
  • [ ] initecp
  • [ ] iris-history-monitor
  • [ ] iris-image-index-demo
  • [ ] iris-image-verctor-search
  • [ ] iris-imap-python-adaptor
  • [ ] iris-internal-websocket-client
  • [ ] jirisreport
  • [ ] realworld
  • [ ] restoreui

isc-shuliu avatar Jul 26 '24 16:07 isc-shuliu

vscode-snippets-john.murray-example ERROR! ObjectScript error: <CLASS DOES NOT EXIST>doInvoke+5^%IPM.Storage.InvokeReference.1 *%Z.IPM.Bootstraps.Main

The issue here seems to be that IPM doesn't actually compile the class.

isc-tleavitt avatar Aug 22 '24 13:08 isc-tleavitt

This is all working now, going to create a followup issue to automate summarization.

isc-tleavitt avatar Aug 26 '24 13:08 isc-tleavitt