Mock Version: 1.4.8 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gammu-python.spec'], chrootPath='/var/lib/mock/709209-epel-7-x86_64-1517688397.899478/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '72879cfeab8e4319ba37e748ec44df62', '-D', '/var/lib/mock/709209-epel-7-x86_64-1517688397.899478/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/gammu-python.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory warning: Could not canonicalize hostname: 72879cfeab8e4319ba37e748ec44df62 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/gammu-python-2.11-3.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gammu-python.spec'], chrootPath='/var/lib/mock/709209-epel-7-x86_64-1517688397.899478/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a2a6ceae078d47088763debee8a9178c', '-D', '/var/lib/mock/709209-epel-7-x86_64-1517688397.899478/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/gammu-python.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.F83VdZ + 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.P9fc8r + 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 -m64 -mtune=generic' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/gammu copying gammu/worker.py -> build/lib.linux-x86_64-2.7/gammu copying gammu/smsd.py -> build/lib.linux-x86_64-2.7/gammu copying gammu/exception.py -> build/lib.linux-x86_64-2.7/gammu copying gammu/data.py -> build/lib.linux-x86_64-2.7/gammu copying gammu/__init__.py -> build/lib.linux-x86_64-2.7/gammu running build_ext building 'gammu._gammu' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/gammu creating build/temp.linux-x86_64-2.7/gammu/src creating build/temp.linux-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic build/temp.linux-x86_64-2.7/gammu/src/errors.o build/temp.linux-x86_64-2.7/gammu/src/data.o build/temp.linux-x86_64-2.7/gammu/src/misc.o build/temp.linux-x86_64-2.7/gammu/src/convertors/misc.o build/temp.linux-x86_64-2.7/gammu/src/convertors/string.o build/temp.linux-x86_64-2.7/gammu/src/convertors/time.o build/temp.linux-x86_64-2.7/gammu/src/convertors/base.o build/temp.linux-x86_64-2.7/gammu/src/convertors/sms.o build/temp.linux-x86_64-2.7/gammu/src/convertors/memory.o build/temp.linux-x86_64-2.7/gammu/src/convertors/todo.o build/temp.linux-x86_64-2.7/gammu/src/convertors/calendar.o build/temp.linux-x86_64-2.7/gammu/src/convertors/bitmap.o build/temp.linux-x86_64-2.7/gammu/src/convertors/ringtone.o build/temp.linux-x86_64-2.7/gammu/src/convertors/backup.o build/temp.linux-x86_64-2.7/gammu/src/convertors/file.o build/temp.linux-x86_64-2.7/gammu/src/convertors/call.o build/temp.linux-x86_64-2.7/gammu/src/convertors/wap.o build/temp.linux-x86_64-2.7/gammu/src/convertors/diverts.o build/temp.linux-x86_64-2.7/gammu/src/gammu.o build/temp.linux-x86_64-2.7/gammu/src/smsd.o -L/usr/lib64 -lgsmsd -lGammu -lm -lpython2.7 -o build/lib.linux-x86_64-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 -m64 -mtune=generic' + /usr/bin/python3.4 setup.py build '--executable=/usr/bin/python3.4 -s' running build running build_py creating build/lib.linux-x86_64-3.4 creating build/lib.linux-x86_64-3.4/gammu copying gammu/worker.py -> build/lib.linux-x86_64-3.4/gammu copying gammu/smsd.py -> build/lib.linux-x86_64-3.4/gammu copying gammu/exception.py -> build/lib.linux-x86_64-3.4/gammu copying gammu/data.py -> build/lib.linux-x86_64-3.4/gammu copying gammu/__init__.py -> build/lib.linux-x86_64-3.4/gammu running build_ext building 'gammu._gammu' extension creating build/temp.linux-x86_64-3.4 creating build/temp.linux-x86_64-3.4/gammu creating build/temp.linux-x86_64-3.4/gammu/src creating build/temp.linux-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic -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 -m64 -mtune=generic -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-x86_64-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 -m64 -mtune=generic build/temp.linux-x86_64-3.4/gammu/src/errors.o build/temp.linux-x86_64-3.4/gammu/src/data.o build/temp.linux-x86_64-3.4/gammu/src/misc.o build/temp.linux-x86_64-3.4/gammu/src/convertors/misc.o build/temp.linux-x86_64-3.4/gammu/src/convertors/string.o build/temp.linux-x86_64-3.4/gammu/src/convertors/time.o build/temp.linux-x86_64-3.4/gammu/src/convertors/base.o build/temp.linux-x86_64-3.4/gammu/src/convertors/sms.o build/temp.linux-x86_64-3.4/gammu/src/convertors/memory.o build/temp.linux-x86_64-3.4/gammu/src/convertors/todo.o build/temp.linux-x86_64-3.4/gammu/src/convertors/calendar.o build/temp.linux-x86_64-3.4/gammu/src/convertors/bitmap.o build/temp.linux-x86_64-3.4/gammu/src/convertors/ringtone.o build/temp.linux-x86_64-3.4/gammu/src/convertors/backup.o build/temp.linux-x86_64-3.4/gammu/src/convertors/file.o build/temp.linux-x86_64-3.4/gammu/src/convertors/call.o build/temp.linux-x86_64-3.4/gammu/src/convertors/wap.o build/temp.linux-x86_64-3.4/gammu/src/convertors/diverts.o build/temp.linux-x86_64-3.4/gammu/src/gammu.o build/temp.linux-x86_64-3.4/gammu/src/smsd.o -L/usr/lib64 -lgsmsd -lGammu -lm -lpython3.4m -o build/lib.linux-x86_64-3.4/gammu/_gammu.cpython-34m.so + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nPPRDC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64 + 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 -m64 -mtune=generic' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr creating /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python2.7/site-packages creating /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python2.7/site-packages/gammu copying build/lib.linux-x86_64-2.7/gammu/_gammu.so -> /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python2.7/site-packages/gammu copying build/lib.linux-x86_64-2.7/gammu/__init__.py -> /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python2.7/site-packages/gammu copying build/lib.linux-x86_64-2.7/gammu/data.py -> /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python2.7/site-packages/gammu copying build/lib.linux-x86_64-2.7/gammu/exception.py -> /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python2.7/site-packages/gammu copying build/lib.linux-x86_64-2.7/gammu/smsd.py -> /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python2.7/site-packages/gammu copying build/lib.linux-x86_64-2.7/gammu/worker.py -> /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python2.7/site-packages/gammu byte-compiling /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python2.7/site-packages/gammu/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python2.7/site-packages/gammu/data.py to data.pyc byte-compiling /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python2.7/site-packages/gammu/exception.py to exception.pyc byte-compiling /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python2.7/site-packages/gammu/smsd.py to smsd.pyc byte-compiling /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python2.7/site-packages/gammu/worker.py to worker.pyc writing byte-compilation script '/tmp/tmpO_lAbe.py' /usr/bin/python2 -O /tmp/tmpO_lAbe.py removing /tmp/tmpO_lAbe.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/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/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 -m64 -mtune=generic' + /usr/bin/python3.4 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python3.4 creating /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python3.4/site-packages creating /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python3.4/site-packages/gammu copying build/lib.linux-x86_64-3.4/gammu/_gammu.cpython-34m.so -> /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python3.4/site-packages/gammu copying build/lib.linux-x86_64-3.4/gammu/__init__.py -> /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python3.4/site-packages/gammu copying build/lib.linux-x86_64-3.4/gammu/data.py -> /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python3.4/site-packages/gammu copying build/lib.linux-x86_64-3.4/gammu/exception.py -> /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python3.4/site-packages/gammu copying build/lib.linux-x86_64-3.4/gammu/smsd.py -> /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python3.4/site-packages/gammu copying build/lib.linux-x86_64-3.4/gammu/worker.py -> /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python3.4/site-packages/gammu byte-compiling /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python3.4/site-packages/gammu/__init__.py to __init__.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python3.4/site-packages/gammu/data.py to data.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python3.4/site-packages/gammu/exception.py to exception.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python3.4/site-packages/gammu/smsd.py to smsd.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python3.4/site-packages/gammu/worker.py to worker.cpython-34.pyc writing byte-compilation script '/tmp/tmpz3qcdmnf.py' /usr/bin/python3.4 -O /tmp/tmpz3qcdmnf.py removing /tmp/tmpz3qcdmnf.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/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/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 110000000 /builddir/build/BUILD/python-gammu-2.11 extracting debug info from /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python3.4/site-packages/gammu/_gammu.cpython-34m.so extracting debug info from /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python2.7/site-packages/gammu/_gammu.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/gammu-python-2.11-3.el7.centos.x86_64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib/debug/usr/lib64/python3.4 using /usr/bin/python3.4 Bytecompiling .py files below /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python3.4 using /usr/bin/python3.4 Bytecompiling .py files below /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.JYPi3R + 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-x86_64-2.7/gammu/_gammu.so -> gammu test_incoming (test.test_worker.WorkerDummyTest) ... ok test_worker (test.test_worker.WorkerDummyTest) ... ok test_init_error (test.test_smsd.SMSDDummyTest) ... ok test_inject (test.test_smsd.SMSDDummyTest) ... Sat 2018/02/03 20:07:36 python-gammu[455]: Using SQL service Sat 2018/02/03 20:07:36 python-gammu[455]: Configuring Gammu SMSD... Sat 2018/02/03 20:07:36 python-gammu[455]: SHM token: 0x12e11f9 (19796473) Sat 2018/02/03 20:07:36 python-gammu[455]: Warning: No PIN code in /tmp/tmp8NPQV2/.gammurc file Sat 2018/02/03 20:07:36 python-gammu[455]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Sat 2018/02/03 20:07:36 python-gammu[455]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1 Sat 2018/02/03 20:07:36 python-gammu[455]: mode: Send=1, Receive=1 Sat 2018/02/03 20:07:36 python-gammu[455]: deliveryreport = no Sat 2018/02/03 20:07:36 python-gammu[455]: phoneid = Sat 2018/02/03 20:07:36 python-gammu[455]: Using DBI driver 'sqlite3' Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: SELECT * FROM gammu LIMIT 1 Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: SELECT * FROM inbox LIMIT 1 Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: SELECT * FROM outbox LIMIT 1 Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: SELECT * FROM phones LIMIT 1 Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: SELECT Version FROM gammu Sat 2018/02/03 20:07:36 python-gammu[455]: Database structures version: 17, SMSD current version: 17 Sat 2018/02/03 20:07:36 python-gammu[455]: Connected to Database sqlite3: smsd.db on localhost Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.39.0', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu testing message') Sat 2018/02/03 20:07:36 python-gammu[455]: Written message with ID 1 Sat 2018/02/03 20:07:36 python-gammu[455]: Disconnecting from SQL database. ok test_smsd (test.test_smsd.SMSDDummyTest) ... Sat 2018/02/03 20:07:36 python-gammu[455]: Using SQL service Sat 2018/02/03 20:07:36 python-gammu[455]: Configuring Gammu SMSD... Sat 2018/02/03 20:07:36 python-gammu[455]: SHM token: 0x12e1230 (19796528) Sat 2018/02/03 20:07:36 python-gammu[455]: Warning: No PIN code in /tmp/tmp9NyA3F/.gammurc file Sat 2018/02/03 20:07:36 python-gammu[455]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Sat 2018/02/03 20:07:36 python-gammu[455]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1 Sat 2018/02/03 20:07:36 python-gammu[455]: mode: Send=1, Receive=1 Sat 2018/02/03 20:07:36 python-gammu[455]: deliveryreport = no Sat 2018/02/03 20:07:36 python-gammu[455]: phoneid = Sat 2018/02/03 20:07:36 python-gammu[455]: Using DBI driver 'sqlite3' Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: SELECT * FROM gammu LIMIT 1 Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: SELECT * FROM inbox LIMIT 1 Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: SELECT * FROM outbox LIMIT 1 Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: SELECT * FROM phones LIMIT 1 Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: SELECT Version FROM gammu Sat 2018/02/03 20:07:36 python-gammu[455]: Database structures version: 17, SMSD current version: 17 Sat 2018/02/03 20:07:36 python-gammu[455]: Connected to Database sqlite3: smsd.db on localhost Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.39.0', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu testing message') Sat 2018/02/03 20:07:36 python-gammu[455]: Written message with ID 1 Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.39.0', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D00750020007300650063006F006E0064002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu second testing message') Sat 2018/02/03 20:07:36 python-gammu[455]: Written message with ID 2 Sat 2018/02/03 20:07:36 python-gammu[455]: Created POSIX RW shared memory at 0x7faa62869000 Sat 2018/02/03 20:07:36 python-gammu[455]: Starting phone communication... Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: [Gammu - 1.39.0] Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: [Connection - "none"] Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: [Connection index - 0] Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: [Model type - "dummy"] Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: [Device - "/tmp/tmp9NyA3F/gammu-dummy"] Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: [Running on - Linux, kernel 4.14.11-300.fc27.x86_64 (#1 SMP Wed Jan 3 13:52:28 UTC 2018)] Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: [Module - "dummy"] Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Log file /tmp/tmp9NyA3F/gammu-dummy/operations.log Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Number version is "1.390000" Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: [Connected] Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_GetSecurityStatus Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_GetSecurityStatus Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_SetIncomingSMS Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_SetIncomingSMS Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_SetIncomingUSSD Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_SetIncomingUSSD Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_GetIMEI Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_GetIMEI Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_GetSIMIMSI Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_GetSIMIMSI Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: DELETE FROM phones WHERE IMEI = '999999999999999' Sat 2018/02/03 20:07:36 python-gammu[455]: Inserting phone info Sat 2018/02/03 20:07:36 python-gammu[455]: 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.14.11-300.fc27.x86_64 (#1 SMP Wed Jan 3 13:52:28 UTC 2018), GCC 4.8', -1, -1) Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_SetFastSMSSending Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_SetFastSMSSending Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_GetSecurityStatus Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_GetSecurityStatus Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_GetSMSStatus Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_GetSMSStatus Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_GetNextSMS Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Starting reading! Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Number = 0, Location = 0, Folder = 0 Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_GetNextSMS Sat 2018/02/03 20:07:36 python-gammu[455]: Received message from: 1234 Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_GetNextSMS Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Number = 1, Location = 10001, Folder = 0 Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_GetNextSMS Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_GetNextSMS Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Number = 1, Location = 20010, Folder = 0 Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_GetNextSMS Sat 2018/02/03 20:07:36 python-gammu[455]: Received message from: 1234 Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_GetNextSMS Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Number = 1, Location = 30042, Folder = 0 Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_GetNextSMS Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_GetNextSMS Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Number = 1, Location = 40015, Folder = 0 Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_GetNextSMS Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_GetNextSMS Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Number = 1, Location = 40020, Folder = 0 Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_GetNextSMS Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_GetNextSMS Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Number = 1, Location = 40021, Folder = 0 Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: GSM_GetNextSMS failed with error EMPTY[22]: Entry is empty. Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_GetNextSMS Sat 2018/02/03 20:07:36 python-gammu[455]: Read 2 messages Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_DeleteSMS Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Location = 10001, Folder = 0 Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_DeleteSMS Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_DeleteSMS Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Location = 30042, Folder = 0 Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_DeleteSMS Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_GetBatteryCharge Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_GetBatteryCharge Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_GetSignalQuality Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_GetSignalQuality Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Entering GSM_GetNetworkInfo Sat 2018/02/03 20:07:36 python-gammu[455]: gammu: Leaving GSM_GetNetworkInfo Sat 2018/02/03 20:07:36 python-gammu[455]: Execute SQL: UPDATE phones SET TimeOut= datetime('now', '+10 seconds', 'localtime'), Battery = 100, Signal = 42, NetCode = '999 99', NetName = 'GammuT3l' WHERE IMEI = '999999999999999' Sat 2018/02/03 20:07:37 python-gammu[455]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:07:37 python-gammu[455]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '1' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Sat 2018/02/03 20:07:37 python-gammu[455]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='1' Sat 2018/02/03 20:07:37 python-gammu[455]: New message to send: 1 Sat 2018/02/03 20:07:37 python-gammu[455]: Message without SMSC, assuming you want to use the one from phone Sat 2018/02/03 20:07:37 python-gammu[455]: gammu: Entering GSM_GetSMSC Sat 2018/02/03 20:07:37 python-gammu[455]: gammu: Leaving GSM_GetSMSC Sat 2018/02/03 20:07:37 python-gammu[455]: gammu: Entering GSM_GetBatteryCharge Sat 2018/02/03 20:07:37 python-gammu[455]: gammu: Leaving GSM_GetBatteryCharge Sat 2018/02/03 20:07:37 python-gammu[455]: gammu: Entering GSM_GetSignalQuality Sat 2018/02/03 20:07:37 python-gammu[455]: gammu: Leaving GSM_GetSignalQuality Sat 2018/02/03 20:07:37 python-gammu[455]: gammu: Entering GSM_GetNetworkInfo Sat 2018/02/03 20:07:37 python-gammu[455]: gammu: Leaving GSM_GetNetworkInfo Sat 2018/02/03 20:07:37 python-gammu[455]: gammu: Entering GSM_SendSMS Sat 2018/02/03 20:07:37 python-gammu[455]: gammu: SMS Submit Sat 2018/02/03 20:07:37 python-gammu[455]: gammu: Recipient number "1234567890" Sat 2018/02/03 20:07:37 python-gammu[455]: gammu: SMSC number "123456" Sat 2018/02/03 20:07:37 python-gammu[455]: gammu: SMS class -1 Sat 2018/02/03 20:07:37 python-gammu[455]: gammu: SMS validity ff Sat 2018/02/03 20:07:37 python-gammu[455]: gammu: TPMR: 00 0 Sat 2018/02/03 20:07:37 python-gammu[455]: gammu: 7 bit SMS, length 25, 28 Sat 2018/02/03 20:07:37 python-gammu[455]: gammu: python-gammu testing message Sat 2018/02/03 20:07:37 python-gammu[455]: SMS sent on device: "/tmp/tmp9NyA3F/gammu-dummy" status=0, reference=255 Sat 2018/02/03 20:07:37 python-gammu[455]: gammu: Leaving GSM_SendSMS Sat 2018/02/03 20:07:37 python-gammu[455]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '1' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Sat 2018/02/03 20:07:37 python-gammu[455]: Transmitted 1 (total: 1) to 1234567890 Sat 2018/02/03 20:07:37 python-gammu[455]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='1' Sat 2018/02/03 20:07:37 python-gammu[455]: 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-02-03 20:07:36', -1, -1) Sat 2018/02/03 20:07:37 python-gammu[455]: Execute SQL: UPDATE phones SET Sent= Sent + 1 WHERE IMEI = '999999999999999' Sat 2018/02/03 20:07:37 python-gammu[455]: Execute SQL: DELETE FROM outbox WHERE ID='1' Sat 2018/02/03 20:07:37 python-gammu[455]: Execute SQL: DELETE FROM outbox_multipart WHERE ID='1' Sat 2018/02/03 20:07:38 python-gammu[455]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:07:38 python-gammu[455]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '2' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Sat 2018/02/03 20:07:38 python-gammu[455]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='2' Sat 2018/02/03 20:07:38 python-gammu[455]: New message to send: 2 Sat 2018/02/03 20:07:38 python-gammu[455]: Message without SMSC, assuming you want to use the one from phone Sat 2018/02/03 20:07:38 python-gammu[455]: gammu: Entering GSM_GetBatteryCharge Sat 2018/02/03 20:07:38 python-gammu[455]: gammu: Leaving GSM_GetBatteryCharge Sat 2018/02/03 20:07:38 python-gammu[455]: gammu: Entering GSM_GetSignalQuality Sat 2018/02/03 20:07:38 python-gammu[455]: gammu: Leaving GSM_GetSignalQuality Sat 2018/02/03 20:07:38 python-gammu[455]: gammu: Entering GSM_GetNetworkInfo Sat 2018/02/03 20:07:38 python-gammu[455]: gammu: Leaving GSM_GetNetworkInfo Sat 2018/02/03 20:07:38 python-gammu[455]: gammu: Entering GSM_SendSMS Sat 2018/02/03 20:07:38 python-gammu[455]: gammu: SMS Submit Sat 2018/02/03 20:07:38 python-gammu[455]: gammu: Recipient number "1234567890" Sat 2018/02/03 20:07:38 python-gammu[455]: gammu: SMSC number "123456" Sat 2018/02/03 20:07:38 python-gammu[455]: gammu: SMS class -1 Sat 2018/02/03 20:07:38 python-gammu[455]: gammu: SMS validity ff Sat 2018/02/03 20:07:38 python-gammu[455]: gammu: TPMR: 00 0 Sat 2018/02/03 20:07:38 python-gammu[455]: gammu: 7 bit SMS, length 31, 35 Sat 2018/02/03 20:07:38 python-gammu[455]: gammu: python-gammu second testing message Sat 2018/02/03 20:07:38 python-gammu[455]: SMS sent on device: "/tmp/tmp9NyA3F/gammu-dummy" status=0, reference=255 Sat 2018/02/03 20:07:38 python-gammu[455]: gammu: Leaving GSM_SendSMS Sat 2018/02/03 20:07:38 python-gammu[455]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '2' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Sat 2018/02/03 20:07:38 python-gammu[455]: Transmitted 2 (total: 1) to 1234567890 Sat 2018/02/03 20:07:38 python-gammu[455]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='2' Sat 2018/02/03 20:07:38 python-gammu[455]: 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-02-03 20:07:36', -1, -1) Sat 2018/02/03 20:07:38 python-gammu[455]: Execute SQL: UPDATE phones SET Sent= Sent + 1 WHERE IMEI = '999999999999999' Sat 2018/02/03 20:07:38 python-gammu[455]: Execute SQL: DELETE FROM outbox WHERE ID='2' Sat 2018/02/03 20:07:38 python-gammu[455]: Execute SQL: DELETE FROM outbox_multipart WHERE ID='2' Sat 2018/02/03 20:07:39 python-gammu[455]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:07:40 python-gammu[455]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:07:41 python-gammu[455]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:07:42 python-gammu[455]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:07:43 python-gammu[455]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:07:44 python-gammu[455]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:07:45 python-gammu[455]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:07:46 python-gammu[455]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:07:47 python-gammu[455]: gammu: Entering GSM_SetIncomingUSSD Sat 2018/02/03 20:07:47 python-gammu[455]: gammu: Leaving GSM_SetIncomingUSSD Sat 2018/02/03 20:07:47 python-gammu[455]: Disconnecting from SQL database. Sat 2018/02/03 20:07:47 python-gammu[455]: gammu: Entering GSM_SetFastSMSSending Sat 2018/02/03 20:07:47 python-gammu[455]: gammu: Leaving GSM_SetFastSMSSending Sat 2018/02/03 20:07:47 python-gammu[455]: Stopping Gammu smsd: No error. (NONE[1]) Sat 2018/02/03 20:07:47 python-gammu[455]: Terminating communication... Sat 2018/02/03 20:07:47 python-gammu[455]: gammu: [Terminating] Sat 2018/02/03 20:07:47 python-gammu[455]: gammu: [Closing] Sat 2018/02/03 20:07:47 python-gammu[455]: Disconnecting from SQL database. 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_catching (test.test_errors.ErrorTest) ... 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 test_connections (test.test_data.DataTest) ... ok test_errors (test.test_data.DataTest) ... 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_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 ====================================================================== 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/lib64/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 32.134s 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 python_gammu.egg-info/PKG-INFO 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-x86_64-3.4/gammu/_gammu.cpython-34m.so -> gammu test_incoming (test.test_worker.WorkerDummyTest) ... ok test_worker (test.test_worker.WorkerDummyTest) ... ok test_init_error (test.test_smsd.SMSDDummyTest) ... ok test_inject (test.test_smsd.SMSDDummyTest) ... Sat 2018/02/03 20:08:08 python-gammu[466]: Using SQL service Sat 2018/02/03 20:08:08 python-gammu[466]: Configuring Gammu SMSD... Sat 2018/02/03 20:08:08 python-gammu[466]: SHM token: 0x12e0a68 (19794536) Sat 2018/02/03 20:08:08 python-gammu[466]: Warning: No PIN code in /tmp/tmpsmn8_inu/.gammurc file Sat 2018/02/03 20:08:08 python-gammu[466]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Sat 2018/02/03 20:08:08 python-gammu[466]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1 Sat 2018/02/03 20:08:08 python-gammu[466]: mode: Send=1, Receive=1 Sat 2018/02/03 20:08:08 python-gammu[466]: deliveryreport = no Sat 2018/02/03 20:08:08 python-gammu[466]: phoneid = Sat 2018/02/03 20:08:08 python-gammu[466]: Using DBI driver 'sqlite3' Sat 2018/02/03 20:08:08 python-gammu[466]: Execute SQL: SELECT * FROM gammu LIMIT 1 Sat 2018/02/03 20:08:08 python-gammu[466]: Execute SQL: SELECT * FROM inbox LIMIT 1 Sat 2018/02/03 20:08:08 python-gammu[466]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Sat 2018/02/03 20:08:08 python-gammu[466]: Execute SQL: SELECT * FROM outbox LIMIT 1 Sat 2018/02/03 20:08:08 python-gammu[466]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Sat 2018/02/03 20:08:08 python-gammu[466]: Execute SQL: SELECT * FROM phones LIMIT 1 Sat 2018/02/03 20:08:08 python-gammu[466]: Execute SQL: SELECT Version FROM gammu Sat 2018/02/03 20:08:08 python-gammu[466]: Database structures version: 17, SMSD current version: 17 Sat 2018/02/03 20:08:08 python-gammu[466]: Connected to Database sqlite3: smsd.db on localhost Sat 2018/02/03 20:08:08 python-gammu[466]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.39.0', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu testing message') Sat 2018/02/03 20:08:08 python-gammu[466]: Written message with ID 1 Sat 2018/02/03 20:08:08 python-gammu[466]: Disconnecting from SQL database. ok test_smsd (test.test_smsd.SMSDDummyTest) ... Sat 2018/02/03 20:08:08 python-gammu[466]: Using SQL service Sat 2018/02/03 20:08:08 python-gammu[466]: Configuring Gammu SMSD... Sat 2018/02/03 20:08:08 python-gammu[466]: SHM token: 0x12e0a9f (19794591) Sat 2018/02/03 20:08:08 python-gammu[466]: Warning: No PIN code in /tmp/tmpi1_krviz/.gammurc file Sat 2018/02/03 20:08:08 python-gammu[466]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Sat 2018/02/03 20:08:08 python-gammu[466]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1 Sat 2018/02/03 20:08:08 python-gammu[466]: mode: Send=1, Receive=1 Sat 2018/02/03 20:08:08 python-gammu[466]: deliveryreport = no Sat 2018/02/03 20:08:08 python-gammu[466]: phoneid = Sat 2018/02/03 20:08:08 python-gammu[466]: Using DBI driver 'sqlite3' Sat 2018/02/03 20:08:08 python-gammu[466]: Execute SQL: SELECT * FROM gammu LIMIT 1 Sat 2018/02/03 20:08:08 python-gammu[466]: Execute SQL: SELECT * FROM inbox LIMIT 1 Sat 2018/02/03 20:08:08 python-gammu[466]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Sat 2018/02/03 20:08:08 python-gammu[466]: Execute SQL: SELECT * FROM outbox LIMIT 1 Sat 2018/02/03 20:08:08 python-gammu[466]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Sat 2018/02/03 20:08:08 python-gammu[466]: Execute SQL: SELECT * FROM phones LIMIT 1 Sat 2018/02/03 20:08:08 python-gammu[466]: Execute SQL: SELECT Version FROM gammu Sat 2018/02/03 20:08:08 python-gammu[466]: Database structures version: 17, SMSD current version: 17 Sat 2018/02/03 20:08:08 python-gammu[466]: Connected to Database sqlite3: smsd.db on localhost Sat 2018/02/03 20:08:08 python-gammu[466]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.39.0', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu testing message') Sat 2018/02/03 20:08:08 python-gammu[466]: Written message with ID 1 Sat 2018/02/03 20:08:08 python-gammu[466]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.39.0', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D00750020007300650063006F006E0064002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu second testing message') Sat 2018/02/03 20:08:08 python-gammu[466]: Written message with ID 2 Sat 2018/02/03 20:08:08 python-gammu[466]: Created POSIX RW shared memory at 0x7f34f9615000 Sat 2018/02/03 20:08:08 python-gammu[466]: Starting phone communication... Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: [Gammu - 1.39.0] Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: [Connection - "none"] Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: [Connection index - 0] Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: [Model type - "dummy"] Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: [Device - "/tmp/tmpi1_krviz/gammu-dummy"] Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: [Running on - Linux, kernel 4.14.11-300.fc27.x86_64 (#1 SMP Wed Jan 3 13:52:28 UTC 2018)] Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: [Module - "dummy"] Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: Log file /tmp/tmpi1_krviz/gammu-dummy/operations.log Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: Number version is "1.390000" Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: [Connected] Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: Entering GSM_GetSecurityStatus Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: Leaving GSM_GetSecurityStatus Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: Entering GSM_SetIncomingSMS Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: Leaving GSM_SetIncomingSMS Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: Entering GSM_SetIncomingUSSD Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: Leaving GSM_SetIncomingUSSD Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: Entering GSM_GetIMEI Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: Leaving GSM_GetIMEI Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: Entering GSM_GetSIMIMSI Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: Leaving GSM_GetSIMIMSI Sat 2018/02/03 20:08:08 python-gammu[466]: Execute SQL: DELETE FROM phones WHERE IMEI = '999999999999999' Sat 2018/02/03 20:08:08 python-gammu[466]: Inserting phone info Sat 2018/02/03 20:08:08 python-gammu[466]: 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.14.11-300.fc27.x86_64 (#1 SMP Wed Jan 3 13:52:28 UTC 2018), GCC 4.8', -1, -1) Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: Entering GSM_SetFastSMSSending Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: Leaving GSM_SetFastSMSSending Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: Entering GSM_GetSecurityStatus Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: Leaving GSM_GetSecurityStatus Sat 2018/02/03 20:08:08 python-gammu[466]: gammu: Entering GSM_GetSMSStatus Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_GetSMSStatus Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_GetNextSMS Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Starting reading! Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Number = 0, Location = 0, Folder = 0 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_GetNextSMS Sat 2018/02/03 20:08:09 python-gammu[466]: Received message from: 1234 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_GetNextSMS Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Number = 1, Location = 10001, Folder = 0 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_GetNextSMS Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_GetNextSMS Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Number = 1, Location = 20010, Folder = 0 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_GetNextSMS Sat 2018/02/03 20:08:09 python-gammu[466]: Received message from: 1234 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_GetNextSMS Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Number = 1, Location = 30042, Folder = 0 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_GetNextSMS Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_GetNextSMS Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Number = 1, Location = 40015, Folder = 0 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_GetNextSMS Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_GetNextSMS Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Number = 1, Location = 40020, Folder = 0 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_GetNextSMS Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_GetNextSMS Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Number = 1, Location = 40021, Folder = 0 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: GSM_GetNextSMS failed with error EMPTY[22]: Entry is empty. Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_GetNextSMS Sat 2018/02/03 20:08:09 python-gammu[466]: Read 2 messages Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_DeleteSMS Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Location = 10001, Folder = 0 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_DeleteSMS Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_DeleteSMS Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Location = 30042, Folder = 0 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_DeleteSMS Sat 2018/02/03 20:08:09 python-gammu[466]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:08:09 python-gammu[466]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '1' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Sat 2018/02/03 20:08:09 python-gammu[466]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='1' Sat 2018/02/03 20:08:09 python-gammu[466]: New message to send: 1 Sat 2018/02/03 20:08:09 python-gammu[466]: Message without SMSC, assuming you want to use the one from phone Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_GetSMSC Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_GetSMSC Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_GetBatteryCharge Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_GetBatteryCharge Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_GetSignalQuality Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_GetSignalQuality Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_GetNetworkInfo Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_GetNetworkInfo Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_SendSMS Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: SMS Submit Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Recipient number "1234567890" Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: SMSC number "123456" Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: SMS class -1 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: SMS validity ff Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: TPMR: 00 0 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: 7 bit SMS, length 25, 28 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: python-gammu testing message Sat 2018/02/03 20:08:09 python-gammu[466]: SMS sent on device: "/tmp/tmpi1_krviz/gammu-dummy" status=0, reference=255 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_SendSMS Sat 2018/02/03 20:08:09 python-gammu[466]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '1' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Sat 2018/02/03 20:08:09 python-gammu[466]: Transmitted 1 (total: 1) to 1234567890 Sat 2018/02/03 20:08:09 python-gammu[466]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='1' Sat 2018/02/03 20:08:09 python-gammu[466]: 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-02-03 20:08:08', -1, -1) Sat 2018/02/03 20:08:09 python-gammu[466]: Execute SQL: UPDATE phones SET Sent= Sent + 1 WHERE IMEI = '999999999999999' Sat 2018/02/03 20:08:09 python-gammu[466]: Execute SQL: DELETE FROM outbox WHERE ID='1' Sat 2018/02/03 20:08:09 python-gammu[466]: Execute SQL: DELETE FROM outbox_multipart WHERE ID='1' Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_GetBatteryCharge Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_GetBatteryCharge Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_GetSignalQuality Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_GetSignalQuality Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_GetNetworkInfo Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_GetNetworkInfo Sat 2018/02/03 20:08:09 python-gammu[466]: Execute SQL: UPDATE phones SET TimeOut= datetime('now', '+10 seconds', 'localtime'), Battery = 100, Signal = 42, NetCode = '999 99', NetName = 'GammuT3l' WHERE IMEI = '999999999999999' Sat 2018/02/03 20:08:09 python-gammu[466]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:08:09 python-gammu[466]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '2' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Sat 2018/02/03 20:08:09 python-gammu[466]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='2' Sat 2018/02/03 20:08:09 python-gammu[466]: New message to send: 2 Sat 2018/02/03 20:08:09 python-gammu[466]: Message without SMSC, assuming you want to use the one from phone Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_GetBatteryCharge Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_GetBatteryCharge Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_GetSignalQuality Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_GetSignalQuality Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_GetNetworkInfo Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_GetNetworkInfo Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Entering GSM_SendSMS Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: SMS Submit Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Recipient number "1234567890" Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: SMSC number "123456" Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: SMS class -1 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: SMS validity ff Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: TPMR: 00 0 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: 7 bit SMS, length 31, 35 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: python-gammu second testing message Sat 2018/02/03 20:08:09 python-gammu[466]: SMS sent on device: "/tmp/tmpi1_krviz/gammu-dummy" status=0, reference=255 Sat 2018/02/03 20:08:09 python-gammu[466]: gammu: Leaving GSM_SendSMS Sat 2018/02/03 20:08:09 python-gammu[466]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '2' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Sat 2018/02/03 20:08:09 python-gammu[466]: Transmitted 2 (total: 1) to 1234567890 Sat 2018/02/03 20:08:09 python-gammu[466]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries, Status, StatusCode FROM outbox WHERE ID='2' Sat 2018/02/03 20:08:09 python-gammu[466]: 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-02-03 20:08:08', -1, -1) Sat 2018/02/03 20:08:09 python-gammu[466]: Execute SQL: UPDATE phones SET Sent= Sent + 1 WHERE IMEI = '999999999999999' Sat 2018/02/03 20:08:09 python-gammu[466]: Execute SQL: DELETE FROM outbox WHERE ID='2' Sat 2018/02/03 20:08:09 python-gammu[466]: Execute SQL: DELETE FROM outbox_multipart WHERE ID='2' Sat 2018/02/03 20:08:10 python-gammu[466]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:08:11 python-gammu[466]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:08:12 python-gammu[466]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:08:13 python-gammu[466]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:08:14 python-gammu[466]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:08:15 python-gammu[466]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:08:16 python-gammu[466]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:08:17 python-gammu[466]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:08:18 python-gammu[466]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:08:19 python-gammu[466]: Execute SQL: SELECT ID, InsertIntoDB, SendingDateTime, SenderID FROM outbox WHERE SendingDateTime < datetime('now', 'localtime') AND SendingTimeOut < datetime('now', 'localtime') AND SendBefore >= time('now', 'localtime') AND SendAfter <= time('now', 'localtime') AND ( SenderID is NULL OR SenderID = '' OR SenderID = '' ) ORDER BY Priority DESC, InsertIntoDB ASC LIMIT 1 Sat 2018/02/03 20:08:20 python-gammu[466]: gammu: Entering GSM_SetIncomingUSSD Sat 2018/02/03 20:08:20 python-gammu[466]: gammu: Leaving GSM_SetIncomingUSSD Sat 2018/02/03 20:08:20 python-gammu[466]: Disconnecting from SQL database. Sat 2018/02/03 20:08:20 python-gammu[466]: gammu: Entering GSM_SetFastSMSSending Sat 2018/02/03 20:08:20 python-gammu[466]: gammu: Leaving GSM_SetFastSMSSending Sat 2018/02/03 20:08:20 python-gammu[466]: Stopping Gammu smsd: No error. (NONE[1]) Sat 2018/02/03 20:08:20 python-gammu[466]: Terminating communication... Sat 2018/02/03 20:08:20 python-gammu[466]: gammu: [Terminating] Sat 2018/02/03 20:08:20 python-gammu[466]: gammu: [Closing] Sat 2018/02/03 20:08:20 python-gammu[466]: Disconnecting from SQL database. 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_catching (test.test_errors.ErrorTest) ... 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 test_connections (test.test_data.DataTest) ... ok test_errors (test.test_data.DataTest) ... 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_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 ====================================================================== 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/lib64/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 32.212s FAILED (errors=1) 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 + : + exit 0 Processing files: gammu-python-2.11-3.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5xvyW4 + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + DOCDIR=/builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/doc/gammu-python-2.11 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/doc/gammu-python-2.11 + cp -pr AUTHORS /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/doc/gammu-python-2.11 + cp -pr NEWS.rst /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/doc/gammu-python-2.11 + cp -pr README.rst /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/doc/gammu-python-2.11 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.dSzfSh + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + LICENSEDIR=/builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/licenses/gammu-python-2.11 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/licenses/gammu-python-2.11 + cp -pr COPYING /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/licenses/gammu-python-2.11 + exit 0 Provides: gammu-python = 2.11-3.el7.centos gammu-python(x86-64) = 2.11-3.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Obsoletes: python-gammu <= 2.11-2 python-gammu-debuginfo <= 2.11-2 Processing files: python-gammu-2.11-3.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9xdyVu + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + DOCDIR=/builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/doc/python-gammu-2.11 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/doc/python-gammu-2.11 + cp -pr AUTHORS /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/doc/python-gammu-2.11 + cp -pr NEWS.rst /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/doc/python-gammu-2.11 + cp -pr README.rst /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/doc/python-gammu-2.11 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.lnsI0H + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + LICENSEDIR=/builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/licenses/python-gammu-2.11 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/licenses/python-gammu-2.11 + cp -pr COPYING /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/licenses/python-gammu-2.11 + exit 0 Provides: python-gammu = 2.11-3.el7.centos python-gammu(x86-64) = 2.11-3.el7.centos python2-gammu = 2.11-3.el7.centos 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: libGammu.so.8()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgsmsd.so.8()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: python-gammu < 2.11-3.el7.centos python2-gammu < 2.11-3.el7.centos Processing files: python34-gammu-2.11-3.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.le08LV + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + DOCDIR=/builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/doc/python34-gammu-2.11 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/doc/python34-gammu-2.11 + cp -pr AUTHORS /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/doc/python34-gammu-2.11 + cp -pr NEWS.rst /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/doc/python34-gammu-2.11 + cp -pr README.rst /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/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/gammu-python-2.11-3.el7.centos.x86_64/usr/share/doc/python34-gammu-2.11 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.x2IOA9 + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + LICENSEDIR=/builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/licenses/python34-gammu-2.11 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/licenses/python34-gammu-2.11 + cp -pr COPYING /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64/usr/share/licenses/python34-gammu-2.11 + exit 0 Provides: python3-gammu = 2.11-3.el7.centos python34-gammu = 2.11-3.el7.centos python34-gammu(x86-64) = 2.11-3.el7.centos 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 libGammu.so.8()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgsmsd.so.8()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpython3.4m.so.1.0()(64bit) python(abi) = 3.4 rtld(GNU_HASH) Obsoletes: python3-gammu < 2.11-3.el7.centos Processing files: gammu-python-debuginfo-2.11-3.el7.centos.x86_64 Provides: gammu-python-debuginfo = 2.11-3.el7.centos gammu-python-debuginfo(x86-64) = 2.11-3.el7.centos 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/gammu-python-2.11-3.el7.centos.x86_64 Wrote: /builddir/build/RPMS/gammu-python-2.11-3.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/python-gammu-2.11-3.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/python34-gammu-2.11-3.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/gammu-python-debuginfo-2.11-3.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3LGxoA + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gammu-python-2.11-3.el7.centos.x86_64 + exit 0 Child return code was: 0