Bug ID 1107253
Summary yast2-rmt fails in the unit test
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.1
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee bnc-team-screening@forge.provo.novell.com
Reporter mlin@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

yast2-rmt fails to build in Leap 15.1

[   40s] + rake test:unit
[   40s] rspec
[   41s]
....................................................................FF......................F.................
[   41s] 
[   41s] Failures:
[   41s] 
[   41s]   1) RMT::WizardMariaDBPage#start_database raises an error when mysql
can't be started
[   41s]      Failure/Error: expect(Yast::SystemdService).to
receive(:find!).with('mysql').and_return(service_double)
[   41s] 
[   41s]      NameError:
[   41s]        uninitialized constant Yast::SystemdService
[   41s]        Did you mean?  SystemExit
[   41s]      # ./spec/rmt/wizard_maria_db_page_spec.rb:174:in `block (3
levels) in <top (required)>'
[   41s] 
[   41s]   2) RMT::WizardMariaDBPage#start_database returns true when mysql is
started
[   41s]      Failure/Error: expect(Yast::SystemdService).to
receive(:find!).with('mysql').and_return(service_double)
[   41s] 
[   41s]      NameError:
[   41s]        uninitialized constant Yast::SystemdService
[   41s]        Did you mean?  SystemExit
[   41s]      # ./spec/rmt/wizard_maria_db_page_spec.rb:174:in `block (3
levels) in <top (required)>'
[   41s] 
[   41s]   3) RMT::Wizard runs and goes through the sequence
[   41s]      Failure/Error: subject(:wizard) { described_class.new }
[   41s] 
[   41s]      NameError:
[   41s]        component cannot import namespace 'SystemdService'
[   41s]      # ./src/lib/rmt/wizard.rb:38:in `initialize'
[   41s]      # ./spec/rmt/wizard_spec.rb:26:in `new'
[   41s]      # ./spec/rmt/wizard_spec.rb:26:in `block (2 levels) in <top
(required)>'
[   41s]      # ./spec/rmt/wizard_spec.rb:58:in `block (2 levels) in <top
(required)>'
[   41s] 
[   41s] Finished in 0.14208 seconds (files took 0.4578 seconds to load)
[   41s] 110 examples, 3 failures
[   41s] 
[   41s] Failed examples:
[   41s] 
[   41s] rspec ./spec/rmt/wizard_maria_db_page_spec.rb:178 #
RMT::WizardMariaDBPage#start_database raises an error when mysql can't be
started
[   41s] rspec ./spec/rmt/wizard_maria_db_page_spec.rb:184 #
RMT::WizardMariaDBPage#start_database returns true when mysql is started
[   41s] rspec ./spec/rmt/wizard_spec.rb:35 # RMT::Wizard runs and goes through
the sequence
[   41s] 
[   41s] rake aborted!
[   41s] Command failed with status (1): [rspec...]
[   41s] /home/abuild/rpmbuild/BUILD/yast2-rmt-1.0.0/Rakefile:32:in `block in
<top (required)>'
[   41s] Tasks: TOP => test:unit
[   41s] (See full trace by running task with --trace)
[   41s] error: Bad exit status from /var/tmp/rpm-tmp.CtEswu (%check)


You are receiving this mail because: