Mock Version: 1.2.17 Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/python-gammu.spec'], env={'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8'}printOutput=Falselogger=shell=Falsegid=425chrootPath='/var/lib/mock/f24-build-5723645-606980/root'timeout=172800uid=1000user='mockbuild') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/python-gammu.spec'] with env {'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8'} and shell False warning: Could not canonicalize hostname: buildvm-08.phx2.fedoraproject.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/python-gammu-2.6-1.fc24.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/python-gammu.spec'], env={'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8'}printOutput=Falsegid=425shell=Falseprivate_network=Truelogger=chrootPath='/var/lib/mock/f24-build-5723645-606980/root'timeout=172800uid=1000user='mockbuild') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/python-gammu.spec'] with env {'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2QNlc7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-gammu-2.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-gammu-2.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-gammu-2.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WQxb5C + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.6 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib.linux-i686-2.7 creating build/lib.linux-i686-2.7/gammu copying gammu/worker.py -> build/lib.linux-i686-2.7/gammu copying gammu/__init__.py -> build/lib.linux-i686-2.7/gammu copying gammu/smsd.py -> build/lib.linux-i686-2.7/gammu copying gammu/data.py -> build/lib.linux-i686-2.7/gammu copying gammu/exception.py -> build/lib.linux-i686-2.7/gammu running build_ext building 'gammu._gammu' extension creating build/temp.linux-i686-2.7 creating build/temp.linux-i686-2.7/gammu creating build/temp.linux-i686-2.7/gammu/src creating build/temp.linux-i686-2.7/gammu/src/convertors gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/errors.c -o build/temp.linux-i686-2.7/gammu/src/errors.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/data.c -o build/temp.linux-i686-2.7/gammu/src/data.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/misc.c -o build/temp.linux-i686-2.7/gammu/src/misc.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/misc.c -o build/temp.linux-i686-2.7/gammu/src/convertors/misc.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/string.c -o build/temp.linux-i686-2.7/gammu/src/convertors/string.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/time.c -o build/temp.linux-i686-2.7/gammu/src/convertors/time.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/base.c -o build/temp.linux-i686-2.7/gammu/src/convertors/base.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/sms.c -o build/temp.linux-i686-2.7/gammu/src/convertors/sms.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/memory.c -o build/temp.linux-i686-2.7/gammu/src/convertors/memory.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/todo.c -o build/temp.linux-i686-2.7/gammu/src/convertors/todo.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/calendar.c -o build/temp.linux-i686-2.7/gammu/src/convertors/calendar.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/bitmap.c -o build/temp.linux-i686-2.7/gammu/src/convertors/bitmap.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/ringtone.c -o build/temp.linux-i686-2.7/gammu/src/convertors/ringtone.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/backup.c -o build/temp.linux-i686-2.7/gammu/src/convertors/backup.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/file.c -o build/temp.linux-i686-2.7/gammu/src/convertors/file.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/call.c -o build/temp.linux-i686-2.7/gammu/src/convertors/call.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/wap.c -o build/temp.linux-i686-2.7/gammu/src/convertors/wap.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/convertors/diverts.c -o build/temp.linux-i686-2.7/gammu/src/convertors/diverts.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/gammu.c -o build/temp.linux-i686-2.7/gammu/src/gammu.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python2.7 -c gammu/src/smsd.c -o build/temp.linux-i686-2.7/gammu/src/smsd.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables build/temp.linux-i686-2.7/gammu/src/errors.o build/temp.linux-i686-2.7/gammu/src/data.o build/temp.linux-i686-2.7/gammu/src/misc.o build/temp.linux-i686-2.7/gammu/src/convertors/misc.o build/temp.linux-i686-2.7/gammu/src/convertors/string.o build/temp.linux-i686-2.7/gammu/src/convertors/time.o build/temp.linux-i686-2.7/gammu/src/convertors/base.o build/temp.linux-i686-2.7/gammu/src/convertors/sms.o build/temp.linux-i686-2.7/gammu/src/convertors/memory.o build/temp.linux-i686-2.7/gammu/src/convertors/todo.o build/temp.linux-i686-2.7/gammu/src/convertors/calendar.o build/temp.linux-i686-2.7/gammu/src/convertors/bitmap.o build/temp.linux-i686-2.7/gammu/src/convertors/ringtone.o build/temp.linux-i686-2.7/gammu/src/convertors/backup.o build/temp.linux-i686-2.7/gammu/src/convertors/file.o build/temp.linux-i686-2.7/gammu/src/convertors/call.o build/temp.linux-i686-2.7/gammu/src/convertors/wap.o build/temp.linux-i686-2.7/gammu/src/convertors/diverts.o build/temp.linux-i686-2.7/gammu/src/gammu.o build/temp.linux-i686-2.7/gammu/src/smsd.o -L/usr/lib -lgsmsd -lm -lGammu -lm -lpython2.7 -o build/lib.linux-i686-2.7/gammu/_gammu.so + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build/lib.linux-i686-3.5 creating build/lib.linux-i686-3.5/gammu copying gammu/worker.py -> build/lib.linux-i686-3.5/gammu copying gammu/__init__.py -> build/lib.linux-i686-3.5/gammu copying gammu/smsd.py -> build/lib.linux-i686-3.5/gammu copying gammu/data.py -> build/lib.linux-i686-3.5/gammu copying gammu/exception.py -> build/lib.linux-i686-3.5/gammu running build_ext building 'gammu._gammu' extension creating build/temp.linux-i686-3.5 creating build/temp.linux-i686-3.5/gammu creating build/temp.linux-i686-3.5/gammu/src creating build/temp.linux-i686-3.5/gammu/src/convertors gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/errors.c -o build/temp.linux-i686-3.5/gammu/src/errors.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/data.c -o build/temp.linux-i686-3.5/gammu/src/data.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/misc.c -o build/temp.linux-i686-3.5/gammu/src/misc.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/convertors/misc.c -o build/temp.linux-i686-3.5/gammu/src/convertors/misc.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/convertors/string.c -o build/temp.linux-i686-3.5/gammu/src/convertors/string.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/convertors/time.c -o build/temp.linux-i686-3.5/gammu/src/convertors/time.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/convertors/base.c -o build/temp.linux-i686-3.5/gammu/src/convertors/base.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/convertors/sms.c -o build/temp.linux-i686-3.5/gammu/src/convertors/sms.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/convertors/memory.c -o build/temp.linux-i686-3.5/gammu/src/convertors/memory.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/convertors/todo.c -o build/temp.linux-i686-3.5/gammu/src/convertors/todo.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/convertors/calendar.c -o build/temp.linux-i686-3.5/gammu/src/convertors/calendar.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/convertors/bitmap.c -o build/temp.linux-i686-3.5/gammu/src/convertors/bitmap.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/convertors/ringtone.c -o build/temp.linux-i686-3.5/gammu/src/convertors/ringtone.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/convertors/backup.c -o build/temp.linux-i686-3.5/gammu/src/convertors/backup.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/convertors/file.c -o build/temp.linux-i686-3.5/gammu/src/convertors/file.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/convertors/call.c -o build/temp.linux-i686-3.5/gammu/src/convertors/call.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/convertors/wap.c -o build/temp.linux-i686-3.5/gammu/src/convertors/wap.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/convertors/diverts.c -o build/temp.linux-i686-3.5/gammu/src/convertors/diverts.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/gammu.c -o build/temp.linux-i686-3.5/gammu/src/gammu.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fPIC -Iinclude/ -I/usr/include/python3.5m -c gammu/src/smsd.c -o build/temp.linux-i686-3.5/gammu/src/smsd.o -DPYTHON_GAMMU_VERSION="2.6" -I/usr/include/gammu gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables build/temp.linux-i686-3.5/gammu/src/errors.o build/temp.linux-i686-3.5/gammu/src/data.o build/temp.linux-i686-3.5/gammu/src/misc.o build/temp.linux-i686-3.5/gammu/src/convertors/misc.o build/temp.linux-i686-3.5/gammu/src/convertors/string.o build/temp.linux-i686-3.5/gammu/src/convertors/time.o build/temp.linux-i686-3.5/gammu/src/convertors/base.o build/temp.linux-i686-3.5/gammu/src/convertors/sms.o build/temp.linux-i686-3.5/gammu/src/convertors/memory.o build/temp.linux-i686-3.5/gammu/src/convertors/todo.o build/temp.linux-i686-3.5/gammu/src/convertors/calendar.o build/temp.linux-i686-3.5/gammu/src/convertors/bitmap.o build/temp.linux-i686-3.5/gammu/src/convertors/ringtone.o build/temp.linux-i686-3.5/gammu/src/convertors/backup.o build/temp.linux-i686-3.5/gammu/src/convertors/file.o build/temp.linux-i686-3.5/gammu/src/convertors/call.o build/temp.linux-i686-3.5/gammu/src/convertors/wap.o build/temp.linux-i686-3.5/gammu/src/convertors/diverts.o build/temp.linux-i686-3.5/gammu/src/gammu.o build/temp.linux-i686-3.5/gammu/src/smsd.o -L/usr/lib -lgsmsd -lm -lGammu -lm -lpython3.5m -o build/lib.linux-i686-3.5/gammu/_gammu.cpython-35m-i386-linux-gnu.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Pmdp3D + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386 ++ dirname /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386 + cd python-gammu-2.6 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386 running install running install_lib creating /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr creating /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib creating /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python2.7/site-packages/gammu copying build/lib.linux-i686-2.7/gammu/worker.py -> /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python2.7/site-packages/gammu copying build/lib.linux-i686-2.7/gammu/__init__.py -> /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python2.7/site-packages/gammu copying build/lib.linux-i686-2.7/gammu/smsd.py -> /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python2.7/site-packages/gammu copying build/lib.linux-i686-2.7/gammu/data.py -> /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python2.7/site-packages/gammu copying build/lib.linux-i686-2.7/gammu/exception.py -> /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python2.7/site-packages/gammu copying build/lib.linux-i686-2.7/gammu/_gammu.so -> /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python2.7/site-packages/gammu byte-compiling /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python2.7/site-packages/gammu/worker.py to worker.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python2.7/site-packages/gammu/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python2.7/site-packages/gammu/smsd.py to smsd.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python2.7/site-packages/gammu/data.py to data.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python2.7/site-packages/gammu/exception.py to exception.pyc writing byte-compilation script '/tmp/tmpv6tIBv.py' /usr/bin/python2 -O /tmp/tmpv6tIBv.py removing /tmp/tmpv6tIBv.py running install_egg_info running egg_info creating python_gammu.egg-info writing python_gammu.egg-info/PKG-INFO writing top-level names to python_gammu.egg-info/top_level.txt writing dependency_links to python_gammu.egg-info/dependency_links.txt writing manifest file 'python_gammu.egg-info/SOURCES.txt' reading manifest file 'python_gammu.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_gammu.egg-info/SOURCES.txt' Copying python_gammu.egg-info to /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python2.7/site-packages/python_gammu-2.6-py2.7.egg-info running install_scripts + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386 running install running install_lib creating /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python3.5 creating /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python3.5/site-packages creating /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python3.5/site-packages/gammu copying build/lib.linux-i686-3.5/gammu/worker.py -> /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python3.5/site-packages/gammu copying build/lib.linux-i686-3.5/gammu/__init__.py -> /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python3.5/site-packages/gammu copying build/lib.linux-i686-3.5/gammu/smsd.py -> /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python3.5/site-packages/gammu copying build/lib.linux-i686-3.5/gammu/_gammu.cpython-35m-i386-linux-gnu.so -> /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python3.5/site-packages/gammu copying build/lib.linux-i686-3.5/gammu/data.py -> /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python3.5/site-packages/gammu copying build/lib.linux-i686-3.5/gammu/exception.py -> /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python3.5/site-packages/gammu byte-compiling /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python3.5/site-packages/gammu/worker.py to worker.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python3.5/site-packages/gammu/__init__.py to __init__.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python3.5/site-packages/gammu/smsd.py to smsd.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python3.5/site-packages/gammu/data.py to data.cpython-35.pyc byte-compiling /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python3.5/site-packages/gammu/exception.py to exception.cpython-35.pyc writing byte-compilation script '/tmp/tmpe2fcrz0c.py' /usr/bin/python3 -O /tmp/tmpe2fcrz0c.py removing /tmp/tmpe2fcrz0c.py running install_egg_info running egg_info writing top-level names to python_gammu.egg-info/top_level.txt writing dependency_links to python_gammu.egg-info/dependency_links.txt writing python_gammu.egg-info/PKG-INFO reading manifest file 'python_gammu.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_gammu.egg-info/SOURCES.txt' Copying python_gammu.egg-info to /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python3.5/site-packages/python_gammu-2.6-py3.5.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/python-gammu-2.6 extracting debug info from /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python3.5/site-packages/gammu/_gammu.cpython-35m-i386-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python2.7/site-packages/gammu/_gammu.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 767 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python3.5 using /usr/bin/python3.5 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/debug/usr/lib/python3.5 using /usr/bin/python3.5 Bytecompiling .py files below /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/lib/debug/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.bFDYYJ + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.6 + /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-i686-2.7/gammu/_gammu.so -> gammu test_catching (test.test_errors.ErrorTest) ... ok test_worker (test.test_worker.WorkerDummyTest) ... ok test_connections (test.test_data.DataTest) ... ok test_errors (test.test_data.DataTest) ... 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_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_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_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_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_init_error (test.test_smsd.SMSDDummyTest) ... ok test_inject (test.test_smsd.SMSDDummyTest) ... Log filename is "stderr" Tue 2016/05/31 00:58:07 python-gammu[6258]: Using SQL service Tue 2016/05/31 00:58:07 python-gammu[6258]: Configuring Gammu SMSD... Tue 2016/05/31 00:58:07 python-gammu[6258]: SHM token: 0xffffffffce030c8f (-838660977) Tue 2016/05/31 00:58:07 python-gammu[6258]: Warning: No PIN code in /tmp/tmpUeemW1/.gammurc file Tue 2016/05/31 00:58:07 python-gammu[6258]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Tue 2016/05/31 00:58:07 python-gammu[6258]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1 Tue 2016/05/31 00:58:07 python-gammu[6258]: mode: Send=1, Receive=1 Tue 2016/05/31 00:58:07 python-gammu[6258]: deliveryreport = no Tue 2016/05/31 00:58:07 python-gammu[6258]: phoneid = Tue 2016/05/31 00:58:07 python-gammu[6258]: Using DBI driver 'sqlite3' Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: SELECT * FROM daemons LIMIT 1 Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: SELECT * FROM gammu LIMIT 1 Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: SELECT * FROM inbox LIMIT 1 Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: SELECT * FROM outbox LIMIT 1 Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: SELECT * FROM phones LIMIT 1 Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: SELECT Version FROM gammu Tue 2016/05/31 00:58:07 python-gammu[6258]: Database structures version: 15, SMSD current version: 15 Tue 2016/05/31 00:58:07 python-gammu[6258]: Connected to Database sqlite3: smsd.db on localhost Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.37.3', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu testing message') Tue 2016/05/31 00:58:07 python-gammu[6258]: Written message with ID 1 Tue 2016/05/31 00:58:07 python-gammu[6258]: Disconnecting from SQL database. ok test_smsd (test.test_smsd.SMSDDummyTest) ... Log filename is "stderr" Tue 2016/05/31 00:58:07 python-gammu[6258]: Using SQL service Tue 2016/05/31 00:58:07 python-gammu[6258]: Configuring Gammu SMSD... Tue 2016/05/31 00:58:07 python-gammu[6258]: SHM token: 0xffffffffce030c8f (-838660977) Tue 2016/05/31 00:58:07 python-gammu[6258]: Warning: No PIN code in /tmp/tmpzD1984/.gammurc file Tue 2016/05/31 00:58:07 python-gammu[6258]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Tue 2016/05/31 00:58:07 python-gammu[6258]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1 Tue 2016/05/31 00:58:07 python-gammu[6258]: mode: Send=1, Receive=1 Tue 2016/05/31 00:58:07 python-gammu[6258]: deliveryreport = no Tue 2016/05/31 00:58:07 python-gammu[6258]: phoneid = Tue 2016/05/31 00:58:07 python-gammu[6258]: Using DBI driver 'sqlite3' Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: SELECT * FROM daemons LIMIT 1 Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: SELECT * FROM gammu LIMIT 1 Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: SELECT * FROM inbox LIMIT 1 Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: SELECT * FROM outbox LIMIT 1 Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: SELECT * FROM phones LIMIT 1 Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: SELECT Version FROM gammu Tue 2016/05/31 00:58:07 python-gammu[6258]: Database structures version: 15, SMSD current version: 15 Tue 2016/05/31 00:58:07 python-gammu[6258]: Connected to Database sqlite3: smsd.db on localhost Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.37.3', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu testing message') Tue 2016/05/31 00:58:07 python-gammu[6258]: Written message with ID 1 Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.37.3', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D00750020007300650063006F006E0064002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu second testing message') Tue 2016/05/31 00:58:07 python-gammu[6258]: Written message with ID 2 Tue 2016/05/31 00:58:07 python-gammu[6258]: Created POSIX RW shared memory at 0xf7786000 Tue 2016/05/31 00:58:07 python-gammu[6258]: Starting phone communication... Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: [Gammu - 1.37.3] Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: [Connection - "none"] Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: [Connection index - 0] Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: [Model type - "dummy"] Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: [Device - "/tmp/tmpzD1984/gammu-dummy"] Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: [Running on - Linux, kernel 4.4.9-300.fc23.x86_64 (#1 SMP Wed May 4 23:56:27 UTC 2016)] Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: [Module - "dummy"] Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Log file /tmp/tmpzD1984/gammu-dummy/operations.log Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Number version is "1.373000" Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: [Connected] Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_GetSecurityStatus Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_GetSecurityStatus Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_SetIncomingSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_SetIncomingSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_GetIMEI Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_GetIMEI Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: DELETE FROM phones WHERE IMEI = '999999999999999' Tue 2016/05/31 00:58:07 python-gammu[6258]: Inserting phone info Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_GetNetworkInfo Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_GetNetworkInfo Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: INSERT INTO phones (IMEI, ID, NetCode, NetName, Send, Receive, InsertIntoDB, TimeOut, Client, Battery, Signal) VALUES ('999999999999999', '', '999 99', 'GammuT3l', 'yes', 'yes', datetime('now', 'localtime'), datetime('now', '+10 seconds', 'localtime'), 'Gammu 1.37.3, Linux, kernel 4.4.9-300.fc23.x86_64 (#1 SMP Wed May 4 23:56:27 UTC 2016), GCC 6.1', -1, -1) Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_SetFastSMSSending Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_SetFastSMSSending Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_GetSecurityStatus Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_GetSecurityStatus Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_GetSMSStatus Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_GetSMSStatus Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_GetNextSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Starting reading! Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Number = 0, Location = 0, Folder = 0 Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_GetNextSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: Received message from: 1234 Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_GetNextSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Number = 1, Location = 10001, Folder = 0 Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_GetNextSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_GetNextSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Number = 1, Location = 20010, Folder = 0 Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_GetNextSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: Received message from: 1234 Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_GetNextSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Number = 1, Location = 30042, Folder = 0 Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_GetNextSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_GetNextSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Number = 1, Location = 40015, Folder = 0 Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_GetNextSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_GetNextSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Number = 1, Location = 40020, Folder = 0 Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_GetNextSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_GetNextSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Number = 1, Location = 40021, Folder = 0 Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: GSM_GetNextSMS failed with error EMPTY[22]: Entry is empty. Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_GetNextSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: Read 2 messages Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_DeleteSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Location = 10001, Folder = 0 Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_DeleteSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_DeleteSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Location = 30042, Folder = 0 Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_DeleteSMS Tue 2016/05/31 00:58:07 python-gammu[6258]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_GetBatteryCharge Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_GetBatteryCharge Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_GetSignalQuality Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_GetSignalQuality Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Entering GSM_GetNetworkInfo Tue 2016/05/31 00:58:07 python-gammu[6258]: gammu: Leaving GSM_GetNetworkInfo Tue 2016/05/31 00:58:07 python-gammu[6258]: Execute SQL: UPDATE phones SET TimeOut= datetime('now', '+10 seconds', 'localtime'), Battery = 100, Signal = 42, NetCode = '999 99', NetName = 'GammuT3l' WHERE IMEI = '999999999999999' Tue 2016/05/31 00:58:08 python-gammu[6258]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:08 python-gammu[6258]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '1' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Tue 2016/05/31 00:58:08 python-gammu[6258]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries FROM outbox WHERE ID='1' Tue 2016/05/31 00:58:08 python-gammu[6258]: New message to send: 1 Tue 2016/05/31 00:58:08 python-gammu[6258]: gammu: Entering GSM_GetSMSC Tue 2016/05/31 00:58:08 python-gammu[6258]: gammu: Leaving GSM_GetSMSC Tue 2016/05/31 00:58:08 python-gammu[6258]: gammu: Entering GSM_GetBatteryCharge Tue 2016/05/31 00:58:08 python-gammu[6258]: gammu: Leaving GSM_GetBatteryCharge Tue 2016/05/31 00:58:08 python-gammu[6258]: gammu: Entering GSM_GetSignalQuality Tue 2016/05/31 00:58:08 python-gammu[6258]: gammu: Leaving GSM_GetSignalQuality Tue 2016/05/31 00:58:08 python-gammu[6258]: gammu: Entering GSM_SendSMS Tue 2016/05/31 00:58:08 python-gammu[6258]: gammu: SMS Submit Tue 2016/05/31 00:58:08 python-gammu[6258]: gammu: Recipient number "1234567890" Tue 2016/05/31 00:58:08 python-gammu[6258]: gammu: SMSC number "123456" Tue 2016/05/31 00:58:08 python-gammu[6258]: gammu: SMS class -1 Tue 2016/05/31 00:58:08 python-gammu[6258]: gammu: SMS validity ff Tue 2016/05/31 00:58:08 python-gammu[6258]: gammu: TPMR: 00 0 Tue 2016/05/31 00:58:08 python-gammu[6258]: gammu: 7 bit SMS, length 25, 28 Tue 2016/05/31 00:58:08 python-gammu[6258]: gammu: python-gammu testing message Tue 2016/05/31 00:58:08 python-gammu[6258]: SMS sent on device: "/tmp/tmpzD1984/gammu-dummy" status=0, reference=255 Tue 2016/05/31 00:58:08 python-gammu[6258]: gammu: Leaving GSM_SendSMS Tue 2016/05/31 00:58:08 python-gammu[6258]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '1' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Tue 2016/05/31 00:58:08 python-gammu[6258]: Transmitted 1 (total: 1) to 1234567890 Tue 2016/05/31 00:58:08 python-gammu[6258]: Execute SQL: INSERT INTO sentitems (CreatorID, ID, SequencePosition, Status, SendingDateTime, SMSCNumber, TPMR, SenderID, Text, DestinationNumber, Coding, UDH, Class, TextDecoded, InsertIntoDB, RelativeValidity) VALUES ('Gammu 1.37.3', '1', 1, 'SendingOKNoReport', datetime('now', 'localtime'), '123456', 255, '', '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', 'Default_No_Compression', '', -1, 'python-gammu testing message', '2016-05-31 00:58:07', -1) Tue 2016/05/31 00:58:08 python-gammu[6258]: Execute SQL: UPDATE phones SET Sent= Sent + 1 WHERE IMEI = '999999999999999' Tue 2016/05/31 00:58:08 python-gammu[6258]: Execute SQL: DELETE FROM outbox WHERE ID='1' Tue 2016/05/31 00:58:08 python-gammu[6258]: Execute SQL: DELETE FROM outbox_multipart WHERE ID='1' Tue 2016/05/31 00:58:09 python-gammu[6258]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:09 python-gammu[6258]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '2' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Tue 2016/05/31 00:58:09 python-gammu[6258]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries FROM outbox WHERE ID='2' Tue 2016/05/31 00:58:09 python-gammu[6258]: New message to send: 2 Tue 2016/05/31 00:58:09 python-gammu[6258]: gammu: Entering GSM_GetBatteryCharge Tue 2016/05/31 00:58:09 python-gammu[6258]: gammu: Leaving GSM_GetBatteryCharge Tue 2016/05/31 00:58:09 python-gammu[6258]: gammu: Entering GSM_GetSignalQuality Tue 2016/05/31 00:58:09 python-gammu[6258]: gammu: Leaving GSM_GetSignalQuality Tue 2016/05/31 00:58:09 python-gammu[6258]: gammu: Entering GSM_SendSMS Tue 2016/05/31 00:58:09 python-gammu[6258]: gammu: SMS Submit Tue 2016/05/31 00:58:09 python-gammu[6258]: gammu: Recipient number "1234567890" Tue 2016/05/31 00:58:09 python-gammu[6258]: gammu: SMSC number "123456" Tue 2016/05/31 00:58:09 python-gammu[6258]: gammu: SMS class -1 Tue 2016/05/31 00:58:09 python-gammu[6258]: gammu: SMS validity ff Tue 2016/05/31 00:58:09 python-gammu[6258]: gammu: TPMR: 00 0 Tue 2016/05/31 00:58:09 python-gammu[6258]: gammu: 7 bit SMS, length 31, 35 Tue 2016/05/31 00:58:09 python-gammu[6258]: gammu: python-gammu second testing message Tue 2016/05/31 00:58:09 python-gammu[6258]: SMS sent on device: "/tmp/tmpzD1984/gammu-dummy" status=0, reference=255 Tue 2016/05/31 00:58:09 python-gammu[6258]: gammu: Leaving GSM_SendSMS Tue 2016/05/31 00:58:09 python-gammu[6258]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '2' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Tue 2016/05/31 00:58:09 python-gammu[6258]: Transmitted 2 (total: 1) to 1234567890 Tue 2016/05/31 00:58:09 python-gammu[6258]: Execute SQL: INSERT INTO sentitems (CreatorID, ID, SequencePosition, Status, SendingDateTime, SMSCNumber, TPMR, SenderID, Text, DestinationNumber, Coding, UDH, Class, TextDecoded, InsertIntoDB, RelativeValidity) VALUES ('Gammu 1.37.3', '2', 1, 'SendingOKNoReport', datetime('now', 'localtime'), '123456', 255, '', '0070007900740068006F006E002D00670061006D006D00750020007300650063006F006E0064002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', 'Default_No_Compression', '', -1, 'python-gammu second testing message', '2016-05-31 00:58:07', -1) Tue 2016/05/31 00:58:09 python-gammu[6258]: Execute SQL: UPDATE phones SET Sent= Sent + 1 WHERE IMEI = '999999999999999' Tue 2016/05/31 00:58:09 python-gammu[6258]: Execute SQL: DELETE FROM outbox WHERE ID='2' Tue 2016/05/31 00:58:09 python-gammu[6258]: Execute SQL: DELETE FROM outbox_multipart WHERE ID='2' Tue 2016/05/31 00:58:10 python-gammu[6258]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:11 python-gammu[6258]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:12 python-gammu[6258]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:13 python-gammu[6258]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:14 python-gammu[6258]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:15 python-gammu[6258]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:16 python-gammu[6258]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:17 python-gammu[6258]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:18 python-gammu[6258]: Disconnecting from SQL database. Tue 2016/05/31 00:58:18 python-gammu[6258]: gammu: Entering GSM_SetFastSMSSending Tue 2016/05/31 00:58:18 python-gammu[6258]: gammu: Leaving GSM_SetFastSMSSending Tue 2016/05/31 00:58:18 python-gammu[6258]: Stopping Gammu smsd: No error. (NONE[1]) Tue 2016/05/31 00:58:18 python-gammu[6258]: Terminating communication... Tue 2016/05/31 00:58:18 python-gammu[6258]: gammu: [Terminating] Tue 2016/05/31 00:58:18 python-gammu[6258]: gammu: [Closing] Tue 2016/05/31 00:58:18 python-gammu[6258]: Disconnecting from SQL database. 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 ---------------------------------------------------------------------- Ran 47 tests in 22.913s OK python-gammu: WARNING: Adding USSD to queue, position 0 Gammu version (1, 37, 3), SMSD DB version 15 Gammu version (1, 37, 3), SMSD DB version 15 Gammu version (1, 37, 3), SMSD DB version 15 + /usr/bin/python3 setup.py test running test running egg_info writing python_gammu.egg-info/PKG-INFO writing dependency_links to python_gammu.egg-info/dependency_links.txt writing top-level names to python_gammu.egg-info/top_level.txt reading manifest file 'python_gammu.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_gammu.egg-info/SOURCES.txt' running build_ext copying build/lib.linux-i686-3.5/gammu/_gammu.cpython-35m-i386-linux-gnu.so -> gammu test_catching (test.test_errors.ErrorTest) ... ok test_worker (test.test_worker.WorkerDummyTest) ... ok test_connections (test.test_data.DataTest) ... ok test_errors (test.test_data.DataTest) ... 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_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_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_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_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_init_error (test.test_smsd.SMSDDummyTest) ... ok test_inject (test.test_smsd.SMSDDummyTest) ... Log filename is "stderr" Tue 2016/05/31 00:58:30 python-gammu[6267]: Using SQL service Tue 2016/05/31 00:58:30 python-gammu[6267]: Configuring Gammu SMSD... Tue 2016/05/31 00:58:30 python-gammu[6267]: SHM token: 0xffffffffce030c8f (-838660977) Tue 2016/05/31 00:58:30 python-gammu[6267]: Warning: No PIN code in /tmp/tmpq7m2fneb/.gammurc file Tue 2016/05/31 00:58:30 python-gammu[6267]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Tue 2016/05/31 00:58:30 python-gammu[6267]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1 Tue 2016/05/31 00:58:30 python-gammu[6267]: mode: Send=1, Receive=1 Tue 2016/05/31 00:58:30 python-gammu[6267]: deliveryreport = no Tue 2016/05/31 00:58:30 python-gammu[6267]: phoneid = Tue 2016/05/31 00:58:30 python-gammu[6267]: Using DBI driver 'sqlite3' Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: SELECT * FROM daemons LIMIT 1 Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: SELECT * FROM gammu LIMIT 1 Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: SELECT * FROM inbox LIMIT 1 Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: SELECT * FROM outbox LIMIT 1 Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: SELECT * FROM phones LIMIT 1 Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: SELECT Version FROM gammu Tue 2016/05/31 00:58:30 python-gammu[6267]: Database structures version: 15, SMSD current version: 15 Tue 2016/05/31 00:58:30 python-gammu[6267]: Connected to Database sqlite3: smsd.db on localhost Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.37.3', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu testing message') Tue 2016/05/31 00:58:30 python-gammu[6267]: Written message with ID 1 Tue 2016/05/31 00:58:30 python-gammu[6267]: Disconnecting from SQL database. ok test_smsd (test.test_smsd.SMSDDummyTest) ... Log filename is "stderr" Tue 2016/05/31 00:58:30 python-gammu[6267]: Using SQL service Tue 2016/05/31 00:58:30 python-gammu[6267]: Configuring Gammu SMSD... Tue 2016/05/31 00:58:30 python-gammu[6267]: SHM token: 0xffffffffce030c8f (-838660977) Tue 2016/05/31 00:58:30 python-gammu[6267]: Warning: No PIN code in /tmp/tmpdhj2ucey/.gammurc file Tue 2016/05/31 00:58:30 python-gammu[6267]: CommTimeout=1, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0 Tue 2016/05/31 00:58:30 python-gammu[6267]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1 Tue 2016/05/31 00:58:30 python-gammu[6267]: mode: Send=1, Receive=1 Tue 2016/05/31 00:58:30 python-gammu[6267]: deliveryreport = no Tue 2016/05/31 00:58:30 python-gammu[6267]: phoneid = Tue 2016/05/31 00:58:30 python-gammu[6267]: Using DBI driver 'sqlite3' Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: SELECT * FROM daemons LIMIT 1 Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: SELECT * FROM gammu LIMIT 1 Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: SELECT * FROM inbox LIMIT 1 Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: SELECT * FROM sentitems LIMIT 1 Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: SELECT * FROM outbox LIMIT 1 Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: SELECT * FROM outbox_multipart LIMIT 1 Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: SELECT * FROM phones LIMIT 1 Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: SELECT Version FROM gammu Tue 2016/05/31 00:58:30 python-gammu[6267]: Database structures version: 15, SMSD current version: 15 Tue 2016/05/31 00:58:30 python-gammu[6267]: Connected to Database sqlite3: smsd.db on localhost Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.37.3', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu testing message') Tue 2016/05/31 00:58:30 python-gammu[6267]: Written message with ID 1 Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: INSERT INTO outbox (CreatorID, SenderID, DeliveryReport, MultiPart, InsertIntoDB, Text, DestinationNumber, RelativeValidity, Coding, UDH, Class, TextDecoded) VALUES ('Gammu 1.37.3', '', 'default', 'FALSE', datetime('now', 'localtime'), '0070007900740068006F006E002D00670061006D006D00750020007300650063006F006E0064002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', -1, 'Default_No_Compression', '', -1, 'python-gammu second testing message') Tue 2016/05/31 00:58:30 python-gammu[6267]: Written message with ID 2 Tue 2016/05/31 00:58:30 python-gammu[6267]: Created POSIX RW shared memory at 0xf70f8000 Tue 2016/05/31 00:58:30 python-gammu[6267]: Starting phone communication... Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: [Gammu - 1.37.3] Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: [Connection - "none"] Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: [Connection index - 0] Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: [Model type - "dummy"] Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: [Device - "/tmp/tmpdhj2ucey/gammu-dummy"] Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: [Running on - Linux, kernel 4.4.9-300.fc23.x86_64 (#1 SMP Wed May 4 23:56:27 UTC 2016)] Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: [Module - "dummy"] Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: Log file /tmp/tmpdhj2ucey/gammu-dummy/operations.log Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: Number version is "1.373000" Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: [Connected] Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: Entering GSM_GetSecurityStatus Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: Leaving GSM_GetSecurityStatus Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: Entering GSM_SetIncomingSMS Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: Leaving GSM_SetIncomingSMS Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: Entering GSM_GetIMEI Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: Leaving GSM_GetIMEI Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: DELETE FROM phones WHERE IMEI = '999999999999999' Tue 2016/05/31 00:58:30 python-gammu[6267]: Inserting phone info Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: Entering GSM_GetNetworkInfo Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: Leaving GSM_GetNetworkInfo Tue 2016/05/31 00:58:30 python-gammu[6267]: Execute SQL: INSERT INTO phones (IMEI, ID, NetCode, NetName, Send, Receive, InsertIntoDB, TimeOut, Client, Battery, Signal) VALUES ('999999999999999', '', '999 99', 'GammuT3l', 'yes', 'yes', datetime('now', 'localtime'), datetime('now', '+10 seconds', 'localtime'), 'Gammu 1.37.3, Linux, kernel 4.4.9-300.fc23.x86_64 (#1 SMP Wed May 4 23:56:27 UTC 2016), GCC 6.1', -1, -1) Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: Entering GSM_SetFastSMSSending Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: Leaving GSM_SetFastSMSSending Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: Entering GSM_GetSecurityStatus Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: Leaving GSM_GetSecurityStatus Tue 2016/05/31 00:58:30 python-gammu[6267]: gammu: Entering GSM_GetSMSStatus Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Leaving GSM_GetSMSStatus Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Entering GSM_GetNextSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Starting reading! Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Number = 0, Location = 0, Folder = 0 Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Leaving GSM_GetNextSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: Received message from: 1234 Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Entering GSM_GetNextSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Number = 1, Location = 10001, Folder = 0 Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Leaving GSM_GetNextSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Entering GSM_GetNextSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Number = 1, Location = 20010, Folder = 0 Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Leaving GSM_GetNextSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: Received message from: 1234 Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Entering GSM_GetNextSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Number = 1, Location = 30042, Folder = 0 Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Leaving GSM_GetNextSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Entering GSM_GetNextSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Number = 1, Location = 40015, Folder = 0 Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Leaving GSM_GetNextSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Entering GSM_GetNextSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Number = 1, Location = 40020, Folder = 0 Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Leaving GSM_GetNextSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Entering GSM_GetNextSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Number = 1, Location = 40021, Folder = 0 Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: GSM_GetNextSMS failed with error EMPTY[22]: Entry is empty. Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Leaving GSM_GetNextSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: Read 2 messages Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Entering GSM_DeleteSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Location = 10001, Folder = 0 Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Leaving GSM_DeleteSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Entering GSM_DeleteSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Location = 30042, Folder = 0 Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Leaving GSM_DeleteSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:31 python-gammu[6267]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '1' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Tue 2016/05/31 00:58:31 python-gammu[6267]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries FROM outbox WHERE ID='1' Tue 2016/05/31 00:58:31 python-gammu[6267]: New message to send: 1 Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Entering GSM_GetSMSC Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Leaving GSM_GetSMSC Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Entering GSM_GetBatteryCharge Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Leaving GSM_GetBatteryCharge Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Entering GSM_GetSignalQuality Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Leaving GSM_GetSignalQuality Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Entering GSM_SendSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: SMS Submit Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Recipient number "1234567890" Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: SMSC number "123456" Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: SMS class -1 Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: SMS validity ff Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: TPMR: 00 0 Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: 7 bit SMS, length 25, 28 Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: python-gammu testing message Tue 2016/05/31 00:58:31 python-gammu[6267]: SMS sent on device: "/tmp/tmpdhj2ucey/gammu-dummy" status=0, reference=255 Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Leaving GSM_SendSMS Tue 2016/05/31 00:58:31 python-gammu[6267]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '1' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Tue 2016/05/31 00:58:31 python-gammu[6267]: Transmitted 1 (total: 1) to 1234567890 Tue 2016/05/31 00:58:31 python-gammu[6267]: Execute SQL: INSERT INTO sentitems (CreatorID, ID, SequencePosition, Status, SendingDateTime, SMSCNumber, TPMR, SenderID, Text, DestinationNumber, Coding, UDH, Class, TextDecoded, InsertIntoDB, RelativeValidity) VALUES ('Gammu 1.37.3', '1', 1, 'SendingOKNoReport', datetime('now', 'localtime'), '123456', 255, '', '0070007900740068006F006E002D00670061006D006D0075002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', 'Default_No_Compression', '', -1, 'python-gammu testing message', '2016-05-31 00:58:30', -1) Tue 2016/05/31 00:58:31 python-gammu[6267]: Execute SQL: UPDATE phones SET Sent= Sent + 1 WHERE IMEI = '999999999999999' Tue 2016/05/31 00:58:31 python-gammu[6267]: Execute SQL: DELETE FROM outbox WHERE ID='1' Tue 2016/05/31 00:58:31 python-gammu[6267]: Execute SQL: DELETE FROM outbox_multipart WHERE ID='1' Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Entering GSM_GetBatteryCharge Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Leaving GSM_GetBatteryCharge Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Entering GSM_GetSignalQuality Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Leaving GSM_GetSignalQuality Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Entering GSM_GetNetworkInfo Tue 2016/05/31 00:58:31 python-gammu[6267]: gammu: Leaving GSM_GetNetworkInfo Tue 2016/05/31 00:58:31 python-gammu[6267]: Execute SQL: UPDATE phones SET TimeOut= datetime('now', '+10 seconds', 'localtime'), Battery = 100, Signal = 42, NetCode = '999 99', NetName = 'GammuT3l' WHERE IMEI = '999999999999999' Tue 2016/05/31 00:58:32 python-gammu[6267]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:32 python-gammu[6267]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '2' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Tue 2016/05/31 00:58:32 python-gammu[6267]: Execute SQL: SELECT Text, Coding, UDH, Class, TextDecoded, ID, DestinationNumber, MultiPart, RelativeValidity, DeliveryReport, CreatorID, Retries FROM outbox WHERE ID='2' Tue 2016/05/31 00:58:32 python-gammu[6267]: New message to send: 2 Tue 2016/05/31 00:58:32 python-gammu[6267]: gammu: Entering GSM_GetBatteryCharge Tue 2016/05/31 00:58:32 python-gammu[6267]: gammu: Leaving GSM_GetBatteryCharge Tue 2016/05/31 00:58:32 python-gammu[6267]: gammu: Entering GSM_GetSignalQuality Tue 2016/05/31 00:58:32 python-gammu[6267]: gammu: Leaving GSM_GetSignalQuality Tue 2016/05/31 00:58:32 python-gammu[6267]: gammu: Entering GSM_SendSMS Tue 2016/05/31 00:58:32 python-gammu[6267]: gammu: SMS Submit Tue 2016/05/31 00:58:32 python-gammu[6267]: gammu: Recipient number "1234567890" Tue 2016/05/31 00:58:32 python-gammu[6267]: gammu: SMSC number "123456" Tue 2016/05/31 00:58:32 python-gammu[6267]: gammu: SMS class -1 Tue 2016/05/31 00:58:32 python-gammu[6267]: gammu: SMS validity ff Tue 2016/05/31 00:58:32 python-gammu[6267]: gammu: TPMR: 00 0 Tue 2016/05/31 00:58:32 python-gammu[6267]: gammu: 7 bit SMS, length 31, 35 Tue 2016/05/31 00:58:32 python-gammu[6267]: gammu: python-gammu second testing message Tue 2016/05/31 00:58:32 python-gammu[6267]: SMS sent on device: "/tmp/tmpdhj2ucey/gammu-dummy" status=0, reference=255 Tue 2016/05/31 00:58:32 python-gammu[6267]: gammu: Leaving GSM_SendSMS Tue 2016/05/31 00:58:32 python-gammu[6267]: Execute SQL: UPDATE outbox SET SendingTimeOut = datetime('now', '+60 seconds', 'localtime') WHERE ID = '2' AND (SendingTimeOut < datetime('now', 'localtime') OR SendingTimeOut IS NULL) Tue 2016/05/31 00:58:32 python-gammu[6267]: Transmitted 2 (total: 1) to 1234567890 Tue 2016/05/31 00:58:32 python-gammu[6267]: Execute SQL: INSERT INTO sentitems (CreatorID, ID, SequencePosition, Status, SendingDateTime, SMSCNumber, TPMR, SenderID, Text, DestinationNumber, Coding, UDH, Class, TextDecoded, InsertIntoDB, RelativeValidity) VALUES ('Gammu 1.37.3', '2', 1, 'SendingOKNoReport', datetime('now', 'localtime'), '123456', 255, '', '0070007900740068006F006E002D00670061006D006D00750020007300650063006F006E0064002000740065007300740069006E00670020006D006500730073006100670065', '1234567890', 'Default_No_Compression', '', -1, 'python-gammu second testing message', '2016-05-31 00:58:30', -1) Tue 2016/05/31 00:58:32 python-gammu[6267]: Execute SQL: UPDATE phones SET Sent= Sent + 1 WHERE IMEI = '999999999999999' Tue 2016/05/31 00:58:32 python-gammu[6267]: Execute SQL: DELETE FROM outbox WHERE ID='2' Tue 2016/05/31 00:58:32 python-gammu[6267]: Execute SQL: DELETE FROM outbox_multipart WHERE ID='2' Tue 2016/05/31 00:58:33 python-gammu[6267]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:34 python-gammu[6267]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:35 python-gammu[6267]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:36 python-gammu[6267]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:37 python-gammu[6267]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:38 python-gammu[6267]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:39 python-gammu[6267]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:40 python-gammu[6267]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:41 python-gammu[6267]: 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 InsertIntoDB ASC LIMIT 1 Tue 2016/05/31 00:58:42 python-gammu[6267]: Disconnecting from SQL database. Tue 2016/05/31 00:58:42 python-gammu[6267]: gammu: Entering GSM_SetFastSMSSending Tue 2016/05/31 00:58:42 python-gammu[6267]: gammu: Leaving GSM_SetFastSMSSending Tue 2016/05/31 00:58:42 python-gammu[6267]: Stopping Gammu smsd: No error. (NONE[1]) Tue 2016/05/31 00:58:42 python-gammu[6267]: Terminating communication... Tue 2016/05/31 00:58:42 python-gammu[6267]: gammu: [Terminating] Tue 2016/05/31 00:58:42 python-gammu[6267]: gammu: [Closing] Tue 2016/05/31 00:58:42 python-gammu[6267]: Disconnecting from SQL database. 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) ... Gammu version (1, 37, 3), SMSD DB version 15 Gammu version (1, 37, 3), SMSD DB version 15 Gammu version (1, 37, 3), SMSD DB version 15 python-gammu: WARNING: Adding USSD to queue, position 0 ok ---------------------------------------------------------------------- Ran 47 tests in 23.046s OK + exit 0 Processing files: python2-gammu-2.6-1.fc24.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cNmNDt + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.6 + DOCDIR=/builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/share/doc/python2-gammu + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/share/doc/python2-gammu + cp -pr AUTHORS /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/share/doc/python2-gammu + cp -pr NEWS.rst /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/share/doc/python2-gammu + cp -pr README.rst /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/share/doc/python2-gammu + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.VhtXjd + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.6 + LICENSEDIR=/builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/share/licenses/python2-gammu + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/share/licenses/python2-gammu + cp -pr COPYING /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/share/licenses/python2-gammu + exit 0 Provides: python-gammu = 2.6-1.fc24 python-gammu(x86-32) = 2.6-1.fc24 python2-gammu = 2.6-1.fc24 python2-gammu(x86-32) = 2.6-1.fc24 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.7 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libgsmsd.so.7 libm.so.6 libpthread.so.0 libpython2.7.so.1.0 python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: python-gammu < 2.6-1.fc24 python-gammu(x86-32) < 2.6-1.fc24 Processing files: python3-gammu-2.6-1.fc24.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4Kq8pX + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.6 + DOCDIR=/builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/share/doc/python3-gammu + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/share/doc/python3-gammu + cp -pr AUTHORS /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/share/doc/python3-gammu + cp -pr NEWS.rst /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/share/doc/python3-gammu + cp -pr README.rst /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/share/doc/python3-gammu + cp -pr examples/__init__.py examples/addcontacts.py examples/addfile.py examples/backup_convertor.py examples/batteryinfo.py examples/data examples/debugging.py examples/dialvoice.py examples/doc-exceptions.py examples/dummy_phone.py examples/filesystem_test.py examples/getallcalendar.py examples/getallmemory.py examples/getallmemory_nonext.py examples/getallsms.py examples/getallsms_decode.py examples/getalltodo.py examples/getdiverts.py examples/incoming.py examples/listfilesystem.py examples/mass_sms.py examples/pdu_decoder.py examples/read_sms_backup.py examples/savesmspercontact.py examples/sendlongsms.py examples/sendsms.py examples/service_numbers.py examples/setdiverts.py examples/sms_replier.py examples/smsbackup.py examples/smsd_inject.py examples/smsd_state.py examples/vcs.py examples/worker.py /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/share/doc/python3-gammu + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.zsE7xH + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.6 + LICENSEDIR=/builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/share/licenses/python3-gammu + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/share/licenses/python3-gammu + cp -pr COPYING /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386/usr/share/licenses/python3-gammu + exit 0 Provides: python3-gammu = 2.6-1.fc24 python3-gammu(x86-32) = 2.6-1.fc24 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/env libGammu.so.7 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libgsmsd.so.7 libm.so.6 libpthread.so.0 libpython3.5m.so.1.0 python(abi) = 3.5 rtld(GNU_HASH) Processing files: python-gammu-debuginfo-2.6-1.fc24.i686 Provides: python-gammu-debuginfo = 2.6-1.fc24 python-gammu-debuginfo(x86-32) = 2.6-1.fc24 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386 Wrote: /builddir/build/RPMS/python2-gammu-2.6-1.fc24.i686.rpm Wrote: /builddir/build/RPMS/python3-gammu-2.6-1.fc24.i686.rpm Wrote: /builddir/build/RPMS/python-gammu-debuginfo-2.6-1.fc24.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SiZfTt + umask 022 + cd /builddir/build/BUILD + cd python-gammu-2.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-gammu-2.6-1.fc24.i386 + exit 0 Child return code was: 0