I’m attempting to perform a simple update using the official Github Actions for Liquibase.
My changelog.xml is in the parent folder of the repository. When I’m running the update@v4.27.0, I’m getting an error that liquibase thinks that my changelog.xml is a folder.
I’ve chmod 777 the permission to attempt to make the file as wide open as possible since it’s just a simple test.
I am using a self hosted runner. When I perform the ls -l prior to calling the action, it detects the file as it should in the /github/workflow directory.
##[group]Run liquibase-github-actions/update@v4.27.0
2024-05-13T14:22:35.8958592Z with:
2024-05-13T14:22:35.8958859Z changelogFile: changelog.xml
2024-05-13T14:22:35.8959320Z url: ***
2024-05-13T14:22:35.8959972Z headless: true
2024-05-13T14:22:35.8960248Z logLevel: INFO
2024-05-13T14:22:35.8960779Z username: ***
2024-05-13T14:22:35.8961068Z password: ***
2024-05-13T14:22:35.8961347Z showSummary: verbose
2024-05-13T14:22:35.8961652Z ##[endgroup]
2024-05-13T14:22:35.9303907Z ##[command]/usr/local/bin/docker run --name a5c8f9e279c44e5db24af1af2117cb79bbc708_9d5ff0 --label a5c8f9 --workdir /github/workspace --rm -e “INPUT_CHANGELOGFILE” -e “INPUT_URL” -e “INPUT_HEADLESS” -e “INPUT_LOGLEVEL” -e “INPUT_USERNAME” -e “INPUT_PASSWORD” -e “INPUT_SHOWSUMMARY” -e “INPUT_CHANGEEXECLISTENERCLASS” -e “INPUT_CHANGEEXECLISTENERPROPERTIESFILE” -e “INPUT_CONTEXTFILTER” -e “INPUT_DEFAULTCATALOGNAME” -e “INPUT_DEFAULTSCHEMANAME” -e “INPUT_DRIVER” -e “INPUT_DRIVERPROPERTIESFILE” -e “INPUT_LABELFILTER” -e “INPUT_REPORTENABLED” -e “INPUT_REPORTNAME” -e “INPUT_REPORTPATH” -e “INPUT_ROLLBACKONERROR” -e “INPUT_SHOWSUMMARYOUTPUT” -e “INPUT_ADDEMPTYMDCVALUES” -e “INPUT_ALLOWDUPLICATEDCHANGESETIDENTIFIERS” -e “INPUT_ALWAYSDROPINSTEADOFREPLACE” -e “INPUT_ALWAYSOVERRIDESTOREDLOGICSCHEMA” -e “INPUT_AUTOREORG” -e “INPUT_CHANGELOGLOCKPOLLRATE” -e “INPUT_CHANGELOGLOCKWAITTIMEINMINUTES” -e “INPUT_CHANGELOGPARSEMODE” -e “INPUT_CLASSPATH” -e “INPUT_CONVERTDATATYPES” -e “INPUT_CUSTOMLOGDATAFILE” -e “INPUT_CUSTOMLOGDATAFREQUENCY” -e “INPUT_DATABASECHANGELOGLOCKTABLENAME” -e “INPUT_DATABASECHANGELOGTABLENAME” -e “INPUT_DATABASECLASS” -e “INPUT_DBCLHISTORYCAPTUREEXTENSIONS” -e “INPUT_DBCLHISTORYCAPTURESQL” -e “INPUT_DBCLHISTORYENABLED” -e “INPUT_DBCLHISTORYSEVERITY” -e “INPUT_DBCLHISTORYTABLENAME” -e “INPUT_DDLLOCKTIMEOUT” -e “INPUT_DEFAULTSFILE” -e “INPUT_DIFFCOLUMNORDER” -e “INPUT_DUPLICATEFILEMODE” -e “INPUT_ERRORONCIRCULARINCLUDEALL” -e “INPUT_FILEENCODING” -e “INPUT_FILTERLOGMESSAGES” -e “INPUT_FLOWVERBOSETOSTRING” -e “INPUT_GENERATECHANGESETCREATEDVALUES” -e “INPUT_GENERATEDCHANGESETIDSCONTAINSDESCRIPTION” -e “INPUT_INCLUDECATALOGINSPECIFICATION” -e “INPUT_INCLUDEMATCHINGTAGINROLLBACKOLDEST” -e “INPUT_INCLUDERELATIONSFORCOMPUTEDCOLUMNS” -e “INPUT_INCLUDESYSTEMCLASSPATH” -e “INPUT_LICENSEKEY” -e “INPUT_LIQUIBASECATALOGNAME” -e “INPUT_LIQUIBASESCHEMANAME” -e “INPUT_LIQUIBASETABLESPACENAME” -e “INPUT_LOGCHANNELS” -e “INPUT_LOGFILE” -e “INPUT_LOGFORMAT” -e “INPUT_MIRRORCONSOLEMESSAGESTOLOG” -e “INPUT_MISSINGPROPERTYMODE” -e “INPUT_MONITORPERFORMANCE” -e “INPUT_NATIVEEXECUTOR” -e “INPUT_ONMISSINGINCLUDECHANGELOG” -e “INPUT_ONMISSINGSQLFILE” -e “INPUT_OUTPUTFILE” -e “INPUT_OUTPUTFILEENCODING” -e “INPUT_OUTPUTLINESEPARATOR” -e “INPUT_PRESERVESCHEMACASE” -e “INPUT_PROFORCEONPARTIALCHANGES” -e “INPUT_PROGLOBALENDDELIMITER” -e “INPUT_PROGLOBALENDDELIMITERPRIORITIZED” -e “INPUT_PROLICENSEKEY” -e “INPUT_PROMARKUNUSEDNOTDROP” -e “INPUT_PROSQLINLINE” -e “INPUT_PROSYNONYMSDROPPUBLIC” -e “INPUT_PROMPTFORNONLOCALDATABASE” -e “INPUT_PROPERTYPROVIDERCLASS” -e “INPUT_REPORTSENABLED” -e “INPUT_REPORTSFORMAT” -e “INPUT_REPORTSNAME” -e “INPUT_REPORTSPATH” -e “INPUT_SEARCHPATH” -e “INPUT_SECUREPARSING” -e “INPUT_SHOULDRUN” -e “INPUT_SHOULDSNAPSHOTDATA” -e “INPUT_SHOWBANNER” -e “INPUT_SHOWHIDDENARGS” -e “INPUT_SQLLOGLEVEL” -e “INPUT_SQLSHOWSQLWARNINGS” -e “INPUT_STRICT” -e “INPUT_SUPPORTPROPERTYESCAPING” -e “INPUT_UISERVICE” -e “INPUT_USEPROCEDURESCHEMA” -e “INPUT_VALIDATEXMLCHANGELOGFILES” -e “INPUT_WORKAROUNDORACLECLOBCHARACTERLIMIT” -e “HOME” -e “GITHUB_JOB” -e “GITHUB_REF” -e “GITHUB_SHA” -e “GITHUB_REPOSITORY” -e “GITHUB_REPOSITORY_OWNER” -e “GITHUB_REPOSITORY_OWNER_ID” -e “GITHUB_RUN_ID” -e “GITHUB_RUN_NUMBER” -e “GITHUB_RETENTION_DAYS” -e “GITHUB_RUN_ATTEMPT” -e “GITHUB_REPOSITORY_ID” -e “GITHUB_ACTOR_ID” -e “GITHUB_ACTOR” -e “GITHUB_TRIGGERING_ACTOR” -e “GITHUB_WORKFLOW” -e “GITHUB_HEAD_REF” -e “GITHUB_BASE_REF” -e “GITHUB_EVENT_NAME” -e “GITHUB_SERVER_URL” -e “GITHUB_API_URL” -e “GITHUB_GRAPHQL_URL” -e “GITHUB_REF_NAME” -e “GITHUB_REF_PROTECTED” -e “GITHUB_REF_TYPE” -e “GITHUB_WORKFLOW_REF” -e “GITHUB_WORKFLOW_SHA” -e “GITHUB_WORKSPACE” -e “GITHUB_ACTION” -e “GITHUB_EVENT_PATH” -e “GITHUB_ACTION_REPOSITORY” -e “GITHUB_ACTION_REF” -e “GITHUB_PATH” -e “GITHUB_ENV” -e “GITHUB_STEP_SUMMARY” -e “GITHUB_STATE” -e “GITHUB_OUTPUT” -e “RUNNER_OS” -e “RUNNER_ARCH” -e “RUNNER_NAME” -e “RUNNER_ENVIRONMENT” -e “RUNNER_TOOL_CACHE” -e “RUNNER_TEMP” -e “RUNNER_WORKSPACE” -e “ACTIONS_RUNTIME_URL” -e “ACTIONS_RUNTIME_TOKEN” -e “ACTIONS_CACHE_URL” -e “ACTIONS_RESULTS_URL” -e GITHUB_ACTIONS=true -e CI=true -v “/var/run/docker.sock”:“/var/run/docker.sock” -v "/home/docker/actions-runner/work/temp/github_home":“/github/home” -v "/home/docker/actions-runner/work/temp/github_workflow":“/github/workflow” -v "/home/docker/actions-runner/work/temp/runner_file_commands":“/github/file_commands” -v "/home/docker/actions-runner/work/poc-liquibase-open-source/poc-liquibase-open-source":“/github/workspace” a5c8f9:e279c44e5db24af1af2117cb79bbc708 “” “” “changelog.xml” “” “” “” “” “” “” “" “” “” “” “” “verbose” “” "jdbc:oracle:thin:" "*” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “true” “” “” “” “” “” “” “” “” “” “” “” “INFO” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “”
2024-05-13T14:22:37.4293714Z ####################################################
2024-05-13T14:22:37.4294774Z ## _ _ _ _ ##
2024-05-13T14:22:37.4300688Z ## | | () () | ##
2024-05-13T14:22:37.4301579Z ## | | _ __ _ _ _ | | __ _ ___ ___ ##
2024-05-13T14:22:37.4423117Z ## | | | |/ | | | | | '_ \ / _
/ |/ _ \ ##
2024-05-13T14:22:37.4425623Z ## | || | (| | || | | |) | (| _ \ __/ ##
2024-05-13T14:22:37.4426332Z ## _/|_, |_,||./ _,|/_| ##
2024-05-13T14:22:37.4427047Z ## | | ##
2024-05-13T14:22:37.4427932Z ## || ##
2024-05-13T14:22:37.4428418Z ## ##
2024-05-13T14:22:37.4428904Z ## Get documentation at ##
2024-05-13T14:22:37.4429439Z ## Get certified courses at ##
2024-05-13T14:22:37.4429908Z ## ##
2024-05-13T14:22:37.4430332Z ####################################################
2024-05-13T14:22:37.4431398Z Starting Liquibase at 14:22:37 (version 4.27.0 #1525 built at 2024-03-25 17:08+0000)
2024-05-13T14:22:37.4432305Z [2024-05-13 14:22:37] INFO [liquibase.ui] ####################################################
2024-05-13T14:22:37.4432936Z ## _ _ _ _ ##
2024-05-13T14:22:37.4433359Z ## | | () (_) | ##
2024-05-13T14:22:37.4433808Z ## | | _ __ _ _ _ | | __ _ ___ ___ ##
2024-05-13T14:22:37.4434302Z ## | | | |/ | | | | | '_ \ / _
/ |/ _ \ ##
2024-05-13T14:22:37.4434743Z ## | || | (| | || | | |) | (| __ \ / ##
2024-05-13T14:22:37.4435191Z ## _/|_, |_,||./ _,|/_| ##
2024-05-13T14:22:37.4435626Z ## | | ##
2024-05-13T14:22:37.4436039Z ## || ##
2024-05-13T14:22:37.4436456Z ## ##
2024-05-13T14:22:37.4436938Z ## Get documentation at ##
2024-05-13T14:22:37.4437468Z ## Get certified courses at ##
2024-05-13T14:22:37.4437944Z ## ##
2024-05-13T14:22:37.4438366Z ####################################################
2024-05-13T14:22:37.4439046Z Starting Liquibase at 14:22:37 (version 4.27.0 #1525 built at 2024-03-25 17:08+0000)
2024-05-13T14:22:37.4439664Z Liquibase Version: 4.27.0
2024-05-13T14:22:37.4440675Z [2024-05-13 14:22:37] INFO [liquibase.ui] Liquibase Version: 4.27.0
2024-05-13T14:22:37.4441256Z Liquibase Open Source 4.27.0 by Liquibase
2024-05-13T14:22:37.4441943Z [2024-05-13 14:22:37] INFO [liquibase.ui] Liquibase Open Source 4.27.0 by Liquibase
2024-05-13T14:22:37.4442785Z [2024-05-13 14:22:37] INFO [liquibase.integration] Starting command execution.
2024-05-13T14:22:37.9246250Z [2024-05-13 14:22:37] INFO [liquibase.command] Logging exception.
2024-05-13T14:22:37.9246926Z ERROR: Exception Details
2024-05-13T14:22:37.9247959Z [2024-05-13 14:22:37] INFO [liquibase.ui] ERROR: Exception Details
2024-05-13T14:22:37.9248765Z ERROR: Exception Primary Class: FileNotFoundException
2024-05-13T14:22:37.9249615Z [2024-05-13 14:22:37] INFO [liquibase.ui] ERROR: Exception Primary Class: FileNotFoundException
2024-05-13T14:22:37.9281607Z ERROR: Exception Primary Reason: /github/workspace/changelog.xml is a directory
2024-05-13T14:22:37.9282924Z [2024-05-13 14:22:37] INFO [liquibase.ui] ERROR: Exception Primary Reason: /github/workspace/changelog.xml is a directory
2024-05-13T14:22:37.9284173Z ERROR: Exception Primary Source: Oracle Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
2024-05-13T14:22:37.9284909Z Version 19.22.0.0.0
2024-05-13T14:22:37.9285865Z [2024-05-13 14:22:37] INFO [liquibase.ui] ERROR: Exception Primary Source: Oracle Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
2024-05-13T14:22:37.9286780Z Version 19.22.0.0.0
2024-05-13T14:22:37.9287295Z [2024-05-13 14:22:37] INFO [liquibase.command] Command execution complete
2024-05-13T14:22:37.9288393Z [2024-05-13 14:22:37] SEVERE [liquibase.integration] Error Reading Changelog File: /github/workspace/changelog.xml is a directory
2024-05-13T14:22:37.9290725Z liquibase.exception.CommandExecutionException: liquibase.exception.ChangeLogParseException: Error Reading Changelog File: /github/workspace/changelog.xml is a directory
2024-05-13T14:22:37.9292103Z at liquibase.command.CommandScope.execute(CommandScope.java:257)
2024-05-13T14:22:37.9292918Z at liquibase.integration.commandline.CommandRunner.call(CommandRunner.java:55)
2024-05-13T14:22:37.9293822Z at liquibase.integration.commandline.CommandRunner.call(CommandRunner.java:24)
2024-05-13T14:22:37.9294623Z at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
2024-05-13T14:22:37.9295288Z at picocli.CommandLine.access$1500(CommandLine.java:148)
2024-05-13T14:22:37.9296187Z at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
2024-05-13T14:22:37.9297097Z at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
2024-05-13T14:22:37.9297727Z at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
2024-05-13T14:22:37.9298487Z at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
2024-05-13T14:22:37.9299243Z at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
2024-05-13T14:22:37.9300250Z at picocli.CommandLine.execute(CommandLine.java:2170)
2024-05-13T14:22:37.9301265Z at liquibase.integration.commandline.LiquibaseCommandLine.lambda$execute$2(LiquibaseCommandLine.java:395)
2024-05-13T14:22:37.9302122Z at liquibase.Scope.child(Scope.java:199)
2024-05-13T14:22:37.9302566Z at liquibase.Scope.child(Scope.java:175)
2024-05-13T14:22:37.9303412Z at liquibase.integration.commandline.LiquibaseCommandLine.lambda$execute$3(LiquibaseCommandLine.java:370)
2024-05-13T14:22:37.9304244Z at liquibase.Scope.child(Scope.java:199)
2024-05-13T14:22:37.9304682Z at liquibase.Scope.child(Scope.java:175)
2024-05-13T14:22:37.9305476Z at liquibase.integration.commandline.LiquibaseCommandLine.execute(LiquibaseCommandLine.java:367)
2024-05-13T14:22:37.9306612Z at liquibase.integration.commandline.LiquibaseCommandLine.main(LiquibaseCommandLine.java:104)
2024-05-13T14:22:37.9307696Z at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2024-05-13T14:22:37.9308745Z at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2024-05-13T14:22:37.9309999Z at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2024-05-13T14:22:37.9310913Z at java.base/java.lang.reflect.Method.invoke(Unknown Source)
2024-05-13T14:22:37.9312079Z at liquibase.integration.commandline.LiquibaseLauncher.main(LiquibaseLauncher.java:116)
2024-05-13T14:22:37.9313888Z Caused by: liquibase.exception.ChangeLogParseException: Error Reading Changelog File: /github/workspace/changelog.xml is a directory
2024-05-13T14:22:37.9315192Z at liquibase.parser.core.xml.XMLChangeLogSAXParser.parseToNode(XMLChangeLogSAXParser.java:128)
2024-05-13T14:22:37.9316316Z at liquibase.parser.core.xml.AbstractChangeLogParser.parse(AbstractChangeLogParser.java:15)
2024-05-13T14:22:37.9317666Z at liquibase.command.core.helpers.DatabaseChangelogCommandStep.lambda$getDatabaseChangeLog$0(DatabaseChangelogCommandStep.java:129)
2024-05-13T14:22:37.9318672Z at liquibase.Scope.child(Scope.java:199)
2024-05-13T14:22:37.9319130Z at liquibase.Scope.child(Scope.java:175)
2024-05-13T14:22:37.9320126Z at liquibase.command.core.helpers.DatabaseChangelogCommandStep.getDatabaseChangeLog(DatabaseChangelogCommandStep.java:128)
2024-05-13T14:22:37.9321695Z at liquibase.command.core.helpers.DatabaseChangelogCommandStep.run(DatabaseChangelogCommandStep.java:87)
2024-05-13T14:22:37.9322702Z at liquibase.command.CommandScope.execute(CommandScope.java:219)
2024-05-13T14:22:37.9323238Z … 23 more
2024-05-13T14:22:37.9323768Z Caused by: java.io.FileNotFoundException: /github/workspace/changelog.xml is a directory
2024-05-13T14:22:37.9324654Z at liquibase.resource.PathResource.openInputStream(PathResource.java:30)
2024-05-13T14:22:37.9325649Z at liquibase.parser.core.xml.XMLChangeLogSAXParser.parseToNode(XMLChangeLogSAXParser.java:120)
2024-05-13T14:22:37.9326399Z … 30 more
2024-05-13T14:22:37.9326552Z
2024-05-13T14:22:37.9326557Z