cfpm packages not installing in CI/CD. Our ColdBo...
# adobe
b
cfpm packages not installing in CI/CD. Our ColdBox test suite has had the ACF 2023 tests failing for a while now. When the cfpm command installs the packages, we get a bunch of errors at the end about packages not installing and telling us to "check the logs". (full output in 🧵 ). Since this is inside of a GitHub action, the logs aren't available to me after the fact. Which logs do I need to dump out to the console in my jobs to see the issue?
Copy code
| > cfpm install caching,zip,orm,mysql,postgresql,sqlserver,document,fe
   | ed,mail,debugge
   | Using interceptData to load server [coldbox-adobe@2023]
   | run /bin/bash "/home/runner/work/coldbox-platform/coldbox-platform/.e
   | ngine/adobe2023/WEB-INF/cfusion/bin/cfpm.sh" install caching,zip,orm,
   | mysql,postgresql,sqlserver,document,feed,mail,debugge
   | The following packages will be installed : caching:2023.0.11.330706,o
   | rm:2023.0.11.330706,document:2023.0.14.330784,debugger:2023.0.11.3307
   | 06,mail:2023.0.11.330706,feed:2023.0.05.330608,sqlserver:2023.0.05.33
   | 0608,postgresql:2023.0.11.330706,mysql:2023.0.07.330663,zip:2023.0.11
   | .33
   | Downloading the dependent package commons-logging-1.2.jar
   | Downloading the dependent package slf4j-api-1.7.12.jar
   | Downloading the dependent package commons-pool2-2.11.1.jar
   | Downloading the dependent package json-20220320.jar
   | Downloading the dependent package spymemcached-2.12.3.jar
   | Downloading the dependent package jedis-4.3.1.jar
   | Downloading the dependent package commons-jcs-core-2.1.jar
   | Downloading the dependent package ehcache-web-2.0.4.jar
   | Downloading the package caching-2023.0.11.330706.jar
   | caching (2023.0.11.330706) package and its dependencies have been dow
   | nloaded successfully
   | Downloading the dependent package hibernate-commons-annotations-5.0.1
   | .ja
   | Downloading the dependent package byte-buddy-1.12.12.jar
   | Downloading the dependent package javax.persistence-2.2.0.jar
   | Downloading the dependent package hibernate-ehcache-5.6.11.jar
   | Downloading the dependent package hibernate-core-5.6.11.jar
   | Downloading the dependent package hibernate-jpamodelgen-5.6.11.jar
   | Downloading the dependent package hibernate-testing-5.6.11.jar
   | Downloading the package orm-2023.0.11.330706.jar
   | orm (2023.0.11.330706) package and its dependencies have been downloa
   | ded successfully
   | Downloading the dependent package iText-1.0.jar
   | Downloading the dependent package iTextAsian-1.0.jar
   | Downloading the dependent package ib6coreutil-1.3.jar
   | Downloading the dependent package ib6https-1.0.jar
   | Downloading the dependent package ri_generic-1.0.jar
   | Downloading the dependent package unoloader-1.0.jar
   | Downloading the dependent package oosdkclasses-1.0.jar
   | Downloading the dependent package ib6http-1.0.jar
   | Downloading the dependent package unoil-1.0.jar
   | Downloading the dependent package fontmanager-1.0.jar
   | Downloading the package document-2023.0.14.330784.jar
   | document (2023.0.14.330784) package and its dependencies have been do
   | wnloaded successfully
   | Downloading the dependent package jetty-util-9.4.51.jar
   | Downloading the dependent package jetty-util-ajax-9.4.51.jar
   | Downloading the dependent package jetty-xml-9.4.51.jar
   | Downloading the dependent package jetty-io-9.4.51.jar
   | Downloading the dependent package jetty-server-9.4.51.jar
   | Downloading the dependent package jetty-http-9.4.51.jar
   | Downloading the dependent package jetty-servlet-9.4.51.jar
   | Downloading the dependent package jetty-security-9.4.51.jar
   | Downloading the package debugger-2023.0.11.330706.jar
   | debugger (2023.0.11.330706) package and its dependencies have been do
   | wnloaded successfully
   | Downloading the dependent package bcpkix-jdk15on-153.jar
   | Downloading the dependent package bcmail-jdk15on-153.jar
   | Downloading the package mail-2023.0.11.330706.jar
   | mail (2023.0.11.330706) package and its dependencies have been downlo
   | aded successfully
   | Downloading the dependent package jdom-1.1.1.jar
   | Downloading the dependent package rome-cf-1.0.jar
   | Downloading the package feed-2023.0.05.330608.jar
   | feed (2023.0.05.330608) package and its dependencies have been downlo
   | aded successfully
   | Downloading the dependent package adobe_sqlserverdriver-6.0.0.001282.
   | ja
   | Downloading the dependent package adobe_drivers_common-6.0.jar
   | Downloading the dependent package joda-time-2.8.jar
   | Downloading the package sqlserver-2023.0.05.330608.jar
   | sqlserver (2023.0.05.330608) package and its dependencies have been d
   | ownloaded successfully
   | Downloading the dependent package postgresql-42.7.3.jar
   | Downloading the package postgresql-2023.0.11.330706.jar
   | postgresql (2023.0.11.330706) package and its dependencies have been 
   | downloaded successfully
   | Downloading the dependent package adobe_mysqldriver-5.1.4.000266.jar
   | Downloading the package mysql-2023.0.07.330663.jar
   | mysql (2023.0.07.330663) package and its dependencies have been downl
   | oaded successfully
   | Downloading the dependent package commons-net-3.6.jar
   | Downloading the dependent package commons-httpclient-3.1.jar
   | Downloading the dependent package commons-collections-3.2.2.jar
   | Downloading the dependent package bcprov-jdk18on-1.78.1.jar
   | Downloading the dependent package zip4j-1.3.1_cf.jar
   | Downloading the dependent package jsch-0.2.17.jar
   | Downloading the package zip-2023.0.11.330706.jar
   | zip (2023.0.11.330706) package and its dependencies have been downloa
   | ded successfully
   | Packages have been downloaded. Now they will get installed.
   | caching package cannot be installed by the server. Please check the s
   | erver logs and try installing again
   | orm package cannot be installed by the server. Please check the serve
   | r logs and try installing again
   | document package cannot be installed by the server. Please check the 
   | server logs and try installing again
   | debugger package cannot be installed by the server. Please check the 
   | server logs and try installing again
   | mail package cannot be installed by the server. Please check the serv
   | er logs and try installing again
   | feed package cannot be installed by the server. Please check the serv
   | er logs and try installing again
   | sqlserver package cannot be installed by the server. Please check the
   |  server logs and try installing again
   | postgresql package cannot be installed by the server. Please check th
   | e server logs and try installing again
   | mysql package cannot be installed by the server. Please check the ser
   | ver logs and try installing again
   | zip package cannot be installed by the server. Please check the serve
   | r logs and try installing again
