[ 
https://issues.apache.org/jira/browse/IMPALA-11657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Quanlong Huang resolved IMPALA-11657.
-------------------------------------
    Fix Version/s: Impala 4.2.0
       Resolution: Fixed

> build-all-flag-combinations.sh should tolerate git-reset failures
> -----------------------------------------------------------------
>
>                 Key: IMPALA-11657
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11657
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>            Reporter: Quanlong Huang
>            Assignee: Quanlong Huang
>            Priority: Major
>             Fix For: Impala 4.2.0
>
>
> When building all options from a tarball using 
> bin/jenkins/build-all-flag-combinations.sh, the build will finally failed by 
> this:
> {noformat}
> fatal: Not a git repository (or any of the parent directories): .git
> ERROR in ./bin/jenkins/build-all-flag-combinations.sh at line 130: git reset 
> --hard HEAD
> Generated: 
> /home/ubuntu/apache-impala-4.1.1/logs/extra_junit_xml_logs/generate_junitxml.buildall.build-all-flag-combinations.20221013_02_26_28.xml
> ./bin/jenkins/build-all-flag-combinations.sh: Cleaning up temporary directory 
> {noformat}
> The corresponding code snipper:
> {code:bash}
>   # Reset the files changed by mvn versions:set
>   git reset --hard HEAD{code}
> [https://github.com/apache/impala/blob/4.1.1-rc2/bin/jenkins/build-all-flag-combinations.sh#L130]
> The failure of git-reset should be ignored. CC [~joemcdonnell] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to