Bug 1560321 - FTBFS in Rawhide and F28: Two test failures
Summary: FTBFS in Rawhide and F28: Two test failures
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: erlang-p1_oauth2
Version: 28
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Randy Barlow
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-26 00:11 UTC by Randy Barlow
Modified: 2018-04-10 22:55 UTC (History)
3 users (show)

Fixed In Version: erlang-p1_oauth2-0.6.2-4.fc28
Clone Of:
Environment:
Last Closed: 2018-04-10 22:55:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github processone p1_oauth2 issues 2 0 None None None 2018-03-26 00:16:22 UTC

Description Randy Barlow 2018-03-26 00:11:56 UTC
Two tests fail on Fedora 28 and Rawhide, possibly due to Erlang 20 (not sure):

    oauth2_token_tests:58: generate_low_entropy_test_...*failed*
in function crypto:rand_bytes/1                          
  called as rand_bytes(32)
in call from oauth2_token_meck_original:generate_fragment/1 (src/oauth2_token.erl, line 45)
in call from oauth2_token:generate/1
  called as generate([])
in call from oauth2_token_tests:'-generate_low_entropy_test_/0-fun-0-'/0 (test/oauth2_token_tests.erl, line 58)
**error:undef               
  output:<<"">>
        
    oauth2_token_tests:59: generate_low_entropy_test_...*failed*     
in function crypto:rand_bytes/1
  called as rand_bytes(32)
in call from oauth2_token_meck_original:generate_fragment/1 (src/oauth2_token.erl, line 45)
in call from oauth2_token:generate/1
  called as generate([])
in call from oauth2_token_tests:'-generate_low_entropy_test_/0-fun-3-'/0 (test/oauth2_token_tests.erl, line 61)
**error:undef
  output:<<"">>

    [done in 1.477 s]
  [done in 1.477 s]
module 'oauth2_token_generation'
=======================================================
  Failed: 2.  Skipped: 0.  Passed: 70.
Cover analysis: /home/rbarlow/rpmbuild/BUILD/p1_oauth2-0.6.2/.eunit/index.html
Coverdata export: /home/rbarlow/rpmbuild/BUILD/p1_oauth2-0.6.2/.eunit/cover.coverdata
DEBUG: Reconstruct stdlib []
DEBUG: Reconstruct rebar [{log_level,warn},
                          {log_colored,uncolored},
                          {any_dir_modules,
                              [rebar_require_vsn,rebar_deps,rebar_subdirs,
                               rebar_templater,rebar_cleaner]},
                          {modules,
                              [{app_dir,
                                   [rebar_proto_compiler,
                                    rebar_protobuffs_compiler,
                                    rebar_neotoma_compiler,
                                    rebar_asn1_compiler,rebar_dia_compiler,
                                    rebar_dialyzer,rebar_erlc_compiler,
                                    rebar_lfe_compiler,rebar_erlydtl_compiler,
                                    rebar_port_compiler,rebar_otp_app,
                                    rebar_otp_appup,rebar_ct,rebar_eunit,
                                    rebar_qc,rebar_escripter,rebar_edoc,
                                    rebar_shell,rebar_xref,rebar_metacmds]},
                               {rel_dir,
                                   [rebar_appups,rebar_reltool,
                                    rebar_upgrade]}]},
                          {recursive_cmds,
                              ['check-deps',compile,'delete-deps','get-deps',
                               'list-deps','update-deps']}]
ERROR: One or more eunit tests failed.
ERROR: eunit failed while processing /home/rbarlow/rpmbuild/BUILD/p1_oauth2-0.6.2: rebar_abort

Comment 1 Randy Barlow 2018-03-26 00:16:22 UTC
I will work around these test failures by patching out the failing tests for now, since it has been reported upstream.

Comment 2 Fedora Update System 2018-03-26 01:01:31 UTC
erlang-p1_oauth2-0.6.2-3.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-016292820f

Comment 3 Fedora Update System 2018-03-26 15:01:49 UTC
erlang-p1_oauth2-0.6.2-3.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-016292820f

Comment 4 Fedora Update System 2018-03-30 13:20:53 UTC
erlang-p1_oauth2-0.6.2-3.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2018-04-02 13:35:06 UTC
erlang-p1_oauth2-0.6.2-4.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-0d19067009

Comment 6 Fedora Update System 2018-04-03 15:56:43 UTC
erlang-p1_oauth2-0.6.2-4.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-0d19067009

Comment 7 Fedora Update System 2018-04-10 22:55:33 UTC
erlang-p1_oauth2-0.6.2-4.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.