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

test fails on s390x: 64-bit integer attributes are not read correctly #138

Open
tillea opened this issue Jan 15, 2024 · 0 comments
Open

Comments

@tillea
Copy link

tillea commented Jan 15, 2024

Hi,
admittedly s390x is an architecture that will probably not run rhdf5 in practical cases. Anyway, the Debian package is built and tested as any other Debian package on this architecture and the test suite has uncovered an issue that might be worth investigating: Here you can see the full build log featuring all versions of packages that are used. The actual error is:

...
`actual`:   FALSE
`expected`: TRUE  
── Failure ('test_h5writeAttributes.R:65:5'): Adding attribute to group ────────
attr_back$char_attr[1] inherits from `'NULL'` not `'character'`.
── Failure ('test_h5writeAttributes.R:66:5'): Adding attribute to group ────────
attr_back$int_attr[1] inherits from `'NULL'` not `'character'`.
── Failure ('test_h5writeAttributes.R:67:5'): Adding attribute to group ────────
attr_back$numeric_attr[1] inherits from `'NULL'` not `'character'`.
── Failure ('test_h5writeAttributes.R:93:5'): Adding attribute to dataset ──────
`attr_back` has length 0, not length 4.
── Failure ('test_h5writeAttributes.R:95:5'): Adding attribute to dataset ──────
attr_back$char_attr[1] inherits from `'NULL'` not `'character'`.
── Failure ('test_h5writeAttributes.R:96:5'): Adding attribute to dataset ──────
attr_back$int_attr[1] inherits from `'NULL'` not `'character'`.
── Failure ('test_h5writeAttributes.R:97:5'): Adding attribute to dataset ──────
attr_back$numeric_attr[1] inherits from `'NULL'` not `'character'`.
── Failure ('test_h5writeAttributes.R:130:5'): Checking other string options when adding attributes ──
`attr_back` has length 0, not length 4.
── Failure ('test_h5writeAttributes.R:133:5'): Checking other string options when adding attributes ──
sort(expected) not identical to sort(names(attr_back)).
Types not compatible: character is not NULL
── Failure ('test_h5writeAttributes.R:134:5'): Checking other string options when adding attributes ──
unname(unlist(attr_back[expected])) not identical to c("blah", "blah2", "blah3", "blah4").
target is NULL, current is character
── Failure ('test_h5writeAttributes.R:149:5'): Overwrite exisiting attribute ───
attr_list$char_attr[1] not identical to "new_character".
target is NULL, current is character
 
[ FAIL 39 | WARN 0 | SKIP 4 | PASS 1033 ]

Kind regards, Andreas.

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

No branches or pull requests

1 participant