Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

docker_shell not working for RHEL7 #83

Open
nodeg opened this issue Dec 2, 2020 · 0 comments
Open

docker_shell not working for RHEL7 #83

nodeg opened this issue Dec 2, 2020 · 0 comments

Comments

@nodeg
Copy link
Member

nodeg commented Dec 2, 2020

The docker shell is not working for RHEL7 products and products-testing at the moment.

sandbox ❯ make docker_shell VERSION=rhel7 FLAVOR=products                                                                                                                     
                                           
███████╗ █████╗ ██╗  ████████╗    ████████╗ ██████╗  █████╗ ███████╗████████╗███████╗██████╗                                                                                  
██╔════╝██╔══██╗██║  ╚══██╔══╝    ╚══██╔══╝██╔═══██╗██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗                                                                                 
███████╗███████║██║     ██║          ██║   ██║   ██║███████║███████╗   ██║   █████╗  ██████╔╝                                                                                 
╚════██║██╔══██║██║     ██║          ██║   ██║   ██║██╔══██║╚════██║   ██║   ██╔══╝  ██╔══██╗                                                                                 
███████║██║  ██║███████╗██║          ██║   ╚██████╔╝██║  ██║███████║   ██║   ███████╗██║  ██║                                                                                 
╚══════╝╚═╝  ╚═╝╚══════╝╚═╝          ╚═╝    ╚═════╝ ╚═╝  ╚═╝╚══════╝   ╚═╝   ╚══════╝╚═╝  ╚═╝                                                                                 
                                                                                       
///////////////////////////////////////////////////                                                                                                                           
// Salt Toaster: An ultimate test suite for Salt //                                    
//   https://github.com/openSUSE/salt-toaster/   //                                                                                                                           
///////////////////////////////////////////////////                                    
                                                                                                                                                                              docker pull registry.mgr.suse.de/toaster-rhel7-products                                                                                                                       Using default tag: latest                                                                                                                                                     
latest: Pulling from toaster-rhel7-products                                            
Digest: sha256:50221217d92977ccc65697f4532e9ca876658a6ab40b849eb65d0d0d4712b646        
Status: Image is up to date for registry.mgr.suse.de/toaster-rhel7-products:latest     
registry.mgr.suse.de/toaster-rhel7-products:latest                                     
docker run -it -e "SALT_TESTS=/salt/src/salt-*/tests" -e "VERSION=rhel7" -e "FLAVOR=products" -e "DOCKER_IMAGE=registry.mgr.suse.de/toaster-rhel7-products" -e "MINION_VERSION
=" -e "MINION_FLAVOR=" -e "ROOT_MOUNTPOINT=/salt/src" -e "SALT_REPO_MOUNTPOINT=/salt/src/salt-devel" -e "TOASTER_MOUNTPOINT=/salt-toaster" -e "DESTRUCTIVE_TESTS=False" -e "EX
PENSIVE_TESTS=False" -e "CMD=/bin/bash" --rm -v "/home/dom/git/work/salt-toaster/:/salt-toaster"  registry.mgr.suse.de/toaster-rhel7-products                                 
make: Entering directory `/salt-toaster'   
Installing salt sources                                                                                                                                                       
VERSION=rhel7 bin/install_salt_sources.sh > /salt-toaster/install_salt_sources.log                                                                                            
sh: python3: command not found                                                                                                                                                
error: Failed build dependencies:                                                                                                                                             
        python-setuptools is needed by salt-3000-16.1.x86_64
make: *** [install_salt_sources] Error 1
make: Leaving directory `/salt-toaster'
make: *** [Makefile:163: docker_shell] Error 2


sandbox ❯ make docker_shell VERSION=rhel7 FLAVOR=products-testing

███████╗ █████╗ ██╗  ████████╗    ████████╗ ██████╗  █████╗ ███████╗████████╗███████╗██████╗
██╔════╝██╔══██╗██║  ╚══██╔══╝    ╚══██╔══╝██╔═══██╗██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗
███████╗███████║██║     ██║          ██║   ██║   ██║███████║███████╗   ██║   █████╗  ██████╔╝
╚════██║██╔══██║██║     ██║          ██║   ██║   ██║██╔══██║╚════██║   ██║   ██╔══╝  ██╔══██╗
███████║██║  ██║███████╗██║          ██║   ╚██████╔╝██║  ██║███████║   ██║   ███████╗██║  ██║
╚══════╝╚═╝  ╚═╝╚══════╝╚═╝          ╚═╝    ╚═════╝ ╚═╝  ╚═╝╚══════╝   ╚═╝   ╚══════╝╚═╝  ╚═╝

///////////////////////////////////////////////////
// Salt Toaster: An ultimate test suite for Salt //
//   https://github.com/openSUSE/salt-toaster/   //
///////////////////////////////////////////////////

docker pull registry.mgr.suse.de/toaster-rhel7-products-testing
Using default tag: latest
latest: Pulling from toaster-rhel7-products-testing
Digest: sha256:23b28de5be42f171fdca1c5ea4ffe54c4a3462346c1a8f0889d9552fd6e96359
Status: Image is up to date for registry.mgr.suse.de/toaster-rhel7-products-testing:latest
registry.mgr.suse.de/toaster-rhel7-products-testing:latest
docker run -it -e "SALT_TESTS=/salt/src/salt-*/tests" -e "VERSION=rhel7" -e "FLAVOR=products-testing" -e "DOCKER_IMAGE=registry.mgr.suse.de/toaster-rhel7-products-testing" -e
 "MINION_VERSION=" -e "MINION_FLAVOR=" -e "ROOT_MOUNTPOINT=/salt/src" -e "SALT_REPO_MOUNTPOINT=/salt/src/salt-devel" -e "TOASTER_MOUNTPOINT=/salt-toaster" -e "DESTRUCTIVE_TES
TS=False" -e "EXPENSIVE_TESTS=False" -e "CMD=/bin/bash" --rm -v "/home/dom/git/work/salt-toaster/:/salt-toaster"  registry.mgr.suse.de/toaster-rhel7-products-testing
make: Entering directory `/salt-toaster'
Installing salt sources
VERSION=rhel7 bin/install_salt_sources.sh > /salt-toaster/install_salt_sources.log
sh: python3: command not found
error: Failed build dependencies:
        python-setuptools is needed by salt-3000-38.1.x86_64
make: *** [install_salt_sources] Error 1
make: Leaving directory `/salt-toaster'
make: *** [Makefile:163: docker_shell] Error 2

The docker image has to be checked for the correct Python call since Python 3 is obviously missing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant