James E. King III created THRIFT-4582:
-----------------------------------------

             Summary: Ubuntu Xenial erlang 18.3 "make check" fails
                 Key: THRIFT-4582
                 URL: https://issues.apache.org/jira/browse/THRIFT-4582
             Project: Thrift
          Issue Type: Bug
          Components: Erlang - Library
    Affects Versions: 0.11.0
            Reporter: James E. King III


While running "make check" using the docker ubuntu-xenial image, the erlang 
unit tests are failing:
{noformat}
ii  erlang-asn1                                                 
1:18.3-dfsg-1ubuntu3.1                amd64        Erlang/OTP modules for ASN.1 
support
ii  erlang-base                                                 
1:18.3-dfsg-1ubuntu3.1                amd64        Erlang/OTP virtual machine 
and base applications
ii  erlang-crypto                                               
1:18.3-dfsg-1ubuntu3.1                amd64        Erlang/OTP cryptographic 
modules
ii  erlang-dev                                                  
1:18.3-dfsg-1ubuntu3.1                amd64        Erlang/OTP development 
libraries and headers
ii  erlang-eunit                                                
1:18.3-dfsg-1ubuntu3.1                amd64        Erlang/OTP module for unit 
testing
ii  erlang-inets                                                
1:18.3-dfsg-1ubuntu3.1                amd64        Erlang/OTP Internet clients 
and servers
ii  erlang-mnesia                                               
1:18.3-dfsg-1ubuntu3.1                amd64        Erlang/OTP distributed 
relational/object hybrid database
ii  erlang-public-key                                           
1:18.3-dfsg-1ubuntu3.1                amd64        Erlang/OTP public key 
infrastructure
ii  erlang-runtime-tools                                        
1:18.3-dfsg-1ubuntu3.1                amd64        Erlang/OTP runtime 
tracing/debugging tools
ii  erlang-ssl                                                  
1:18.3-dfsg-1ubuntu3.1                amd64        Erlang/OTP implementation of 
SSL
ii  erlang-syntax-tools                                         
1:18.3-dfsg-1ubuntu3.1                amd64        Erlang/OTP modules for 
handling abstract Erlang syntax trees
ii  erlang-tools                                                
1:18.3-dfsg-1ubuntu3.1                amd64        Erlang/OTP various tools
ii  erlang-webtool                                              
1:18.3-dfsg-1ubuntu3.1                amd64        Erlang/OTP helper for 
web-based tools
root@2785892e288b:/thrift/src/lib/erl# make check
/usr/bin/rebar -C rebar.test.config get-deps
==> meck (get-deps)
==> erl (get-deps)
/usr/bin/rebar -C rebar.test.config compile
==> meck (compile)
==> erl (compile)
/usr/bin/rebar -C rebar.test.config skip_deps=true eunit
==> erl (eunit)
in namespace_test()
undefined

=ERROR REPORT==== 9-Jun-2018::03:12:08 ===
beam/beam_load.c(1189): Error loading module meck:
  mandatory chunk of type 'Atom' not found


*** context setup failed ***
**in function meck:new/2
  called as new(file,[unstick,passthrough])
in call from test_thrift_file_transport:'-read_test_/0-fun-1-'/0 
(test/test_thrift_file_transport.erl, line 57)
**error:undef



=ERROR REPORT==== 9-Jun-2018::03:12:08 ===
Loading of /thrift/src/lib/erl/deps/meck/ebin/meck.beam failed: badfile
undefined

=ERROR REPORT==== 9-Jun-2018::03:12:08 ===
beam/beam_load.c(1189): Error loading module meck:
  mandatory chunk of type 'Atom' not found


*** context setup failed ***
**in function meck:new/2
  called as new(file,[unstick,passthrough])
in call from test_thrift_file_transport:'-read_exact_test_/0-fun-1-'/0 
(test/test_thrift_file_transport.erl, line 102)
**error:undef



=ERROR REPORT==== 9-Jun-2018::03:12:08 ===
Loading of /thrift/src/lib/erl/deps/meck/ebin/meck.beam failed: badfile

=ERROR REPORT==== 9-Jun-2018::03:12:08 ===
beam/beam_load.c(1189): Error loading module meck:
  mandatory chunk of type 'Atom' not found



=ERROR REPORT==== 9-Jun-2018::03:12:08 ===
Loading of /thrift/src/lib/erl/deps/meck/ebin/meck.beam failed: badfile
undefined
*** context setup failed ***
**in function meck:new/2
  called as new(file,[unstick,passthrough])
in call from test_thrift_file_transport:'-write_test_/0-fun-1-'/0 
(test/test_thrift_file_transport.erl, line 147)
**error:undef



=ERROR REPORT==== 9-Jun-2018::03:12:08 ===
beam/beam_load.c(1189): Error loading module meck:
  mandatory chunk of type 'Atom' not found



=ERROR REPORT==== 9-Jun-2018::03:12:08 ===
Loading of /thrift/src/lib/erl/deps/meck/ebin/meck.beam failed: badfile
undefined
*** context setup failed ***
**in function meck:new/2
  called as new(file,[unstick,passthrough])
in call from test_thrift_file_transport:'-flush_test_/0-fun-1-'/0 
(test/test_thrift_file_transport.erl, line 185)
**error:undef



=ERROR REPORT==== 9-Jun-2018::03:12:08 ===
beam/beam_load.c(1189): Error loading module meck:
  mandatory chunk of type 'Atom' not found



=ERROR REPORT==== 9-Jun-2018::03:12:08 ===
Loading of /thrift/src/lib/erl/deps/meck/ebin/meck.beam failed: badfile
undefined
*** context setup failed ***
**in function meck:new/2
  called as new(file,[unstick,passthrough])
in call from test_thrift_file_transport:'-close_test_/0-fun-1-'/0 
(test/test_thrift_file_transport.erl, line 203)
**error:undef



=ERROR REPORT==== 9-Jun-2018::03:12:08 ===
beam/beam_load.c(1189): Error loading module meck:
  mandatory chunk of type 'Atom' not found



=ERROR REPORT==== 9-Jun-2018::03:12:08 ===
Loading of /thrift/src/lib/erl/deps/meck/ebin/meck.beam failed: badfile
undefined
*** context setup failed ***
**in function meck:new/2
  called as new(gen_tcp,[unstick,passthrough])
in call from test_thrift_socket_transport:'-read_test_/0-fun-1-'/0 
(test/test_thrift_socket_transport.erl, line 53)
**error:undef



=ERROR REPORT==== 9-Jun-2018::03:12:08 ===
beam/beam_load.c(1189): Error loading module meck:
  mandatory chunk of type 'Atom' not found



=ERROR REPORT==== 9-Jun-2018::03:12:08 ===
Loading of /thrift/src/lib/erl/deps/meck/ebin/meck.beam failed: badfile
undefined
*** context setup failed ***
**in function meck:new/2
  called as new(gen_tcp,[unstick,passthrough])
in call from test_thrift_socket_transport:'-read_exact_test_/0-fun-2-'/0 
(test/test_thrift_socket_transport.erl, line 99)
**error:undef



=ERROR REPORT==== 9-Jun-2018::03:12:08 ===
beam/beam_load.c(1189): Error loading module meck:
  mandatory chunk of type 'Atom' not found



=ERROR REPORT==== 9-Jun-2018::03:12:08 ===
Loading of /thrift/src/lib/erl/deps/meck/ebin/meck.beam failed: badfile
undefined
*** context setup failed ***
**in function meck:new/2
  called as new(gen_tcp,[unstick,passthrough])
in call from test_thrift_socket_transport:'-write_test_/0-fun-1-'/0 
(test/test_thrift_socket_transport.erl, line 148)
**error:undef



=ERROR REPORT==== 9-Jun-2018::03:12:08 ===
beam/beam_load.c(1189): Error loading module meck:
  mandatory chunk of type 'Atom' not found



=ERROR REPORT==== 9-Jun-2018::03:12:08 ===
Loading of /thrift/src/lib/erl/deps/meck/ebin/meck.beam failed: badfile
undefined
*** context setup failed ***
**in function meck:new/2
  called as new(gen_tcp,[unstick,passthrough])
in call from test_thrift_socket_transport:'-close_test_/0-fun-1-'/0 
(test/test_thrift_socket_transport.erl, line 189)
**error:undef



=INFO REPORT==== 9-Jun-2018::03:12:09 ===
thrift_disk_log_transport syncing

=INFO REPORT==== 9-Jun-2018::03:12:09 ===
thrift_disk_log_transport syncing

=INFO REPORT==== 9-Jun-2018::03:12:09 ===
thrift service listening on port 9090
=ERROR REPORT==== 9-Jun-2018::03:12:10 ===
{thrift_socket_server,282,
                      {child_error,normal,
                                   <<"Program counter: 0x00007fe20c043ef0 
(unknown function)\nCP: 0x00007fe20bb5c180 (thrift_socket_server:terminate/2 + 
216)\n\n0x00007fe202906a68 Return addr 0x00007fe20c486140 
(gen_server:try_terminate/3 + 136)\ny(0)     normal\ny(1)     
9090\n\n0x00007fe202906a80 Return addr 0x00007fe20c488be8 
(gen_server:terminate/7 + 152)\ny(0)     Catch 0x00007fe20c4861a0 
(gen_server:try_terminate/3 + 232)\n\n0x00007fe202906a90 Return addr 
0x00007fe20c463a80 (proc_lib:init_p_do_apply/3 + 56)\ny(0)     []\ny(1)     
{thrift_socket_server,9090,[{\"Multiplexing_Calculator\",multiplexing__calculator_thrift},{\"Multiplexing_WeatherReport\",multiplexing__weather_report_thrift}],[{\"Multiplexing_Calculator\",multiplexing_test},{\"Multiplexing_WeatherReport\",multiplexing_test},{\"error_handler\",multiplexing_test}],{local,multiplexing_test},2047,{127,0,0,1},#Port<0.37513>,<0.335.0>,[{recv_timeout,500}],binary,false,false,[]}\ny(2)
     thrift_socket_server\ny(3)     {'$gen_cast',stop}\ny(4)     
multiplexing_test\ny(5)     normal\ny(6)     normal\n\n0x00007fe202906ad0 
Return addr 0x000000000088b9a8 (<terminate process normally>)\ny(0)     Catch 
0x00007fe20c463aa0 (proc_lib:init_p_do_apply/3 + 88)\n">>}}
=======================================================
  Failed: 0.  Skipped: 0.  Passed: 278.
One or more tests were cancelled.
ERROR: One or more eunit tests failed.
ERROR: eunit failed while processing /thrift/src/lib/erl: rebar_abort
Makefile:663: recipe for target 'check' failed
make: *** [check] Error 1
{noformat}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to