Skip Menu |
 

This queue is for tickets about the Prophet CPAN distribution.

Report information
The Basics
Id: 93807
Status: new
Priority: 0/
Queue: Prophet

People
Owner: Nobody in particular
Requestors: lxp [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.751
Fixed in: (no value)



Subject: some tests in aliases.t fail due to ordering of output
Download (untitled) / with headers
text/plain 1.4k
Some of the tests in aliases.t rely on line-based output to be emitted in a specific order. For me, at least one test consistently fails due to this: $ prove -bv t/aliases.t ... not ok 69 - changed alias output matches # Failed test 'changed alias output matches' # at t/aliases.t line 245. # got: 'Active aliases for the current repository (including # user-wide and global aliases if not overridden): # # something different = pull --local # pull -a = pull --all # pull --from http://www.example.com/ = pfe # foo = sigh # foo bar = bar # # ' # expected: 'Active aliases for the current repository (including # user-wide and global aliases if not overridden): # # foo bar = bar # foo = sigh # something different = pull --local # pull -a = pull --all # pull --from http://www.example.com/ = pfe # # ' and on some (but not all) occasions, this also happens: not ok 27 - show (STDOUT) # Failed test 'show (STDOUT)' # at t/aliases.t line 181. # 'Active aliases for the current repository # (including user-wide and global aliases if not overridden): # # pull -a = pull --all # pull -l = pull --local # # ' # doesn't match '(?^:Active aliases for the current repository \(including user-wide and global\naliases if not overridden\):\n\npull -l = pull --local\npull -a = pull --all)' Perhaps these tests are relying on certain hash enumeration ordering, and/or perhaps there is some other random element.
Download (untitled) / with headers
text/plain 7.3k
On another run of the tests, I'm facing the same problem with database-settings-editor.t: # Failed test 'changed settings output matches' # at t/Settings/t/database-settings-editor.t line 35. # '# uuid: 2F9E6509-4468-438A-A733-246B3061003E # default_status: ["new"] # # # uuid: 1AF5CF74-A6D4-417E-A738-CCE64A0A7F71 # milestones: ["alpha","beta","1.0"] # # # uuid: 0AEC922F-57B1-44BE-9588-816E5841BB18 # default_component: ["core"] # # # uuid: BAB613BD-9E25-4612-8DE3-21E4572859EA # default_milestone: ["alpha"] # # # uuid: 6CBD84A1-4568-48E7-B90C-F1A5B7BD8ECD # components: ["core","ui","docs","tests"] # # # uuid: 24183C4D-EFD0-4B16-A207-ED7598E875E6 # statuses: ["new","open","stalled"] # # # ' # doesn't match '(?^:\#\ uuid\:\ BAB613BD\-9E25\-4612\-8DE3\-21E4572859EA\ # default_milestone\:\ \[\"alpha\"\]\ # \ # \#\ uuid\:\ 1AF5CF74\-A6D4\-417E\-A738\-CCE64A0A7F71\ # milestones\:\ \[\"alpha\"\,\"beta\"\,\"1\.0\"\]\ # \ # \#\ uuid\:\ 0AEC922F\-57B1\-44BE\-9588\-816E5841BB18\ # default_component\:\ \[\"core\"\]\ # \ # \#\ uuid\:\ 6CBD84A1\-4568\-48E7\-B90C\-F1A5B7BD8ECD\ # components\:\ \[\"core\"\,\"ui\"\,\"docs\"\,\"tests\"\]\ # \ # \#\ uuid\:\ 2F9E6509\-4468\-438A\-A733\-246B3061003E\ # default_status\:\ \[\"new\"\]\ # \ # \#\ uuid\:\ 24183C4D\-EFD0\-4B16\-A207\-ED7598E875E6\ # statuses\:\ \[\"new\"\,\"open\"\,\"stalled\"\]\ # )' # Failed test 'interactive settings edit' # at t/Settings/t/database-settings-editor.t line 65. # got: 'Setting with uuid "6FBD84A1-4568-48E7-B90C-F1A5B7BD8ECD" does not exist. # Changed default_status from ["new"] to ["open"]. # ' # expected: 'Changed default_status from ["new"] to ["open"]. # Setting with uuid "6FBD84A1-4568-48E7-B90C-F1A5B7BD8ECD" does not exist. # ' # Failed test 'interactive template was correct' # at t/Settings/t/database-settings-editor.t line 71. # '# uuid: BAB613BD-9E25-4612-8DE3-21E4572859EA # default_milestone: ["alpha"] # # # uuid: 6CBD84A1-4568-48E7-B90C-F1A5B7BD8ECD # components: ["core","ui","docs","tests"] # # # uuid: 1AF5CF74-A6D4-417E-A738-CCE64A0A7F71 # milestones: ["alpha","beta","1.0"] # # # uuid: 0AEC922F-57B1-44BE-9588-816E5841BB18 # default_component: ["core"] # # # uuid: 2F9E6509-4468-438A-A733-246B3061003E # default_status: ["new"] # # # uuid: 24183C4D-EFD0-4B16-A207-ED7598E875E6 # statuses: ["new","open","stalled"] # # ' # doesn't match '(?^:\#\ uuid\:\ BAB613BD\-9E25\-4612\-8DE3\-21E4572859EA\ # default_milestone\:\ \[\"alpha\"\]\ # \ # \#\ uuid\:\ 1AF5CF74\-A6D4\-417E\-A738\-CCE64A0A7F71\ # milestones\:\ \[\"alpha\"\,\"beta\"\,\"1\.0\"\]\ # \ # \#\ uuid\:\ 0AEC922F\-57B1\-44BE\-9588\-816E5841BB18\ # default_component\:\ \[\"core\"\]\ # \ # \#\ uuid\:\ 6CBD84A1\-4568\-48E7\-B90C\-F1A5B7BD8ECD\ # components\:\ \[\"core\"\,\"ui\"\,\"docs\"\,\"tests\"\]\ # \ # \#\ uuid\:\ 2F9E6509\-4468\-438A\-A733\-246B3061003E\ # default_status\:\ \[\"new\"\]\ # \ # \#\ uuid\:\ 24183C4D\-EFD0\-4B16\-A207\-ED7598E875E6\ # statuses\:\ \[\"new\"\,\"open\"\,\"stalled\"\]\ # )' # Failed test 'changed settings output matches' # at t/Settings/t/database-settings-editor.t line 77. # '# uuid: 6CBD84A1-4568-48E7-B90C-F1A5B7BD8ECD # components: ["core","ui","docs","tests"] # # # uuid: BAB613BD-9E25-4612-8DE3-21E4572859EA # default_milestone: ["alpha"] # # # uuid: 0AEC922F-57B1-44BE-9588-816E5841BB18 # default_component: ["core"] # # # uuid: 1AF5CF74-A6D4-417E-A738-CCE64A0A7F71 # milestones: ["alpha","beta","1.0"] # # # uuid: 2F9E6509-4468-438A-A733-246B3061003E # default_status: ["open"] # # # uuid: 24183C4D-EFD0-4B16-A207-ED7598E875E6 # statuses: ["new","open","stalled"] # # # ' # doesn't match '(?^:\#\ uuid\:\ BAB613BD\-9E25\-4612\-8DE3\-21E4572859EA\ # default_milestone\:\ \[\"alpha\"\]\ # \ # \#\ uuid\:\ 1AF5CF74\-A6D4\-417E\-A738\-CCE64A0A7F71\ # milestones\:\ \[\"alpha\"\,\"beta\"\,\"1\.0\"\]\ # \ # \#\ uuid\:\ 0AEC922F\-57B1\-44BE\-9588\-816E5841BB18\ # default_component\:\ \[\"core\"\]\ # \ # \#\ uuid\:\ 6CBD84A1\-4568\-48E7\-B90C\-F1A5B7BD8ECD\ # components\:\ \[\"core\"\,\"ui\"\,\"docs\"\,\"tests\"\]\ # \ # \#\ uuid\:\ 2F9E6509\-4468\-438A\-A733\-246B3061003E\ # default_status\:\ \[\"open\"\]\ # \ # \#\ uuid\:\ 24183C4D\-EFD0\-4B16\-A207\-ED7598E875E6\ # statuses\:\ \[\"new\"\,\"open\"\,\"stalled\"\]\ # )' # Failed test 'interactive settings edit with JSON error' # at t/Settings/t/database-settings-editor.t line 96. # 'Changed default_component from ["core"] to ["ui"]. # An error occured setting default_milestone to ["alpha": , or ] expected while parsing array, at character offset 8 (before "(end of string)") at /home/lx/.cpanm/work/1394667071.29705/Prophet-0.751/blib/lib/Prophet/CLI/Command/Settings.pm line 171. # ' # doesn't match '(?^m:^An error occured setting default_milestone to \["alpha":.*? # Changed default_component from \["core"\] to \["ui"\].)' # Failed test 'interactive template was correct' # at t/Settings/t/database-settings-editor.t line 103. # '# uuid: 2F9E6509-4468-438A-A733-246B3061003E # default_status: ["open"] # # # uuid: 1AF5CF74-A6D4-417E-A738-CCE64A0A7F71 # milestones: ["alpha","beta","1.0"] # # # uuid: 0AEC922F-57B1-44BE-9588-816E5841BB18 # default_component: ["core"] # # # uuid: BAB613BD-9E25-4612-8DE3-21E4572859EA # default_milestone: ["alpha"] # # # uuid: 6CBD84A1-4568-48E7-B90C-F1A5B7BD8ECD # components: ["core","ui","docs","tests"] # # # uuid: 24183C4D-EFD0-4B16-A207-ED7598E875E6 # statuses: ["new","open","stalled"] # # ' # doesn't match '(?^:\#\ uuid\:\ BAB613BD\-9E25\-4612\-8DE3\-21E4572859EA\ # default_milestone\:\ \[\"alpha\"\]\ # \ # \#\ uuid\:\ 1AF5CF74\-A6D4\-417E\-A738\-CCE64A0A7F71\ # milestones\:\ \[\"alpha\"\,\"beta\"\,\"1\.0\"\]\ # \ # \#\ uuid\:\ 0AEC922F\-57B1\-44BE\-9588\-816E5841BB18\ # default_component\:\ \[\"core\"\]\ # \ # \#\ uuid\:\ 6CBD84A1\-4568\-48E7\-B90C\-F1A5B7BD8ECD\ # components\:\ \[\"core\"\,\"ui\"\,\"docs\"\,\"tests\"\]\ # \ # \#\ uuid\:\ 2F9E6509\-4468\-438A\-A733\-246B3061003E\ # default_status\:\ \[\"open\"\]\ # \ # \#\ uuid\:\ 24183C4D\-EFD0\-4B16\-A207\-ED7598E875E6\ # statuses\:\ \[\"new\"\,\"open\"\,\"stalled\"\]\ # )' # Failed test 'changed settings output matches' # at t/Settings/t/database-settings-editor.t line 109. # '# uuid: 1AF5CF74-A6D4-417E-A738-CCE64A0A7F71 # milestones: ["alpha","beta","1.0"] # # # uuid: 0AEC922F-57B1-44BE-9588-816E5841BB18 # default_component: ["ui"] # # # uuid: 2F9E6509-4468-438A-A733-246B3061003E # default_status: ["open"] # # # uuid: BAB613BD-9E25-4612-8DE3-21E4572859EA # default_milestone: ["alpha"] # # # uuid: 6CBD84A1-4568-48E7-B90C-F1A5B7BD8ECD # components: ["core","ui","docs","tests"] # # # uuid: 24183C4D-EFD0-4B16-A207-ED7598E875E6 # statuses: ["new","open","stalled"] # # # ' # doesn't match '(?^:\#\ uuid\:\ BAB613BD\-9E25\-4612\-8DE3\-21E4572859EA\ # default_milestone\:\ \[\"alpha\"\]\ # \ # \#\ uuid\:\ 1AF5CF74\-A6D4\-417E\-A738\-CCE64A0A7F71\ # milestones\:\ \[\"alpha\"\,\"beta\"\,\"1\.0\"\]\ # \ # \#\ uuid\:\ 0AEC922F\-57B1\-44BE\-9588\-816E5841BB18\ # default_component\:\ \[\"ui\"\]\ # \ # \#\ uuid\:\ 6CBD84A1\-4568\-48E7\-B90C\-F1A5B7BD8ECD\ # components\:\ \[\"core\"\,\"ui\"\,\"docs\"\,\"tests\"\]\ # \ # \#\ uuid\:\ 2F9E6509\-4468\-438A\-A733\-246B3061003E\ # default_status\:\ \[\"open\"\]\ # \ # \#\ uuid\:\ 24183C4D\-EFD0\-4B16\-A207\-ED7598E875E6\ # statuses\:\ \[\"new\"\,\"open\"\,\"stalled\"\]\ # )'


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.