You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/11/22 17:07:00 UTC
[jira] [Commented] (ATLAS-4814) CI build fails in distro module with error: Cannot run program "python"
[ https://issues.apache.org/jira/browse/ATLAS-4814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17788837#comment-17788837 ]
ASF subversion and git services commented on ATLAS-4814:
--------------------------------------------------------
Commit f72f5ec58f8da843fed072d2b94f3abd948a4716 in atlas's branch refs/heads/branch-2.0 from Madhan Neethiraj
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=f72f5ec58 ]
ATLAS-4814: updated build/python scripts to replace references to python with python3
(cherry picked from commit 0f331aa63095bae010f2c4cb0a76e58eb5606e1b)
> CI build fails in distro module with error: Cannot run program "python"
> -----------------------------------------------------------------------
>
> Key: ATLAS-4814
> URL: https://issues.apache.org/jira/browse/ATLAS-4814
> Project: Atlas
> Issue Type: Bug
> Reporter: Madhan Neethiraj
> Assignee: Madhan Neethiraj
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: ATLAS-4184.patch
>
>
> Atlas CI build (Atlas-master-IntegrationTests) fails with the following error, which is likely due to the build machine not having python2 installed.
>
> {noformat}
> [INFO] Apache Atlas Couchbase Bridge ...................... SUCCESS [ 24.697 s]
> [INFO] Apache Atlas Distribution .......................... FAILURE [ 9.103 s]
> [INFO] atlas-examples ..................................... SKIPPED
> [INFO] sample-app ......................................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 01:56 h
> [INFO] Finished at: 2023-11-21T20:44:37Z
> [INFO] ------------------------------------------------------------------------
> Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (python-test) on project atlas-distro: Command execution failed. Cannot run program "python" (in directory "/home/jenkins/jenkins-agent/workspace/Atlas/Atlas-master-IntegrationTests/distro/src/test/python"): error=2, No such file or directory -> [Help 1][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging.[ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] [http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException][ERROR] [ERROR] After correcting the problems, you can resume the build with the command[ERROR] mvn <goals> -rf :atlas-distrochannel stopped
> Exception: java.lang.LinkageError thrown from the UncaughtExceptionHandler in thread "Thread-942"
> Finished: FAILURE
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)