nnstreamer-example
nnstreamer-example copied to clipboard
apptest: this module is not enabled at first.
It is strange. It seems that the 'apptest' module is not enabled at first. @jaeyun-jung , We you come back from the winter vacation, Please share us tell on your work that you updated the existing apptest module. I am going to disable the 'apptest' module temporarily.
@helloahn , @myungjoo PTAL.
Log message:
When a PR is failed due to unstable 'apptest' module, we have got the error message from the TAOS-CI robot as following:
################################################################################################################################################################################
[MODULE] TAOS/pr-audit-nnstreamer-apptest: Starting a sample app test
Checking for meson...
/usr/bin/meson
Checking for ninja...
/usr/bin/ninja
Checking for wget...
/usr/bin/wget
Checking for python...
/usr/bin/python
Checking for Xvnc...
/usr/bin/Xvnc
Checking for git...
/usr/bin/git
Checking for insmod...
/sbin/insmod
Checking for cat...
/bin/cat
Checking for grep...
/bin/grep
Checking for usermod...
/usr/sbin/usermod
Checking for xauth...
/usr/bin/xauth
Checking for touch...
/usr/bin/touch
Checking for awk...
/usr/bin/awk
Checking for grep...
/bin/grep
Checking for ps...
/bin/ps
[DEBUG] NNST_ROOT is '/var/www/html/nnstreamer-example/TAOS-CI/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/nnstreamer-example'
[DEBUG] LD_LIBRARY_PATH is ':/var/www/html/nnstreamer-example/TAOS-CI/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/nnstreamer-example/lib'
[DEBUG] GST_PLUGIN_PATH is ':/var/www/html/nnstreamer-example/TAOS-CI/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/nnstreamer-example/lib/gstreamer-1.0'
/var/www/html/nnstreamer-example/TAOS-CI/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/nnstreamer-example /var/www/html/nnstreamer-example/TAOS-CI/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/nnstreamer-example
The Meson build system
Version: 0.43.0
Source dir: /var/www/html/nnstreamer-example/TAOS-CI/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/nnstreamer-example
Build dir: /var/www/html/nnstreamer-example/TAOS-CI/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/nnstreamer-example/build
Build type: native build
Project name: nnstreamer-example
Native C compiler: ccache cc (gcc 5.4.0)
Native C++ compiler: ccache c++ (gcc 5.4.0)
Build machine cpu family: x86_64
Build machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Native dependency glib-2.0 found: YES 2.48.2
Native dependency gstreamer-1.0 found: YES 1.8.3
Native dependency gstreamer-base-1.0 found: YES 1.8.3
Native dependency gstreamer-video-1.0 found: YES 1.8.3
Native dependency gstreamer-audio-1.0 found: YES 1.8.3
Native dependency gstreamer-app-1.0 found: YES 1.8.3
Native dependency cairo found: YES 1.14.6
Library m found: YES
Library dl found: YES
Dependency threads found: YES
Native dependency tensorflow found: YES 1.9.0
Dependency protobuf found: NO
Native dependency tensorflow-lite found: YES 0.1
Build targets in project: 9
Found ninja-1.8.2 at /usr/bin/ninja
ninja: Entering directory `build'
[1/19] Compiling C object 'native/example_speech_command_tensorflow_lite/nnscustom_speech_command_tflite@sha/nnscustom_speech_command_tflite.c.o'.
FAILED: native/example_speech_command_tensorflow_lite/nnscustom_speech_command_tflite@sha/nnscustom_speech_command_tflite.c.o
ccache cc -Inative/example_speech_command_tensorflow_lite/nnscustom_speech_command_tflite@sha -Inative/example_speech_command_tensorflow_lite -I../native/example_speech_command_tensorflow_lite -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Werror -std=gnu89 -fPIC -MMD -MQ 'native/example_speech_command_tensorflow_lite/nnscustom_speech_command_tflite@sha/nnscustom_speech_command_tflite.c.o' -MF 'native/example_speech_command_tensorflow_lite/nnscustom_speech_command_tflite@sha/nnscustom_speech_command_tflite.c.o.d' -o 'native/example_speech_command_tensorflow_lite/nnscustom_speech_command_tflite@sha/nnscustom_speech_command_tflite.c.o' -c ../native/example_speech_command_tensorflow_lite/nnscustom_speech_command_tflite.c
../native/example_speech_command_tensorflow_lite/nnscustom_speech_command_tflite.c:18:45: fatal error: nnstreamer/tensor_filter_custom.h: No such file or directory
compilation terminated.
[2/19] Compiling C object 'native/example_cam/nnstreamer_example_cam@exe/nnstreamer_example_cam.c.o'.
[3/19] Compiling C object 'native/example_sink/nnstreamer_sink_example@exe/nnstreamer_sink_example.c.o'.
[4/19] Compiling C object 'native/example_sink/nnstreamer_sink_example_play@exe/nnstreamer_sink_example_play.c.o'.
[5/19] Compiling C object 'native/example_decoder_image_labelling/nnstreamer_example_decoder_image_labelling@exe/nnstreamer_example_decoder_image_labelling.c.o'.
[6/19] Compiling C object 'native/example_filter_performance_profile/nnstreamer_example_filter_performance_profile@exe/nnstreamer_example_filter_performance_profile.c.o'.
[7/19] Compiling C object 'native/example_speech_command_tensorflow_lite/nnstreamer_example_speech_command_tflite@exe/nnstreamer_example_speech_command_tflite.c.o'.
[8/19] Compiling C object 'native/example_image_classification/nnstreamer_example_image_classification@exe/nnstreamer_example_image_classification.c.o'.
[9/19] Compiling C++ object 'native/example_object_detection_tensorflow_lite/nnstreamer_example_object_detection_tflite@exe/nnstreamer_example_object_detection_tflite.cc.o'.
ninja: build stopped: subcommand failed.
[DEBUG] An USB Camera device is not enabled. It is required by {nnstreamer_example_image_classification|nnstreamer_example_cam}.
[DEBUG] Enabling virtual cam camera...
/var/www/html/nnstreamer-example/v4l2loopback /var/www/html/nnstreamer-example/TAOS-CI/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/nnstreamer-example /var/www/html/nnstreamer-example/TAOS-CI/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/nnstreamer-example
rm -f *~
rm -f Module.symvers Module.markers modules.order
make -C /lib/modules/`uname -r`/build M=/var/www/html/nnstreamer-example/v4l2loopback clean
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-138-generic'
CLEAN /var/www/html/nnstreamer-example/v4l2loopback/.tmp_versions
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-138-generic'
Building v4l2-loopback driver...
make -C /lib/modules/`uname -r`/build M=/var/www/html/nnstreamer-example/v4l2loopback modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-138-generic'
CC [M] /var/www/html/nnstreamer-example/v4l2loopback/v4l2loopback.o
Building modules, stage 2.
MODPOST 1 modules
CC /var/www/html/nnstreamer-example/v4l2loopback/v4l2loopback.mod.o
LD [M] /var/www/html/nnstreamer-example/v4l2loopback/v4l2loopback.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-138-generic'
[DEBUG] The group 'video' has to include 'www-data' in the 'video' group.
video:x:44:ubuntu,www-data
/var/www/html/nnstreamer-example/TAOS-CI/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/nnstreamer-example /var/www/html/nnstreamer-example/TAOS-CI/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/nnstreamer-example
[DEBUG][PASS] It's okay. ~/.Xauthority exists.
[DEBUG] It's okay. The producer (pid: 61500) is successfully started.
[DEBUG] -------------------- locale: start --------------------
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
[DEBUG] -------------------- locale: start --------------------
[DEBUG] -------------------- netstat(Xvnc:59xx): start --------------------
tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN -
tcp 0 0 172.31.27.164:5900 62.212.90.229:51084 ESTABLISHED -
tcp 0 0 172.31.27.164:5900 62.212.90.229:18121 TIME_WAIT -
tcp 0 0 172.31.27.164:5900 62.212.90.229:53227 TIME_WAIT -
tcp 0 0 172.31.27.164:5900 62.212.90.229:5910 TIME_WAIT -
tcp 0 0 172.31.27.164:5900 62.212.90.229:29618 TIME_WAIT -
tcp 0 0 172.31.27.164:5900 62.212.90.229:39822 TIME_WAIT -
tcp6 0 0 :::5931 :::* LISTEN 61499/Xvnc
tcp6 0 0 :::5900 :::* LISTEN -
tcp6 0 0 :::5901 :::* LISTEN -
tcp6 0 0 172.31.27.164:5901 23.95.198.142:39819 TIME_WAIT -
[DEBUG] -------------------- netstat(Xvnc:59xx): end --------------------
[DEBUG] -------------------- netstat(Xvnc:60xx): start --------------------
tcp 0 0 0.0.0.0:6031 0.0.0.0:* LISTEN 61499/Xvnc
tcp 0 0 0.0.0.0:6001 0.0.0.0:* LISTEN -
[DEBUG] -------------------- netstat(Xvnc:60xx): end --------------------
[DEBUG] -------------------- env: start ------------------------
APACHE_PID_FILE=/var/run/apache2/apache2.pid
SHELL=/bin/bash
TERM=xterm
APACHE_RUN_USER=www-data
dir_ci=/var/www/html/nnstreamer-example/TAOS-CI/ci
OLDPWD=/var/www/html/nnstreamer-example/v4l2loopback
LC_ALL=en_US.UTF-8
LD_LIBRARY_PATH=:/var/www/html/nnstreamer-example/TAOS-CI/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/nnstreamer-example/lib
dir_worker=repo-workers/pr-checker
dir_commit=repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
APACHE_LOG_DIR=/var/log/apache2
PWD=/var/www/html/nnstreamer-example/TAOS-CI/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/nnstreamer-example
LANG=en_US.UTF-8
APACHE_RUN_GROUP=www-data
SHLVL=2
LANGUAGE=en_US:en
NNST_ROOT=/var/www/html/nnstreamer-example/TAOS-CI/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/nnstreamer-example
GST_PLUGIN_PATH=:/var/www/html/nnstreamer-example/TAOS-CI/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/nnstreamer-example/lib/gstreamer-1.0
DISPLAY=0.0:31
APACHE_RUN_DIR=/var/run/apache2
APACHE_LOCK_DIR=/var/lock/apache2
_=/usr/bin/env
[DEBUG] -------------------- env: end ------------------------
[DEBUG] -------------------- xauth: start ----------------------
[DEBUG] -------------------- xauth: end ----------------------
Setting pipeline to PAUSED ...
Setting pipeline to NULL ...
Freeing pipeline ...
/var/www/html/nnstreamer-example/TAOS-CI/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/nnstreamer-example
[DEBUG][FAILED] Oooops!!!!!! apptest is failed. Resubmit the PR after fixing correctly.
[DEBUG] report the execution result of apptest. The result value is 132.
[DEBUG] Running the curl-based PR status change procedure.
[DEBUG] The length of a webhook message is "126".
[DEBUG] The original DESCRIPTION is "Oooops. apptest is failed. Resubmit the PR after fixing correctly. Commit number is 2f958b07b1ba906ce2124454660222ba16653904.".
[DEBUG] The edited TRIM_DESCRIPTION is "Oooops. apptest is failed. Resubmit the PR after fixing correctly. Commit number is 2f958b07b1ba906ce2124454660222ba1665 ...".
{
"url": "https://api.github.com/repos/nnsuite/nnstreamer-example/statuses/2f958b07b1ba906ce2124454660222ba16653904",
"avatar_url": "https://avatars2.githubusercontent.com/u/42455533?v=4",
"id": 6309876490,
"node_id": "MDEzOlN0YXR1c0NvbnRleHQ2MzA5ODc2NDkw",
"state": "failure",
"description": "Oooops. apptest is failed. Resubmit the PR after fixing correctly. Commit number is 2f958b07b1ba906ce2124454660222ba1665 ...",
"target_url": "http://nnsuite.mooo.com/nnstreamer-example/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/",
"context": "TAOS/pr-audit-nnstreamer-apptest",
"created_at": "2019-02-25T04:44:41Z",
"updated_at": "2019-02-25T04:44:41Z",
"creator": {
"login": "taos-ci",
"id": 42455533,
"node_id": "MDQ6VXNlcjQyNDU1NTMz",
"avatar_url": "https://avatars2.githubusercontent.com/u/42455533?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/taos-ci",
"html_url": "https://github.com/taos-ci",
"followers_url": "https://api.github.com/users/taos-ci/followers",
"following_url": "https://api.github.com/users/taos-ci/following{/other_user}",
"gists_url": "https://api.github.com/users/taos-ci/gists{/gist_id}",
"starred_url": "https://api.github.com/users/taos-ci/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/taos-ci/subscriptions",
"organizations_url": "https://api.github.com/users/taos-ci/orgs",
"repos_url": "https://api.github.com/users/taos-ci/repos",
"events_url": "https://api.github.com/users/taos-ci/events{/privacy}",
"received_events_url": "https://api.github.com/users/taos-ci/received_events",
"type": "User",
"site_admin": false
}
}
[DEBUG] Return value of the curl webhook command is '0'. If the value is 0, it means that webhook operation is normal.
[DEBUG] Note: If webhook server replies "message": "Not Found", add a privileged user id at 'Setting - Collaborators'.
[DEBUG] Note: The privileged user id has to be appended by "Write" permission.
[DEBUG] Note: If webhook server replies "message": "Bad credentials", try do it again with a correct token key.
[DEBUG] Running the curl-based commenting procedure.
[DEBUG] TOKEN: ea799dca0899673f7da8ed876ee41f5f809b7fc5
[DEBUG] MESSAGE: :octocat: **cibot**: @leemgs, apptest could not be completed. To find out the reasons, please go to http://nnsuite.mooo.com//nnstreamer-example/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/checker-pr-audit.log
[DEBUG] COMMIT_ADDRESS: https://api.github.com/repos/nnsuite/nnstreamer-example/issues/13/comments
{
"url": "https://api.github.com/repos/nnsuite/nnstreamer-example/issues/comments/466870440",
"html_url": "https://github.com/nnsuite/nnstreamer-example/pull/13#issuecomment-466870440",
"issue_url": "https://api.github.com/repos/nnsuite/nnstreamer-example/issues/13",
"id": 466870440,
"node_id": "MDEyOklzc3VlQ29tbWVudDQ2Njg3MDQ0MA==",
"user": {
"login": "taos-ci",
"id": 42455533,
"node_id": "MDQ6VXNlcjQyNDU1NTMz",
"avatar_url": "https://avatars2.githubusercontent.com/u/42455533?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/taos-ci",
"html_url": "https://github.com/taos-ci",
"followers_url": "https://api.github.com/users/taos-ci/followers",
"following_url": "https://api.github.com/users/taos-ci/following{/other_user}",
"gists_url": "https://api.github.com/users/taos-ci/gists{/gist_id}",
"starred_url": "https://api.github.com/users/taos-ci/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/taos-ci/subscriptions",
"organizations_url": "https://api.github.com/users/taos-ci/orgs",
"repos_url": "https://api.github.com/users/taos-ci/repos",
"events_url": "https://api.github.com/users/taos-ci/events{/privacy}",
"received_events_url": "https://api.github.com/users/taos-ci/received_events",
"type": "User",
"site_admin": false
},
"created_at": "2019-02-25T04:44:42Z",
"updated_at": "2019-02-25T04:44:42Z",
"author_association": "MEMBER",
"body": ":octocat: **cibot**: @leemgs, apptest could not be completed. To find out the reasons, please go to http://nnsuite.mooo.com//nnstreamer-example/ci/repo-workers/pr-checker/13-201902251336060.69754195213318-2f958b07b1ba906ce2124454660222ba16653904/checker-pr-audit.log"
}
[DEBUG] Return value of the curl webhook command is '0'. If the value is 0, it means that webhook operation is normal.
[DEBUG] Note: If webhook server replies "message": "Not Found", add a privileged user id at 'Setting - Collaborators'.
[DEBUG] Note: The privileged user id has to be appended by "Write" permission.
[DEBUG] Note: If webhook server replies "message": "Bad credentials", try do it again with a correct token key.
Screenshot:
:octocat: cibot: Thank you for posting issue #14. The person in charge will reply soon.
First of all... Do you really.. seriously need to import TAOS-CI with gitmodule? (why not use taos-ci.rpm/deb?)
Then...
[9/19] Compiling C++ object 'native/example_object_detection_tensorflow_lite/nnstreamer_example_object_detection_tflite@exe/nnstreamer_example_object_detection_tflite.cc.o'.
ninja: build stopped: subcommand failed.
tensorflow lite devel package?
Before building the example - speech command with tf-lite, nnstreamer should be installed.
build custom filter (nnscustom_speech_command_tflite.c)
#include <nnstreamer/tensor_filter_custom.h>