ignore my previous comment (#7) I mis-read the man page.

** Description changed:

+ krillin rc-proposed 201
+ 
+ TEST CASE
+ Setup:
+ Make sure that the hardware clock and the system clock are in sync:
+ $ timedatectl set-ntp 1
+ $ sudo hwclock -w --noadjfile -u
+ 
+ Test Steps:
+ 1. Disable ntp, check that clocks are in sync
+ $ timedatectl set-ntp 0
+ 
+ 2. Set system clock to another date or time and verify that the clocks are 
set correctly to the new time
+ $ timedatectl set-time '03:00:00'
+ 
+ 3. Note the real time on a watch or another system's clock and reboot
+ 4. Upon reboot, check the time
+ 
+ Actual Result
+ - hardware clock is correct (manually set time plus the time elapsed since it 
has been set)
+ - system clock is wrong and set to the time it has been manually updated 
(with a difference of several minutes from real time) 
+ - sudo dmesg | grep "system clock" shows that the kernel set the system clock 
correctly
+ 
+ Expected Results
+ - hardware and system clocks are in sync and both set to the time set 
manually.
+ 
+ 
+ = Original Description =
+ 
  TEST ENV:
  $ system-image-cli -i
  current build number: 38
  device name: krillin
  channel: ubuntu-touch/rc/bq-aquaris.en
  last update: 2015-12-08 02:29:10
  version version: 38
  version ubuntu: 20151207.1
  version device: 20150821-736d127
  version custom: 20151111--36-46-viv
  
  STEPS:
  1.Go to system-settings / Date & time
- 2.Set "Set date and time" to "Manual" 
+ 2.Set "Set date and time" to "Manual"
  3.Change current date & time (Dec 10, 9:30 AM) to new date & time (Dec 9, 
13:30 PM)
  4.Ensure that indicator updates to the new date/time
  5.Reboot the phone
  6.Go back to Date & time settings page and check
  
  Actual result:
  After rebooting, the setting is "Manual", but the date/time is the current 
date/time, not the one I set before
  
  Expected result:
  Should display the date/time set in Step 3.

** Changed in: canonical-devices-system-image
   Importance: Medium => High

** Description changed:

  krillin rc-proposed 201
  
  TEST CASE
  Setup:
  Make sure that the hardware clock and the system clock are in sync:
  $ timedatectl set-ntp 1
  $ sudo hwclock -w --noadjfile -u
+ Verify the time is correct on both clocks
+ $ timedatetl
  
  Test Steps:
  1. Disable ntp, check that clocks are in sync
  $ timedatectl set-ntp 0
  
  2. Set system clock to another date or time and verify that the clocks are 
set correctly to the new time
  $ timedatectl set-time '03:00:00'
  
  3. Note the real time on a watch or another system's clock and reboot
  4. Upon reboot, check the time
  
  Actual Result
  - hardware clock is correct (manually set time plus the time elapsed since it 
has been set)
- - system clock is wrong and set to the time it has been manually updated 
(with a difference of several minutes from real time) 
+ - system clock is wrong and set to the time it has been manually updated 
(with a difference of several minutes from real time)
  - sudo dmesg | grep "system clock" shows that the kernel set the system clock 
correctly
  
  Expected Results
  - hardware and system clocks are in sync and both set to the time set 
manually.
- 
  
  = Original Description =
  
  TEST ENV:
  $ system-image-cli -i
  current build number: 38
  device name: krillin
  channel: ubuntu-touch/rc/bq-aquaris.en
  last update: 2015-12-08 02:29:10
  version version: 38
  version ubuntu: 20151207.1
  version device: 20150821-736d127
  version custom: 20151111--36-46-viv
  
  STEPS:
  1.Go to system-settings / Date & time
  2.Set "Set date and time" to "Manual"
  3.Change current date & time (Dec 10, 9:30 AM) to new date & time (Dec 9, 
13:30 PM)
  4.Ensure that indicator updates to the new date/time
  5.Reboot the phone
  6.Go back to Date & time settings page and check
  
  Actual result:
  After rebooting, the setting is "Manual", but the date/time is the current 
date/time, not the one I set before
  
  Expected result:
  Should display the date/time set in Step 3.

** Description changed:

  krillin rc-proposed 201
  
  TEST CASE
  Setup:
  Make sure that the hardware clock and the system clock are in sync:
  $ timedatectl set-ntp 1
  $ sudo hwclock -w --noadjfile -u
  Verify the time is correct on both clocks
- $ timedatetl
+ $ timedatectl
  
  Test Steps:
  1. Disable ntp, check that clocks are in sync
  $ timedatectl set-ntp 0
  
  2. Set system clock to another date or time and verify that the clocks are 
set correctly to the new time
  $ timedatectl set-time '03:00:00'
  
  3. Note the real time on a watch or another system's clock and reboot
  4. Upon reboot, check the time
  
  Actual Result
  - hardware clock is correct (manually set time plus the time elapsed since it 
has been set)
  - system clock is wrong and set to the time it has been manually updated 
(with a difference of several minutes from real time)
  - sudo dmesg | grep "system clock" shows that the kernel set the system clock 
correctly
  
  Expected Results
  - hardware and system clocks are in sync and both set to the time set 
manually.
  
  = Original Description =
  
  TEST ENV:
  $ system-image-cli -i
  current build number: 38
  device name: krillin
  channel: ubuntu-touch/rc/bq-aquaris.en
  last update: 2015-12-08 02:29:10
  version version: 38
  version ubuntu: 20151207.1
  version device: 20150821-736d127
  version custom: 20151111--36-46-viv
  
  STEPS:
  1.Go to system-settings / Date & time
  2.Set "Set date and time" to "Manual"
  3.Change current date & time (Dec 10, 9:30 AM) to new date & time (Dec 9, 
13:30 PM)
  4.Ensure that indicator updates to the new date/time
  5.Reboot the phone
  6.Go back to Date & time settings page and check
  
  Actual result:
  After rebooting, the setting is "Manual", but the date/time is the current 
date/time, not the one I set before
  
  Expected result:
  Should display the date/time set in Step 3.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1524674

Title:
  Set Time & Date manually doesn't persist between reboots

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1524674/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to