You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2022/10/13 05:20:00 UTC

[jira] [Updated] (IMPALA-11657) build-all-flag-combinations.sh should tolerate git-reset failures

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

Quanlong Huang updated IMPALA-11657:
------------------------------------
    Description: 
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] 

  was:
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.


> 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
>
> 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org