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-b9b6b240bd84d006235d16126aa515d6e0f20ec5/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=995) 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-2.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-b9b6b240bd84d006235d16126aa515d6e0f20ec5/root'shell=Falseuid=995env={'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.Gm8s3d + 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.kjMAlo + 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.4 setup.py build '--executable=/usr/bin/python3.4 -s' running build running build_py creating build/lib.linux-armv7l-3.4 creating build/lib.linux-armv7l-3.4/gammu copying gammu/smsd.py -> build/lib.linux-armv7l-3.4/gammu copying gammu/data.py -> build/lib.linux-armv7l-3.4/gammu copying gammu/worker.py -> build/lib.linux-armv7l-3.4/gammu copying gammu/__init__.py -> build/lib.linux-armv7l-3.4/gammu copying gammu/exception.py -> build/lib.linux-armv7l-3.4/gammu running build_ext building 'gammu._gammu' extension creating build/temp.linux-armv7l-3.4 creating build/temp.linux-armv7l-3.4/gammu creating build/temp.linux-armv7l-3.4/gammu/src creating build/temp.linux-armv7l-3.4/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.4m -c gammu/src/errors.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/data.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/misc.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/convertors/misc.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/convertors/string.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/convertors/time.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/convertors/base.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/convertors/sms.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/convertors/memory.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/convertors/todo.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/convertors/calendar.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/convertors/bitmap.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/convertors/ringtone.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/convertors/backup.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/convertors/file.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/convertors/call.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/convertors/wap.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/convertors/diverts.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/gammu.c -o build/temp.linux-armv7l-3.4/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.4m -c gammu/src/smsd.c -o build/temp.linux-armv7l-3.4/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-3.4/gammu/src/errors.o build/temp.linux-armv7l-3.4/gammu/src/data.o build/temp.linux-armv7l-3.4/gammu/src/misc.o build/temp.linux-armv7l-3.4/gammu/src/convertors/misc.o build/temp.linux-armv7l-3.4/gammu/src/convertors/string.o build/temp.linux-armv7l-3.4/gammu/src/convertors/time.o build/temp.linux-armv7l-3.4/gammu/src/convertors/base.o build/temp.linux-armv7l-3.4/gammu/src/convertors/sms.o build/temp.linux-armv7l-3.4/gammu/src/convertors/memory.o build/temp.linux-armv7l-3.4/gammu/src/convertors/todo.o build/temp.linux-armv7l-3.4/gammu/src/convertors/calendar.o build/temp.linux-armv7l-3.4/gammu/src/convertors/bitmap.o build/temp.linux-armv7l-3.4/gammu/src/convertors/ringtone.o build/temp.linux-armv7l-3.4/gammu/src/convertors/backup.o build/temp.linux-armv7l-3.4/gammu/src/convertors/file.o build/temp.linux-armv7l-3.4/gammu/src/convertors/call.o build/temp.linux-armv7l-3.4/gammu/src/convertors/wap.o build/temp.linux-armv7l-3.4/gammu/src/convertors/diverts.o build/temp.linux-armv7l-3.4/gammu/src/gammu.o build/temp.linux-armv7l-3.4/gammu/src/smsd.o -L/usr/lib -lgsmsd -lGammu -lm -lpython3.4m -o build/lib.linux-armv7l-3.4/gammu/_gammu.cpython-34m.so + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VnPAiE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm ++ dirname /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-gammu-2.11-2.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-2.el7.arm running install running install_lib creating /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr creating /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib creating /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-gammu-2.11-2.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-2.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-2.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-2.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-2.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-2.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-2.el7.arm/usr/lib/python2.7/site-packages/gammu byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python2.7/site-packages/gammu/smsd.py to smsd.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python2.7/site-packages/gammu/data.py to data.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python2.7/site-packages/gammu/worker.py to worker.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python2.7/site-packages/gammu/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python2.7/site-packages/gammu/exception.py to exception.pyc writing byte-compilation script '/tmp/tmpaHRy2K.py' /usr/bin/python2 -O /tmp/tmpaHRy2K.py removing /tmp/tmpaHRy2K.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-2.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.4 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm running install running install_lib creating /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python3.4 creating /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python3.4/site-packages creating /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python3.4/site-packages/gammu copying build/lib.linux-armv7l-3.4/gammu/smsd.py -> /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python3.4/site-packages/gammu copying build/lib.linux-armv7l-3.4/gammu/data.py -> /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python3.4/site-packages/gammu copying build/lib.linux-armv7l-3.4/gammu/worker.py -> /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python3.4/site-packages/gammu copying build/lib.linux-armv7l-3.4/gammu/_gammu.cpython-34m.so -> /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python3.4/site-packages/gammu copying build/lib.linux-armv7l-3.4/gammu/__init__.py -> /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python3.4/site-packages/gammu copying build/lib.linux-armv7l-3.4/gammu/exception.py -> /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python3.4/site-packages/gammu byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python3.4/site-packages/gammu/smsd.py to smsd.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python3.4/site-packages/gammu/data.py to data.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python3.4/site-packages/gammu/worker.py to worker.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python3.4/site-packages/gammu/__init__.py to __init__.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python3.4/site-packages/gammu/exception.py to exception.cpython-34.pyc writing byte-compilation script '/tmp/tmpah4131sb.py' /usr/bin/python3.4 -O /tmp/tmpah4131sb.py removing /tmp/tmpah4131sb.py running install_egg_info running egg_info writing dependency_links to python_gammu.egg-info/dependency_links.txt writing python_gammu.egg-info/PKG-INFO 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-2.el7.arm/usr/lib/python3.4/site-packages/python_gammu-2.11-py3.4.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-2.el7.arm/usr/lib/python2.7/site-packages/gammu/_gammu.so extracting debug info from /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python3.4/site-packages/gammu/_gammu.cpython-34m.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-2.el7.arm/usr/lib/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/lib/python3.4 using /usr/bin/python3.4 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gammu-2.11-2.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-2.el7.arm/usr/lib/debug/usr/lib/python3.4 using /usr/bin/python3.4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.UCaYjC + 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) ... Mon 2018/04/02 10:55:56 python-gammu[4569]: Using SQL service Mon 2018/04/02 10:55:56 python-gammu[4569]: Configuring Gammu SMSD... Mon 2018/04/02 10:55:56 python-gammu[4569]: SHM token: 0x1000b15 (16780053) Mon 2018/04/02 10:55:56 python-gammu[4569]: Warning: No PIN code in /tmp/tmpUrPVbY/.gammurc file Mon 2018/04/02 10:55:56 python-gammu[4569]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Mon 2018/04/02 10:55:56 python-gammu[4569]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1 Mon 2018/04/02 10:55:56 python-gammu[4569]: mode: Send=1, Receive=1 Mon 2018/04/02 10:55:56 python-gammu[4569]: deliveryreport = no Mon 2018/04/02 10:55:56 python-gammu[4569]: phoneid = Mon 2018/04/02 10:55:56 python-gammu[4569]: Using DBI driver 'sqlite3' Mon 2018/04/02 10:55:56 python-gammu[4569]: Execute SQL: SELECT * FROM gammu LIMIT 1 Mon 2018/04/02 10:55:56 python-gammu[4569]: Execute SQL: SELECT * FROM inbox LIMIT 1 Mon 2018/04/02 10:55:56 python-gammu[4569]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Mon 2018/04/02 10:55:56 python-gammu[4569]: Execute SQL: SELECT * FROM outbox LIMIT 1 Mon 2018/04/02 10:55:56 python-gammu[4569]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Mon 2018/04/02 10:55:56 python-gammu[4569]: Execute SQL: SELECT * FROM phones LIMIT 1 Mon 2018/04/02 10:55:56 python-gammu[4569]: Execute SQL: SELECT Version FROM gammu Mon 2018/04/02 10:55:56 python-gammu[4569]: Database structures version: 17, SMSD current version: 17 Mon 2018/04/02 10:55:56 python-gammu[4569]: Connected to Database sqlite3: smsd.db on localhost Mon 2018/04/02 10:55:56 python-gammu[4569]: 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') Mon 2018/04/02 10:55:56 python-gammu[4569]: Written message with ID 1 Mon 2018/04/02 10:55:56 python-gammu[4569]: Disconnecting from SQL database. ok test_smsd (test.test_smsd.SMSDDummyTest) ... Mon 2018/04/02 10:55:57 python-gammu[4569]: Using SQL service Mon 2018/04/02 10:55:57 python-gammu[4569]: Configuring Gammu SMSD... Mon 2018/04/02 10:55:57 python-gammu[4569]: SHM token: 0x1000b15 (16780053) Mon 2018/04/02 10:55:57 python-gammu[4569]: Warning: No PIN code in /tmp/tmpvlhrFr/.gammurc file Mon 2018/04/02 10:55:57 python-gammu[4569]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Mon 2018/04/02 10:55:57 python-gammu[4569]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1 Mon 2018/04/02 10:55:57 python-gammu[4569]: mode: Send=1, Receive=1 Mon 2018/04/02 10:55:57 python-gammu[4569]: deliveryreport = no Mon 2018/04/02 10:55:57 python-gammu[4569]: phoneid = Mon 2018/04/02 10:55:57 python-gammu[4569]: Using DBI driver 'sqlite3' Mon 2018/04/02 10:55:57 python-gammu[4569]: Execute SQL: SELECT * FROM gammu LIMIT 1 Mon 2018/04/02 10:55:57 python-gammu[4569]: Execute SQL: SELECT * FROM inbox LIMIT 1 Mon 2018/04/02 10:55:57 python-gammu[4569]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Mon 2018/04/02 10:55:57 python-gammu[4569]: Execute SQL: SELECT * FROM outbox LIMIT 1 Mon 2018/04/02 10:55:57 python-gammu[4569]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Mon 2018/04/02 10:55:57 python-gammu[4569]: Execute SQL: SELECT * FROM phones LIMIT 1 Mon 2018/04/02 10:55:57 python-gammu[4569]: Execute SQL: SELECT Version FROM gammu Mon 2018/04/02 10:55:57 python-gammu[4569]: Database structures version: 17, SMSD current version: 17 Mon 2018/04/02 10:55:57 python-gammu[4569]: Connected to Database sqlite3: smsd.db on localhost Mon 2018/04/02 10:55:57 python-gammu[4569]: 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') Mon 2018/04/02 10:55:57 python-gammu[4569]: Written message with ID 1 Mon 2018/04/02 10:55:57 python-gammu[4569]: 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') Mon 2018/04/02 10:55:57 python-gammu[4569]: Written message with ID 2 Mon 2018/04/02 10:55:57 python-gammu[4569]: Created POSIX RW shared memory at 0xb6f1c000 Mon 2018/04/02 10:55:57 python-gammu[4569]: Starting phone communication... Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: [Gammu - 1.39.0] Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: [Connection - "none"] Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: [Connection index - 0] Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: [Model type - "dummy"] Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: [Device - "/tmp/tmpvlhrFr/gammu-dummy"] Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: [Running on - Linux, kernel 4.8.14-fedora-2 (#1 SMP Tue Jan 10 14:52:43 UTC 2017)] Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: [Module - "dummy"] Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: Log file /tmp/tmpvlhrFr/gammu-dummy/operations.log Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: Number version is "1.390000" Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: [Connected] Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: Entering GSM_GetSecurityStatus Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: Leaving GSM_GetSecurityStatus Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: Entering GSM_SetIncomingSMS Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: Leaving GSM_SetIncomingSMS Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: Entering GSM_SetIncomingUSSD Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: Leaving GSM_SetIncomingUSSD Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: Entering GSM_GetIMEI Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: Leaving GSM_GetIMEI Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: Entering GSM_GetSIMIMSI Mon 2018/04/02 10:55:57 python-gammu[4569]: gammu: Leaving GSM_GetSIMIMSI Mon 2018/04/02 10:55:57 python-gammu[4569]: Execute SQL: DELETE FROM phones WHERE IMEI = '999999999999999' Mon 2018/04/02 10:55:57 python-gammu[4569]: Inserting phone info Mon 2018/04/02 10:55:57 python-gammu[4569]: 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.8.14-fedora-2 (#1 SMP Tue Jan 10 14:52:43 UTC 2017), GCC 4.8', -1, -1) Mon 2018/04/02 10:55:58 python-gammu[4569]: gammu: Entering GSM_SetFastSMSSending Mon 2018/04/02 10:55:58 python-gammu[4569]: gammu: Leaving GSM_SetFastSMSSending Mon 2018/04/02 10:55:58 python-gammu[4569]: gammu: Entering GSM_GetSecurityStatus Mon 2018/04/02 10:55:58 python-gammu[4569]: gammu: Leaving GSM_GetSecurityStatus Mon 2018/04/02 10:55:58 python-gammu[4569]: gammu: Entering GSM_GetSMSStatus Mon 2018/04/02 10:55:59 python-gammu[4569]: gammu: Leaving GSM_GetSMSStatus Mon 2018/04/02 10:55:59 python-gammu[4569]: gammu: Entering GSM_GetNextSMS Mon 2018/04/02 10:55:59 python-gammu[4569]: gammu: Starting reading! Mon 2018/04/02 10:55:59 python-gammu[4569]: gammu: Number = 0, Location = 0, Folder = 0 Mon 2018/04/02 10:55:59 python-gammu[4569]: gammu: Leaving GSM_GetNextSMS Mon 2018/04/02 10:55:59 python-gammu[4569]: Received message from: 1234 Mon 2018/04/02 10:55:59 python-gammu[4569]: gammu: Entering GSM_GetNextSMS Mon 2018/04/02 10:55:59 python-gammu[4569]: gammu: Number = 1, Location = 10001, Folder = 0 Mon 2018/04/02 10:55:59 python-gammu[4569]: gammu: Leaving GSM_GetNextSMS Mon 2018/04/02 10:55:59 python-gammu[4569]: gammu: Entering GSM_GetNextSMS Mon 2018/04/02 10:55:59 python-gammu[4569]: gammu: Number = 1, Location = 20010, Folder = 0 Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Leaving GSM_GetNextSMS Mon 2018/04/02 10:56:00 python-gammu[4569]: Received message from: 1234 Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Entering GSM_GetNextSMS Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Number = 1, Location = 30042, Folder = 0 Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Leaving GSM_GetNextSMS Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Entering GSM_GetNextSMS Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Number = 1, Location = 40015, Folder = 0 Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Leaving GSM_GetNextSMS Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Entering GSM_GetNextSMS Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Number = 1, Location = 40020, Folder = 0 Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Leaving GSM_GetNextSMS Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Entering GSM_GetNextSMS Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Number = 1, Location = 40021, Folder = 0 Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: GSM_GetNextSMS failed with error EMPTY[22]: Entry is empty. Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Leaving GSM_GetNextSMS Mon 2018/04/02 10:56:00 python-gammu[4569]: Read 2 messages Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Entering GSM_DeleteSMS Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Location = 10001, Folder = 0 Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Leaving GSM_DeleteSMS Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Entering GSM_DeleteSMS Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Location = 30042, Folder = 0 Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Leaving GSM_DeleteSMS Mon 2018/04/02 10:56:00 python-gammu[4569]: 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 Mon 2018/04/02 10:56:00 python-gammu[4569]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '1' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Mon 2018/04/02 10:56:00 python-gammu[4569]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='1' Mon 2018/04/02 10:56:00 python-gammu[4569]: New message to send: 1 Mon 2018/04/02 10:56:00 python-gammu[4569]: Message without SMSC, assuming you want to use the one from phone Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Entering GSM_GetSMSC Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Leaving GSM_GetSMSC Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Entering GSM_GetBatteryCharge Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Leaving GSM_GetBatteryCharge Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Entering GSM_GetSignalQuality Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Leaving GSM_GetSignalQuality Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Entering GSM_GetNetworkInfo Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Leaving GSM_GetNetworkInfo Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Entering GSM_SendSMS Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: SMS Submit Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Recipient number "1234567890" Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: SMSC number "123456" Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: SMS class -1 Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: SMS validity ff Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: TPMR: 00 0 Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: 7 bit SMS, length 25, 28 Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: python-gammu testing message Mon 2018/04/02 10:56:00 python-gammu[4569]: SMS sent on device: "/tmp/tmpvlhrFr/gammu-dummy" status=0, reference=255 Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Leaving GSM_SendSMS Mon 2018/04/02 10:56:00 python-gammu[4569]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '1' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Mon 2018/04/02 10:56:00 python-gammu[4569]: Transmitted 1 (total: 1) to 1234567890 Mon 2018/04/02 10:56:00 python-gammu[4569]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='1' Mon 2018/04/02 10:56:00 python-gammu[4569]: 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', '2018-04-02 10:55:57', -1, -1) Mon 2018/04/02 10:56:00 python-gammu[4569]: Execute SQL: UPDATE phones SET Sent= Sent + 1 WHERE IMEI = '999999999999999' Mon 2018/04/02 10:56:00 python-gammu[4569]: Execute SQL: DELETE FROM outbox WHERE ID='1' Mon 2018/04/02 10:56:00 python-gammu[4569]: Execute SQL: DELETE FROM outbox_multipart WHERE ID='1' Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Entering GSM_GetBatteryCharge Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Leaving GSM_GetBatteryCharge Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Entering GSM_GetSignalQuality Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Leaving GSM_GetSignalQuality Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Entering GSM_GetNetworkInfo Mon 2018/04/02 10:56:00 python-gammu[4569]: gammu: Leaving GSM_GetNetworkInfo Mon 2018/04/02 10:56:00 python-gammu[4569]: Execute SQL: UPDATE phones SET TimeOut= datetime('now', '+10 seconds', 'localtime'), Battery = 100, Signal = 42, NetCode = '999 99', NetName = 'GammuT3l' WHERE IMEI = '999999999999999' Mon 2018/04/02 10:56:01 python-gammu[4569]: 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 Mon 2018/04/02 10:56:01 python-gammu[4569]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '2' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Mon 2018/04/02 10:56:01 python-gammu[4569]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='2' Mon 2018/04/02 10:56:01 python-gammu[4569]: New message to send: 2 Mon 2018/04/02 10:56:01 python-gammu[4569]: Message without SMSC, assuming you want to use the one from phone Mon 2018/04/02 10:56:01 python-gammu[4569]: gammu: Entering GSM_GetBatteryCharge Mon 2018/04/02 10:56:01 python-gammu[4569]: gammu: Leaving GSM_GetBatteryCharge Mon 2018/04/02 10:56:01 python-gammu[4569]: gammu: Entering GSM_GetSignalQuality Mon 2018/04/02 10:56:01 python-gammu[4569]: gammu: Leaving GSM_GetSignalQuality Mon 2018/04/02 10:56:01 python-gammu[4569]: gammu: Entering GSM_GetNetworkInfo Mon 2018/04/02 10:56:01 python-gammu[4569]: gammu: Leaving GSM_GetNetworkInfo Mon 2018/04/02 10:56:01 python-gammu[4569]: gammu: Entering GSM_SendSMS Mon 2018/04/02 10:56:01 python-gammu[4569]: gammu: SMS Submit Mon 2018/04/02 10:56:01 python-gammu[4569]: gammu: Recipient number "1234567890" Mon 2018/04/02 10:56:01 python-gammu[4569]: gammu: SMSC number "123456" Mon 2018/04/02 10:56:01 python-gammu[4569]: gammu: SMS class -1 Mon 2018/04/02 10:56:01 python-gammu[4569]: gammu: SMS validity ff Mon 2018/04/02 10:56:01 python-gammu[4569]: gammu: TPMR: 00 0 Mon 2018/04/02 10:56:01 python-gammu[4569]: gammu: 7 bit SMS, length 31, 35 Mon 2018/04/02 10:56:01 python-gammu[4569]: gammu: python-gammu second testing message Mon 2018/04/02 10:56:01 python-gammu[4569]: SMS sent on device: "/tmp/tmpvlhrFr/gammu-dummy" status=0, reference=255 Mon 2018/04/02 10:56:01 python-gammu[4569]: gammu: Leaving GSM_SendSMS Mon 2018/04/02 10:56:01 python-gammu[4569]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '2' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Mon 2018/04/02 10:56:01 python-gammu[4569]: Transmitted 2 (total: 1) to 1234567890 Mon 2018/04/02 10:56:01 python-gammu[4569]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='2' Mon 2018/04/02 10:56:01 python-gammu[4569]: 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', '2018-04-02 10:55:57', -1, -1) Mon 2018/04/02 10:56:01 python-gammu[4569]: Execute SQL: UPDATE phones SET Sent= Sent + 1 WHERE IMEI = '999999999999999' Mon 2018/04/02 10:56:01 python-gammu[4569]: Execute SQL: DELETE FROM outbox WHERE ID='2' Mon 2018/04/02 10:56:01 python-gammu[4569]: Execute SQL: DELETE FROM outbox_multipart WHERE ID='2' Mon 2018/04/02 10:56:02 python-gammu[4569]: 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 Mon 2018/04/02 10:56:03 python-gammu[4569]: 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 Mon 2018/04/02 10:56:04 python-gammu[4569]: 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 Mon 2018/04/02 10:56:05 python-gammu[4569]: 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 Mon 2018/04/02 10:56:06 python-gammu[4569]: 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 Mon 2018/04/02 10:56:07 python-gammu[4569]: 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 Mon 2018/04/02 10:56:08 python-gammu[4569]: 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 Mon 2018/04/02 10:56:09 python-gammu[4569]: gammu: Entering GSM_SetIncomingUSSD Mon 2018/04/02 10:56:09 python-gammu[4569]: gammu: Leaving GSM_SetIncomingUSSD Mon 2018/04/02 10:56:09 python-gammu[4569]: Disconnecting from SQL database. Mon 2018/04/02 10:56:09 python-gammu[4569]: gammu: Entering GSM_SetFastSMSSending Mon 2018/04/02 10:56:09 python-gammu[4569]: gammu: Leaving GSM_SetFastSMSSending Mon 2018/04/02 10:56:09 python-gammu[4569]: Stopping Gammu smsd: No error. (NONE[1]) Mon 2018/04/02 10:56:09 python-gammu[4569]: Terminating communication... Mon 2018/04/02 10:56:09 python-gammu[4569]: gammu: [Terminating] Mon 2018/04/02 10:56:09 python-gammu[4569]: gammu: [Closing] Mon 2018/04/02 10:56:09 python-gammu[4569]: 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 41.320s 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.4 setup.py test running test running egg_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 python_gammu.egg-info/PKG-INFO 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.4/gammu/_gammu.cpython-34m.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) ... Mon 2018/04/02 10:56:41 python-gammu[4598]: Using SQL service Mon 2018/04/02 10:56:41 python-gammu[4598]: Configuring Gammu SMSD... Mon 2018/04/02 10:56:41 python-gammu[4598]: SHM token: 0x1000b15 (16780053) Mon 2018/04/02 10:56:41 python-gammu[4598]: Warning: No PIN code in /tmp/tmpgpa4wzba/.gammurc file Mon 2018/04/02 10:56:41 python-gammu[4598]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Mon 2018/04/02 10:56:41 python-gammu[4598]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1 Mon 2018/04/02 10:56:41 python-gammu[4598]: mode: Send=1, Receive=1 Mon 2018/04/02 10:56:41 python-gammu[4598]: deliveryreport = no Mon 2018/04/02 10:56:41 python-gammu[4598]: phoneid = Mon 2018/04/02 10:56:41 python-gammu[4598]: Using DBI driver 'sqlite3' Mon 2018/04/02 10:56:41 python-gammu[4598]: Execute SQL: SELECT * FROM gammu LIMIT 1 Mon 2018/04/02 10:56:41 python-gammu[4598]: Execute SQL: SELECT * FROM inbox LIMIT 1 Mon 2018/04/02 10:56:41 python-gammu[4598]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Mon 2018/04/02 10:56:41 python-gammu[4598]: Execute SQL: SELECT * FROM outbox LIMIT 1 Mon 2018/04/02 10:56:41 python-gammu[4598]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Mon 2018/04/02 10:56:41 python-gammu[4598]: Execute SQL: SELECT * FROM phones LIMIT 1 Mon 2018/04/02 10:56:41 python-gammu[4598]: Execute SQL: SELECT Version FROM gammu Mon 2018/04/02 10:56:41 python-gammu[4598]: Database structures version: 17, SMSD current version: 17 Mon 2018/04/02 10:56:41 python-gammu[4598]: Connected to Database sqlite3: smsd.db on localhost Mon 2018/04/02 10:56:41 python-gammu[4598]: 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') Mon 2018/04/02 10:56:41 python-gammu[4598]: Written message with ID 1 Mon 2018/04/02 10:56:41 python-gammu[4598]: Disconnecting from SQL database. ok test_smsd (test.test_smsd.SMSDDummyTest) ... Mon 2018/04/02 10:56:42 python-gammu[4598]: Using SQL service Mon 2018/04/02 10:56:42 python-gammu[4598]: Configuring Gammu SMSD... Mon 2018/04/02 10:56:42 python-gammu[4598]: SHM token: 0x1000b15 (16780053) Mon 2018/04/02 10:56:42 python-gammu[4598]: Warning: No PIN code in /tmp/tmpqi45uui0/.gammurc file Mon 2018/04/02 10:56:42 python-gammu[4598]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Mon 2018/04/02 10:56:42 python-gammu[4598]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1 Mon 2018/04/02 10:56:42 python-gammu[4598]: mode: Send=1, Receive=1 Mon 2018/04/02 10:56:42 python-gammu[4598]: deliveryreport = no Mon 2018/04/02 10:56:42 python-gammu[4598]: phoneid = Mon 2018/04/02 10:56:42 python-gammu[4598]: Using DBI driver 'sqlite3' Mon 2018/04/02 10:56:42 python-gammu[4598]: Execute SQL: SELECT * FROM gammu LIMIT 1 Mon 2018/04/02 10:56:42 python-gammu[4598]: Execute SQL: SELECT * FROM inbox LIMIT 1 Mon 2018/04/02 10:56:42 python-gammu[4598]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Mon 2018/04/02 10:56:42 python-gammu[4598]: Execute SQL: SELECT * FROM outbox LIMIT 1 Mon 2018/04/02 10:56:42 python-gammu[4598]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Mon 2018/04/02 10:56:42 python-gammu[4598]: Execute SQL: SELECT * FROM phones LIMIT 1 Mon 2018/04/02 10:56:42 python-gammu[4598]: Execute SQL: SELECT Version FROM gammu Mon 2018/04/02 10:56:42 python-gammu[4598]: Database structures version: 17, SMSD current version: 17 Mon 2018/04/02 10:56:42 python-gammu[4598]: Connected to Database sqlite3: smsd.db on localhost Mon 2018/04/02 10:56:42 python-gammu[4598]: 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') Mon 2018/04/02 10:56:42 python-gammu[4598]: Written message with ID 1 Mon 2018/04/02 10:56:42 python-gammu[4598]: 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') Mon 2018/04/02 10:56:42 python-gammu[4598]: Written message with ID 2 Mon 2018/04/02 10:56:42 python-gammu[4598]: Created POSIX RW shared memory at 0xb6f97000 Mon 2018/04/02 10:56:42 python-gammu[4598]: Starting phone communication... Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: [Gammu - 1.39.0] Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: [Connection - "none"] Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: [Connection index - 0] Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: [Model type - "dummy"] Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: [Device - "/tmp/tmpqi45uui0/gammu-dummy"] Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: [Running on - Linux, kernel 4.8.14-fedora-2 (#1 SMP Tue Jan 10 14:52:43 UTC 2017)] Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: [Module - "dummy"] Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: Log file /tmp/tmpqi45uui0/gammu-dummy/operations.log Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: Number version is "1.390000" Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: [Connected] Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: Entering GSM_GetSecurityStatus Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: Leaving GSM_GetSecurityStatus Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: Entering GSM_SetIncomingSMS Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: Leaving GSM_SetIncomingSMS Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: Entering GSM_SetIncomingUSSD Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: Leaving GSM_SetIncomingUSSD Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: Entering GSM_GetIMEI Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: Leaving GSM_GetIMEI Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: Entering GSM_GetSIMIMSI Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: Leaving GSM_GetSIMIMSI Mon 2018/04/02 10:56:42 python-gammu[4598]: Execute SQL: DELETE FROM phones WHERE IMEI = '999999999999999' Mon 2018/04/02 10:56:42 python-gammu[4598]: Inserting phone info Mon 2018/04/02 10:56:42 python-gammu[4598]: 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.8.14-fedora-2 (#1 SMP Tue Jan 10 14:52:43 UTC 2017), GCC 4.8', -1, -1) Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: Entering GSM_SetFastSMSSending Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: Leaving GSM_SetFastSMSSending Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: Entering GSM_GetSecurityStatus Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: Leaving GSM_GetSecurityStatus Mon 2018/04/02 10:56:42 python-gammu[4598]: gammu: Entering GSM_GetSMSStatus Mon 2018/04/02 10:56:44 python-gammu[4598]: gammu: Leaving GSM_GetSMSStatus Mon 2018/04/02 10:56:44 python-gammu[4598]: gammu: Entering GSM_GetNextSMS Mon 2018/04/02 10:56:44 python-gammu[4598]: gammu: Starting reading! Mon 2018/04/02 10:56:44 python-gammu[4598]: gammu: Number = 0, Location = 0, Folder = 0 Mon 2018/04/02 10:56:44 python-gammu[4598]: gammu: Leaving GSM_GetNextSMS Mon 2018/04/02 10:56:44 python-gammu[4598]: Received message from: 1234 Mon 2018/04/02 10:56:44 python-gammu[4598]: gammu: Entering GSM_GetNextSMS Mon 2018/04/02 10:56:44 python-gammu[4598]: gammu: Number = 1, Location = 10001, Folder = 0 Mon 2018/04/02 10:56:44 python-gammu[4598]: gammu: Leaving GSM_GetNextSMS Mon 2018/04/02 10:56:44 python-gammu[4598]: gammu: Entering GSM_GetNextSMS Mon 2018/04/02 10:56:44 python-gammu[4598]: gammu: Number = 1, Location = 20010, Folder = 0 Mon 2018/04/02 10:56:44 python-gammu[4598]: gammu: Leaving GSM_GetNextSMS Mon 2018/04/02 10:56:44 python-gammu[4598]: Received message from: 1234 Mon 2018/04/02 10:56:44 python-gammu[4598]: gammu: Entering GSM_GetNextSMS Mon 2018/04/02 10:56:44 python-gammu[4598]: gammu: Number = 1, Location = 30042, Folder = 0 Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Leaving GSM_GetNextSMS Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Entering GSM_GetNextSMS Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Number = 1, Location = 40015, Folder = 0 Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Leaving GSM_GetNextSMS Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Entering GSM_GetNextSMS Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Number = 1, Location = 40020, Folder = 0 Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Leaving GSM_GetNextSMS Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Entering GSM_GetNextSMS Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Number = 1, Location = 40021, Folder = 0 Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: GSM_GetNextSMS failed with error EMPTY[22]: Entry is empty. Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Leaving GSM_GetNextSMS Mon 2018/04/02 10:56:45 python-gammu[4598]: Read 2 messages Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Entering GSM_DeleteSMS Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Location = 10001, Folder = 0 Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Leaving GSM_DeleteSMS Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Entering GSM_DeleteSMS Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Location = 30042, Folder = 0 Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Leaving GSM_DeleteSMS Mon 2018/04/02 10:56:45 python-gammu[4598]: 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 Mon 2018/04/02 10:56:45 python-gammu[4598]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '1' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Mon 2018/04/02 10:56:45 python-gammu[4598]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='1' Mon 2018/04/02 10:56:45 python-gammu[4598]: New message to send: 1 Mon 2018/04/02 10:56:45 python-gammu[4598]: Message without SMSC, assuming you want to use the one from phone Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Entering GSM_GetSMSC Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Leaving GSM_GetSMSC Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Entering GSM_GetBatteryCharge Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Leaving GSM_GetBatteryCharge Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Entering GSM_GetSignalQuality Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Leaving GSM_GetSignalQuality Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Entering GSM_GetNetworkInfo Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Leaving GSM_GetNetworkInfo Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Entering GSM_SendSMS Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: SMS Submit Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Recipient number "1234567890" Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: SMSC number "123456" Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: SMS class -1 Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: SMS validity ff Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: TPMR: 00 0 Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: 7 bit SMS, length 25, 28 Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: python-gammu testing message Mon 2018/04/02 10:56:45 python-gammu[4598]: SMS sent on device: "/tmp/tmpqi45uui0/gammu-dummy" status=0, reference=255 Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Leaving GSM_SendSMS Mon 2018/04/02 10:56:45 python-gammu[4598]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '1' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Mon 2018/04/02 10:56:45 python-gammu[4598]: Transmitted 1 (total: 1) to 1234567890 Mon 2018/04/02 10:56:45 python-gammu[4598]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='1' Mon 2018/04/02 10:56:45 python-gammu[4598]: 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', '2018-04-02 10:56:42', -1, -1) Mon 2018/04/02 10:56:45 python-gammu[4598]: Execute SQL: UPDATE phones SET Sent= Sent + 1 WHERE IMEI = '999999999999999' Mon 2018/04/02 10:56:45 python-gammu[4598]: Execute SQL: DELETE FROM outbox WHERE ID='1' Mon 2018/04/02 10:56:45 python-gammu[4598]: Execute SQL: DELETE FROM outbox_multipart WHERE ID='1' Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Entering GSM_GetBatteryCharge Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Leaving GSM_GetBatteryCharge Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Entering GSM_GetSignalQuality Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Leaving GSM_GetSignalQuality Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Entering GSM_GetNetworkInfo Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Leaving GSM_GetNetworkInfo Mon 2018/04/02 10:56:45 python-gammu[4598]: Execute SQL: UPDATE phones SET TimeOut= datetime('now', '+10 seconds', 'localtime'), Battery = 100, Signal = 42, NetCode = '999 99', NetName = 'GammuT3l' WHERE IMEI = '999999999999999' Mon 2018/04/02 10:56:45 python-gammu[4598]: 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 Mon 2018/04/02 10:56:45 python-gammu[4598]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '2' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Mon 2018/04/02 10:56:45 python-gammu[4598]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='2' Mon 2018/04/02 10:56:45 python-gammu[4598]: New message to send: 2 Mon 2018/04/02 10:56:45 python-gammu[4598]: Message without SMSC, assuming you want to use the one from phone Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Entering GSM_GetBatteryCharge Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Leaving GSM_GetBatteryCharge Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Entering GSM_GetSignalQuality Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Leaving GSM_GetSignalQuality Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Entering GSM_GetNetworkInfo Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Leaving GSM_GetNetworkInfo Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Entering GSM_SendSMS Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: SMS Submit Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Recipient number "1234567890" Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: SMSC number "123456" Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: SMS class -1 Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: SMS validity ff Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: TPMR: 00 0 Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: 7 bit SMS, length 31, 35 Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: python-gammu second testing message Mon 2018/04/02 10:56:45 python-gammu[4598]: SMS sent on device: "/tmp/tmpqi45uui0/gammu-dummy" status=0, reference=255 Mon 2018/04/02 10:56:45 python-gammu[4598]: gammu: Leaving GSM_SendSMS Mon 2018/04/02 10:56:45 python-gammu[4598]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '2' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Mon 2018/04/02 10:56:45 python-gammu[4598]: Transmitted 2 (total: 1) to 1234567890 Mon 2018/04/02 10:56:45 python-gammu[4598]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='2' Mon 2018/04/02 10:56:45 python-gammu[4598]: 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', '2018-04-02 10:56:42', -1, -1) Mon 2018/04/02 10:56:46 python-gammu[4598]: Execute SQL: UPDATE phones SET Sent= Sent + 1 WHERE IMEI = '999999999999999' Mon 2018/04/02 10:56:46 python-gammu[4598]: Execute SQL: DELETE FROM outbox WHERE ID='2' Mon 2018/04/02 10:56:46 python-gammu[4598]: Execute SQL: DELETE FROM outbox_multipart WHERE ID='2' Mon 2018/04/02 10:56:46 python-gammu[4598]: 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 Mon 2018/04/02 10:56:47 python-gammu[4598]: 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 Mon 2018/04/02 10:56:48 python-gammu[4598]: 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 Mon 2018/04/02 10:56:49 python-gammu[4598]: 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 Mon 2018/04/02 10:56:50 python-gammu[4598]: 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 Mon 2018/04/02 10:56:51 python-gammu[4598]: 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 Mon 2018/04/02 10:56:52 python-gammu[4598]: 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 Mon 2018/04/02 10:56:53 python-gammu[4598]: 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 Mon 2018/04/02 10:56:54 python-gammu[4598]: gammu: Entering GSM_SetIncomingUSSD Mon 2018/04/02 10:56:54 python-gammu[4598]: gammu: Leaving GSM_SetIncomingUSSD Mon 2018/04/02 10:56:54 python-gammu[4598]: Disconnecting from SQL database. Mon 2018/04/02 10:56:54 python-gammu[4598]: gammu: Entering GSM_SetFastSMSSending Mon 2018/04/02 10:56:54 python-gammu[4598]: gammu: Leaving GSM_SetFastSMSSending Mon 2018/04/02 10:56:54 python-gammu[4598]: Stopping Gammu smsd: No error. (NONE[1]) Mon 2018/04/02 10:56:54 python-gammu[4598]: Terminating communication... Mon 2018/04/02 10:56:54 python-gammu[4598]: gammu: [Terminating] Mon 2018/04/02 10:56:54 python-gammu[4598]: gammu: [Closing] Mon 2018/04/02 10:56:54 python-gammu[4598]: 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) ... 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 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.4/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.884s FAILED (errors=1) + : + exit 0 Processing files: python2-gammu-2.11-2.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.S0TEiW + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + DOCDIR=/builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/share/doc/python2-gammu-2.11 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/share/doc/python2-gammu-2.11 + cp -pr AUTHORS /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/share/doc/python2-gammu-2.11 + cp -pr NEWS.rst /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/share/doc/python2-gammu-2.11 + cp -pr README.rst /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/share/doc/python2-gammu-2.11 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UWHlml + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + LICENSEDIR=/builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/share/licenses/python2-gammu-2.11 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/share/licenses/python2-gammu-2.11 + cp -pr COPYING /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/share/licenses/python2-gammu-2.11 + exit 0 Provides: python-gammu = 2.11-2.el7 python-gammu(armv7hl-32) = 2.11-2.el7 python2-gammu = 2.11-2.el7 python2-gammu(armv7hl-32) = 2.11-2.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-2.el7 Processing files: python34-gammu-2.11-2.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.h3hNtg + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + DOCDIR=/builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/share/doc/python34-gammu-2.11 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/share/doc/python34-gammu-2.11 + cp -pr AUTHORS /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/share/doc/python34-gammu-2.11 + cp -pr NEWS.rst /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/share/doc/python34-gammu-2.11 + cp -pr README.rst /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/share/doc/python34-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-2.el7.arm/usr/share/doc/python34-gammu-2.11 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.IFzRjk + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + LICENSEDIR=/builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/share/licenses/python34-gammu-2.11 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/share/licenses/python34-gammu-2.11 + cp -pr COPYING /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm/usr/share/licenses/python34-gammu-2.11 + exit 0 Provides: python34-gammu = 2.11-2.el7 python34-gammu(armv7hl-32) = 2.11-2.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: /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.4m.so.1.0 python(abi) = 3.4 rtld(GNU_HASH) Processing files: python-gammu-debuginfo-2.11-2.el7.armv7hl Provides: python-gammu-debuginfo = 2.11-2.el7 python-gammu-debuginfo(armv7hl-32) = 2.11-2.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-2.el7.arm Wrote: /builddir/build/RPMS/python2-gammu-2.11-2.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/python34-gammu-2.11-2.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/python-gammu-debuginfo-2.11-2.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CSpClf + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-gammu-2.11-2.el7.arm + exit 0 Child return code was: 0