Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/python-gammu.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-37e286417d4e2cdaa41bfcf777ec336d2ee4d274/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/python-gammu.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/python-gammu-2.11-3.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/python-gammu.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-37e286417d4e2cdaa41bfcf777ec336d2ee4d274/root'shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/python-gammu.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.puWgRW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-gammu-2.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-gammu-2.11.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-gammu-2.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mt2okT + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib.linux-armv7l-2.7 creating build/lib.linux-armv7l-2.7/gammu copying gammu/smsd.py -> build/lib.linux-armv7l-2.7/gammu copying gammu/data.py -> build/lib.linux-armv7l-2.7/gammu copying gammu/worker.py -> build/lib.linux-armv7l-2.7/gammu copying gammu/__init__.py -> build/lib.linux-armv7l-2.7/gammu copying gammu/exception.py -> build/lib.linux-armv7l-2.7/gammu running build_ext building 'gammu._gammu' extension creating build/temp.linux-armv7l-2.7 creating build/temp.linux-armv7l-2.7/gammu creating build/temp.linux-armv7l-2.7/gammu/src creating build/temp.linux-armv7l-2.7/gammu/src/convertors gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/errors.c -o build/temp.linux-armv7l-2.7/gammu/src/errors.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/data.c -o build/temp.linux-armv7l-2.7/gammu/src/data.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/misc.c -o build/temp.linux-armv7l-2.7/gammu/src/misc.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/misc.c -o build/temp.linux-armv7l-2.7/gammu/src/convertors/misc.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/string.c -o build/temp.linux-armv7l-2.7/gammu/src/convertors/string.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/time.c -o build/temp.linux-armv7l-2.7/gammu/src/convertors/time.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/base.c -o build/temp.linux-armv7l-2.7/gammu/src/convertors/base.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/sms.c -o build/temp.linux-armv7l-2.7/gammu/src/convertors/sms.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/memory.c -o build/temp.linux-armv7l-2.7/gammu/src/convertors/memory.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/todo.c -o build/temp.linux-armv7l-2.7/gammu/src/convertors/todo.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/calendar.c -o build/temp.linux-armv7l-2.7/gammu/src/convertors/calendar.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/bitmap.c -o build/temp.linux-armv7l-2.7/gammu/src/convertors/bitmap.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/ringtone.c -o build/temp.linux-armv7l-2.7/gammu/src/convertors/ringtone.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/backup.c -o build/temp.linux-armv7l-2.7/gammu/src/convertors/backup.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/file.c -o build/temp.linux-armv7l-2.7/gammu/src/convertors/file.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/call.c -o build/temp.linux-armv7l-2.7/gammu/src/convertors/call.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/wap.c -o build/temp.linux-armv7l-2.7/gammu/src/convertors/wap.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/diverts.c -o build/temp.linux-armv7l-2.7/gammu/src/convertors/diverts.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/gammu.c -o build/temp.linux-armv7l-2.7/gammu/src/gammu.o -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python2.7 -c gammu/src/smsd.c -o build/temp.linux-armv7l-2.7/gammu/src/smsd.o -I/usr/include/gammu gcc -pthread -shared -Wl,-z,relro -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard build/temp.linux-armv7l-2.7/gammu/src/errors.o build/temp.linux-armv7l-2.7/gammu/src/data.o build/temp.linux-armv7l-2.7/gammu/src/misc.o build/temp.linux-armv7l-2.7/gammu/src/convertors/misc.o build/temp.linux-armv7l-2.7/gammu/src/convertors/string.o build/temp.linux-armv7l-2.7/gammu/src/convertors/time.o build/temp.linux-armv7l-2.7/gammu/src/convertors/base.o build/temp.linux-armv7l-2.7/gammu/src/convertors/sms.o build/temp.linux-armv7l-2.7/gammu/src/convertors/memory.o build/temp.linux-armv7l-2.7/gammu/src/convertors/todo.o build/temp.linux-armv7l-2.7/gammu/src/convertors/calendar.o build/temp.linux-armv7l-2.7/gammu/src/convertors/bitmap.o build/temp.linux-armv7l-2.7/gammu/src/convertors/ringtone.o build/temp.linux-armv7l-2.7/gammu/src/convertors/backup.o build/temp.linux-armv7l-2.7/gammu/src/convertors/file.o build/temp.linux-armv7l-2.7/gammu/src/convertors/call.o build/temp.linux-armv7l-2.7/gammu/src/convertors/wap.o build/temp.linux-armv7l-2.7/gammu/src/convertors/diverts.o build/temp.linux-armv7l-2.7/gammu/src/gammu.o build/temp.linux-armv7l-2.7/gammu/src/smsd.o -L/usr/lib -lgsmsd -lGammu -lm -lpython2.7 -o build/lib.linux-armv7l-2.7/gammu/_gammu.so + sleep 1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + /usr/bin/python3.6 setup.py build '--executable=/usr/bin/python3.6 -s' running build running build_py creating build/lib.linux-armv7l-3.6 creating build/lib.linux-armv7l-3.6/gammu copying gammu/smsd.py -> build/lib.linux-armv7l-3.6/gammu copying gammu/data.py -> build/lib.linux-armv7l-3.6/gammu copying gammu/worker.py -> build/lib.linux-armv7l-3.6/gammu copying gammu/__init__.py -> build/lib.linux-armv7l-3.6/gammu copying gammu/exception.py -> build/lib.linux-armv7l-3.6/gammu running build_ext building 'gammu._gammu' extension creating build/temp.linux-armv7l-3.6 creating build/temp.linux-armv7l-3.6/gammu creating build/temp.linux-armv7l-3.6/gammu/src creating build/temp.linux-armv7l-3.6/gammu/src/convertors gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/errors.c -o build/temp.linux-armv7l-3.6/gammu/src/errors.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/data.c -o build/temp.linux-armv7l-3.6/gammu/src/data.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/misc.c -o build/temp.linux-armv7l-3.6/gammu/src/misc.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/convertors/misc.c -o build/temp.linux-armv7l-3.6/gammu/src/convertors/misc.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/convertors/string.c -o build/temp.linux-armv7l-3.6/gammu/src/convertors/string.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/convertors/time.c -o build/temp.linux-armv7l-3.6/gammu/src/convertors/time.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/convertors/base.c -o build/temp.linux-armv7l-3.6/gammu/src/convertors/base.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/convertors/sms.c -o build/temp.linux-armv7l-3.6/gammu/src/convertors/sms.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/convertors/memory.c -o build/temp.linux-armv7l-3.6/gammu/src/convertors/memory.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/convertors/todo.c -o build/temp.linux-armv7l-3.6/gammu/src/convertors/todo.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/convertors/calendar.c -o build/temp.linux-armv7l-3.6/gammu/src/convertors/calendar.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/convertors/bitmap.c -o build/temp.linux-armv7l-3.6/gammu/src/convertors/bitmap.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/convertors/ringtone.c -o build/temp.linux-armv7l-3.6/gammu/src/convertors/ringtone.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/convertors/backup.c -o build/temp.linux-armv7l-3.6/gammu/src/convertors/backup.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/convertors/file.c -o build/temp.linux-armv7l-3.6/gammu/src/convertors/file.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/convertors/call.c -o build/temp.linux-armv7l-3.6/gammu/src/convertors/call.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/convertors/wap.c -o build/temp.linux-armv7l-3.6/gammu/src/convertors/wap.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/convertors/diverts.c -o build/temp.linux-armv7l-3.6/gammu/src/convertors/diverts.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/gammu.c -o build/temp.linux-armv7l-3.6/gammu/src/gammu.o -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -DPYTHON_GAMMU_MAJOR_VERSION=2 -DPYTHON_GAMMU_MINOR_VERSION=11 -Iinclude/ -I/usr/include/python3.6m -c gammu/src/smsd.c -o build/temp.linux-armv7l-3.6/gammu/src/smsd.o -I/usr/include/gammu gcc -pthread -shared -Wl,-z,relro -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard build/temp.linux-armv7l-3.6/gammu/src/errors.o build/temp.linux-armv7l-3.6/gammu/src/data.o build/temp.linux-armv7l-3.6/gammu/src/misc.o build/temp.linux-armv7l-3.6/gammu/src/convertors/misc.o build/temp.linux-armv7l-3.6/gammu/src/convertors/string.o build/temp.linux-armv7l-3.6/gammu/src/convertors/time.o build/temp.linux-armv7l-3.6/gammu/src/convertors/base.o build/temp.linux-armv7l-3.6/gammu/src/convertors/sms.o build/temp.linux-armv7l-3.6/gammu/src/convertors/memory.o build/temp.linux-armv7l-3.6/gammu/src/convertors/todo.o build/temp.linux-armv7l-3.6/gammu/src/convertors/calendar.o build/temp.linux-armv7l-3.6/gammu/src/convertors/bitmap.o build/temp.linux-armv7l-3.6/gammu/src/convertors/ringtone.o build/temp.linux-armv7l-3.6/gammu/src/convertors/backup.o build/temp.linux-armv7l-3.6/gammu/src/convertors/file.o build/temp.linux-armv7l-3.6/gammu/src/convertors/call.o build/temp.linux-armv7l-3.6/gammu/src/convertors/wap.o build/temp.linux-armv7l-3.6/gammu/src/convertors/diverts.o build/temp.linux-armv7l-3.6/gammu/src/gammu.o build/temp.linux-armv7l-3.6/gammu/src/smsd.o -L/usr/lib -lgsmsd -lGammu -lm -lpython3.6m -o build/lib.linux-armv7l-3.6/gammu/_gammu.cpython-36m-arm-linux-gnueabi.so + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0WxhRa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm ++ dirname /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm + cd python-gammu-2.11 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm running install running install_lib creating /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr creating /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib creating /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python2.7/site-packages/gammu copying build/lib.linux-armv7l-2.7/gammu/smsd.py -> /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python2.7/site-packages/gammu copying build/lib.linux-armv7l-2.7/gammu/_gammu.so -> /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python2.7/site-packages/gammu copying build/lib.linux-armv7l-2.7/gammu/data.py -> /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python2.7/site-packages/gammu copying build/lib.linux-armv7l-2.7/gammu/worker.py -> /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python2.7/site-packages/gammu copying build/lib.linux-armv7l-2.7/gammu/__init__.py -> /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python2.7/site-packages/gammu copying build/lib.linux-armv7l-2.7/gammu/exception.py -> /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python2.7/site-packages/gammu byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python2.7/site-packages/gammu/smsd.py to smsd.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python2.7/site-packages/gammu/data.py to data.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python2.7/site-packages/gammu/worker.py to worker.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python2.7/site-packages/gammu/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python2.7/site-packages/gammu/exception.py to exception.pyc writing byte-compilation script '/tmp/tmpMbo9DW.py' /usr/bin/python2 -O /tmp/tmpMbo9DW.py removing /tmp/tmpMbo9DW.py running install_egg_info running egg_info creating python_gammu.egg-info writing python_gammu.egg-info/PKG-INFO writing top-level names to python_gammu.egg-info/top_level.txt writing dependency_links to python_gammu.egg-info/dependency_links.txt writing manifest file 'python_gammu.egg-info/SOURCES.txt' reading manifest file 'python_gammu.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_gammu.egg-info/SOURCES.txt' Copying python_gammu.egg-info to /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python2.7/site-packages/python_gammu-2.11-py2.7.egg-info running install_scripts + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + /usr/bin/python3.6 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm running install running install_lib creating /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python3.6/site-packages/gammu copying build/lib.linux-armv7l-3.6/gammu/smsd.py -> /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python3.6/site-packages/gammu copying build/lib.linux-armv7l-3.6/gammu/data.py -> /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python3.6/site-packages/gammu copying build/lib.linux-armv7l-3.6/gammu/worker.py -> /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python3.6/site-packages/gammu copying build/lib.linux-armv7l-3.6/gammu/_gammu.cpython-36m-arm-linux-gnueabi.so -> /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python3.6/site-packages/gammu copying build/lib.linux-armv7l-3.6/gammu/__init__.py -> /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python3.6/site-packages/gammu copying build/lib.linux-armv7l-3.6/gammu/exception.py -> /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python3.6/site-packages/gammu byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python3.6/site-packages/gammu/smsd.py to smsd.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python3.6/site-packages/gammu/data.py to data.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python3.6/site-packages/gammu/worker.py to worker.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python3.6/site-packages/gammu/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python3.6/site-packages/gammu/exception.py to exception.cpython-36.pyc writing byte-compilation script '/tmp/tmpbk53sck4.py' /usr/bin/python3.6 /tmp/tmpbk53sck4.py removing /tmp/tmpbk53sck4.py running install_egg_info running egg_info writing python_gammu.egg-info/PKG-INFO writing dependency_links to python_gammu.egg-info/dependency_links.txt writing top-level names to python_gammu.egg-info/top_level.txt reading manifest file 'python_gammu.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_gammu.egg-info/SOURCES.txt' Copying python_gammu.egg-info to /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python3.6/site-packages/python_gammu-2.11-py3.6.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/python-gammu-2.11 extracting debug info from /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python2.7/site-packages/gammu/_gammu.so extracting debug info from /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python3.6/site-packages/gammu/_gammu.cpython-36m-arm-linux-gnueabi.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 770 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/debug/usr/lib/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/debug/usr/lib/python3.6 using /usr/bin/python3.6 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/lib/python3.6 using /usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.IisfED + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + /usr/bin/python2 setup.py test running test running egg_info writing python_gammu.egg-info/PKG-INFO writing top-level names to python_gammu.egg-info/top_level.txt writing dependency_links to python_gammu.egg-info/dependency_links.txt reading manifest file 'python_gammu.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_gammu.egg-info/SOURCES.txt' running build_ext copying build/lib.linux-armv7l-2.7/gammu/_gammu.so -> gammu test_calendar (test.test_backup.BackupTest) ... ok test_contact (test.test_backup.BackupTest) ... ok test_convert_calendar (test.test_backup.BackupTest) ... ok test_convert_contacts (test.test_backup.BackupTest) ... ok test_todo (test.test_backup.BackupTest) ... ok test_incoming (test.test_worker.WorkerDummyTest) ... ok test_worker (test.test_worker.WorkerDummyTest) ... ok test_catching (test.test_errors.ErrorTest) ... ok test_init_error (test.test_smsd.SMSDDummyTest) ... ok test_inject (test.test_smsd.SMSDDummyTest) ... Sat 2019/04/06 11:22:16 python-gammu[2306]: Using SQL service Sat 2019/04/06 11:22:16 python-gammu[2306]: Configuring Gammu SMSD... Sat 2019/04/06 11:22:16 python-gammu[2306]: SHM token: 0x1002584 (16786820) Sat 2019/04/06 11:22:16 python-gammu[2306]: Warning: No PIN code in /tmp/tmpMlNHNo/.gammurc file Sat 2019/04/06 11:22:16 python-gammu[2306]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Sat 2019/04/06 11:22:16 python-gammu[2306]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1 Sat 2019/04/06 11:22:16 python-gammu[2306]: mode: Send=1, Receive=1 Sat 2019/04/06 11:22:16 python-gammu[2306]: deliveryreport = no Sat 2019/04/06 11:22:16 python-gammu[2306]: phoneid = Sat 2019/04/06 11:22:16 python-gammu[2306]: Using DBI driver 'sqlite3' Sat 2019/04/06 11:22:16 python-gammu[2306]: Execute SQL: SELECT * FROM gammu LIMIT 1 Sat 2019/04/06 11:22:16 python-gammu[2306]: Execute SQL: SELECT * FROM inbox LIMIT 1 Sat 2019/04/06 11:22:16 python-gammu[2306]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Sat 2019/04/06 11:22:16 python-gammu[2306]: Execute SQL: SELECT * FROM outbox LIMIT 1 Sat 2019/04/06 11:22:16 python-gammu[2306]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Sat 2019/04/06 11:22:16 python-gammu[2306]: Execute SQL: SELECT * FROM phones LIMIT 1 Sat 2019/04/06 11:22:16 python-gammu[2306]: Execute SQL: SELECT Version FROM gammu Sat 2019/04/06 11:22:16 python-gammu[2306]: Database structures version: 17, SMSD current version: 17 Sat 2019/04/06 11:22:16 python-gammu[2306]: Connected to Database sqlite3: smsd.db on localhost Sat 2019/04/06 11:22:16 python-gammu[2306]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.39.0', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu testing message') Sat 2019/04/06 11:22:16 python-gammu[2306]: Written message with ID 1 Sat 2019/04/06 11:22:16 python-gammu[2306]: Disconnecting from SQL database. ok test_smsd (test.test_smsd.SMSDDummyTest) ... Sat 2019/04/06 11:22:17 python-gammu[2306]: Using SQL service Sat 2019/04/06 11:22:17 python-gammu[2306]: Configuring Gammu SMSD... Sat 2019/04/06 11:22:17 python-gammu[2306]: SHM token: 0x1002584 (16786820) Sat 2019/04/06 11:22:17 python-gammu[2306]: Warning: No PIN code in /tmp/tmpFoEgYp/.gammurc file Sat 2019/04/06 11:22:17 python-gammu[2306]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Sat 2019/04/06 11:22:17 python-gammu[2306]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1 Sat 2019/04/06 11:22:17 python-gammu[2306]: mode: Send=1, Receive=1 Sat 2019/04/06 11:22:17 python-gammu[2306]: deliveryreport = no Sat 2019/04/06 11:22:17 python-gammu[2306]: phoneid = Sat 2019/04/06 11:22:17 python-gammu[2306]: Using DBI driver 'sqlite3' Sat 2019/04/06 11:22:17 python-gammu[2306]: Execute SQL: SELECT * FROM gammu LIMIT 1 Sat 2019/04/06 11:22:17 python-gammu[2306]: Execute SQL: SELECT * FROM inbox LIMIT 1 Sat 2019/04/06 11:22:17 python-gammu[2306]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Sat 2019/04/06 11:22:17 python-gammu[2306]: Execute SQL: SELECT * FROM outbox LIMIT 1 Sat 2019/04/06 11:22:17 python-gammu[2306]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Sat 2019/04/06 11:22:17 python-gammu[2306]: Execute SQL: SELECT * FROM phones LIMIT 1 Sat 2019/04/06 11:22:17 python-gammu[2306]: Execute SQL: SELECT Version FROM gammu Sat 2019/04/06 11:22:17 python-gammu[2306]: Database structures version: 17, SMSD current version: 17 Sat 2019/04/06 11:22:17 python-gammu[2306]: Connected to Database sqlite3: smsd.db on localhost Sat 2019/04/06 11:22:17 python-gammu[2306]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.39.0', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu testing message') Sat 2019/04/06 11:22:18 python-gammu[2306]: Written message with ID 1 Sat 2019/04/06 11:22:18 python-gammu[2306]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.39.0', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D00750020007300650063006F006E0064002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu second testing message') Sat 2019/04/06 11:22:18 python-gammu[2306]: Written message with ID 2 Sat 2019/04/06 11:22:18 python-gammu[2306]: Created POSIX RW shared memory at 0xb6f14000 Sat 2019/04/06 11:22:18 python-gammu[2306]: Starting phone communication... Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: [Gammu - 1.39.0] Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: [Connection - "none"] Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: [Connection index - 0] Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: [Model type - "dummy"] Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: [Device - "/tmp/tmpFoEgYp/gammu-dummy"] Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: [Running on - Linux, kernel 4.10.8-fedora-1 (#1 SMP Wed Apr 5 16:17:05 UTC 2017)] Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: [Module - "dummy"] Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: Log file /tmp/tmpFoEgYp/gammu-dummy/operations.log Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: Number version is "1.390000" Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: [Connected] Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: Entering GSM_GetSecurityStatus Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: Leaving GSM_GetSecurityStatus Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: Entering GSM_SetIncomingSMS Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: Leaving GSM_SetIncomingSMS Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: Entering GSM_SetIncomingUSSD Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: Leaving GSM_SetIncomingUSSD Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: Entering GSM_GetIMEI Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: Leaving GSM_GetIMEI Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: Entering GSM_GetSIMIMSI Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: Leaving GSM_GetSIMIMSI Sat 2019/04/06 11:22:18 python-gammu[2306]: Execute SQL: DELETE FROM phones WHERE IMEI = '999999999999999' Sat 2019/04/06 11:22:18 python-gammu[2306]: Inserting phone info Sat 2019/04/06 11:22:18 python-gammu[2306]: Execute SQL: INSERT INTO phones (IMEI, IMSI, ID, NetCode, NetName, Send, Receive, InsertIntoDB, TimeOut, Client, Battery, Signal) VALUES ('999999999999999', '994299429942994', '', '', '', 'yes', 'yes', datetime('now', 'localtime'), datetime('now', '+10 seconds', 'localtime'), 'Gammu 1.39.0, Linux, kernel 4.10.8-fedora-1 (#1 SMP Wed Apr 5 16:17:05 UTC 2017), GCC 4.8', -1, -1) Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: Entering GSM_SetFastSMSSending Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: Leaving GSM_SetFastSMSSending Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: Entering GSM_GetSecurityStatus Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: Leaving GSM_GetSecurityStatus Sat 2019/04/06 11:22:18 python-gammu[2306]: gammu: Entering GSM_GetSMSStatus Sat 2019/04/06 11:22:19 python-gammu[2306]: gammu: Leaving GSM_GetSMSStatus Sat 2019/04/06 11:22:19 python-gammu[2306]: gammu: Entering GSM_GetNextSMS Sat 2019/04/06 11:22:19 python-gammu[2306]: gammu: Starting reading! Sat 2019/04/06 11:22:19 python-gammu[2306]: gammu: Number = 0, Location = 0, Folder = 0 Sat 2019/04/06 11:22:19 python-gammu[2306]: gammu: Leaving GSM_GetNextSMS Sat 2019/04/06 11:22:19 python-gammu[2306]: Received message from: 1234 Sat 2019/04/06 11:22:19 python-gammu[2306]: gammu: Entering GSM_GetNextSMS Sat 2019/04/06 11:22:19 python-gammu[2306]: gammu: Number = 1, Location = 10001, Folder = 0 Sat 2019/04/06 11:22:19 python-gammu[2306]: gammu: Leaving GSM_GetNextSMS Sat 2019/04/06 11:22:19 python-gammu[2306]: gammu: Entering GSM_GetNextSMS Sat 2019/04/06 11:22:19 python-gammu[2306]: gammu: Number = 1, Location = 20010, Folder = 0 Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_GetNextSMS Sat 2019/04/06 11:22:20 python-gammu[2306]: Received message from: 1234 Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Entering GSM_GetNextSMS Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Number = 1, Location = 30042, Folder = 0 Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_GetNextSMS Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Entering GSM_GetNextSMS Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Number = 1, Location = 40015, Folder = 0 Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_GetNextSMS Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Entering GSM_GetNextSMS Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Number = 1, Location = 40020, Folder = 0 Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_GetNextSMS Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Entering GSM_GetNextSMS Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Number = 1, Location = 40021, Folder = 0 Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: GSM_GetNextSMS failed with error EMPTY[22]: Entry is empty. Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_GetNextSMS Sat 2019/04/06 11:22:20 python-gammu[2306]: Read 2 messages Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Entering GSM_DeleteSMS Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Location = 10001, Folder = 0 Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_DeleteSMS Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Entering GSM_DeleteSMS Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Location = 30042, Folder = 0 Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_DeleteSMS Sat 2019/04/06 11:22:20 python-gammu[2306]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:22:20 python-gammu[2306]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '1' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Sat 2019/04/06 11:22:20 python-gammu[2306]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='1' Sat 2019/04/06 11:22:20 python-gammu[2306]: New message to send: 1 Sat 2019/04/06 11:22:20 python-gammu[2306]: Message without SMSC, assuming you want to use the one from phone Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Entering GSM_GetSMSC Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_GetSMSC Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Entering GSM_GetBatteryCharge Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_GetBatteryCharge Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Entering GSM_GetSignalQuality Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_GetSignalQuality Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Entering GSM_GetNetworkInfo Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_GetNetworkInfo Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Entering GSM_SendSMS Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: SMS Submit Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Recipient number "1234567890" Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: SMSC number "123456" Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: SMS class -1 Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: SMS validity ff Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: TPMR: 00 0 Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: 7 bit SMS, length 25, 28 Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: python-gammu testing message Sat 2019/04/06 11:22:20 python-gammu[2306]: SMS sent on device: "/tmp/tmpFoEgYp/gammu-dummy" status=0, reference=255 Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_SendSMS Sat 2019/04/06 11:22:20 python-gammu[2306]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '1' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Sat 2019/04/06 11:22:20 python-gammu[2306]: Transmitted 1 (total: 1) to 1234567890 Sat 2019/04/06 11:22:20 python-gammu[2306]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='1' Sat 2019/04/06 11:22:20 python-gammu[2306]: Execute SQL: INSERT INTO sentitems (CreatorID, ID, SequencePosition, Status, SendingDateTime, SMSCNumber, TPMR, SenderID, Text, DestinationNumber, Coding, UDH, Class, TextDecoded, InsertIntoDB, RelativeValidity, StatusCode) VALUES ('Gammu 1.39.0', '1', 1, 'SendingOKNoReport', datetime('now', 'localtime'), '123456', 255, '', '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', 'Default_No_Compression', '', -1, 'python-gammu testing message', '2019-04-06 11:22:17', -1, -1) Sat 2019/04/06 11:22:20 python-gammu[2306]: Execute SQL: UPDATE phones SET Sent= Sent + 1 WHERE IMEI = '999999999999999' Sat 2019/04/06 11:22:20 python-gammu[2306]: Execute SQL: DELETE FROM outbox WHERE ID='1' Sat 2019/04/06 11:22:20 python-gammu[2306]: Execute SQL: DELETE FROM outbox_multipart WHERE ID='1' Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Entering GSM_GetBatteryCharge Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_GetBatteryCharge Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Entering GSM_GetSignalQuality Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_GetSignalQuality Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Entering GSM_GetNetworkInfo Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_GetNetworkInfo Sat 2019/04/06 11:22:20 python-gammu[2306]: Execute SQL: UPDATE phones SET TimeOut= datetime('now', '+10 seconds', 'localtime'), Battery = 100, Signal = 42, NetCode = '999 99', NetName = 'GammuT3l' WHERE IMEI = '999999999999999' Sat 2019/04/06 11:22:20 python-gammu[2306]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:22:20 python-gammu[2306]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '2' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Sat 2019/04/06 11:22:20 python-gammu[2306]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='2' Sat 2019/04/06 11:22:20 python-gammu[2306]: New message to send: 2 Sat 2019/04/06 11:22:20 python-gammu[2306]: Message without SMSC, assuming you want to use the one from phone Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Entering GSM_GetBatteryCharge Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_GetBatteryCharge Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Entering GSM_GetSignalQuality Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_GetSignalQuality Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Entering GSM_GetNetworkInfo Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_GetNetworkInfo Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Entering GSM_SendSMS Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: SMS Submit Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Recipient number "1234567890" Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: SMSC number "123456" Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: SMS class -1 Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: SMS validity ff Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: TPMR: 00 0 Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: 7 bit SMS, length 31, 35 Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: python-gammu second testing message Sat 2019/04/06 11:22:20 python-gammu[2306]: SMS sent on device: "/tmp/tmpFoEgYp/gammu-dummy" status=0, reference=255 Sat 2019/04/06 11:22:20 python-gammu[2306]: gammu: Leaving GSM_SendSMS Sat 2019/04/06 11:22:20 python-gammu[2306]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '2' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Sat 2019/04/06 11:22:21 python-gammu[2306]: Transmitted 2 (total: 1) to 1234567890 Sat 2019/04/06 11:22:21 python-gammu[2306]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='2' Sat 2019/04/06 11:22:21 python-gammu[2306]: Execute SQL: INSERT INTO sentitems (CreatorID, ID, SequencePosition, Status, SendingDateTime, SMSCNumber, TPMR, SenderID, Text, DestinationNumber, Coding, UDH, Class, TextDecoded, InsertIntoDB, RelativeValidity, StatusCode) VALUES ('Gammu 1.39.0', '2', 1, 'SendingOKNoReport', datetime('now', 'localtime'), '123456', 255, '', '0070007900740068006F006E002D00670061006D006D00750020007300650063006F006E0064002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', 'Default_No_Compression', '', -1, 'python-gammu second testing message', '2019-04-06 11:22:18', -1, -1) Sat 2019/04/06 11:22:21 python-gammu[2306]: Execute SQL: UPDATE phones SET Sent= Sent + 1 WHERE IMEI = '999999999999999' Sat 2019/04/06 11:22:21 python-gammu[2306]: Execute SQL: DELETE FROM outbox WHERE ID='2' Sat 2019/04/06 11:22:21 python-gammu[2306]: Execute SQL: DELETE FROM outbox_multipart WHERE ID='2' Sat 2019/04/06 11:22:21 python-gammu[2306]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:22:22 python-gammu[2306]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:22:23 python-gammu[2306]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:22:24 python-gammu[2306]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:22:25 python-gammu[2306]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:22:26 python-gammu[2306]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:22:27 python-gammu[2306]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:22:28 python-gammu[2306]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:22:29 python-gammu[2306]: gammu: Entering GSM_SetIncomingUSSD Sat 2019/04/06 11:22:29 python-gammu[2306]: gammu: Leaving GSM_SetIncomingUSSD Sat 2019/04/06 11:22:29 python-gammu[2306]: Disconnecting from SQL database. Sat 2019/04/06 11:22:29 python-gammu[2306]: gammu: Entering GSM_SetFastSMSSending Sat 2019/04/06 11:22:29 python-gammu[2306]: gammu: Leaving GSM_SetFastSMSSending Sat 2019/04/06 11:22:29 python-gammu[2306]: Stopping Gammu smsd: No error. (NONE[1]) Sat 2019/04/06 11:22:29 python-gammu[2306]: Terminating communication... Sat 2019/04/06 11:22:29 python-gammu[2306]: gammu: [Terminating] Sat 2019/04/06 11:22:29 python-gammu[2306]: gammu: [Closing] Sat 2019/04/06 11:22:29 python-gammu[2306]: Disconnecting from SQL database. ok test_config_bool (test.test_config.ConfigTest) ... ok test_config_none (test.test_config.ConfigTest) ... ok test_config_string (test.test_config.ConfigTest) ... ok test_init_error (test.test_config.ConfigTest) ... ok test_file (test.test_config.DebugTest) ... ok test_filename (test.test_config.DebugTest) ... ok test_none (test.test_config.DebugTest) ... ok test_nothing (test.test_config.DebugTest) ... ok test_connections (test.test_data.DataTest) ... ok test_errors (test.test_data.DataTest) ... ok test_counter (test.test_sms.PDUTest) ... ok test_counter_long (test.test_sms.PDUTest) ... ok test_decode (test.test_sms.PDUTest) ... ok test_encode_gsm (test.test_sms.PDUTest) ... ok test_encode_plain (test.test_sms.PDUTest) ... ok test_encode_unicode (test.test_sms.PDUTest) ... ok test_link (test.test_sms.PDUTest) ... ok test_mms_decode (test.test_sms.PDUTest) ... ok test_addfile (test.test_dummy.BasicDummyTest) ... ok test_battery (test.test_dummy.BasicDummyTest) ... ok test_calendar (test.test_dummy.BasicDummyTest) ... ok test_deletefile (test.test_dummy.BasicDummyTest) ... ok test_deletefolder (test.test_dummy.BasicDummyTest) ... ok test_dial (test.test_dummy.BasicDummyTest) ... ok test_diverts (test.test_dummy.BasicDummyTest) ... ok test_emoji_folder (test.test_dummy.BasicDummyTest) ... ERROR test_fileattributes (test.test_dummy.BasicDummyTest) ... ok test_filesystem (test.test_dummy.BasicDummyTest) ... ok test_getmemory (test.test_dummy.BasicDummyTest) ... ok test_getnextfile (test.test_dummy.BasicDummyTest) ... ok test_incoming_call (test.test_dummy.BasicDummyTest) ... ok test_memory (test.test_dummy.BasicDummyTest) ... ok test_model (test.test_dummy.BasicDummyTest) ... ok test_sendsms (test.test_dummy.BasicDummyTest) ... ok test_sendsms_long (test.test_dummy.BasicDummyTest) ... ok test_sms (test.test_dummy.BasicDummyTest) ... ok test_sms_folders (test.test_dummy.BasicDummyTest) ... ok test_todo (test.test_dummy.BasicDummyTest) ... ok test_ussd (test.test_dummy.BasicDummyTest) ... ok ====================================================================== ERROR: test_emoji_folder (test.test_dummy.BasicDummyTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-gammu-2.11/test/test_dummy.py", line 377, in test_emoji_folder os.path.exists(os.path.join(self.dummy_dir, 'fs', name)) File "/usr/lib/python2.7/genericpath.py", line 18, in exists os.stat(path) UnicodeEncodeError: 'ascii' codec can't encode character u'\U0001f618' in position 35: ordinal not in range(128) ---------------------------------------------------------------------- Ran 50 tests in 40.373s FAILED (errors=1) Gammu version (1, 39, 0), SMSD DB version 17 Gammu version (1, 39, 0), SMSD DB version 17 Log filename is "stderr" Gammu version (1, 39, 0), SMSD DB version 17 Log filename is "stderr" python-gammu: WARNING: Adding USSD to queue, position 0 + : + /usr/bin/python3.6 setup.py test running test running egg_info writing python_gammu.egg-info/PKG-INFO writing dependency_links to python_gammu.egg-info/dependency_links.txt writing top-level names to python_gammu.egg-info/top_level.txt reading manifest file 'python_gammu.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_gammu.egg-info/SOURCES.txt' running build_ext copying build/lib.linux-armv7l-3.6/gammu/_gammu.cpython-36m-arm-linux-gnueabi.so -> gammu test_calendar (test.test_backup.BackupTest) ... ok test_contact (test.test_backup.BackupTest) ... ok test_convert_calendar (test.test_backup.BackupTest) ... ok test_convert_contacts (test.test_backup.BackupTest) ... ok test_todo (test.test_backup.BackupTest) ... ok test_incoming (test.test_worker.WorkerDummyTest) ... ok test_worker (test.test_worker.WorkerDummyTest) ... ok test_catching (test.test_errors.ErrorTest) ... ok test_init_error (test.test_smsd.SMSDDummyTest) ... ok test_inject (test.test_smsd.SMSDDummyTest) ... Sat 2019/04/06 11:23:02 python-gammu[2339]: Using SQL service Sat 2019/04/06 11:23:02 python-gammu[2339]: Configuring Gammu SMSD... Sat 2019/04/06 11:23:02 python-gammu[2339]: SHM token: 0x1002587 (16786823) Sat 2019/04/06 11:23:02 python-gammu[2339]: Warning: No PIN code in /tmp/tmpmzufubxu/.gammurc file Sat 2019/04/06 11:23:02 python-gammu[2339]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Sat 2019/04/06 11:23:02 python-gammu[2339]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1 Sat 2019/04/06 11:23:02 python-gammu[2339]: mode: Send=1, Receive=1 Sat 2019/04/06 11:23:02 python-gammu[2339]: deliveryreport = no Sat 2019/04/06 11:23:02 python-gammu[2339]: phoneid = Sat 2019/04/06 11:23:02 python-gammu[2339]: Using DBI driver 'sqlite3' Sat 2019/04/06 11:23:02 python-gammu[2339]: Execute SQL: SELECT * FROM gammu LIMIT 1 Sat 2019/04/06 11:23:02 python-gammu[2339]: Execute SQL: SELECT * FROM inbox LIMIT 1 Sat 2019/04/06 11:23:02 python-gammu[2339]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Sat 2019/04/06 11:23:02 python-gammu[2339]: Execute SQL: SELECT * FROM outbox LIMIT 1 Sat 2019/04/06 11:23:02 python-gammu[2339]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Sat 2019/04/06 11:23:02 python-gammu[2339]: Execute SQL: SELECT * FROM phones LIMIT 1 Sat 2019/04/06 11:23:02 python-gammu[2339]: Execute SQL: SELECT Version FROM gammu Sat 2019/04/06 11:23:02 python-gammu[2339]: Database structures version: 17, SMSD current version: 17 Sat 2019/04/06 11:23:02 python-gammu[2339]: Connected to Database sqlite3: smsd.db on localhost Sat 2019/04/06 11:23:02 python-gammu[2339]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.39.0', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu testing message') Sat 2019/04/06 11:23:02 python-gammu[2339]: Written message with ID 1 Sat 2019/04/06 11:23:02 python-gammu[2339]: Disconnecting from SQL database. ok test_smsd (test.test_smsd.SMSDDummyTest) ... Sat 2019/04/06 11:23:03 python-gammu[2339]: Using SQL service Sat 2019/04/06 11:23:03 python-gammu[2339]: Configuring Gammu SMSD... Sat 2019/04/06 11:23:03 python-gammu[2339]: SHM token: 0x1002587 (16786823) Sat 2019/04/06 11:23:03 python-gammu[2339]: Warning: No PIN code in /tmp/tmpa47u21y5/.gammurc file Sat 2019/04/06 11:23:03 python-gammu[2339]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Sat 2019/04/06 11:23:03 python-gammu[2339]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1 Sat 2019/04/06 11:23:03 python-gammu[2339]: mode: Send=1, Receive=1 Sat 2019/04/06 11:23:03 python-gammu[2339]: deliveryreport = no Sat 2019/04/06 11:23:03 python-gammu[2339]: phoneid = Sat 2019/04/06 11:23:03 python-gammu[2339]: Using DBI driver 'sqlite3' Sat 2019/04/06 11:23:03 python-gammu[2339]: Execute SQL: SELECT * FROM gammu LIMIT 1 Sat 2019/04/06 11:23:03 python-gammu[2339]: Execute SQL: SELECT * FROM inbox LIMIT 1 Sat 2019/04/06 11:23:03 python-gammu[2339]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Sat 2019/04/06 11:23:03 python-gammu[2339]: Execute SQL: SELECT * FROM outbox LIMIT 1 Sat 2019/04/06 11:23:03 python-gammu[2339]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Sat 2019/04/06 11:23:03 python-gammu[2339]: Execute SQL: SELECT * FROM phones LIMIT 1 Sat 2019/04/06 11:23:03 python-gammu[2339]: Execute SQL: SELECT Version FROM gammu Sat 2019/04/06 11:23:03 python-gammu[2339]: Database structures version: 17, SMSD current version: 17 Sat 2019/04/06 11:23:03 python-gammu[2339]: Connected to Database sqlite3: smsd.db on localhost Sat 2019/04/06 11:23:03 python-gammu[2339]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.39.0', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu testing message') Sat 2019/04/06 11:23:03 python-gammu[2339]: Written message with ID 1 Sat 2019/04/06 11:23:03 python-gammu[2339]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.39.0', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D00750020007300650063006F006E0064002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu second testing message') Sat 2019/04/06 11:23:03 python-gammu[2339]: Written message with ID 2 Sat 2019/04/06 11:23:03 python-gammu[2339]: Created POSIX RW shared memory at 0xb6fa9000 Sat 2019/04/06 11:23:03 python-gammu[2339]: Starting phone communication... Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: [Gammu - 1.39.0] Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: [Connection - "none"] Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: [Connection index - 0] Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: [Model type - "dummy"] Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: [Device - "/tmp/tmpa47u21y5/gammu-dummy"] Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: [Running on - Linux, kernel 4.10.8-fedora-1 (#1 SMP Wed Apr 5 16:17:05 UTC 2017)] Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: [Module - "dummy"] Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: Log file /tmp/tmpa47u21y5/gammu-dummy/operations.log Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: Number version is "1.390000" Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: [Connected] Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: Entering GSM_GetSecurityStatus Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: Leaving GSM_GetSecurityStatus Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: Entering GSM_SetIncomingSMS Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: Leaving GSM_SetIncomingSMS Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: Entering GSM_SetIncomingUSSD Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: Leaving GSM_SetIncomingUSSD Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: Entering GSM_GetIMEI Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: Leaving GSM_GetIMEI Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: Entering GSM_GetSIMIMSI Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: Leaving GSM_GetSIMIMSI Sat 2019/04/06 11:23:03 python-gammu[2339]: Execute SQL: DELETE FROM phones WHERE IMEI = '999999999999999' Sat 2019/04/06 11:23:03 python-gammu[2339]: Inserting phone info Sat 2019/04/06 11:23:03 python-gammu[2339]: Execute SQL: INSERT INTO phones (IMEI, IMSI, ID, NetCode, NetName, Send, Receive, InsertIntoDB, TimeOut, Client, Battery, Signal) VALUES ('999999999999999', '994299429942994', '', '', '', 'yes', 'yes', datetime('now', 'localtime'), datetime('now', '+10 seconds', 'localtime'), 'Gammu 1.39.0, Linux, kernel 4.10.8-fedora-1 (#1 SMP Wed Apr 5 16:17:05 UTC 2017), GCC 4.8', -1, -1) Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: Entering GSM_SetFastSMSSending Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: Leaving GSM_SetFastSMSSending Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: Entering GSM_GetSecurityStatus Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: Leaving GSM_GetSecurityStatus Sat 2019/04/06 11:23:03 python-gammu[2339]: gammu: Entering GSM_GetSMSStatus Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Leaving GSM_GetSMSStatus Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Entering GSM_GetNextSMS Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Starting reading! Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Number = 0, Location = 0, Folder = 0 Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Leaving GSM_GetNextSMS Sat 2019/04/06 11:23:05 python-gammu[2339]: Received message from: 1234 Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Entering GSM_GetNextSMS Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Number = 1, Location = 10001, Folder = 0 Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Leaving GSM_GetNextSMS Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Entering GSM_GetNextSMS Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Number = 1, Location = 20010, Folder = 0 Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Leaving GSM_GetNextSMS Sat 2019/04/06 11:23:05 python-gammu[2339]: Received message from: 1234 Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Entering GSM_GetNextSMS Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Number = 1, Location = 30042, Folder = 0 Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Leaving GSM_GetNextSMS Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Entering GSM_GetNextSMS Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Number = 1, Location = 40015, Folder = 0 Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Leaving GSM_GetNextSMS Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Entering GSM_GetNextSMS Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Number = 1, Location = 40020, Folder = 0 Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Leaving GSM_GetNextSMS Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Entering GSM_GetNextSMS Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Number = 1, Location = 40021, Folder = 0 Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: GSM_GetNextSMS failed with error EMPTY[22]: Entry is empty. Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Leaving GSM_GetNextSMS Sat 2019/04/06 11:23:05 python-gammu[2339]: Read 2 messages Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Entering GSM_DeleteSMS Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Location = 10001, Folder = 0 Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Leaving GSM_DeleteSMS Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Entering GSM_DeleteSMS Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Location = 30042, Folder = 0 Sat 2019/04/06 11:23:05 python-gammu[2339]: gammu: Leaving GSM_DeleteSMS Sat 2019/04/06 11:23:05 python-gammu[2339]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:23:05 python-gammu[2339]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '1' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Sat 2019/04/06 11:23:06 python-gammu[2339]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='1' Sat 2019/04/06 11:23:06 python-gammu[2339]: New message to send: 1 Sat 2019/04/06 11:23:06 python-gammu[2339]: Message without SMSC, assuming you want to use the one from phone Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Entering GSM_GetSMSC Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Leaving GSM_GetSMSC Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Entering GSM_GetBatteryCharge Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Leaving GSM_GetBatteryCharge Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Entering GSM_GetSignalQuality Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Leaving GSM_GetSignalQuality Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Entering GSM_GetNetworkInfo Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Leaving GSM_GetNetworkInfo Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Entering GSM_SendSMS Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: SMS Submit Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Recipient number "1234567890" Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: SMSC number "123456" Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: SMS class -1 Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: SMS validity ff Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: TPMR: 00 0 Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: 7 bit SMS, length 25, 28 Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: python-gammu testing message Sat 2019/04/06 11:23:06 python-gammu[2339]: SMS sent on device: "/tmp/tmpa47u21y5/gammu-dummy" status=0, reference=255 Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Leaving GSM_SendSMS Sat 2019/04/06 11:23:06 python-gammu[2339]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '1' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Sat 2019/04/06 11:23:06 python-gammu[2339]: Transmitted 1 (total: 1) to 1234567890 Sat 2019/04/06 11:23:06 python-gammu[2339]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='1' Sat 2019/04/06 11:23:06 python-gammu[2339]: Execute SQL: INSERT INTO sentitems (CreatorID, ID, SequencePosition, Status, SendingDateTime, SMSCNumber, TPMR, SenderID, Text, DestinationNumber, Coding, UDH, Class, TextDecoded, InsertIntoDB, RelativeValidity, StatusCode) VALUES ('Gammu 1.39.0', '1', 1, 'SendingOKNoReport', datetime('now', 'localtime'), '123456', 255, '', '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', 'Default_No_Compression', '', -1, 'python-gammu testing message', '2019-04-06 11:23:03', -1, -1) Sat 2019/04/06 11:23:06 python-gammu[2339]: Execute SQL: UPDATE phones SET Sent= Sent + 1 WHERE IMEI = '999999999999999' Sat 2019/04/06 11:23:06 python-gammu[2339]: Execute SQL: DELETE FROM outbox WHERE ID='1' Sat 2019/04/06 11:23:06 python-gammu[2339]: Execute SQL: DELETE FROM outbox_multipart WHERE ID='1' Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Entering GSM_GetBatteryCharge Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Leaving GSM_GetBatteryCharge Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Entering GSM_GetSignalQuality Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Leaving GSM_GetSignalQuality Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Entering GSM_GetNetworkInfo Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Leaving GSM_GetNetworkInfo Sat 2019/04/06 11:23:06 python-gammu[2339]: Execute SQL: UPDATE phones SET TimeOut= datetime('now', '+10 seconds', 'localtime'), Battery = 100, Signal = 42, NetCode = '999 99', NetName = 'GammuT3l' WHERE IMEI = '999999999999999' Sat 2019/04/06 11:23:06 python-gammu[2339]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:23:06 python-gammu[2339]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '2' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Sat 2019/04/06 11:23:06 python-gammu[2339]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='2' Sat 2019/04/06 11:23:06 python-gammu[2339]: New message to send: 2 Sat 2019/04/06 11:23:06 python-gammu[2339]: Message without SMSC, assuming you want to use the one from phone Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Entering GSM_GetBatteryCharge Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Leaving GSM_GetBatteryCharge Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Entering GSM_GetSignalQuality Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Leaving GSM_GetSignalQuality Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Entering GSM_GetNetworkInfo Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Leaving GSM_GetNetworkInfo Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Entering GSM_SendSMS Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: SMS Submit Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Recipient number "1234567890" Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: SMSC number "123456" Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: SMS class -1 Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: SMS validity ff Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: TPMR: 00 0 Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: 7 bit SMS, length 31, 35 Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: python-gammu second testing message Sat 2019/04/06 11:23:06 python-gammu[2339]: SMS sent on device: "/tmp/tmpa47u21y5/gammu-dummy" status=0, reference=255 Sat 2019/04/06 11:23:06 python-gammu[2339]: gammu: Leaving GSM_SendSMS Sat 2019/04/06 11:23:06 python-gammu[2339]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '2' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Sat 2019/04/06 11:23:06 python-gammu[2339]: Transmitted 2 (total: 1) to 1234567890 Sat 2019/04/06 11:23:06 python-gammu[2339]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='2' Sat 2019/04/06 11:23:06 python-gammu[2339]: Execute SQL: INSERT INTO sentitems (CreatorID, ID, SequencePosition, Status, SendingDateTime, SMSCNumber, TPMR, SenderID, Text, DestinationNumber, Coding, UDH, Class, TextDecoded, InsertIntoDB, RelativeValidity, StatusCode) VALUES ('Gammu 1.39.0', '2', 1, 'SendingOKNoReport', datetime('now', 'localtime'), '123456', 255, '', '0070007900740068006F006E002D00670061006D006D00750020007300650063006F006E0064002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', 'Default_No_Compression', '', -1, 'python-gammu second testing message', '2019-04-06 11:23:03', -1, -1) Sat 2019/04/06 11:23:06 python-gammu[2339]: Execute SQL: UPDATE phones SET Sent= Sent + 1 WHERE IMEI = '999999999999999' Sat 2019/04/06 11:23:06 python-gammu[2339]: Execute SQL: DELETE FROM outbox WHERE ID='2' Sat 2019/04/06 11:23:06 python-gammu[2339]: Execute SQL: DELETE FROM outbox_multipart WHERE ID='2' Sat 2019/04/06 11:23:07 python-gammu[2339]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:23:08 python-gammu[2339]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:23:09 python-gammu[2339]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:23:10 python-gammu[2339]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:23:11 python-gammu[2339]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:23:12 python-gammu[2339]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:23:13 python-gammu[2339]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2019/04/06 11:23:14 python-gammu[2339]: gammu: Entering GSM_SetIncomingUSSD Sat 2019/04/06 11:23:14 python-gammu[2339]: gammu: Leaving GSM_SetIncomingUSSD Sat 2019/04/06 11:23:14 python-gammu[2339]: Disconnecting from SQL database. Sat 2019/04/06 11:23:14 python-gammu[2339]: gammu: Entering GSM_SetFastSMSSending Sat 2019/04/06 11:23:14 python-gammu[2339]: gammu: Leaving GSM_SetFastSMSSending Sat 2019/04/06 11:23:14 python-gammu[2339]: Stopping Gammu smsd: No error. (NONE[1]) Sat 2019/04/06 11:23:14 python-gammu[2339]: Terminating communication... Sat 2019/04/06 11:23:14 python-gammu[2339]: gammu: [Terminating] Sat 2019/04/06 11:23:14 python-gammu[2339]: gammu: [Closing] Sat 2019/04/06 11:23:14 python-gammu[2339]: Disconnecting from SQL database. ok test_config_bool (test.test_config.ConfigTest) ... ok test_config_none (test.test_config.ConfigTest) ... ok test_config_string (test.test_config.ConfigTest) ... ok test_init_error (test.test_config.ConfigTest) ... ok test_file (test.test_config.DebugTest) ... ok test_filename (test.test_config.DebugTest) ... ok test_none (test.test_config.DebugTest) ... ok test_nothing (test.test_config.DebugTest) ... ok test_connections (test.test_data.DataTest) ... ok test_errors (test.test_data.DataTest) ... ok test_counter (test.test_sms.PDUTest) ... ok test_counter_long (test.test_sms.PDUTest) ... ok test_decode (test.test_sms.PDUTest) ... ok test_encode_gsm (test.test_sms.PDUTest) ... ok test_encode_plain (test.test_sms.PDUTest) ... ok test_encode_unicode (test.test_sms.PDUTest) ... ok test_link (test.test_sms.PDUTest) ... ok test_mms_decode (test.test_sms.PDUTest) ... ok test_addfile (test.test_dummy.BasicDummyTest) ... ok test_battery (test.test_dummy.BasicDummyTest) ... ok test_calendar (test.test_dummy.BasicDummyTest) ... ok test_deletefile (test.test_dummy.BasicDummyTest) ... ok test_deletefolder (test.test_dummy.BasicDummyTest) ... ok test_dial (test.test_dummy.BasicDummyTest) ... ok test_diverts (test.test_dummy.BasicDummyTest) ... ok test_emoji_folder (test.test_dummy.BasicDummyTest) ... ERROR test_fileattributes (test.test_dummy.BasicDummyTest) ... ok test_filesystem (test.test_dummy.BasicDummyTest) ... ok test_getmemory (test.test_dummy.BasicDummyTest) ... ok test_getnextfile (test.test_dummy.BasicDummyTest) ... ok test_incoming_call (test.test_dummy.BasicDummyTest) ... ok test_memory (test.test_dummy.BasicDummyTest) ... ok test_model (test.test_dummy.BasicDummyTest) ... ok test_sendsms (test.test_dummy.BasicDummyTest) ... ok test_sendsms_long (test.test_dummy.BasicDummyTest) ... ok test_sms (test.test_dummy.BasicDummyTest) ... ok test_sms_folders (test.test_dummy.BasicDummyTest) ... ok test_todo (test.test_dummy.BasicDummyTest) ... ok test_ussd (test.test_dummy.BasicDummyTest) ... ok ====================================================================== ERROR: test_emoji_folder (test.test_dummy.BasicDummyTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-gammu-2.11/test/test_dummy.py", line 377, in test_emoji_folder os.path.exists(os.path.join(self.dummy_dir, 'fs', name)) File "/usr/lib/python3.6/genericpath.py", line 19, in exists os.stat(path) UnicodeEncodeError: 'ascii' codec can't encode character '\U0001f618' in position 37: ordinal not in range(128) ---------------------------------------------------------------------- Ran 50 tests in 41.025s FAILED (errors=1) Test failed: Gammu version (1, 39, 0), SMSD DB version 17 Gammu version (1, 39, 0), SMSD DB version 17 Gammu version (1, 39, 0), SMSD DB version 17 Log filename is "stderr" Log filename is "stderr" python-gammu: WARNING: Adding USSD to queue, position 0 error: Test failed: Processing files: python2-gammu-2.11-3.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.otNEh5 + : + exit 0 + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + DOCDIR=/builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/share/doc/python2-gammu-2.11 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/share/doc/python2-gammu-2.11 + cp -pr AUTHORS /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/share/doc/python2-gammu-2.11 + cp -pr NEWS.rst /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/share/doc/python2-gammu-2.11 + cp -pr README.rst /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/share/doc/python2-gammu-2.11 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.y75oWA + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + LICENSEDIR=/builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/share/licenses/python2-gammu-2.11 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/share/licenses/python2-gammu-2.11 + cp -pr COPYING /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/share/licenses/python2-gammu-2.11 + exit 0 Provides: python-gammu = 2.11-3.el7 python-gammu(armv7hl-32) = 2.11-3.el7 python2-gammu = 2.11-3.el7 python2-gammu(armv7hl-32) = 2.11-3.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libGammu.so.8 libc.so.6 libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libgsmsd.so.8 libm.so.6 libpthread.so.0 libpython2.7.so.1.0 python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: python-gammu < 2.11-3.el7 Processing files: python36-gammu-2.11-3.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Fx8jhA + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + DOCDIR=/builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/share/doc/python36-gammu-2.11 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/share/doc/python36-gammu-2.11 + cp -pr AUTHORS /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/share/doc/python36-gammu-2.11 + cp -pr NEWS.rst /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/share/doc/python36-gammu-2.11 + cp -pr README.rst /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/share/doc/python36-gammu-2.11 + cp -pr examples/__init__.py examples/addcontacts.py examples/addfile.py examples/backup_convertor.py examples/batteryinfo.py examples/data examples/debugging.py examples/dialvoice.py examples/doc-exceptions.py examples/dummy_phone.py examples/filesystem_test.py examples/getallcalendar.py examples/getallmemory.py examples/getallmemory_nonext.py examples/getallsms.py examples/getallsms_decode.py examples/getalltodo.py examples/getdiverts.py examples/incoming.py examples/listfilesystem.py examples/mass_sms.py examples/pdu_decoder.py examples/read_sms_backup.py examples/savesmspercontact.py examples/sendlongsms.py examples/sendsms.py examples/service_numbers.py examples/setdiverts.py examples/sms_replier.py examples/smsbackup.py examples/smsd_inject.py examples/smsd_state.py examples/vcs.py examples/worker.py /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/share/doc/python36-gammu-2.11 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ApWmAI + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + LICENSEDIR=/builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/share/licenses/python36-gammu-2.11 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/share/licenses/python36-gammu-2.11 + cp -pr COPYING /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm/usr/share/licenses/python36-gammu-2.11 + exit 0 Provides: python36-gammu = 2.11-3.el7 python36-gammu(armv7hl-32) = 2.11-3.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/env ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libGammu.so.8 libc.so.6 libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libgsmsd.so.8 libm.so.6 libpthread.so.0 libpython3.6m.so.1.0 python(abi) = 3.6 rtld(GNU_HASH) Processing files: python-gammu-debuginfo-2.11-3.el7.armv7hl Provides: python-gammu-debuginfo = 2.11-3.el7 python-gammu-debuginfo(armv7hl-32) = 2.11-3.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm Wrote: /builddir/build/RPMS/python2-gammu-2.11-3.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/python36-gammu-2.11-3.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/python-gammu-debuginfo-2.11-3.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YPx5Rn + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-gammu-2.11-3.el7.arm + exit 0 Child return code was: 0