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 ./scripts/checkpatch.pl --mailback base..
144 requirements: docker,x86_64
148 test "$(uname -m)" = "x86_64"
155 # Testing script will be invoked under the git checkout with
156 # HEAD pointing to a commit that has the patches applied on top of "base"
162 mkdir -p $BUILD $INSTALL
165 $SRC/configure --cc=$CC --prefix=$INSTALL
167 # XXX: we need reliable clean up
176 echo "=== PACKAGES ==="
184 # Testing script will be invoked under the git checkout with
185 # HEAD pointing to a commit that has the patches applied on top of "base"
191 mkdir -p $BUILD $INSTALL
194 $SRC/configure --cc=$CC --prefix=$INSTALL
196 # XXX: we need reliable clean up
205 echo "=== PACKAGES ==="
209 requirements: qemu-x86,x86_64,git
213 # Testing script will be invoked under the git checkout with
214 # HEAD pointing to a commit that has the patches applied on top of "base"
216 if qemu-system-x86_64 --help >/dev/null 2>&1; then
217 QEMU=qemu-system-x86_64
218 elif /usr/libexec/qemu-kvm --help >/dev/null 2>&1; then
219 QEMU=/usr/libexec/qemu-kvm
223 make vm-build-freebsd J=21 QEMU=$QEMU
227 requirements: docker,x86_64
231 time make docker-test-clang@ubuntu SHOW_ENV=1 J=14 NETWORK=1
238 # Testing script will be invoked under the git checkout with
239 # HEAD pointing to a commit that has the patches applied on top of "base"
245 mkdir -p $BUILD $INSTALL
248 $SRC/configure --cc=$CC --prefix=$INSTALL
250 # XXX: we need reliable clean up
259 echo "=== PACKAGES ==="
265 test "$(uname -m)" = "x86_64"
269 if qemu-system-x86_64 --help >/dev/null 2>&1; then
271 elif /usr/libexec/qemu-kvm --help >/dev/null 2>&1; then
279 test "$(uname -m)" = "ppc64le"
283 test "$(uname -m)" = "ppc64"
287 git config user.name > /dev/null 2>&1
291 docker ps || sudo -n docker ps
295 test "$(uname -m)" = "s390x"
297 push_to: git@github.com:patchew-project/qemu
298 public_repo: https://github.com/patchew-project/qemu
299 url_template: https://github.com/patchew-project/qemu/tree/%t