invalid_chunk when running test suite
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- erlang
- Domain
- testing-qa
Research direction
Reproduce the failure with the reported rebar eunit skip_deps=true -vv command on the listed Erlang and rebar versions. Start with the cover compilation of .eunit/fxml_gen.beam and its invalid_chunk/Abst error; done means the test suite completes without this failure.
Written by the indexing model from the issue text.
Description
I've been attempting to run the test suite on Fedora Rawhide and it seems to fail to cover compile:
$ export VSN=1.1.19
$ export REBAR_VSN_CACHE_FILE=/home/rbarlow/rpmbuild/BUILD/fast_xml-1.1.19/vsn.cache
$ export REBAR_DEPS_PREFER_LIBS=TRUE
$ /usr/bin/rebar eunit skip_deps=true -vv
DEBUG: Evaluating config script "/home/rbarlow/rpmbuild/BUILD/fast_xml-1.1.19/rebar.config.script"
DEBUG: Consult config file "/home/rbarlow/rpmbuild/BUILD/fast_xml-1.1.19/rebar.config"
DEBUG: Rebar location: "/usr/bin/rebar"
DEBUG: Consult config file "/home/rbarlow/rpmbuild/BUILD/fast_xml-1.1.19/src/fast_xml.app.src"
DEBUG: is_app_available, looking for App p1_utils with Path "/home/rbarlow/rpmbuild/BUILD/fast_xml-1.1.19/deps/p1_utils"
DEBUG: Directory expected to be an app dir, but it doesn't exist (yet?):
/home/rbarlow/rpmbuild/BUILD/fast_xml-1.1.19/deps/p1_utils
DEBUG: is_app_available, looking for App p1_utils with Path "/usr/lib64/erlang/lib/p1_utils-1.0.6"
INFO: Looking for p1_utils-.* ; found p1_utils-1.0.6 at /usr/lib64/erlang/lib/p1_utils-1.0.6
DEBUG: Available deps: [{dep,"/usr/lib64/erlang/lib/p1_utils-1.0.6",p1_utils,
".*",
{git,"https://github.com/processone/p1_utils",
{tag,"1.0.6"}},
false}]
DEBUG: Missing deps : []
DEBUG: is_app_available, looking for App p1_utils with Path "/usr/lib64/erlang/lib/p1_utils-1.0.6"
INFO: Looking for p1_utils-.* ; found p1_utils-1.0.6 at /usr/lib64/erlang/lib/p1_utils-1.0.6
DEBUG: Adding /usr/lib64/erlang/lib/p1_utils-1.0.6/ebin to code path
DEBUG: Adding skip dir: /usr/lib64/erlang/lib/p1_utils-1.0.6
DEBUG: Associate sub_dir /usr/lib64/erlang/lib/p1_utils-1.0.6 with /home/rbarlow/rpmbuild/BUILD/fast_xml-1.1.19
DEBUG: Plugins requested while processing /home/rbarlow/rpmbuild/BUILD/fast_xml-1.1.19: []
DEBUG: Predirs: ["/usr/lib64/erlang/lib/p1_utils-1.0.6"]
DEBUG: Consult config file "/usr/lib64/erlang/lib/p1_utils-1.0.6/rebar.config"
DEBUG: Available deps: []
DEBUG: Missing deps : []
DEBUG: Plugins requested while processing /usr/lib64/erlang/lib/p1_utils-1.0.6: []
DEBUG: Predirs: []
DEBUG: Postdirs: []
==> fast_xml-1.1.19 (eunit)
DEBUG: Matched required ERTS version: 8.2.1 -> .*
DEBUG: Matched required OTP release: 19 -> .*
DEBUG: Min OTP version unconfigured
DEBUG: Triq availability: false
DEBUG: PropEr availability: true
DEBUG: QuickCheck availability: false
INFO: sh info:
cwd: "/home/rbarlow/rpmbuild/BUILD/fast_xml-1.1.19"
cmd: cp -R src/fxmlrpc_codec.erl src/fxmlrpc.erl src/fxml_sup.erl src/fxml_stream.erl src/fxml_gen_pt.erl src/fxml_gen.erl src/fxml.erl src/fast_xml.erl test/fxml_test.erl ".eunit"
DEBUG: opts: [{use_stdout,false},abort_on_error]
DEBUG: Port Cmd: "cp -R src/fxmlrpc_codec.erl src/fxmlrpc.erl src/fxml_sup.erl src/fxml_stream.erl src/fxml_gen_pt.erlsrc/fxml_gen.erl src/fxml.erl src/fast_xml.erl test/fxml_test.erl \".eunit\""
Port Opts: [exit_status,{line,16384},use_stdio,stderr_to_stdout,hide]
DEBUG: erl_opts [{d,'TEST'},
debug_info,debug_info,
{src_dirs,["src"]},
{d,'PROPER'}]
DEBUG: Files to compile first: []
INFO: Cover compiling /home/rbarlow/rpmbuild/BUILD/fast_xml-1.1.19
ERROR: eunit failed while processing /home/rbarlow/rpmbuild/BUILD/fast_xml-1.1.19: {'EXIT',
{{case_clause,
{error,beam_lib,
{invalid_chunk,
"/home/rbarlow/rpmbuild/BUILD/fast_xml-1.1.19/.eunit/fxml_gen.beam",
"Abst"}}},
[{cover,do_compile_beam1,3,[{file,"cover.erl"},{line,1539}]},
{cover,do_compile_beam,3,[{file,"cover.erl"},{line,1478}]},
{lists,map,2,[{file,"lists.erl"},{line,1239}]},
{cover,'-pmap_spawn/4-fun-0-',2,[{file,"cover.erl"},{line,2732}]}]}}
I've tried this with fast_xml-1.1.18, 1.1.19 and 1.1.20. Other related deps:
erlang-erts-19.2.2-1.fc26.x86_64
erlang-eunit-19.2.2-1.fc26.x86_64
erlang-p1_utils-1.0.6-1.fc26.x86_64
erlang-rebar-2.6.4-2.fc26.x86_64
Let me know if I can provide more information!
- Dominant language
- Erlang
- Stars
- 137
- Forks
- 44
- Avg merge
- 3d 57m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from processone/fast_xml
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
processone/fast_xml#52 ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 38/100
processone/fast_xml#32 · 3 comments · 1 reaction ·
-
question
Difficulty 4/5 3-5 days Newbie friendliness 25/100
processone/fast_xml#31 · 1 comment ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
processone/fast_xml#25 · 1 comment ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
processone/fast_xml#5 · 7 comments ·
All issues in processone/fast_xml
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·