Bug ID 1232721
Summary rebar3 local install fails
Classification openSUSE
Product openSUSE Tumbleweed
Version Slowroll
Hardware Other
URL https://openqa.opensuse.org/tests/4610756/modules/erlang_smoke_test/steps/99
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee screening-team-bugs@suse.de
Reporter volodymyr.katkalov@suse.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By openQA
Blocker Yes

## Observation

openQA test in scenario
microos-Tumbleweed-MicroOS-Image-x86_64-stack_tests_erlang@64bit fails in
[erlang_smoke_test](https://openqa.opensuse.org/tests/4610756/modules/erlang_smoke_test/steps/99)

`rebar3 local install` fails:
===> Expanded command sequence to be run: []
===> Running provider: do
===> Expanded command sequence to be run: [{local,install}]
===> Running provider: {local,install}
===> Uncaught error in rebar_core. Run with DIAGNOSTIC=1 to see stacktrace or
consult rebar3.crashdump
===> Uncaught error: {badmatch,false}
===> Stack trace to the error location:
[{rebar_prv_local_install,extract_escript,2,
                         
[{file,"/home/abuild/rpmbuild/BUILD/rebar3-3.23.0/apps/rebar/src/rebar_prv_local_install.erl"},
                           {line,74}]},
 {rebar_core,do,2,
            
[{file,"/home/abuild/rpmbuild/BUILD/rebar3-3.23.0/apps/rebar/src/rebar_core.erl"},
              {line,155}]},
 {rebar_prv_do,do_task,5,
              
[{file,"/home/abuild/rpmbuild/BUILD/rebar3-3.23.0/apps/rebar/src/rebar_prv_do.erl"},
                {line,87}]},
 {rebar_core,do,2,
            
[{file,"/home/abuild/rpmbuild/BUILD/rebar3-3.23.0/apps/rebar/src/rebar_core.erl"},
              {line,155}]},
 {rebar3,run_aux,2,
        
[{file,"/home/abuild/rpmbuild/BUILD/rebar3-3.23.0/apps/rebar/src/rebar3.erl"},
          {line,205}]},
 {rebar3,main,1,
        
[{file,"/home/abuild/rpmbuild/BUILD/rebar3-3.23.0/apps/rebar/src/rebar3.erl"},
          {line,66}]},
 {erl_eval,local_func,8,[{file,"erl_eval.erl"},{line,646}]},
 {escript,interpret,4,[{file,"escript.erl"},{line,780}]}]
===> When submitting a bug report, please include the output of `rebar3 report
"your command"`
pkNZa-1-


Additionally, `mkdir -p ~/.config/rebar3/; rebar3 new app $app_name` fails with
template `app` not found unless `cp -r
/usr/lib64/erlang/lib/rebar3-*/priv/templates ~/.config/rebar3/` is done prior.

## Test suite description



## Reproducible

Fails since (at least) Build
[20241031](https://openqa.opensuse.org/tests/4610422)


## Expected result

Last good: [20241031](https://openqa.opensuse.org/tests/4609146) (or more
recent)


## Further details

Always latest result in this scenario:
[latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=microos&flavor=MicroOS-Image&machine=64bit&test=stack_tests_erlang&version=Tumbleweed)


You are receiving this mail because: