lp:~smoser/curtin

Owned by Scott Moser
Get this repository:
git clone https://git.launchpad.net/~smoser/curtin
Only Scott Moser can upload to this repository. If you are Scott Moser please log in for upload directions.

Branches

Name Last Modified Last Commit
cleanup/always-use-bootif 2018-04-18 14:05:15 UTC 2018-04-18
vmtest: always boot with BOOTIF and ip=::::BOOTIF:dhcp

Author: Scott Moser
Author Date: 2018-02-13 21:58:50 UTC

vmtest: always boot with BOOTIF and ip=::::BOOTIF:dhcp

This excercises part of boot that was excercised in MAAS but not here.
Cloud-initramfs-dyn-netconf translates BOOTIF to the device name.

ip= is described in klibc-utils package in
 /usr/share/doc/libklibc/README.ipconfig.gz

See bug #1749019 for some more context.

cleanup/fix-tip-pycodestyle-invalid-escape-sequences 2018-04-13 01:09:28 UTC 2018-04-13
take ryan's suggestion for ua_val replacement

Author: Scott Moser
Author Date: 2018-04-13 01:09:28 UTC

take ryan's suggestion for ua_val replacement

cleanup/drop-new-upstream-snapshot 2018-03-28 19:59:27 UTC 2018-03-28
Drop ubuntu branch management script new-upstream-snapshot.

Author: Scott Moser
Author Date: 2018-03-28 19:59:27 UTC

Drop ubuntu branch management script new-upstream-snapshot.

This script was used for managing our ubuntu/ branches.
Instead of maintaining it here, we have moved it to another location.
  https://github.com/cloud-init/qa-scripts/

feature/vmtest-collect-more-things 2018-03-27 20:34:32 UTC 2018-03-27
commit current state

Author: Scott Moser
Author Date: 2018-03-27 20:34:32 UTC

commit current state

cleanup/basic-use-and-check-swap 2018-03-22 15:58:43 UTC 2018-03-22
write the install collect file for psuedo test

Author: Scott Moser
Author Date: 2018-03-22 15:58:43 UTC

write the install collect file for psuedo test

fix/lp-1527727-remove-zfs-xenial-workarounds 2018-03-07 11:35:18 UTC 2018-03-07
Remove grub2/xenial specific workarounds for zfsroot.

Author: Scott Moser
Author Date: 2018-02-23 03:03:09 UTC

Remove grub2/xenial specific workarounds for zfsroot.

This removes the workarounds that were put into place for installation
of zfs on xenial. With the fix of bug 1527727, they are no longer
necessary.

feature/add-fstest-battery 2018-03-07 11:15:15 UTC 2018-03-07
vmtest: Add Filesystem Battery test.

Author: Scott Moser
Author Date: 2018-02-06 21:25:55 UTC

vmtest: Add Filesystem Battery test.

This test exercises filesystem creation, mount and unmount of all
supported filesystem types.

Also here is a fix for jfs filesystem creation. mkfs_jfs requires a '-q'
argument to force/quiet. Otherwise it will prompt to ask if you
really want to do that.

cleanup/remove-rc-initrd-dns 2018-03-07 11:14:51 UTC 2018-03-07
vmtest: Remove xenial and trusty specific workaround for rooturl.

Author: Scott Moser
Author Date: 2018-02-12 15:33:00 UTC

vmtest: Remove xenial and trusty specific workaround for rooturl.

xenial and trusty required specifying rc-initrd-dns on the kernel
command line in order to enable dns transition from initramfs to
real root (rooturl). Those changes are now fixed in both releases
so we can remove this code.

The changes made the archive today. We would expect they
are in any daily image with a serial newer than that 20180212.

fix/curtainer-try-harder-for-source 2018-03-01 20:59:51 UTC 2018-03-01
better search for directory

Author: Scott Moser
Author Date: 2018-03-01 20:59:51 UTC

better search for directory

doc/hacking-rst 2018-02-15 17:55:06 UTC 2018-02-15
docs: Add HACKING.rst doc to top level dir and readthedocs.

Author: Scott Moser
Author Date: 2018-02-12 19:22:11 UTC

docs: Add HACKING.rst doc to top level dir and readthedocs.

This adds a general 'HACKING.rst' document to the top level curtin
directory and also publishes that content into readthedocs.io.

Also drops the obsolete 'development.rst'.

fix/sgdisk-should-get-integers 2018-02-08 16:52:18 UTC 2018-02-08
block_meta: Ensure offset input to sgdisk are integers.

