Hmm, I am getting some test failures. My device is flashed to 154, but I hacked /etc/system-image/config.d/01_channel.ini to pretend it's at 153. system-image-cli --dry-run shows an upgrade to 154 available. However:
====================================================================== FAIL: test_basic_over_the_air_upgrade (ubuntu_ota_tests.tests.test_basic_upgrade.OTABasicUpgradeTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/adt-run.eQlSKM/build.IKc/real-tree/ubuntu_ota_tests/tests/test_basic_upgrade.py", line 47, in test_basic_over_the_air_upgrade self.upgrade() File "/tmp/adt-run.eQlSKM/build.IKc/real-tree/ubuntu_ota_tests/tests/test_basic_upgrade.py", line 35, in upgrade upgrade.upgrade_with_system_image_dbus() File "/tmp/adt-run.eQlSKM/build.IKc/real-tree/ubuntu_ota_tests/upgrade.py", line 46, in upgrade_with_system_image_dbus assert status.is_available, 'Update not available' AssertionError: Update not available
I also see check-for-update failing on an ImportError, but that's probably because it doesn't do the PYTHONPATH workaround.
Hmm, I am getting some test failures. My device is flashed to 154, but I hacked /etc/system- image/config. d/01_channel. ini to pretend it's at 153. system-image-cli --dry-run shows an upgrade to 154 available. However:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= over_the_ air_upgrade (ubuntu_ ota_tests. tests.test_ basic_upgrade. OTABasicUpgrade TestCase) ------- ------- ------- ------- ------- ------- ------- ------- ------- run.eQlSKM/ build.IKc/ real-tree/ ubuntu_ ota_tests/ tests/test_ basic_upgrade. py", line 47, in test_basic_ over_the_ air_upgrade run.eQlSKM/ build.IKc/ real-tree/ ubuntu_ ota_tests/ tests/test_ basic_upgrade. py", line 35, in upgrade upgrade_ with_system_ image_dbus( ) run.eQlSKM/ build.IKc/ real-tree/ ubuntu_ ota_tests/ upgrade. py", line 46, in upgrade_ with_system_ image_dbus is_available, 'Update not available'
FAIL: test_basic_
-------
Traceback (most recent call last):
File "/tmp/adt-
self.upgrade()
File "/tmp/adt-
upgrade.
File "/tmp/adt-
assert status.
AssertionError: Update not available
I also see check-for-update failing on an ImportError, but that's probably because it doesn't do the PYTHONPATH workaround.