[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 00/12] tests: Add VM based build tests (for n
From: |
no-reply |
Subject: |
Re: [Qemu-devel] [PATCH v5 00/12] tests: Add VM based build tests (for non-x86_64 and/or non-Linux) |
Date: |
Wed, 30 Aug 2017 23:55:31 -0700 (PDT) |
Hi,
This series seems to have some coding style problems. See output below for
more information:
Message-id: address@hidden
Subject: [Qemu-devel] [PATCH v5 00/12] tests: Add VM based build tests (for
non-x86_64 and/or non-Linux)
Type: series
=== TEST SCRIPT BEGIN ===
#!/bin/bash
BASE=base
n=1
total=$(git log --oneline $BASE.. | wc -l)
failed=0
git config --local diff.renamelimit 0
git config --local diff.renames True
commits="$(git log --format=%H --reverse $BASE..)"
for c in $commits; do
echo "Checking PATCH $n/$total: $(git log -n 1 --format=%s $c)..."
if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; then
failed=1
echo
fi
n=$((n+1))
done
exit $failed
=== TEST SCRIPT END ===
Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
t [tag update] patchew/address@hidden -> patchew/address@hidden
t [tag update] patchew/address@hidden -> patchew/address@hidden
* [new tag] patchew/address@hidden -> patchew/address@hidden
Switched to a new branch 'test'
7ad2e659ca docker: Use archive-source.py
2dc170d07c tests: Add README for vm tests
19170c4fd7 MAINTAINERS: Add tests/vm entry
77ab30467b Makefile: Add rules to run vm tests
4a41ba7fcd tests: Add OpenBSD image
d6586b4423 tests: Add NetBSD image
3f1a2d60c9 tests: Add FreeBSD image
b413ab4921 tests: Add ubuntu.i386 image
167e9915a4 tests: Add vm test lib
75824c3f84 scripts: Add archive-source.sh
35bff37d20 qemu.py: Add "wait()" method
e572b186d5 gitignore: Ignore vm test images
=== OUTPUT BEGIN ===
Checking PATCH 1/12: gitignore: Ignore vm test images...
Checking PATCH 2/12: qemu.py: Add "wait()" method...
Checking PATCH 3/12: scripts: Add archive-source.sh...
Checking PATCH 4/12: tests: Add vm test lib...
ERROR: line over 90 characters
#85: FILE: tests/vm/basevm.py:60:
+ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQCikC46WYtXotUd0UGPz9547Aj0KqC4gk+nt4BBJm86IHgCD9FygSGX9EFutXlhz9KZIPg9Okk7+IzXRHCWI2MNvhrcjyrezKREm71z08j9iwfxY3340fY2Mo+0khwpO7bzsgzkljHIHqcOg7MgttPInVMNH/EfqpgR8EDKJuWCB2Ny+EBFN/3dAiff0X/EvKle9PUrY70EkSycnyURS8HZReEqj8lN9J5kXzA8F6jBo/0Q42Ttv6e4k5YcaDrwmLrBWLra2PCXZLNyHqXEiFkGmdXtA1Eox9gc/p4jIXim6xrPNmpN6WyrrEjaCF5xYvNv8wXkD6uSWwbHYU24lIAn
qemu-vm-key
WARNING: line over 80 characters
#99: FILE: tests/vm/basevm.py:74:
+ self._tmpdir = tempfile.mkdtemp(prefix="vm-test-", suffix=".tmp",
dir=".")
WARNING: line over 80 characters
#190: FILE: tests/vm/basevm.py:165:
+ logging.debug("Creating archive %s for src_dir dir: %s", tarfile,
src_dir)
WARNING: line over 80 characters
#195: FILE: tests/vm/basevm.py:170:
+ "file=%s,if=none,id=%s,cache=writeback,format=raw"
% \
WARNING: line over 80 characters
#198: FILE: tests/vm/basevm.py:173:
+ "virtio-blk,drive=%s,serial=%s,bootindex=1" %
(name, name)]
ERROR: line over 90 characters
#245: FILE: tests/vm/basevm.py:220:
+ VM test utility. Exit codes: 0 = success, 1 = command line error, 2 =
environment initialization failed, 3 = test command failed""")
WARNING: line over 80 characters
#252: FILE: tests/vm/basevm.py:227:
+ parser.add_option("--jobs", type=int, default=multiprocessing.cpu_count()
/ 2,
total: 2 errors, 5 warnings, 276 lines checked
Your patch has style problems, please review. If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
Checking PATCH 5/12: tests: Add ubuntu.i386 image...
Checking PATCH 6/12: tests: Add FreeBSD image...
Checking PATCH 7/12: tests: Add NetBSD image...
Checking PATCH 8/12: tests: Add OpenBSD image...
Checking PATCH 9/12: Makefile: Add rules to run vm tests...
Checking PATCH 10/12: MAINTAINERS: Add tests/vm entry...
Checking PATCH 11/12: tests: Add README for vm tests...
Checking PATCH 12/12: docker: Use archive-source.py...
=== OUTPUT END ===
Test command exited with code: 1
---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to address@hidden
- [Qemu-devel] [PATCH v5 03/12] scripts: Add archive-source.sh, (continued)
- [Qemu-devel] [PATCH v5 03/12] scripts: Add archive-source.sh, Fam Zheng, 2017/08/31
- [Qemu-devel] [PATCH v5 04/12] tests: Add vm test lib, Fam Zheng, 2017/08/31
- [Qemu-devel] [PATCH v5 05/12] tests: Add ubuntu.i386 image, Fam Zheng, 2017/08/31
- [Qemu-devel] [PATCH v5 06/12] tests: Add FreeBSD image, Fam Zheng, 2017/08/31
- [Qemu-devel] [PATCH v5 07/12] tests: Add NetBSD image, Fam Zheng, 2017/08/31
- [Qemu-devel] [PATCH v5 08/12] tests: Add OpenBSD image, Fam Zheng, 2017/08/31
- [Qemu-devel] [PATCH v5 09/12] Makefile: Add rules to run vm tests, Fam Zheng, 2017/08/31
- [Qemu-devel] [PATCH v5 10/12] MAINTAINERS: Add tests/vm entry, Fam Zheng, 2017/08/31
- [Qemu-devel] [PATCH v5 11/12] tests: Add README for vm tests, Fam Zheng, 2017/08/31
- [Qemu-devel] [PATCH v5 12/12] docker: Use archive-source.py, Fam Zheng, 2017/08/31
- Re: [Qemu-devel] [PATCH v5 00/12] tests: Add VM based build tests (for non-x86_64 and/or non-Linux),
no-reply <=
- Re: [Qemu-devel] [PATCH v5 00/12] tests: Add VM based build tests (for non-x86_64 and/or non-Linux), Kamil Rytarowski, 2017/08/31