Author: Scott Moser
Author Date: 2018-02-06 20:39:11 UTC

block_meta: Ensure offset input to sgdisk are integers.

Looking at a install log, I saw commands executed like this:
   sgdisk --new 2:1050624.0:7342079.0 --typecode=2:8300 /dev/vda

This change fixes both of the '.0'. All other values that were used
in the math were already integers.

fix/vmtest-download-fixup 2018-02-07 18:09:58 UTC 2018-02-07
Fix error in url_helper and vmtest from previous commit.

Author: Scott Moser
Author Date: 2018-02-07 17:46:17 UTC

Fix error in url_helper and vmtest from previous commit.

Previous commit had 2 issues:
a.) it pushed the majority of tests down "install from url" path,
    which was not intended. The intent was to use 'cp://' whenever
    the booted environment was the same as the target. The problem
    occurred when target_release was the default None.
    The fix here is just to cover target_release == None case.
b.) url_helper.download was broken for python2.7.
    The isue was just that we expected the bytes written to be returned
    from file().write. Python 2 file.write has no return value.
    A unit test is added to test that code.

cleanup/curtainer-get-source-by-version 2018-02-07 17:22:14 UTC 2018-02-07
tools: fix curtainer to specify source version to apt-get source.

Author: Scott Moser
Author Date: 2018-02-07 17:22:14 UTC

tools: fix curtainer to specify source version to apt-get source.

We were seeing version skew from the binary package to the source
package, and had recently added code to exit failure if we saw
that case.

This change will make curtainer explicitly request the version
of source that it has the binary for. It is possible that the
ppa would not have that version (if it had been supersceeded),
but hopefully the archive holds onto source for current binary
packages.

feature/bug-1746348-fsimage-support 2018-02-06 22:02:19 UTC 2018-02-06
address suggested change for _path_from_file usage.

Author: Scott Moser
Author Date: 2018-02-06 21:59:13 UTC

address suggested change for _path_from_file usage.

cleanup/make-basic-uefi-more-basic-no-xfs 2018-02-06 00:41:44 UTC 2018-02-06
tests: remove xfs filesystem from basic uefi test.

Author: Scott Moser
Author Date: 2018-02-06 00:29:44 UTC

tests: remove xfs filesystem from basic uefi test.

The test_uefi_basic.py file reports to be 'basic' test of uefi.
However, it also tests xfs filesystem support.
In order to make it more basic, just drop the xfs.

The real motivation here is to later enable a precise (12.04)
installation test done inside a 14.04 or 16.04 environment.
Each of those scenarios cause mounting problems of the xfs partition
when the 12.04 kernel boots. That is because the mkfs.xfs command
enabled options that were not supported in the older kernel.

fix/curtainer-fix-for-trusty-dpkg-dev 2018-02-05 21:59:23 UTC 2018-02-05
tools: fix curtainer --source with trusty.

Author: Scott Moser
Author Date: 2018-02-05 21:59:23 UTC

tools: fix curtainer --source with trusty.

Older version of dpkg-parsechangelog in trusty does not seem to
support '--file=<file>' correctly. It does seem to support
--file <file> though. So we'll just use that format.

cleanup/no-outout-to-stderr-messes-up-tox 2018-02-05 20:17:11 UTC 2018-02-05
apply_net: do not write to stderr directly.

Author: Scott Moser
Author Date: 2018-02-05 20:17:11 UTC

apply_net: do not write to stderr directly.

Writing to standard error from apply_net method would leak those
messages through to stderr when running tox. There was no value
in writing the messages as 'curtin' would still print them.

Also make apply_net consistent with other sub commands by changing
'apply_net_main' to let exceptions bubble up.
'curtin apply-net' will still write a message with the error
and will exit non-zero. If --showtrace is provided, it will
print the stack trace.

cleanup/drop-root-image-usage 2018-02-05 19:45:45 UTC 2018-02-05
vmtest: Drop use of root-image.gz and maas2roottar.

Author: Scott Moser
Author Date: 2018-02-02 14:34:56 UTC

vmtest: Drop use of root-image.gz and maas2roottar.

The root-image.gz and its conversion into a root-tgz file are no
longer necessary. Dropping the legacy code has numerous benefits:
 a.) no longer download root-image.gz files to local mirror
 b.) do not uncompressing these.
 c.) do not use maas2roottar which required sudo to create the root-tgz.

Overall a big win.

cleanup/in-target-use-correct-subp 2018-02-05 19:41:24 UTC 2018-02-05
in-target: use ChrootableTarget so that unshare pid is used.

Author: Scott Moser
Author Date: 2018-02-02 17:54:12 UTC

in-target: use ChrootableTarget so that unshare pid is used.

Because in-target was using 'chroot' directly, the unshare pid
logic was not getting utilized.

This fixes that up so that we use the ChrootableTarget.subp.
Also it fixes the interactive path to exit with the command's
exit code in python 3.4+.

fix/1747077-curtainer-check-versions 2018-02-02 22:08:26 UTC 2018-02-02
tools/curtainer: check that binary and source version are the same.

Author: Scott Moser
Author Date: 2018-02-02 22:08:26 UTC

tools/curtainer: check that binary and source version are the same.

We saw a puzzling failure of vmtest against the daily archive.
The reason for failure was that the source package that was retrieved
via 'apt-get source' differed in version from the version installed.

This adds a check in curtainer that will exit failure if that is the case.

LP: #1747077

fix/syntax-shell-modeline 2018-01-31 20:31:22 UTC 2018-01-31
fix modeline for shell syntax files.

Author: Scott Moser
Author Date: 2018-01-31 20:29:37 UTC

fix modeline for shell syntax files.

The header/footer re-work added a vi modline with 'syntax=shell' for
sh or bash files. The correct syntax for vim is 'sh', not 'shell'.

The result was no syntax highlighting in vim on these files.

cleanup/skip-all-by-date 2018-01-29 21:26:48 UTC 2018-01-29
fix date from string

Author: Scott Moser
Author Date: 2018-01-29 21:26:48 UTC

fix date from string

feature/zfsroot-as-fstype 2018-01-29 17:05:57 UTC 2018-01-29
change /ROOT/ubuntu to be /ROOT/zfsroot

Author: Scott Moser
Author Date: 2018-01-29 16:54:42 UTC

change /ROOT/ubuntu to be /ROOT/zfsroot

'ubuntu' seems not really right here.

fix/remove-workaround-lp-1723183 2018-01-26 01:04:32 UTC 2018-01-26
tests: revert workaround for bug in overlayroot that is now fixed.

Author: Scott Moser
Author Date: 2018-01-24 19:12:16 UTC

tests: revert workaround for bug in overlayroot that is now fixed.

This just removes a workaround that was put in place until bug 1733183
was fixed in maas images.

fix/push-dates-along 2018-01-25 23:43:12 UTC 2018-01-25
tests: Bump skip_by_dates for bug 1652822 and 1671952.

Author: Scott Moser
Author Date: 2018-01-25 21:36:34 UTC

tests: Bump skip_by_dates for bug 1652822 and 1671952.

Also here a usability improvement on skip_by_date that is demonstrated
in the shorter calls.

zfs/suggest-changes 2018-01-25 21:35:13 UTC 2018-01-25
install.py: word changes on a comment.

Author: Scott Moser
Author Date: 2018-01-25 19:25:37 UTC

install.py: word changes on a comment.

cleanup/do-not-run-unsupported-ubuntu 2018-01-24 17:49:32 UTC 2018-01-24
vmtest: Do not run tests of unsupported Ubuntu releases.

Author: Scott Moser
Author Date: 2018-01-18 22:12:30 UTC

vmtest: Do not run tests of unsupported Ubuntu releases.

As somewhat expected attempts to install unsupported ubuntu releases
may fail. Example was today the Zesty tests would fail.
An 'apt-get update' would fail as the official mirrors have been
emptied of zesty already.

This uses ubuntu-distro-info (if installed) to skip unsupported
releases.

The user can provide a list of releases to skip with:
  UNSUPPORTED_UBUNTU="artful,zesty,trusty"
(comma or space separated).

cleanup/header-simplify 2018-01-19 19:57:09 UTC 2018-01-19
few final cleanups.

Author: Scott Moser
Author Date: 2018-01-19 19:57:09 UTC

few final cleanups.

cleanup/cleanup-apt-test 2018-01-18 21:10:51 UTC 2018-01-18
tests: cleanup the apt custom sources test.

Author: Scott Moser
Author Date: 2018-01-18 14:25:30 UTC

tests: cleanup the apt custom sources test.

This test must have gone through some iteration in development.
It was testing in a very white-box way, and not really even validating
that the config was as expected (as made evident by the previous
lack of use of EXPECTED_CONVERTED_CONTENT).

