You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Evans Ye (Jira)" <ji...@apache.org> on 2019/09/18 16:26:00 UTC

[jira] [Comment Edited] (BIGTOP-3224) missing mvn in bigtop/slaves:1.4.0-debian-9

    [ https://issues.apache.org/jira/browse/BIGTOP-3224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16932617#comment-16932617 ] 

Evans Ye edited comment on BIGTOP-3224 at 9/18/19 4:25 PM:
-----------------------------------------------------------

From log  we can see that maven deploy has failure:
{code}
Notice: /Stage[last]/Bigtop_toolchain::Cleanup/Exec[remove archives]: Dependency Exec[/usr/bin/gpg --no-tty -v --verify --auto-key-retrieve --keyserver hkp://keyserver.ubuntu.com:80 apache-maven-3.5.4-bin.tar.gz.asc] has failures: true
Warning: /Stage[last]/Bigtop_toolchain::Cleanup/Exec[remove archives]: Skipping because of failed dependencies
Notice: /Stage[last]/Bigtop_toolchain::Cleanup/Exec[clean packages]: Dependency Exec[/usr/bin/gpg --no-tty -v --verify --auto-key-retrieve --keyserver hkp://keyserver.ubuntu.com:80 apache-maven-3.5.4-bin.tar.gz.asc] has failures: true
Warning: /Stage[last]/Bigtop_toolchain::Cleanup/Exec[clean packages]: Skipping because of failed dependencies
{code}

We should error out when puppet returns failure. 

Ref: https://ci.bigtop.apache.org/view/Docker/job/Docker-Toolchain-1.4.0/DISTRO=debian-9,PLATFORM=amd64-slave/7/console


was (Author: evans_ye):
From log  we can see that maven deploy has failure:
{code}
Notice: /Stage[last]/Bigtop_toolchain::Cleanup/Exec[remove archives]: Dependency Exec[/usr/bin/gpg --no-tty -v --verify --auto-key-retrieve --keyserver hkp://keyserver.ubuntu.com:80 apache-maven-3.5.4-bin.tar.gz.asc] has failures: true
Warning: /Stage[last]/Bigtop_toolchain::Cleanup/Exec[remove archives]: Skipping because of failed dependencies
Notice: /Stage[last]/Bigtop_toolchain::Cleanup/Exec[clean packages]: Dependency Exec[/usr/bin/gpg --no-tty -v --verify --auto-key-retrieve --keyserver hkp://keyserver.ubuntu.com:80 apache-maven-3.5.4-bin.tar.gz.asc] has failures: true
Warning: /Stage[last]/Bigtop_toolchain::Cleanup/Exec[clean packages]: Skipping because of failed dependencies
{code}

We should error out when puppet returns failure. 

> missing mvn in bigtop/slaves:1.4.0-debian-9
> -------------------------------------------
>
>                 Key: BIGTOP-3224
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-3224
>             Project: Bigtop
>          Issue Type: Bug
>          Components: docker
>    Affects Versions: 1.4.0
>            Reporter: Guodong Xu
>            Priority: Major
>
> In bigtop/slaves:1.4.0-debian-9 image generated for docker hub,  there is no 'mvn'.
> Procedure to reproduce the issue:
> 1. docker pull bigtop/slaves:1.4.0-debian-9
> 2. docker run --rm -u jenkins --workdir /ws -v ${PWD}:/ws -it bigtop/slaves:1.4.0-debian-9 bash -l
> 3. inside the container, run:
> jenkins@c1ffde810ca0:/ws$ . /etc/profile.d/bigtop.sh
> jenkins@c1ffde810ca0:/ws$ which mvn
> jenkins@c1ffde810ca0:/ws$ mvn 
> bash: mvn: command not found
>  
> Expected result should be:
> $ which mvn
> /usr/local/maven/bin/mvn



--
This message was sent by Atlassian Jira
(v8.3.4#803005)