forked from GeoNode/geonode
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem
Multiple test suites are currently failing in the CI workflow (Issue #71 implementation).
Failing Test Suites
Based on the latest CI run:
1. Main Test Suite (test.sh)
- Status: Failing
- Error: Database permissions and test setup issues
2. API v2 Tests (test_api_v2.sh)
- Status: Failing
- Error:
permission denied for table resource_executionrequestduringpaver setup_data
3. CSW Tests (test_csw.sh)
- Status: Unknown - needs investigation
4. Integration Tests (test_integration.sh)
- Status: Failing
- Error:
ModuleNotFoundError: No module named 'geonode.tests.integration' - Note: This script uses
paver run_testswhich has different test discovery than standardmanage.py test
5. OAuth2 Tests (test_oauth2.sh)
- Status: Unknown - needs investigation
6. Upload Tests (test_upload.sh)
- Status: Unknown - needs investigation
Root Causes
- Database Permissions: Fixed by granting SUPERUSER to geonode user (PR Add test documentation and CI workflow for Issue #71 #300)
- Test Module Structure: Some test scripts reference non-existent test modules
- Test Data Setup:
paver setup_datamay have timing or dependency issues - Environment Configuration: Test environment variables may need adjustment
Acceptance Criteria
- All test suites pass in CI
- Test failures are properly reported (workflow fails when tests fail)
- Test results are documented in CI summary
- Any test scripts with incorrect module paths are fixed or documented
Related
- PR Add test documentation and CI workflow for Issue #71 #300: Run tests on PR (Issue Task: run tests on PR #71)
TESTING.md: Documentation for running tests locally
Notes
The CI infrastructure is now in place (PR #300). This issue focuses on fixing the actual test failures to get a green build.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working