Etherpad: https://autotest.etherpad.mozilla.org/1?

People contributing PR to virt-test should really watch this, jump to 13:00 to see a message from yours truly.

Hangout URL: https://www.youtube.com/watch?v=Ji-l6YQhiog

Highlights

The previous 2 weeks were high on activity for most of the autotest projects. If we were talking about a movie, it'd be called "The rise of Travis CI" :) Also, we have a brand new, sweet documentation site for virt-test, http://virt-test.readthedocs.org/en/latest/, with both user and API documentation. It's all coming together, folks.

Commits on master - autotest

I made great effort to make Make Travis CI happy and more useful, and Jiri and Lukas made some bugfixes to autotest APIs, found after heavy use of the same.

Jiří Župka (1):
client.utils: Adds possibility to close descriptors before start process.

Lucas Meneghel Rodrigues (28):
      Merge pull request #816 from will-Do/iface_exist
      client/net/net_utils_unittest.py: Fix issue #819
      contrib/virt/control.template: Fix location of site config file
contrib/virt/control.template: Fix location of site config file - take 2
      utils/unittest_suite_nose.py: Fixes
      Fix unittest runs under nose test suite
      travis.yml: Run all short unittests
      .travis.yml: Don't install autotest when running unittests
      .travis.yml: Install simplejson and MySQL bindings
      Merge pull request #821 from autotest/unittests
      Merge pull request #822 from ldoktor/framework
      .travis.yml: Add pylint to autotest jobs
      client/tools: Remove deprecated tool cd_hash.py
      setup.py: Supress bogus E0611 pylint complaints
      client.net.net_utils: Supress pylint E0202 complaint
      contrib.modelviz: Suppress bogus pylint E0202 complaint
      contrib.virt.site_job: Supress bogus pylint E0611 complaint
      utils.external_packages: Supress bogus pylint E0611 complaint
      .travis.yml: Install dependency packages for TKO compilation
utils.modelviz.generate_schema_diagrams: Supress bogus E0611 pylint complaint
      cli.job_unittest: Supress bogus pylint error
      Merge pull request #823 from autotest/add-pylint-travis
      client/tests: Update to the latest version
      server/tests: Update to the latest version
      Merge pull request #824 from autotest/update-tests
      client.setup: Add templates dir
      client.shared.report: Be more robust searching for json templates
      Merge pull request #825 from autotest/templates-fix

Lukáš Doktor (2):
      client.shared.utils: Pylint/pep8 fixes
      client.shared.utils: Avoid possible AsyncJob freeze

Rudá Moura (1):
      Merge pull request #820 from jzupka/fix-stdin-fd
Update LTP to version 20140115 #34 [https://github.com/autotest/autotest-client-tests/pull/34]
        fixed issue #818 https://github.com/autotest/autotest/issues/818

Yanbing Du (1):
      Add a function to check if interface exist

Commits on master - virt-test

We finally pushed Jiri's remote commander to virt-test. Some requests to the author would be to add docs to the in-tree .rst structure, as well as fix some known bugs. Also, recently Jonas Erikssson from ENEA has been making a bunch of fixes that allow our test cases that required a toolchain installed in the guest to not need it (use of pre-compiled binaries if they are present). All good stuff, including the new Travis CI jobs.

Bo Fan (2):
      virttest.utils_libguestfs.py: Add function do_mount()
      virttest.utils_libguestfs: Add some blockdev commands of guestfish

Dongsheng Yang (4):
      utils_libvirtd: rewrite utils_libvirtd with staging.service module.
      utils_libvirtd: Make service_libvirtd_control() only for local host.
utils_conn: Adapt utils_conn to new and standard usage of libvirtd service. staging/service: Get rid of root requirement to get name of init process.

Feng Yang (2):
      Merge pull request #1586 from zqad/netperf_fix
      Merge pull request #1592 from zqad/qemu-monotonic-time

Fergus Yu (2):
      Merge pull request #1570 from vanbogithub/bfan-next
      Merge pull request #1576 from yumingfei/iscsi_fix

Jiří Župka (3):
      virt: Adds remote commander package to virttest libs
      virt: Creates control interface to aexpect process and add raw mode.
      virt: Adds remote_commander method to virt_vm.

Jonas Eriksson (9):
      Remote prompt matching: Add 'type Control-D'
      Consistent pass/fail in logging and output
      utils_misc: Add monotonic_time() method
      passfd_setup: Configure the compiler
      utils_netperf: Avoid building if binary installed
      utils_netperf: Fix self.netperf_path typo issue
      qemu_vm: Add monotonic start time
      remote.copy_files_{to,from}: Check for valid client
      Add new helper: remote_build

Li Yang (1):
      virt: Add 'options' param to save func

Lucas Meneghel Rodrigues (54):
      Merge pull request #1572 from yumingfei/libguestfs_fix
      virttest.qemu_storage: PEP8 Fix
      virttest.remote: PEP8 Fix
      virttest.utils_libguestfs: PEP8 Fix
      Merge pull request #1567 from zqad/fixes
      Merge pull request #1571 from will-Do/ping_fix
      Merge pull request #1565 from FengYang/system
      Merge pull request #1563 from Hao-Liu/fix_schedinfo
      virttest.libvirt_xml.vm_xml: PEP8 Fixes
      Merge pull request #1578 from zqad/fixes
      virttest.virt_vm: Remote runner copy speedup
      virttest.env_process: Speed up remote login sessions cleanup code
      Merge pull request #1475 from autotest/gh-1449
      Merge pull request #1579 from zqad/monotonic_time
      virttest.utils_misc: PEP8 Fix
      Merge pull request #1575 from liyangfnst/save
      Merge pull request #1569 from yangdongsheng/update
      virttest.utils_libvirtd: Only instantiate service if we need it
      Merge pull request #1581 from autotest/fix-utils-libvirtd
      Merge pull request #1580 from zqad/build-avoidance
      Merge pull request #1527 from yumingfei/control_stress
      Merge pull request #1500 from ypu/virtio_console
      Merge pull request #1566 from ypu/iscsi
      virttest.utils_libvirtd: service_libvirtd_control -> Fix old params
      virttest.qemu_storage: PEP8 Fix
      virttest.qemu_vm: PEP8 Fix
      Merge pull request #1582 from autotest/fix-utils-libvirtd2
      virttest.utils_netperf: PEP8 Fix
      virttest.utils_params_unittest: Supress bogus pylint error
      virt-test: Add sphinx documentation
      Merge pull request #1595 from autotest/documentation
      Add travis CI jobs
      documentation: PEP8 Fixes
      .travis.yml: Install autotest before running virttest unittests
      Merge pull request #1598 from autotest/travis
      travis: Runner and travis.yml fixes
      travis.yml: Specify which module is going to be tested
      .travis.yml: More updates
      .travis.yml: Update install commands
      .travis.yml: Use system site packages
      virttest: Fix NumaNode unittesting
      Merge pull request #1599 from autotest/travis-fixes
      tools/run_unittests_nose: Remove hardcoded blacklist
      Merge pull request #1600 from autotest/more-travis-fixes
      virttest.utils_net_unittest: Unstub stubbed functions
      virttest.virsh_unittest: Fix weakref
      virsh.versionable_class: Fix getattr bug
      Merge pull request #1601 from autotest/fix-broken-unittests-travis
      virttest: supress pylint false negatives
      .travis.yml: Add inspektor runs to virt-test travis CI job
      Merge pull request #1602 from autotest/add-inspektor-travis
      Merge pull request #1594 from zqad/utils_build
      Merge pull request #1584 from yangdongsheng/utils_libvirtd
      documentation: Add requirements.txt pip file

Wei Shi (1):
      Merge pull request #1583 from vanbogithub/bfan-next

Yiqiao Pu (3):
      virttest.qemu_storage: Check if session already present before login
      virttest.storage: Add init timeout for iscsidev
      virttest: Add virtio-serial-pci for virtio console device

Yu Mingfei (2):
      utils_libguestfs: Set default run_mode to 'interactive'.
      utils_test.libvirt: Fix pre_pool for iscsi_get_sessions.


Commits on master - tp-libvirt

We had updates to virsh tests, guestfish test refactoring, general bugfixes, and the addition of the travis CI jobs.

Bo Fan (2):
guestfish_block_dev: Split image preparation from individual test case
      guestfish_block_dev: Add function test_blockdev_set_get_ro_rw()

Dongsheng Yang (1):
      virsh_destroy: add case to test --graceful option.

Fergus Yu (4):
      Merge pull request #87 from will-Do/param_fix
      Merge pull request #38 from Guannan-Ren/save_image_define
      Merge pull request #65 from kylazhang/vol-upload-download
      Merge pull request #70 from waynesun09/vol_create

Li Yang (6):
libvirt.test: Add 'running,paused,verbose' option for virsh managedsave
      libvirt-test: Add 'running,paused,verbose' option test for save
      libvirt-test: Fix some output issues in virsh save test
      Merge pull request #89 from liyangfnst/save_fix
      libvirt.test: Add 'running,paused' option test for virsh restore
      Merge pull request #101 from liyangfnst/restore

Lucas Meneghel Rodrigues (7):
      Merge pull request #88 from liyangfnst/save
      libguestfs: guestfish_block_dev: PEP8 Fixes
      libvirt: virsh.virsh_vol_create_from - PEP8 Fixes
      Merge pull request #86 from yumingfei/migration_fix
      tp-libvirt: Add README.rst file
      tp-libvirt: Add Travis CI job
      Merge pull request #100 from autotest/travis-ci

Wei Shi (2):
      Merge pull request #69 from vanbogithub/bfan-dev
      Merge pull request #90 from vanbogithub/bfan-dev

Yanbing Du (1):
      Correct a copy&paste param name

Yu Mingfei (1):
      libvirt.tests: Replace creating vol with PoolVolumeTest.

yangdongsheng (2):
      Merge pull request #91 from yangdongsheng/virsh_destroy
      Merge pull request #84 from liyangfnst/managedsave


Commits on master - tp-qemu

Test case fixes from Jonas, CI jobs and some bugfixes.

Feng Yang (2):
      qemu: Use new data_dir.get_deps_dir() to get cpu_flags in deps.
      Merge pull request #72 from zqad/monotonic

Jonas Eriksson (15):
      boot_time: Output result into keyval file
      clock_getres application: Fix build on newer gcc
      cpu_flags: Amend to CFLAGS rather than set
      netperf_udp test: Use utils_netperf downloading
      Remove CC= from Makefiles
      tsc_sync change clocksource: Update test spec
      multicast_iperf: Check if iperf is installed
      time drift test: Avoid build if available
      pipetest application: Avoid building if available
      nx exploit application: Avoid building if available
      clock_getres application: Avoid building if available
      stress: Avoid building if available
      virtual_nic_send_buffer: Fix building of udt
      udt/sendfile/recvfile: Avoid building if available
      boot_time: Migrate to utils_misc.monotonic_time()

Lucas Meneghel Rodrigues (10):
      Merge pull request #64 from zqad/display-results
      Merge pull request #63 from zqad/fixes
      Merge pull request #61 from FengYang/qemu_disk_img
      Merge pull request #65 from FengYang/data
      Merge pull request #67 from zqad/fixes-vsyscall
      Merge pull request #68 from zqad/build_avoidance
      Merge pull request #69 from ypu/small_fix
      tp-qemu: Add README.rst
      tp-qemu: Add travis CI job
      Merge pull request #78 from autotest/travis-ci

Yiqiao Pu (1):
      qemu.tests: small bugs fix in multicase_iperf

Commits on master - arc

Just added a Travis CI job.

Lucas Meneghel Rodrigues (2):
      Add Travis CI jobs
      setup.py: Supress pylint false E0611 negative

Pull requests still in review

Autotest: no open PR

https://github.com/autotest/autotest/pulls

tp-libvirt: 20 open PR

https://github.com/autotest/tp-libvirt/pulls

tp-qemu: 11 open PR

https://github.com/autotest/tp-qemu/pulls

Virt Test: 15 open PR

https://github.com/autotest/virt-test/pulls

Travis jobs enabled for, well, pretty much everything

What are Travis jobs?: They are automated tests after every time someone pushes a PR, updates to a PR, and merges a PR into master. For the majority of projects now, it does:

1) Runs available unittests (in case of autotest, a subset of all available tests)
2) Runs pylint in the code, via 'inspekt lint'
3) In avocado's specific case, it'll also check PEP8 compliance via 'inspekt style'

We are still not ready for generalized PEP8 checks because tidying up the code base for all supported projects might take a little more time.

This means a few minutes after you send your PR you should see a a message on the web interface (PR view) telling wether your Travis build passed or failed. Needless to say we won't even start reviewing your code before you make things right. Time to grab that inspekt copy.

Inspektor packages available

Fedora users - COPR

http://copr.fedoraproject.org/coprs/lmr/Autotest/

With this, you can simply add the repo file linked there to /etc/yum.repos.d and then

yum install inspektor

Ubuntu users - PPA

Add:

deb http://ppa.launchpad.net/lmr/autotest/ubuntu saucy main
deb-src http://ppa.launchpad.net/lmr/autotest/ubuntu saucy main

To your /etc/apt/sources.list, then

apt-get install inspektor

New virt-test documentation site

For a long while now, it was our goal to move all wiki base documentation for all projects to in tree documentation. After taking a deep breath, I bit the bullet and the task was finally completed for virt-test:

http://virt-test.readthedocs.org/en/latest/

I'm still looking for a way to automatically generate the full API documentation structure (the rst files) upon each new push.

Moving autotest wiki contents to in tree documentation

Autotest has a lot of information covered on the wiki, which was migrated from trac, which was migrated from MoinMoin, around 6 years ago :) This obviously mean that there's a lot of outdated stuff begging to be cleaned, organized and updated. I'm not sure when we'll be able to do this, but it is something on my radar. If someone would like to help, let me know.

Libvirt updates:

ARC updates:
Travis CI (thanks Lucas).

Questions Corner

TODO

lmr

* PR review (time boxed to 1/1.5 days a week)
* Work on avocado

cevich

cleber
* Review Ruda's great PR
* Work on database PR v2
* Port installer code to new project

jzupka
* work on project
* finish RFC python remote console
* finish cart config optimization - to be able use external tool for SAT

rmoura
Keep looking for improvements in autotest framework and tests (to fix issues).
Work on Avocado.

ldoktor
on another project

kvm-qe (BJ):
fyang and ypu:  work for nic related bug fix and case devlopment
xutian, coli, scui, xhan: work for tests scripts bug fix



_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to