llnl / llnl/json-cwx

Test failed: FAIL test1.test

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

After compiling successfully, the `make check` test failed.

```
=========================================
json-cwx 0.12: tests/test-suite.log
=========================================

# TOTAL: 12
# PASS: 11
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test1
===========

json_object_from_file: error opening file foo.json: No such file or directory
ERROR: "test1 " (test1) failed (set VERBOSE=1 to see full output):
+ diff /lustre/home/.../json-cwx/tests/test1.expected testSubDir/test1.test/test1.out
cp "testSubDir/test1.test/test1.out" "/lustre/home/.../json-cwx/tests/test1.expected"
json_object_from_file: error opening file foo.json: No such file or directory
ERROR: "test1Formatted plain" (test1Formatted_plain) failed (set VERBOSE=1 to see full output):
+ diff /lustre/home/.../json-cwx/tests/test1Formatted_plain.expected testSubDir/test1.test/test1Formatted_plain.out
cp "testSubDir/test1.test/test1Formatted_plain.out" "/lustre/home/.../json-cwx/tests/test1Formatted_plain.expected"
json_object_from_file: error opening file foo.json: No such file or directory
ERROR: "test1Formatted spaced" (test1Formatted_spaced) failed (set VERBOSE=1 to see full output):
+ diff /lustre/home/.../json-cwx/tests/test1Formatted_spaced.expected testSubDir/test1.test/test1Formatted_spaced.out
cp "testSubDir/test1.test/test1Formatted_spaced.out" "/lustre/home/.../json-cwx/tests/test1Formatted_spaced.expected"
json_object_from_file: error opening file foo.json: No such file or directory
ERROR: "test1Formatted pretty" (test1Formatted_pretty) failed (set VERBOSE=1 to see full output):
+ diff /lustre/home/.../json-cwx/tests/test1Formatted_pretty.expected testSubDir/test1.test/test1Formatted_pretty.out
cp "testSubDir/test1.test/test1Formatted_pretty.out" "/lustre/home/.../json-cwx/tests/test1Formatted_pretty.expected"
FAIL test1.test (exit status: 1)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with `make check` and `tests/test-suite.log`, then trace the `test1` failure and the `test1.expected` versus `testSubDir/test1.test` comparisons named in the output. Reproduce the missing `foo.json` error and verify that `test1`, `test1Formatted_plain`, `test1Formatted_spaced`, and `test1Formatted_pretty` pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.