b
The only relevant log I can think of is this one in my ColdFusion 2023 installation directory: _Adobe_ColdFusion_2023_install_03_25_2025_10_58_44.log_ Just an idea, while we wait for someone from Adobe to respond. Hope it helps.
j
I brought this up a while ago - we get this occasionally where a random package doesn't install in our Docker dev environment. Have no idea why and couldn't find anything useful in logs. I suggested this before but it would be nice if there was a 'retry' option for cfpm, maybe with a max # of times flag as well.
Copy code
cfpm.sh --retry=3
b
Thanks for the suggestions. It's been happening daily on the ColdBox test suite 😢
n
@priyank_adobe: Can you please get it checked ?
p
@nimitsharma @bdw429s we will try this today and update.
b
Any update on this.
I'm trying to test an ACF 2021.0.20 server on my local PC today and it's taking 7 minutes for the server to start! Most of that time is cfpm, which is just taking so much time!
All of the packages I'm trying to install give this error at the end
Copy code
document package cannot be installed by the server. Please check the server logs and try installing again.
and when I check the log files under cfusion/logs there are no errors
The
WEB-INF\cfusion\logs\cfpm-audit.log
looks like everything installed successfully.
Once the server comes up, the packages show as installed
But why does the console output say the installs failed? And why is it taking 7 minutes to install?
For my local server where the install took 7 minutes, this was my install command
Copy code
cfpm install redissessionstorage,mail,sqlserver,pdf,image,debugger,adminapi,ftp,htmltopdf,print,scheduler,spreadsheet,zip,chart,caching,axis,saml,awss3legacy,awss3