Bug 1957193

Summary: Tests required internet access failing in disconnected environments
Product: OpenShift Container Platform Reporter: Arda Guclu <aguclu>
Component: Test InfrastructureAssignee: Arda Guclu <aguclu>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.8CC: vlaad
Target Milestone: ---Keywords: OtherQA
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-26 14:14:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1989402    

Description Arda Guclu 2021-05-05 10:46:10 UTC
Description of problem:

[sig-devex] check registry.redhat.io is available and samples operator can import sample imagestreams run sample related validations
[sig-devex][Feature:Templates] templateinstance readiness test  should report failed soon after an annotated objects has failed
[sig-devex][Feature:Templates] templateinstance readiness test  should report ready soon after all annotated objects are ready
[sig-network] Networking should provide Internet connection for containers

tests are failing in disconnected environment since they require to internet access. 

For example, sig-devex tests try to pull ruby image.

Steps to Reproduce:
1. Run e2e-metal-ipi-ovn-ipv6 job by enabling these tests 
2. Tests are failing
3.

Actual results:
Tests are running and failing with image pull error

Expected results:
Tests should be skipped for disconnected environment

Comment 1 Arda Guclu 2021-06-17 07:26:21 UTC
[sig-cli] oc debug ensure it works with image streams tries to access wildfly:latest
[sig-apps][Feature:DeploymentConfig] deploymentconfigs with multiple image change triggers should run a successful deployment with a trigger used by different containers tries to pull ruby:latest
[sig-apps][Feature:DeploymentConfig] deploymentconfigs with multiple image change triggers should run a successful deployment with multiple triggers tries to pull ruby:latest and mongodb:latest

Comment 2 Arda Guclu 2021-06-17 10:34:56 UTC
\[sig-operator\] an end user can use OLM can subscribe to the operator test depends on catalog operators to subscribe.

However, in disconnected environment, these operators are not healthy due to not access to internet.