Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to install framework using pip and user defined version and refactor bootstrap and env clean #232

Merged
merged 1 commit into from
Sep 22, 2020

Conversation

sathnaga
Copy link
Collaborator

@sathnaga sathnaga commented Sep 8, 2020

Lately, we are noticing lot of issues due to broken framework
in the environment using the unmatching version across different
plugins, so let's avoid the direct repo install and use standard
pip installation for framework and its plugin, by default it will
install the latest released version of framework if bootstrapped,
having said that user could choose the different version than
default as needed through config and use the git repo aswell,
details of how to choose different config options are documented
in the config file comment section.

Refactored the bootstrap workflow and env clean to have the
proper environment to start with and clean the environment properly
when asked, earlier unwanted steps were run.

miscellaneous pylint fixes.

Signed-off-by: Satheesh Rajendran sathnaga@linux.vnet.ibm.com

@sathnaga
Copy link
Collaborator Author

sathnaga commented Sep 8, 2020

Test:

[root@localhost sath]# git clone https://github.com/sathnaga/tests/ -b add_branch_support;cd tests
Cloning into 'tests'...
remote: Enumerating objects: 48, done.
remote: Counting objects: 100% (48/48), done.
remote: Compressing objects: 100% (41/41), done.
remote: Total 1105 (delta 14), reused 29 (delta 7), pack-reused 1057
Receiving objects: 100% (1105/1105), 328.70 KiB | 2.63 MiB/s, done.
Resolving deltas: 100% (482/482), done.
[root@localhost tests]# tree -L 1
.
├── avocado-setup.py
├── config
├── __init__.py
├── input_example.txt
├── isos
├── lib
├── LICENSE
├── pci_info.py
├── README.md
└── README.pci_info

3 directories, 7 files
[root@localhost tests]# ./avocado-setup.py
06:13:39 INFO    : Check for environment
06:13:40 INFO    : Cleaning the Environment
06:13:41 INFO    : Bootstrapping Framework
06:13:41 INFO    : 	1. Creating Avocado Config
06:13:41 INFO    : 	2. Installing Avocado Framework
06:13:43 INFO    : 	3. Cloning the repo: avocado-misc-tests in /home/sath/tests/tests/avocado-misc-tests
[root@localhost tests]# tree -L 1
.
├── avocado-setup.py
├── avocado-wrapper.log
├── config
├── __init__.py
├── input_example.txt
├── isos
├── lib
├── LICENSE
├── pci_info.py
├── README.md
├── README.pci_info
└── tests

4 directories, 8 files

[root@localhost tests]# ls -l ~/.config/avocado/avocado.conf 
-rw-r--r--. 1 root root 522 Sep  8 06:33 /root/.config/avocado/avocado.conf

[root@localhost tests]# avocado --version
Avocado 81.0


[root@localhost tests]# ./avocado-setup.py --enable-kvm
06:14:02 INFO    : Check for environment
06:14:02 WARNING : Avocado vt plugin not installed
06:14:03 WARNING : Avocado vt-list plugin not installed
06:14:03 WARNING : Avocado vt-bootstrap plugin not installed
06:14:03 INFO    : Cleaning the Environment
06:14:04 INFO    : Bootstrapping Framework
06:14:04 INFO    : 	1. Creating Avocado Config
06:14:04 INFO    : 	2. Installing Avocado and Avocado-VT(KVM) Framework
06:14:08 INFO    : 	2a.Bootstrapping Avocado-VT(KVM) Framework
06:14:08 INFO    : 		i) Bootstrapping VT libvirt
06:14:18 INFO    : 		ii) Bootstrapping VT qemu
06:14:20 INFO    : 		iii) Downloading guest OS(JeOS.27.ppc64le) image
06:15:19 INFO    : 	3. Cloning the repo: avocado-misc-tests in /home/sath/tests/tests/avocado-misc-tests

[root@localhost tests]# tree -L 1
.
├── avocado-setup.py
├── avocado-wrapper.log
├── config
├── data
├── __init__.py
├── input_example.txt
├── isos
├── lib
├── LICENSE
├── pci_info.py
├── README.md
├── README.pci_info
└── tests

5 directories, 8 files


# ./avocado-setup.py --run-suite host_example --additional-args="--dry-run"
06:38:18 INFO    : Check for environment
06:38:18 INFO    : Creating temporary mux dir
06:38:19 INFO    : 
06:38:19 INFO    : Running Host Tests Suite example_ioping_ioping
06:38:19 INFO    : Running: /usr/local/bin/avocado run avocado-misc-tests/io/disk/ioping.py -m /home/sath/tests/tests/avocado-misc-tests/io/disk/ioping.py.data/ioping.yaml --force-job-id 54d7ce89c574e8778df7e81ed828c757c5d89423  --dry-run --job-results-dir /home/sath/tests/results --execution-order tests-per-variant
JOB ID     : 54d7ce89c574e8778df7e81ed828c757c5d89423
JOB LOG    : /home/sath/tests/results/job-2020-09-08T06.38-54d7ce8/job.log
 (1/2) avocado-misc-tests/io/disk/ioping.py:Ioping.test;run-disk-io_type-cache_io-eb82: CANCEL: Test cancelled due to --dry-run (0.70 s)
 (2/2) avocado-misc-tests/io/disk/ioping.py:Ioping.test;run-disk-io_type-idirect_io-80c4: CANCEL: Test cancelled due to --dry-run (0.63 s)
RESULTS    : PASS 0 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 2
Error running method "post_tests" of plugin "sysinfo": 'utf-8' codec can't decode byte 0xdb in position 119159: invalid continuation byte
JOB HTML   : /home/sath/tests/results/job-2020-09-08T06.38-54d7ce8/results.html
JOB TIME   : 2.33 s
06:38:22 INFO    : 
06:38:22 INFO    : 
06:38:22 INFO    : Running Host Tests Suite example_fs_mark_fs_mark
06:38:22 INFO    : Running: /usr/local/bin/avocado run avocado-misc-tests/io/disk/fs_mark.py -m /home/sath/tests/tests/avocado-misc-tests/io/disk/fs_mark.py.data/fs_mark.yaml --force-job-id 23ef8b6163ca4466d40d190a27145eb0780bde13  --dry-run --job-results-dir /home/sath/tests/results
JOB ID     : 23ef8b6163ca4466d40d190a27145eb0780bde13
JOB LOG    : /home/sath/tests/results/job-2020-09-08T06.38-23ef8b6/job.log
 (01/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;run-disk-filesystem-ext4-lv-lv-raid-raid-e052: CANCEL: Test cancelled due to --dry-run (0.52 s)
 (02/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;run-disk-filesystem-ext4-lv-lv-raid-no_raid-df64: CANCEL: Test cancelled due to --dry-run (0.53 s)
 (03/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;run-disk-filesystem-ext4-lv-no_lv-raid-raid-924a: CANCEL: Test cancelled due to --dry-run (0.50 s)
 (04/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;run-disk-filesystem-ext4-lv-no_lv-raid-no_raid-fec9: CANCEL: Test cancelled due to --dry-run (0.51 s)
 (05/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;run-disk-filesystem-xfs-lv-lv-raid-raid-1dd1: CANCEL: Test cancelled due to --dry-run (0.58 s)
 (06/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;run-disk-filesystem-xfs-lv-lv-raid-no_raid-35c7: CANCEL: Test cancelled due to --dry-run (0.51 s)
 (07/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;run-disk-filesystem-xfs-lv-no_lv-raid-raid-72d6: CANCEL: Test cancelled due to --dry-run (0.56 s)
 (08/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;run-disk-filesystem-xfs-lv-no_lv-raid-no_raid-85b7: CANCEL: Test cancelled due to --dry-run (0.52 s)
 (09/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;run-disk-filesystem-btrfs-lv-lv-raid-raid-1413: CANCEL: Test cancelled due to --dry-run (0.53 s)
 (10/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;run-disk-filesystem-btrfs-lv-lv-raid-no_raid-281d: CANCEL: Test cancelled due to --dry-run (0.53 s)
 (11/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;run-disk-filesystem-btrfs-lv-no_lv-raid-raid-c7e1: CANCEL: Test cancelled due to --dry-run (0.55 s)
 (12/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;run-disk-filesystem-btrfs-lv-no_lv-raid-no_raid-5105: CANCEL: Test cancelled due to --dry-run (0.51 s)
RESULTS    : PASS 0 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 12
Error running method "post_tests" of plugin "sysinfo": 'utf-8' codec can't decode byte 0xdb in position 119159: invalid continuation byte
JOB HTML   : /home/sath/tests/results/job-2020-09-08T06.38-23ef8b6/results.html
JOB TIME   : 8.00 s
06:38:31 INFO    : 
06:38:31 INFO    : 
06:38:31 INFO    : Running Host Tests Suite example_ndctl
06:38:31 INFO    : Running: /usr/local/bin/avocado run avocado-misc-tests/memory/ndctl.py --force-job-id f44b6f4aa6b280203ea9337d3640f91d389547fb  --dry-run --job-results-dir /home/sath/tests/results --mux-filter-out /run/config/mode_types
JOB ID     : f44b6f4aa6b280203ea9337d3640f91d389547fb
JOB LOG    : /home/sath/tests/results/job-2020-09-08T06.38-f44b6f4/job.log
 (01/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_bus_ids: CANCEL: Test cancelled due to --dry-run (0.75 s)
 (02/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_dimms: CANCEL: Test cancelled due to --dry-run (0.88 s)
 (03/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_regions: CANCEL: Test cancelled due to --dry-run (0.85 s)
 (04/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_namespace: CANCEL: Test cancelled due to --dry-run (0.85 s)
 (05/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_namespace_unaligned: CANCEL: Test cancelled due to --dry-run (0.77 s)
 (06/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_disable_enable_ns: CANCEL: Test cancelled due to --dry-run (0.85 s)
 (07/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_namespace_modes: CANCEL: Test cancelled due to --dry-run (0.85 s)
 (08/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_namespace_devmap: CANCEL: Test cancelled due to --dry-run (1.01 s)
 (09/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_multiple_namespaces_region: CANCEL: Test cancelled due to --dry-run (0.95 s)
 (10/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_multiple_ns_multiple_region: CANCEL: Test cancelled due to --dry-run (0.80 s)
 (11/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_multiple_ns_modes_region: CANCEL: Test cancelled due to --dry-run (0.86 s)
 (12/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_nslot_namespace: CANCEL: Test cancelled due to --dry-run (0.91 s)
 (13/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_namespace_reconfigure: CANCEL: Test cancelled due to --dry-run (0.83 s)
 (14/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_check_namespace: CANCEL: Test cancelled due to --dry-run (0.73 s)
 (15/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_check_numa: CANCEL: Test cancelled due to --dry-run (0.96 s)
 (16/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_check_ns_numa: CANCEL: Test cancelled due to --dry-run (0.91 s)
 (17/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_label_read_write: CANCEL: Test cancelled due to --dry-run (0.82 s)
 (18/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_daxctl_list: CANCEL: Test cancelled due to --dry-run (0.87 s)
 (19/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_region_capabilities: CANCEL: Test cancelled due to --dry-run (0.83 s)
 (20/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_write_infoblock_supported_align: CANCEL: Test cancelled due to --dry-run (0.74 s)
 (21/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_write_infoblock_unalign: CANCEL: Test cancelled due to --dry-run (0.80 s)
 (22/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_write_infoblock_align_default: CANCEL: Test cancelled due to --dry-run (0.84 s)
 (23/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_write_infoblock_size: CANCEL: Test cancelled due to --dry-run (0.90 s)
 (24/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_write_infoblock_size_unaligned: CANCEL: Test cancelled due to --dry-run (0.88 s)
 (25/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_sector_write: CANCEL: Test cancelled due to --dry-run (0.83 s)
 (26/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_fsdax_write: CANCEL: Test cancelled due to --dry-run (0.77 s)
 (27/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_map_sync: CANCEL: Test cancelled due to --dry-run (0.79 s)
 (28/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_devdax_write: CANCEL: Test cancelled due to --dry-run (0.78 s)
RESULTS    : PASS 0 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 28
Error running method "post_tests" of plugin "sysinfo": 'utf-8' codec can't decode byte 0xf0 in position 119156: invalid continuation byte
JOB HTML   : /home/sath/tests/results/job-2020-09-08T06.38-f44b6f4/results.html
JOB TIME   : 26.59 s
06:38:58 INFO    : 
06:38:58 INFO    : Summary of test results can be found below:
TestSuite                         TestRun    Summary
 
host_example_ioping_ioping        Not_Run    Unable to find job log file

 
host_example_fs_mark_fs_mark      Not_Run    Unable to find job log file

 
host_example_ndctl                Not_Run    Unable to find job log file

06:38:58 INFO    : Removing temporary mux dir


# ./avocado-setup.py --run-suite guest_ras --additional-args="--dry-run" --only-filter "qcow2 virtio_scsi virtio_net" --no-download
06:40:56 WARNING : Overriding user setting and enabling kvm bootstrap as guest tests are requested
06:40:56 INFO    : Check for environment
06:40:58 INFO    : Creating temporary mux dir
06:40:58 INFO    : 
06:40:58 INFO    : Running Guest Tests Suite ras
06:40:58 INFO    : Running: /usr/local/bin/avocado run --vt-type libvirt --vt-config /home/sath/tests/data/avocado-vt/backends/libvirt/cfg/ras.cfg                 --force-job-id 9c97957f4b3621d72cb60f4ed62c8587bcd6035a  --vt-only-filter                                             "qcow2 virtio_scsi virtio_net JeOS.27.ppc64le" --dry-run --job-results-dir /home/sath/tests/results
JOB ID     : 9c97957f4b3621d72cb60f4ed62c8587bcd6035a
JOB LOG    : /home/sath/tests/results/job-2020-09-08T06.41-9c97957/job.log
 (01/44) guest_import.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-qemu.unattended_install.import.import.default_install.aio_native: CANCEL: Test cancelled due to --dry-run (0.96 s)
 (02/44) guest_ras.non_acl.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.non_acl.no_option: CANCEL: Test cancelled due to --dry-run (1.07 s)
 (03/44) guest_ras.non_acl.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.non_acl.pause_dump.live: CANCEL: Test cancelled due to --dry-run (0.96 s)
 (04/44) guest_ras.non_acl.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.non_acl.pause_dump.crash: CANCEL: Test cancelled due to --dry-run (1.08 s)
 (05/44) guest_ras.non_acl.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.non_acl.pause_dump.reset: CANCEL: Test cancelled due to --dry-run (0.96 s)
 (06/44) guest_ras.non_acl.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.non_acl.live_dump: CANCEL: Test cancelled due to --dry-run (1.08 s)
 (07/44) guest_ras.non_acl.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.non_acl.crash_dump: CANCEL: Test cancelled due to --dry-run (0.98 s)
 (08/44) guest_ras.non_acl.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.non_acl.reset_dump: CANCEL: Test cancelled due to --dry-run (1.09 s)
 (09/44) guest_ras.non_acl.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.non_acl.memory_dump.default_format: CANCEL: Test cancelled due to --dry-run (1.04 s)
 (10/44) guest_ras.non_acl.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.non_acl.memory_dump.elf_format: CANCEL: Test cancelled due to --dry-run (0.94 s)
 (11/44) guest_ras.non_acl.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.non_acl.memory_dump.kdump-zlib_format: CANCEL: Test cancelled due to --dry-run (0.92 s)
 (12/44) guest_ras.non_acl.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.non_acl.memory_crash_dump: CANCEL: Test cancelled due to --dry-run (0.84 s)
 (13/44) guest_ras.non_acl.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.non_acl.gzip_format_dump: CANCEL: Test cancelled due to --dry-run (0.89 s)
 (14/44) guest_ras.non_acl.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.non_acl.bzip2_format_dump: CANCEL: Test cancelled due to --dry-run (1.01 s)
 (15/44) guest_ras.non_acl.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.non_acl.xz_format_dump: CANCEL: Test cancelled due to --dry-run (0.94 s)
 (16/44) guest_ras.non_acl.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.non_acl.invalid_image_format: CANCEL: Test cancelled due to --dry-run (1.09 s)
 (17/44) guest_ras.non_acl.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.non_acl.include_guest_memory_dump:CANCEL: Test cancelled due to --dry-run (0.85 s)
 (18/44) guest_ras.non_acl.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.non_acl.exclude_guest_memory_dump:CANCEL: Test cancelled due to --dry-run (0.96 s)
 (19/44) guest_ras.acl_test.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.acl_test.no_option: CANCEL: Test cancelled due to --dry-run (1.00 s)
 (20/44) guest_ras.acl_test.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.acl_test.pause_dump.live: CANCEL: Test cancelled due to --dry-run (1.12 s)
 (21/44) guest_ras.acl_test.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.acl_test.pause_dump.crash: CANCEL: Test cancelled due to --dry-run (1.01 s)
 (22/44) guest_ras.acl_test.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.acl_test.pause_dump.reset: CANCEL: Test cancelled due to --dry-run (1.04 s)
 (23/44) guest_ras.acl_test.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.acl_test.live_dump: CANCEL: Test cancelled due to --dry-run (1.00 s)
 (24/44) guest_ras.acl_test.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.acl_test.crash_dump: CANCEL: Test cancelled due to --dry-run (1.08 s)
 (25/44) guest_ras.acl_test.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.acl_test.reset_dump: CANCEL: Test cancelled due to --dry-run (1.01 s)
 (26/44) guest_ras.acl_test.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.acl_test.memory_dump.default_format: CANCEL: Test cancelled due to --dry-run (1.00 s)
 (27/44) guest_ras.acl_test.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.acl_test.memory_dump.elf_format: CANCEL: Test cancelled due to --dry-run (0.94 s)
 (28/44) guest_ras.acl_test.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.acl_test.memory_dump.kdump-zlib_format: CANCEL: Test cancelled due to --dry-run (1.01 s)
 (29/44) guest_ras.acl_test.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.acl_test.memory_crash_dump: CANCEL: Test cancelled due to --dry-run (1.11 s)
 (30/44) guest_ras.acl_test.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.acl_test.gzip_format_dump: CANCEL: Test cancelled due to --dry-run (1.15 s)
 (31/44) guest_ras.acl_test.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.acl_test.bzip2_format_dump: CANCEL: Test cancelled due to --dry-run (1.26 s)
 (32/44) guest_ras.acl_test.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.acl_test.xz_format_dump: CANCEL: Test cancelled due to --dry-run (0.97 s)
 (33/44) guest_ras.acl_test.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.acl_test.invalid_image_format: CANCEL: Test cancelled due to --dry-run (0.97 s)
 (34/44) guest_ras.acl_test.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.acl_test.include_guest_memory_dump: CANCEL: Test cancelled due to --dry-run (1.02 s)
 (35/44) guest_ras.acl_test.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.positive_test.acl_test.exclude_guest_memory_dump: CANCEL: Test cancelled due to --dry-run (1.07 s)
 (36/44) guest_ras.negative.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.negative_test.no_dump_file: CANCEL: Test cancelled due to --dry-run (1.06 s)
 (37/44) guest_ras.negative.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.negative_test.unexist_dir_dump: CANCEL: Test cancelled due to --dry-run (1.00 s)
 (38/44) guest_ras.negative.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.negative_test.invalid_option1: CANCEL: Test cancelled due to --dry-run (1.05 s)
 (39/44) guest_ras.negative.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.negative_test.invalid_option2: CANCEL: Test cancelled due to --dry-run (1.16 s)
 (40/44) guest_ras.negative.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.negative_test.invalid_option3: CANCEL: Test cancelled due to --dry-run (0.97 s)
 (41/44) guest_ras.negative.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.negative_test.invalid_option4: CANCEL: Test cancelled due to --dry-run (0.99 s)
 (42/44) guest_ras.negative.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.negative_test.shutoff_dump: CANCEL: Test cancelled due to --dry-run (1.07 s)
 (43/44) guest_ras.negative.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.virsh.dump.negative_test.acl_test: CANCEL: Test cancelled due to --dry-run (1.00 s)
 (44/44) guest_remove.qemu.qcow2.virtio_scsi.smp2.virtio_net.Guest.JeOS.27.ppc64le.io-github-autotest-libvirt.remove_guest.without_disk: CANCEL: Test cancelled due to --dry-run (1.07 s)
RESULTS    : PASS 0 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 44
Error running method "post_tests" of plugin "sysinfo": 'utf-8' codec can't decode byte 0xf0 in position 119156: invalid continuation byte
JOB HTML   : /home/sath/tests/results/job-2020-09-08T06.41-9c97957/results.html
JOB TIME   : 49.58 s
06:41:50 INFO    : 
06:41:50 INFO    : Summary of test results can be found below:
TestSuite      TestRun    Summary
 
guest_ras      Not_Run    Unable to find job log file

06:41:50 INFO    : Removing temporary mux dir



# ./avocado-setup.py --clean
06:36:29 INFO    : Cleaning the Environment
[root@localhost tests]# tree -L 1
.
├── avocado-setup.py
├── avocado-wrapper.log
├── config
├── __init__.py
├── input_example.txt
├── isos
├── lib
├── LICENSE
├── pci_info.py
├── README.md
└── README.pci_info

3 directories, 8 files

[root@localhost tests]# ls -l ~/.config/avocado/avocado.conf 
ls: cannot access '/root/.config/avocado/avocado.conf': No such file or directory
[root@localhost tests]# avocado --version
-bash: /usr/local/bin/avocado: No such file or directory

@lgtm-com
Copy link

lgtm-com bot commented Sep 8, 2020

This pull request fixes 1 alert when merging c2b15fb into 6dbe17a - view on LGTM.com

fixed alerts:

  • 1 for Module is imported with 'import' and 'import from'

@sathnaga sathnaga changed the title Add support to install framework using pip and user defined version Add support to install framework using pip and user defined version and refactor bootstrap and env clean Sep 8, 2020
@sathnaga
Copy link
Collaborator Author

sathnaga commented Sep 8, 2020

Moving to different version of framework becomes easier and reliable now :

Kvm test dry run did not work due to a known issue with 80.0 version as expected.

git diff
diff --git a/config/wrapper/env.conf b/config/wrapper/env.conf
index 5b14d5a..160c635 100644
--- a/config/wrapper/env.conf
+++ b/config/wrapper/env.conf
@@ -3,9 +3,9 @@
 # (avocado-framework, '')  -- Installs latest released version
 # ('avocado-framework', 80.0)  -- Installs specificed version, make sure you change other entries aswell
 # ('avocado-framework', 'git+https://github.com/avocado-framework/avocado.git') -- Install version from the given git repo
-base = [('avocado-framework', ''), ('avocado-framework-plugin-varianter-yaml-to-mux', '')]
-kvm = [('avocado-framework-plugin-vt', '')]
-optional = [('avocado-framework-plugin-result-html', '')]
+base = [('avocado-framework', '80.0'), ('avocado-framework-plugin-varianter-yaml-to-mux', '80.0')]
+kvm = [('avocado-framework-plugin-vt', '80.0')]
+optional = [('avocado-framework-plugin-result-html', '80.0')]
 
 [tests]
 name = ['https://github.com/avocado-framework-tests/avocado-misc-tests.git']




# ./avocado-setup.py;./avocado-setup.py --run-suite host_example --additional-args="--dry-run";./avocado-setup.py --enable-kvm;./avocado-setup.py --run-suite guest_ras --additional-args="--dry-run" --only-filter "qcow2 virtio_scsi virtio_net" --no-download;avocado --version;./avocado-setup.py --clean
07:51:19 INFO    : Check for environment
07:51:19 INFO    : Cleaning the Environment
07:51:20 INFO    : Bootstrapping Framework
07:51:20 INFO    : 	1. Creating Avocado Config
07:51:20 INFO    : 	2. Installing Avocado Framework
07:51:24 INFO    : 	3. Cloning the repo: avocado-misc-tests in /home/sath/tests/tests/tests/avocado-misc-tests
07:51:25 INFO    : Check for environment
07:51:25 INFO    : Creating temporary mux dir
07:51:26 INFO    : 
07:51:26 INFO    : Running Host Tests Suite example_ioping_ioping
07:51:26 INFO    : Running: /usr/local/bin/avocado run avocado-misc-tests/io/disk/ioping.py -m /home/sath/tests/tests/tests/avocado-misc-tests/io/disk/ioping.py.data/ioping.yaml --force-job-id f400afb06bf56376750b45acd484fa70f31010e1  --dry-run --job-results-dir /home/sath/tests/tests/results --execution-order tests-per-variant
/usr/local/lib/python3.9/site-packages/avocado/plugins/run.py:290: FutureWarning: The following arguments will be changed to boolean soon: sysinfo, output-check, failfast and keep-tmp. 
  warnings.warn("The following arguments will be changed to boolean soon: "
JOB ID     : f400afb06bf56376750b45acd484fa70f31010e1
JOB LOG    : /home/sath/tests/tests/results/job-2020-09-08T07.51-f400afb/job.log
 (1/2) avocado-misc-tests/io/disk/ioping.py:Ioping.test;disk-cache_io-eb82: CANCEL: Test cancelled due to --dry-run (0.44 s)
 (2/2) avocado-misc-tests/io/disk/ioping.py:Ioping.test;disk-idirect_io-80c4: CANCEL: Test cancelled due to --dry-run (0.43 s)
RESULTS    : PASS 0 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 2
JOB HTML   : /home/sath/tests/tests/results/job-2020-09-08T07.51-f400afb/results.html
JOB TIME   : 1.29 s
07:51:28 INFO    : 
07:51:28 INFO    : 
07:51:28 INFO    : Running Host Tests Suite example_fs_mark_fs_mark
07:51:28 INFO    : Running: /usr/local/bin/avocado run avocado-misc-tests/io/disk/fs_mark.py -m /home/sath/tests/tests/tests/avocado-misc-tests/io/disk/fs_mark.py.data/fs_mark.yaml --force-job-id 0a71fdc0d90fa12cd5c442bc8bc4cab5bad978b1  --dry-run --job-results-dir /home/sath/tests/tests/results
/usr/local/lib/python3.9/site-packages/avocado/plugins/run.py:290: FutureWarning: The following arguments will be changed to boolean soon: sysinfo, output-check, failfast and keep-tmp. 
  warnings.warn("The following arguments will be changed to boolean soon: "
JOB ID     : 0a71fdc0d90fa12cd5c442bc8bc4cab5bad978b1
JOB LOG    : /home/sath/tests/tests/results/job-2020-09-08T07.51-0a71fdc/job.log
 (01/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;disk-ext4-lv-raid-e052: CANCEL: Test cancelled due to --dry-run (0.47 s)
 (02/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;disk-ext4-lv-no_raid-df64: CANCEL: Test cancelled due to --dry-run (0.46 s)
 (03/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;disk-ext4-no_lv-raid-924a: CANCEL: Test cancelled due to --dry-run (0.47 s)
 (04/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;disk-ext4-no_lv-no_raid-fec9: CANCEL: Test cancelled due to --dry-run (0.48 s)
 (05/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;disk-xfs-lv-raid-1dd1: CANCEL: Test cancelled due to --dry-run (0.56 s)
 (06/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;disk-xfs-lv-no_raid-35c7: CANCEL: Test cancelled due to --dry-run (1.20 s)
 (07/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;disk-xfs-no_lv-raid-72d6: CANCEL: Test cancelled due to --dry-run (0.45 s)
 (08/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;disk-xfs-no_lv-no_raid-85b7: CANCEL: Test cancelled due to --dry-run (0.52 s)
 (09/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;disk-btrfs-lv-raid-1413: CANCEL: Test cancelled due to --dry-run (0.51 s)
 (10/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;disk-btrfs-lv-no_raid-281d: CANCEL: Test cancelled due to --dry-run (0.42 s)
 (11/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;disk-btrfs-no_lv-raid-c7e1: CANCEL: Test cancelled due to --dry-run (0.46 s)
 (12/12) avocado-misc-tests/io/disk/fs_mark.py:FSMark.test;disk-btrfs-no_lv-no_raid-5105: CANCEL: Test cancelled due to --dry-run (0.40 s)
RESULTS    : PASS 0 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 12
JOB HTML   : /home/sath/tests/tests/results/job-2020-09-08T07.51-0a71fdc/results.html
JOB TIME   : 7.76 s
07:51:36 INFO    : 
07:51:36 INFO    : 
07:51:36 INFO    : Running Host Tests Suite example_ndctl
07:51:36 INFO    : Running: /usr/local/bin/avocado run avocado-misc-tests/memory/ndctl.py --force-job-id cbe06273edcafaeebb59694ed9527770e785332a  --dry-run --job-results-dir /home/sath/tests/tests/results --mux-filter-out /run/config/mode_types
/usr/local/lib/python3.9/site-packages/avocado/plugins/run.py:290: FutureWarning: The following arguments will be changed to boolean soon: sysinfo, output-check, failfast and keep-tmp. 
  warnings.warn("The following arguments will be changed to boolean soon: "
JOB ID     : cbe06273edcafaeebb59694ed9527770e785332a
JOB LOG    : /home/sath/tests/tests/results/job-2020-09-08T07.51-cbe0627/job.log
 (01/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_bus_ids: CANCEL: Test cancelled due to --dry-run (0.44 s)
 (02/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_dimms: CANCEL: Test cancelled due to --dry-run (0.46 s)
 (03/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_regions: CANCEL: Test cancelled due to --dry-run (0.56 s)
 (04/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_namespace: CANCEL: Test cancelled due to --dry-run (0.47 s)
 (05/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_namespace_unaligned: CANCEL: Test cancelled due to --dry-run (0.35 s)
 (06/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_disable_enable_ns: CANCEL: Test cancelled due to --dry-run (0.46 s)
 (07/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_namespace_modes: CANCEL: Test cancelled due to --dry-run (0.49 s)
 (08/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_namespace_devmap: CANCEL: Test cancelled due to --dry-run (0.42 s)
 (09/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_multiple_namespaces_region: CANCEL: Test cancelled due to --dry-run (0.57 s)
 (10/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_multiple_ns_multiple_region: CANCEL: Test cancelled due to --dry-run (0.40 s)
 (11/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_multiple_ns_modes_region: CANCEL: Test cancelled due to --dry-run (0.47 s)
 (12/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_nslot_namespace: CANCEL: Test cancelled due to --dry-run (0.38 s)
 (13/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_namespace_reconfigure: CANCEL: Test cancelled due to --dry-run (0.49 s)
 (14/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_check_namespace: CANCEL: Test cancelled due to --dry-run (0.36 s)
 (15/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_check_numa: CANCEL: Test cancelled due to --dry-run (0.46 s)
 (16/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_check_ns_numa: CANCEL: Test cancelled due to --dry-run (0.46 s)
 (17/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_label_read_write: CANCEL: Test cancelled due to --dry-run (0.44 s)
 (18/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_daxctl_list: CANCEL: Test cancelled due to --dry-run (0.57 s)
 (19/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_region_capabilities: CANCEL: Test cancelled due to --dry-run (0.44 s)
 (20/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_write_infoblock_supported_align: CANCEL: Test cancelled due to --dry-run (0.56 s)
 (21/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_write_infoblock_unalign: CANCEL: Test cancelled due to --dry-run (0.45 s)
 (22/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_write_infoblock_align_default: CANCEL: Test cancelled due to --dry-run (0.46 s)
 (23/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_write_infoblock_size: CANCEL: Test cancelled due to --dry-run (0.41 s)
 (24/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_write_infoblock_size_unaligned: CANCEL: Test cancelled due to --dry-run (0.48 s)
 (25/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_sector_write: CANCEL: Test cancelled due to --dry-run (0.59 s)
 (26/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_fsdax_write: CANCEL: Test cancelled due to --dry-run (0.43 s)
 (27/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_map_sync: CANCEL: Test cancelled due to --dry-run (0.45 s)
 (28/28) avocado-misc-tests/memory/ndctl.py:NdctlTest.test_devdax_write: CANCEL: Test cancelled due to --dry-run (0.46 s)
RESULTS    : PASS 0 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 28
JOB HTML   : /home/sath/tests/tests/results/job-2020-09-08T07.51-cbe0627/results.html
JOB TIME   : 15.55 s
07:51:52 INFO    : 
07:51:52 INFO    : Summary of test results can be found below:
TestSuite                         TestRun    Summary
 
host_example_ioping_ioping        Not_Run    Unable to find job log file

 
host_example_fs_mark_fs_mark      Not_Run    Unable to find job log file

 
host_example_ndctl                Not_Run    Unable to find job log file

07:51:52 INFO    : Removing temporary mux dir
07:51:52 INFO    : Check for environment
07:51:53 WARNING : Avocado vt plugin not installed
07:51:53 WARNING : Avocado vt-list plugin not installed
07:51:53 WARNING : Avocado vt-bootstrap plugin not installed
07:51:53 INFO    : Cleaning the Environment
07:51:55 INFO    : Bootstrapping Framework
07:51:55 INFO    : 	1. Creating Avocado Config
07:51:55 INFO    : 	2. Installing Avocado and Avocado-VT(KVM) Framework
07:52:01 INFO    : 	2a.Bootstrapping Avocado-VT(KVM) Framework
07:52:01 INFO    : 		i) Bootstrapping VT libvirt
07:52:10 INFO    : 		ii) Bootstrapping VT qemu
07:52:12 INFO    : 		iii) Downloading guest OS(JeOS.27.ppc64le) image
07:53:07 INFO    : 	3. Cloning the repo: avocado-misc-tests in /home/sath/tests/tests/tests/avocado-misc-tests
07:53:10 WARNING : Overriding user setting and enabling kvm bootstrap as guest tests are requested
07:53:10 INFO    : Check for environment
07:53:12 INFO    : Creating temporary mux dir
07:53:12 INFO    : 
07:53:12 INFO    : Running Guest Tests Suite ras
07:53:12 INFO    : Running: /usr/local/bin/avocado run --vt-type libvirt --vt-config /home/sath/tests/tests/data/avocado-vt/backends/libvirt/cfg/ras.cfg                 --force-job-id be8eac356712b35be1d761341fa7a0e3af7f95f7  --vt-only-filter                                             "qcow2 virtio_scsi virtio_net JeOS.27.ppc64le" --dry-run --job-results-dir /home/sath/tests/tests/results
/usr/local/lib/python3.9/site-packages/avocado/plugins/run.py:290: FutureWarning: The following arguments will be changed to boolean soon: sysinfo, output-check, failfast and keep-tmp. 
  warnings.warn("The following arguments will be changed to boolean soon: "

No test references provided nor any other arguments resolved into tests. Please double check the executed command.
07:53:13 INFO    : Summary of test results can be found below:
TestSuite      TestRun    Summary
 
guest_ras      Not_Run    Command execution failed

07:53:13 INFO    : Removing temporary mux dir
Avocado 80.0
07:53:13 INFO    : Cleaning the Environment


Copy link
Collaborator

@harish-24 harish-24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patch looks good, few minor comments..

README.md Outdated Show resolved Hide resolved
lib/helper.py Outdated Show resolved Hide resolved
config/wrapper/env.conf Show resolved Hide resolved
@lgtm-com
Copy link

lgtm-com bot commented Sep 8, 2020

This pull request fixes 1 alert when merging 98200dd into 84150d0 - view on LGTM.com

fixed alerts:

  • 1 for Module is imported with 'import' and 'import from'

Lately, we are noticing lot of issues due to broken framework
in the environment using the unmatching version across different
plugins, so let's avoid the direct repo install and use standard
pip installation for framework and its plugin, by default it will
install the latest released version of framework if bootstrapped,
having said that user could choose the different version than
default as needed through config and use the git repo aswell,
details of how to choose different config options are documented
in the config file comment section.

Refactored the bootstrap workflow and env clean to have the
proper environment to start with and clean the environment properly
when asked, earlier unwanted steps were run.

miscellaneous pylint fixes.

Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
@lgtm-com
Copy link

lgtm-com bot commented Sep 9, 2020

This pull request fixes 1 alert when merging a44babd into 84150d0 - view on LGTM.com

fixed alerts:

  • 1 for Module is imported with 'import' and 'import from'

@narasimhan-v narasimhan-v self-requested a review September 14, 2020 05:11
Copy link
Collaborator

@harish-24 harish-24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks for the patch!

@sathnaga
Copy link
Collaborator Author

@narasimhan-v seeing you have self requested review, do you have any comments?, it is good to have this merged soon, Thanks!

@narasimhan-v
Copy link
Collaborator

@sathnaga I am yet to test the script. Will complete review by EOD.

Copy link
Collaborator

@narasimhan-v narasimhan-v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sathnaga Code looks good, but is it possible to split it into separate commits ? One for pip install, one for bootstrap refactor, etc ?

@sathnaga
Copy link
Collaborator Author

@sathnaga Code looks good, but is it possible to split it into separate commits ? One for pip install, one for bootstrap refactor, etc ?

It's little interlinked in current state, I doubt I will have enough time to break it. probably will keep in mind for future change..

@narasimhan-v
Copy link
Collaborator

Sure. Are we waiting for anymore reviews ? Or can this be merged ?

@sathnaga
Copy link
Collaborator Author

@narasimhan-v I guess we have two approvals, we can merge this.

@narasimhan-v narasimhan-v merged commit ef018cf into lop-devops:master Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants