Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UAT C1256783391-POCLOUD (SWOT_L2_NALT_OGDR_SSHA_1.0) #3346

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Add C1256783391-POCLOUD

9ffd5db
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

UAT C1256783391-POCLOUD (SWOT_L2_NALT_OGDR_SSHA_1.0) #3346

Add C1256783391-POCLOUD
9ffd5db
Select commit
Loading
Failed to load commit list.
GitHub Actions / Tested with Harmony failed Jan 14, 2025 in 0s

2 errors in 2s

2 tests  ±0   0 ✅ ±0   2s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0   2 🔥 ±0 

Results for commit 9ffd5db. ± Comparison against earlier commit de1b5a7.

Annotations

Check failure on line 0 in tests.verify_collection

See this annotation in the file changed.

@github-actions github-actions / Tested with Harmony

test_spatial_subset[C1256783391-POCLOUD] (tests.verify_collection) with error

test-results/test_report.xml [took 0s]
Raw output
failed on setup with "Failed: No granules found for UAT collection C1256783391-POCLOUD. CMR search used was https://cmr.uat.earthdata.nasa.gov/search/granules.umm_json?collection_concept_id=C1256783391-POCLOUD&sort_key=-start_date&page_size=1"
collection_concept_id = 'C1256783391-POCLOUD'
cmr_mode = 'https://cmr.uat.earthdata.nasa.gov/search/'
bearer_token = 'eyJ0eXAiOiJKV1QiLCJvcmlnaW4iOiJFYXJ0aGRhdGEgTG9naW4iLCJzaWciOiJlZGxqd3RwdWJrZXlfdWF0IiwiYWxnIjoiUlMyNTYifQ.eyJ0eXBlIj...kbeJjaBKhl-gvXjLxBPtaCk2P7777DonclMKd413HI-jyiaz5c37cMfsCgU10L977PjAOk1emdrpg1kIeREr7E-CI7jPFq8qqe53WwNZbDHefYeqcFgGFQ'
request_session = <requests.sessions.Session object at 0x7fa63bdc3100>

    @pytest.fixture(scope="function")
    def granule_json(collection_concept_id: str, cmr_mode: str, bearer_token: str, request_session) -> dict:
        '''
        This fixture defines the strategy used for picking a granule from a collection for testing
    
        Parameters
        ----------
        collection_concept_id
        cmr_mode
        bearer_token
    
        Returns
        -------
        umm_json for selected granule
        '''
        cmr_url = f"{cmr_mode}granules.umm_json?collection_concept_id={collection_concept_id}&sort_key=-start_date&page_size=1"
    
        response_json = request_session.get(cmr_url, headers={'Authorization': f'Bearer {bearer_token}'}).json()
    
        if 'items' in response_json and len(response_json['items']) > 0:
            return response_json['items'][0]
        elif cmr_mode == cmr.CMR_UAT:
>           pytest.fail(f"No granules found for UAT collection {collection_concept_id}. CMR search used was {cmr_url}")
E           Failed: No granules found for UAT collection C1256783391-POCLOUD. CMR search used was https://cmr.uat.earthdata.nasa.gov/search/granules.umm_json?collection_concept_id=C1256783391-POCLOUD&sort_key=-start_date&page_size=1

verify_collection.py:125: Failed
--------------------------------- Captured Log ---------------------------------

Check failure on line 0 in tests.verify_collection

See this annotation in the file changed.

@github-actions github-actions / Tested with Harmony

test_temporal_subset[C1256783391-POCLOUD] (tests.verify_collection) with error

test-results/test_report.xml [took 0s]
Raw output
failed on setup with "Failed: No granules found for UAT collection C1256783391-POCLOUD. CMR search used was https://cmr.uat.earthdata.nasa.gov/search/granules.umm_json?collection_concept_id=C1256783391-POCLOUD&sort_key=-start_date&page_size=1"
collection_concept_id = 'C1256783391-POCLOUD'
cmr_mode = 'https://cmr.uat.earthdata.nasa.gov/search/'
bearer_token = 'eyJ0eXAiOiJKV1QiLCJvcmlnaW4iOiJFYXJ0aGRhdGEgTG9naW4iLCJzaWciOiJlZGxqd3RwdWJrZXlfdWF0IiwiYWxnIjoiUlMyNTYifQ.eyJ0eXBlIj...kbeJjaBKhl-gvXjLxBPtaCk2P7777DonclMKd413HI-jyiaz5c37cMfsCgU10L977PjAOk1emdrpg1kIeREr7E-CI7jPFq8qqe53WwNZbDHefYeqcFgGFQ'
request_session = <requests.sessions.Session object at 0x7fa63bdc3100>

    @pytest.fixture(scope="function")
    def granule_json(collection_concept_id: str, cmr_mode: str, bearer_token: str, request_session) -> dict:
        '''
        This fixture defines the strategy used for picking a granule from a collection for testing
    
        Parameters
        ----------
        collection_concept_id
        cmr_mode
        bearer_token
    
        Returns
        -------
        umm_json for selected granule
        '''
        cmr_url = f"{cmr_mode}granules.umm_json?collection_concept_id={collection_concept_id}&sort_key=-start_date&page_size=1"
    
        response_json = request_session.get(cmr_url, headers={'Authorization': f'Bearer {bearer_token}'}).json()
    
        if 'items' in response_json and len(response_json['items']) > 0:
            return response_json['items'][0]
        elif cmr_mode == cmr.CMR_UAT:
>           pytest.fail(f"No granules found for UAT collection {collection_concept_id}. CMR search used was {cmr_url}")
E           Failed: No granules found for UAT collection C1256783391-POCLOUD. CMR search used was https://cmr.uat.earthdata.nasa.gov/search/granules.umm_json?collection_concept_id=C1256783391-POCLOUD&sort_key=-start_date&page_size=1

verify_collection.py:125: Failed
--------------------------------- Captured Log ---------------------------------