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

Failing test on Fedora Rawhide #21

Closed
bowlofeggs opened this issue Jul 30, 2018 · 0 comments
Closed

Failing test on Fedora Rawhide #21

bowlofeggs opened this issue Jul 30, 2018 · 0 comments

Comments

@bowlofeggs
Copy link

Greetings!

I am working on updating stun in Fedora Rawhide, and I'm having a failing unit test:

/usr/bin/rebar eunit skip_deps=true -v
==> stun-1.0.23 (eunit)                   
INFO:  sh info:      
        cwd: "/home/bowlofeggs/rpmbuild/BUILD/stun-1.0.23"
        cmd: cp -R src/turn_tmp_sup.erl src/turn_sm.erl src/turn.erl src/stun_tmp_sup.erl src/stun_test.erl src/stun_sup.erl src/stun_shaper.erl src/stun_listener.erl src/stun_codec.erl src/stun_app.erl src/stun.erl ".eunit"
INFO:  Cover compiling /home/bowlofeggs/rpmbuild/BUILD/stun-1.0.23
======================== EUnit ========================
module 'stun'
module 'stun_test'
  stun_test: init_test...[0.030 s] ok
  stun_test: mk_cert_test...ok
  stun_test: add_udp_listener_test...ok
  stun_test: add_tcp_listener_test...[0.001 s] ok
  stun_test: add_tls_listener_test...ok
  stun_test: bind_udp_test...[0.001 s] ok
  stun_test: bind_tcp_test...
=INFO REPORT==== 29-Jul-2018::20:17:51 ===
accepted connection: 127.0.0.1:57465 -> 127.0.0.1:34780ok
  stun_test: bind_tls_test...
=INFO REPORT==== 29-Jul-2018::20:17:51 ===
accepted connection: 127.0.0.1:55111 -> 127.0.0.1:53490*failed*
in function stun_test:'-bind_tls_test/0-fun-1-'/2 (src/stun_test.erl, line 109)
in call from stun_test:bind_tls_test/0 (src/stun_test.erl, line 109)
**error:{assertEqual,[{module,stun_test},
              {line,109},
              {expression,"fast_tls : send ( TLSSocket , Pkt )"},
              {expected,ok},
              {value,{error,closed}}]}
  output:<<"">>

  stun_test: del_tcp_listener_test...ok
  stun_test: del_tls_listener_test...ok
  stun_test: allocate_udp_test...[0.005 s] ok
  [done in 0.200 s]
module 'stun_codec'
module 'stun_app'
module 'turn'
module 'stun_listener'
module 'stun_shaper'
module 'stun_sup'
module 'turn_sm'
module 'stun_tmp_sup'
module 'turn_tmp_sup'
=======================================================
  Failed: 1.  Skipped: 0.  Passed: 10.
Cover analysis: /home/bowlofeggs/rpmbuild/BUILD/stun-1.0.23/.eunit/index.html
Coverdata export: /home/bowlofeggs/rpmbuild/BUILD/stun-1.0.23/.eunit/cover.coverdata

=INFO REPORT==== 29-Jul-2018::20:17:51 ===
    application: fast_tls
    exited: killed
    type: temporary

=INFO REPORT==== 29-Jul-2018::20:17:51 ===
    application: p1_utils
    exited: killed
    type: temporary

=INFO REPORT==== 29-Jul-2018::20:17:51 ===
    application: stun
    exited: killed
    type: temporary
ERROR: One or more eunit tests failed.
ERROR: eunit failed while processing /home/bowlofeggs/rpmbuild/BUILD/stun-1.0.23: rebar_abort

I also saw a failing test with fast_tls, which seems like it might be relevant:

processone/fast_tls#35

Here are some of the dependencies installed:

erlang-20.3.8.2
erlang-fast_tls-1.0.23-1.fc29.x86_64
erlang-p1_utils-1.0.12-1.fc29.noarch
erlang-rebar-2.6.4-6.fc28.x86_64

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