reboot/poweroff test logs not in .checkbox folder

Bug #1205194 reported by Betty Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
High
Daniel Manrique

Bug Description

After finished reboot/poweroff test, the logs can not find in .checkbox folder.
They were in /var/log

It will be better all checkbox test logs can save in .checkbox folder.
And all logs can be backup then.

checkbox version:
checkbox 0.16.6+bzr1986+201307191713~precise1
checkbox-certification 0.16.4+ppa+bzr581+201307041618~precise1

Related branches

Revision history for this message
Daniel Manrique (roadmr) wrote :

Hi Betty,

the pm_test script defaults to saving the logs in /var/log (see scripts/pm_test, line 755) but only if the --log-dir option is not given.

The functional tests seem to be correct:

name: power-management/reboot
command: pm_test reboot --log-level=debug --log-dir=$CHECKBOX_DATA

name: power-management/poweroff
command: pm_test poweroff --log-level=debug --log-dir=$CHECKBOX_DATA

However the stress ones do not have this, so they will save the logs in /var/log.

name: stress/reboot
command: pm_test -r 100 --silent --log-level=notset reboot

name: stress/poweroff
command: pm_test -r 100 --silent --log-level=notset poweroff

Could you just confirm that the stress/reboot and stress/poweroff are the ones giving problems?

Regardless, I'll have a fix proposed in a moment, because this is clearly wrong so it needs to be fixed.

Thanks!

tags: added: job
Changed in checkbox:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Daniel Manrique (roadmr)
Daniel Manrique (roadmr)
Changed in checkbox:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.