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

cime_developer tests failed on anlworkstation #3033

Closed
dqwu opened this issue Mar 8, 2019 · 2 comments
Closed

cime_developer tests failed on anlworkstation #3033

dqwu opened this issue Mar 8, 2019 · 2 comments

Comments

@dqwu
Copy link
Contributor

dqwu commented Mar 8, 2019

The errors can be reproduced on anlworkstation by running a single cime_developer test:
./create_test DAE.ww3a.ADWAV --machine=anlworkstation --test-root=****

Errors were:

        Traceback (most recent call last):
          File "./case.submit", line 108, in <module>
            _main_func(__doc__)
          File "./case.submit", line 105, in _main_func
            mail_user=mail_user, mail_type=mail_type, batch_args=batch_args)
          File "scripts/lib/CIME/case/case_submit.py", line 191, in submit
            custom_success_msg_functor=verbatim_success_msg)
          File "scripts/lib/CIME/utils.py", line 1702, in run_and_log_case_status
            rv = func()
          File "scripts/lib/CIME/case/case_submit.py", line 189, in <lambda>
            batch_args=batch_args)
          File "scripts/lib/CIME/case/case_submit.py", line 120, in _submit
            case.check_case()
          File "scripts/lib/CIME/case/case_submit.py", line 205, in check_case
            self.check_all_input_data()
          File "scripts/lib/CIME/case/check_input_data.py", line 159, in check_all_input_data
            chksum_file)
          File "scripts/lib/CIME/case/check_input_data.py", line 37, in _download_checksum_file
            success = server.getfile(rel_path, new_file)
          File "scripts/lib/CIME/Servers/wget.py", line 31, in getfile
            full_url = os.path.join(self._server_loc, rel_path)
          File "/usr/lib/python2.7/posixpath.py", line 75, in join
            if b.startswith('/'):
        AttributeError: 'NoneType' object has no attribute 'startswith'

This test passed before. Is this caused by missing input files requierd by latest CIME?
Looks like CIME is not handling the case where there is no file to download (None)?

@jgfouca
Copy link
Contributor

jgfouca commented Mar 8, 2019

I'll take a look at it.

@jedwards4b
Copy link
Contributor

How would it get there without a filename?

jedwards4b added a commit that referenced this issue Mar 11, 2019
Chksum fixes maint 5.6
Fix chksum issues - only download chksum file(s) if requested, look on all servers in config_inputdata.xml for chksum files and merge those found.

Test suite: scripts_regression_tests.py
Test baseline:
Test namelist changes:
Test status: bit for bit

Fixes #3033
Fixes #3034
Fixes #3036

User interface changes?:

Update gh-pages html (Y/N)?:

Code review:sacks
@jedwards4b jedwards4b mentioned this issue Mar 11, 2019
jgfouca added a commit that referenced this issue Mar 11, 2019
Maint 5.6

Merge maint 5.6 to master

Test suite: scripts_regression_tests.py
Test baseline:
Test namelist changes:
Test status: bit for bit
Fixes #3033
Fixes #3034
Fixes #3036

User interface changes?:

Update gh-pages html (Y/N)?:

Code review:
swensosc pushed a commit to swensosc/cime that referenced this issue Apr 3, 2019
Maint 5.6

Merge maint 5.6 to master

Test suite: scripts_regression_tests.py
Test baseline:
Test namelist changes:
Test status: bit for bit
Fixes ESMCI#3033
Fixes ESMCI#3034
Fixes ESMCI#3036

User interface changes?:

Update gh-pages html (Y/N)?:

Code review:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants