2 # Note: this file is still unused. It serves as a documentation for the
3 # Patchew configuration in case patchew.org disappears or has to be
6 # Patchew configuration is available to project administrators at
7 # https://patchew.org/api/v1/projects/1/config/ and can be configured
8 # to YAML using the following Python script:
14 # json_str = sys.stdin.read()
15 # yaml = ruamel.yaml.YAML()
16 # yaml.explicit_start = True
17 # data = json.loads(json_str, object_pairs_hook=ruamel.yaml.comments.CommentedMap)
18 # ruamel.yaml.scalarstring.walk_tree(data)
19 # yaml.dump(data, sys.stdout)
31 subject_template: none
35 {% if not is_timeout %} {{ cancel }} {% endif %}
37 Test '{{ test }}' timeout, log:
48 subject_template: Out of space error
56 {% if 'No space left on device' in log %}
57 Tester {{ tester }} out of space when running {{ test }}
71 subject_template: Testing failed
75 {% if passed or not obj.message_id or is_timeout %}
78 {% if 'No space left on device' in log %}
81 Patchew URL: https://patchew.org/QEMU/{{ obj.message_id }}/
83 {% ansi2text log as logtext %}
84 {% if test == "checkpatch" %}
87 This series seems to have some coding style problems. See output below for
91 {% elif test == "docker-mingw@fedora" or test == "docker-quick@centos8" or test == "asan" %}
94 This series failed the {{ test }} build test. Please find the testing commands and
95 their output below. If you have Docker installed, you can probably reproduce it
98 {% lines_between logtext start="^=== TEST SCRIPT BEGIN ===$" stop="^=== TEST SCRIPT END ===$" %}
99 {% lines_between logtext start="^=== OUTPUT BEGIN ===$" stop="=== OUTPUT END ===$" as output %}
100 {% grep_C output regex="\b(FAIL|XPASS|ERROR|WARN|error:|warning:)" n=3 %}
101 {% elif test == "s390x" or test == "FreeBSD" or test == "ppcle" or test == "ppcbe" %}
104 This series failed build test on {{test}} host. Please find the details below.
106 {% lines_between logtext start="^=== TEST SCRIPT BEGIN ===$" stop="^=== TEST SCRIPT END ===$" %}
107 {% lines_between logtext start="^=== OUTPUT BEGIN ===$" stop="=== OUTPUT END ===$" as output %}
108 {% grep_C output regex="\b(FAIL|XPASS|ERROR|WARN|error:|warning:)" n=3 %}
113 The full log is available at
116 Email generated automatically by Patchew [https://patchew.org/].
117 Please send your feedback to patchew-devel@redhat.com
126 time make docker-test-debug@fedora TARGET_LIST=x86_64-softmmu J=14 NETWORK=1
127 docker-quick@centos8:
129 requirements: docker,x86_64
133 time make docker-test-quick@centos8 SHOW_ENV=1 J=14 NETWORK=1
140 git rev-parse base > /dev/null || exit 0
141 git config --local diff.renamelimit 0
142 git config --local diff.renames True
143 git config --local diff.algorithm histogram
144 ./scripts/checkpatch.pl --mailback base..
147 requirements: docker,x86_64
151 test "$(uname -m)" = "x86_64"
158 # Testing script will be invoked under the git checkout with
159 # HEAD pointing to a commit that has the patches applied on top of "base"
165 mkdir -p $BUILD $INSTALL
168 $SRC/configure --cc=$CC --prefix=$INSTALL
170 # XXX: we need reliable clean up
179 echo "=== PACKAGES ==="
187 # Testing script will be invoked under the git checkout with
188 # HEAD pointing to a commit that has the patches applied on top of "base"
194 mkdir -p $BUILD $INSTALL
197 $SRC/configure --cc=$CC --prefix=$INSTALL
199 # XXX: we need reliable clean up
208 echo "=== PACKAGES ==="
212 requirements: qemu-x86,x86_64,git
216 # Testing script will be invoked under the git checkout with
217 # HEAD pointing to a commit that has the patches applied on top of "base"
219 if qemu-system-x86_64 --help >/dev/null 2>&1; then
220 QEMU=qemu-system-x86_64
221 elif /usr/libexec/qemu-kvm --help >/dev/null 2>&1; then
222 QEMU=/usr/libexec/qemu-kvm
226 make vm-build-freebsd J=21 QEMU=$QEMU
230 requirements: docker,x86_64
234 time make docker-test-clang@ubuntu SHOW_ENV=1 J=14 NETWORK=1
241 # Testing script will be invoked under the git checkout with
242 # HEAD pointing to a commit that has the patches applied on top of "base"
248 mkdir -p $BUILD $INSTALL
251 $SRC/configure --cc=$CC --prefix=$INSTALL
253 # XXX: we need reliable clean up
262 echo "=== PACKAGES ==="
268 test "$(uname -m)" = "x86_64"
272 if qemu-system-x86_64 --help >/dev/null 2>&1; then
274 elif /usr/libexec/qemu-kvm --help >/dev/null 2>&1; then
282 test "$(uname -m)" = "ppc64le"
286 test "$(uname -m)" = "ppc64"
290 git config user.name > /dev/null 2>&1
294 docker ps || sudo -n docker ps
298 test "$(uname -m)" = "s390x"
300 push_to: git@github.com:patchew-project/qemu
301 public_repo: https://github.com/patchew-project/qemu
302 url_template: https://github.com/patchew-project/qemu/tree/%t