Comments (7)
Is this blocking only deployment?
I just managed to execute tier 1 without issues
from ocs-ci.
@RazTamir it happens during collecting
phase, it will affect any tests. The problem is visible since merge of #104, which was merged just few hours ago.
Edit: as Petr points out below, if you specify at least tests
directory, pytest will collect test cases only there and you won't hit this.
from ocs-ci.
@mbukatov I see you didn't defined the folder of tests in you command so pytest is taking the ./ as default I think so than it's trying to collect everything under the path. So I think that user have to define the ./tests folder when running pytest to provide the path of tests where we have our tests.
So if you will run
py.test -m deployment --cluster-name mbukatov-ocsqe ./tests
do you still see the issue?
from ocs-ci.
@mbukatov I see you didn't defined the folder of tests in you command so pytest is taking the ./ as default I think so than it's trying to collect everything under the path. So I think that user have to define the ./tests folder when running pytest to provide the path of tests where we have our tests.
You are right that pytest is trying to collect everything in the current directory. That said, making boundaries between unittests and actual tests explicit is a good idea, and I just forgot to make sure it's enforced.
from ocs-ci.
@mbukatov what do you propose to fix this? I see that boundaries are already defined in different folders which we documented should be used to run with. I think that it's normal from user to have specified test directory/path to be defined.
from ocs-ci.
@mbukatov what do you propose to fix this?
I see that boundaries are already defined in different folders which we documented should be used to run with. I think that it's normal from user to have specified test directory/path to be defined.
Correct. It will just make pytest more resilient to such errors, esp. for deployment.
from ocs-ci.
Fixed by #109
from ocs-ci.
Related Issues (20)
- test_create_new_project_to_verify_logging is failing on ODF 4.16 on IBM Power HOT 2
- FIPS is failing on RHEL8 HOT 2
- test_add_capacity_lso_cli Failing on VSPHERE6-UPI-2-arbiter-AZ-RHCOS-LSO-VMDK-ARBITER-3M-6W-acceptance HOT 4
- test_respin_app_pod_exported_nfs_volume_incluster is failing on ODF 4.16 on IBM Power HOT 1
- make the test validating ceph_osd_stat_bytes and ceph_osd_stat_bytes_used data received from Prometheus
- test_delete_rbd_pool_attached_to_sc_UI[3-aggressive-Immediate-Bound] failing with selenium.common.exceptions.TimeoutException: Message: Failed to find the element
- UI tests in test_pvc_ui.py fails due to selenium.common.exceptions.TimeoutException: Message: Failed to find the element
- Increase timeout for MG collection if cluster is not OK
- [IBM Z] - Many tests are failing as `apt update` fails on nginx image HOT 8
- [RDR] Regression in Deployment: Investigate Recent PR Merges
- RDR tests fails with AttributeError: 'MultiClusterConfig' object has no attribute 'MULTICLUSER' HOT 1
- ocs-build --image --ocs-version 4.16 failing on TagNotFoundException: Couldn't find any desired tag HOT 2
- test_monitoring_shutdown_mgr_pod is failing on 4.14 with TypeError HOT 1
- openshift-install gather bootstrap doesn't work for fips enabled deployment
- In the test "test_check_pods_status_after_node_failure" we need to modify the condition of waiting for change in the pods status
- Test test_verify_rwo_using_replicated_pod failing with TimeoutExpiredError on compact mode cluster.
- The compare_dicts function failed due to a NoneType value being passed in the argument instead of a dict.
- RDR deployment fails during submariner installation
- Increase retry count for "test_mcg_data_deduplication"
- AWS UPI FIPS deployment failure HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocs-ci.