The test now asserts that the two expected changes are made.

bug/1744038-apt-sources-better-mirror-update 2018-01-18 20:38:53 UTC 2018-01-18
fix copy/paste bug.

Author: Scott Moser
Author Date: 2018-01-18 20:38:53 UTC

fix copy/paste bug.

cleanup/do-not-mention-primary-contributors-in-changelog 2018-01-16 21:59:52 UTC 2018-01-16
packaging: Do not mention primary contributors in debian/changelog.

Author: Scott Moser
Author Date: 2018-01-16 21:59:52 UTC

packaging: Do not mention primary contributors in debian/changelog.

new-upstream-snapshot gives credit to committers by putting their
name in square brackets on the debian/changelog entries.

For some time in cloud-init we've stripped myself from that list.
I think it makes sense to strip out primary contributors to avoid
noise, but still give credit to new or less frequent contributors.

ubuntu/xenial 2018-01-16 18:41:59 UTC 2018-01-16
packaging: Update new-upstream-snapshot to work with git.

Author: Scott Moser
Author Date: 2018-01-16 18:38:18 UTC

packaging: Update new-upstream-snapshot to work with git.

After the move to git, we need to update new-upstream-snapshot.
This version comes from cloud-init, with an extra hunk in it to
handle the transition from bzr.

Commit new-upstream-snapshot to master, where it previously
only lived on ubuntu branches. Then, commit it also to the branches
so that it does not cause conflict.

ubuntu/artful 2018-01-16 18:39:33 UTC 2018-01-16
packaging: Update new-upstream-snapshot to work with git.

Author: Scott Moser
Author Date: 2018-01-16 18:38:18 UTC

packaging: Update new-upstream-snapshot to work with git.

After the move to git, we need to update new-upstream-snapshot.
This version comes from cloud-init, with an extra hunk in it to
handle the transition from bzr.

Commit new-upstream-snapshot to master, where it previously
only lived on ubuntu branches. Then, commit it also to the branches
so that it does not cause conflict.

ubuntu/devel 2018-01-16 18:38:18 UTC 2018-01-16
packaging: Update new-upstream-snapshot to work with git.

Author: Scott Moser
Author Date: 2018-01-16 18:38:18 UTC

packaging: Update new-upstream-snapshot to work with git.

After the move to git, we need to update new-upstream-snapshot.
This version comes from cloud-init, with an extra hunk in it to
handle the transition from bzr.

Commit new-upstream-snapshot to master, where it previously
only lived on ubuntu branches. Then, commit it also to the branches
so that it does not cause conflict.

fix/master-git-new-upstream-snapshot 2018-01-16 18:35:32 UTC 2018-01-16
packaging: Update new-upstream-snapshot to work with git.

Author: Scott Moser
Author Date: 2018-01-16 18:35:32 UTC

packaging: Update new-upstream-snapshot to work with git.

After the move to git, we need to update new-upstream-snapshot.
This version comes from cloud-init, with an extra hunk in it to
handle the transition from bzr.

Commit new-upstream-snapshot to master, where it previously
only lived on ubuntu branches. Then, commit it also to the branches
so that it does not cause conflict.

pylint-bump-1.8.1 2018-01-16 15:24:45 UTC 2018-01-16
Bump pylint to 1.8.1.

Author: Scott Moser
Author Date: 2018-01-16 15:24:45 UTC

Bump pylint to 1.8.1.

Increase the version of pylint from 1.7.4 to 1.8.1

fix/fix-test-pyc-filenames 2018-01-09 20:58:03 UTC 2018-01-09
move rm to after write for consistency

Author: Scott Moser
Author Date: 2018-01-09 20:58:03 UTC

move rm to after write for consistency

test-git 2017-12-20 17:18:37 UTC 2017-12-20
debian/control: drop conflicts that had bzr version

Author: Scott Moser
Author Date: 2017-12-19 19:13:40 UTC

debian/control: drop conflicts that had bzr version

this is fine as the bzr version (~bzr54) is not in any supported
release.. trusty is at 126-0ubuntu1 in released version even.

master 2017-12-15 21:36:43 UTC 2017-12-15
Release 17.1

Author: Scott Moser
Author Date: 2017-12-15 21:36:43 UTC

Release 17.1

bzr-revno: 553

139 of 39 results
This repository contains Public information 
Everyone can see this information.

Subscribers