Mock Version: 1.2.21 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tendrl-node-agent.spec'], gid=135logger=user='mockbuild'shell=Falseenv={'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'}chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-4289/root'timeout=0uid=1001printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tendrl-node-agent.spec'] with env {'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: copr-builder-872240044.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/tendrl-node-agent-0.0.1-3.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/tendrl-node-agent.spec'], gid=135logger=user='mockbuild'shell=Falseenv={'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'}chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-4289/root'timeout=0uid=1001printOutput=Falseprivate_network=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/tendrl-node-agent.spec'] with env {'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ABqGOB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tendrl-node-agent-0.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/tendrl-node-agent-0.0.1.tar.gz + /usr/bin/tar -xvvf - drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/ drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/etc/ -rw-rw-r-- tim/tim 7069 2016-11-16 12:46 tendrl-node-agent-0.0.1/etc/tendrl_definitions_node_agent.yaml -rw-rw-r-- tim/tim 998 2016-11-16 12:46 tendrl-node-agent-0.0.1/etc/logging.yaml.timedrotation.sample -rw-rw-r-- tim/tim 987 2016-11-16 12:46 tendrl-node-agent-0.0.1/etc/logging.yaml.journald.sample -rw-rw-r-- tim/tim 987 2016-11-16 12:46 tendrl-node-agent-0.0.1/etc/logging.yaml.syslog.sample drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/etc/tendrl/ -rw-rw-r-- tim/tim 333 2016-11-16 12:46 tendrl-node-agent-0.0.1/etc/tendrl/tendrl.conf.sample -rw-rw-r-- tim/tim 437 2016-11-16 12:46 tendrl-node-agent-0.0.1/etc/create_sample_job.py -rw-rw-r-- tim/tim 259 2016-11-16 12:46 tendrl-node-agent-0.0.1/requirements.txt -rw-rw-r-- tim/tim 197 2016-11-16 13:03 tendrl-node-agent-0.0.1/MANIFEST.in -rw-rw-r-- tim/tim 224 2016-11-18 10:01 tendrl-node-agent-0.0.1/PKG-INFO -rw-rw-r-- tim/tim 59 2016-11-18 10:01 tendrl-node-agent-0.0.1/setup.cfg -rw-rw-r-- tim/tim 562 2016-11-16 12:53 tendrl-node-agent-0.0.1/setup.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl_node_agent.egg-info/ -rw-rw-r-- tim/tim 4419 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl_node_agent.egg-info/SOURCES.txt -rw-rw-r-- tim/tim 1 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl_node_agent.egg-info/dependency_links.txt -rw-rw-r-- tim/tim 1 2016-11-17 13:19 tendrl-node-agent-0.0.1/tendrl_node_agent.egg-info/not-zip-safe -rw-rw-r-- tim/tim 78 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl_node_agent.egg-info/entry_points.txt -rw-rw-r-- tim/tim 224 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl_node_agent.egg-info/PKG-INFO -rw-rw-r-- tim/tim 7 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl_node_agent.egg-info/top_level.txt -rw-rw-r-- tim/tim 7 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl_node_agent.egg-info/namespace_packages.txt -rw-rw-r-- tim/tim 26461 2016-10-13 10:12 tendrl-node-agent-0.0.1/LICENSE drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/ -rw-rw-r-- tim/tim 56 2016-10-13 10:12 tendrl-node-agent-0.0.1/tendrl/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/ -rw-rw-r-- tim/tim 779 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/config.py -rw-rw-r-- tim/tim 0 2016-10-13 10:12 tendrl-node-agent-0.0.1/tendrl/node_agent/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/tests/ -rw-rw-r-- tim/tim 8787 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/tests/test_rpc.py -rw-rw-r-- tim/tim 14621 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/tests/test_pull_hardware_inventory.py -rw-rw-r-- tim/tim 151 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/tests/sample_flow.py -rw-rw-r-- tim/tim 1528 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/tests/test_config.py -rw-rw-r-- tim/tim 141 2016-10-13 10:12 tendrl-node-agent-0.0.1/tendrl/node_agent/tests/util.py -rw-rw-r-- tim/tim 1338 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/tests/test_command.py -rw-rw-r-- tim/tim 2751 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/tests/test_manager.py -rw-rw-r-- tim/tim 0 2016-10-13 10:12 tendrl-node-agent-0.0.1/tendrl/node_agent/tests/__init__.py -rw-rw-r-- tim/tim 3319 2016-11-10 06:11 tendrl-node-agent-0.0.1/tendrl/node_agent/tests/test_ar.py~ -rw-rw-r-- tim/tim 36 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/tests/test_configure_uuid.sample -rw-rw-r-- tim/tim 306 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/tests/sample_manager.py -rw-rw-r-- tim/tim 102 2016-10-13 10:12 tendrl-node-agent-0.0.1/tendrl/node_agent/tests/base.py -rw-rw-r-- tim/tim 24 2016-11-10 06:16 tendrl-node-agent-0.0.1/tendrl/node_agent/tests/test_ab.py -rw-rw-r-- tim/tim 3326 2016-11-10 06:12 tendrl-node-agent-0.0.1/tendrl/node_agent/tests/test_ar.py -rw-rw-r-- tim/tim 3308 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/tests/test_ansible_runner.py -rw-rw-r-- tim/tim 248 2016-10-13 10:12 tendrl-node-agent-0.0.1/tendrl/node_agent/tests/test_node_agent.py -rw-rw-r-- tim/tim 1880 2016-10-13 10:12 tendrl-node-agent-0.0.1/tendrl/node_agent/tests/README.rst drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/gluster_integration/ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/gluster_integration/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/gluster_integration/objects/ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/gluster_integration/objects/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/gluster_integration/objects/config/ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/gluster_integration/objects/config/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/gluster_integration/objects/config/atoms/ -rw-rw-r-- tim/tim 381 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/gluster_integration/objects/config/atoms/generate.py -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/gluster_integration/objects/config/atoms/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/gluster_integration/objects/tendrl_context/ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/gluster_integration/objects/tendrl_context/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/gluster_integration/objects/tendrl_context/atoms/ -rw-rw-r-- tim/tim 1184 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/gluster_integration/objects/tendrl_context/atoms/check_cluster_id_exists.py~ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/gluster_integration/objects/tendrl_context/atoms/__init__.py -rw-rw-r-- tim/tim 87 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/gluster_integration/objects/tendrl_context/atoms/check_cluster_id_exists.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/gluster_integration/flows/ -rw-rw-r-- tim/tim 1609 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/gluster_integration/flows/import_cluster.py -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/gluster_integration/flows/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/ceph_integration/ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/ceph_integration/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/ceph_integration/objects/ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/ceph_integration/objects/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/ceph_integration/objects/config/ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/ceph_integration/objects/config/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/ceph_integration/objects/config/atoms/ -rw-rw-r-- tim/tim 656 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/ceph_integration/objects/config/atoms/generate.py -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/ceph_integration/objects/config/atoms/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/ceph_integration/objects/tendrl_context/ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/ceph_integration/objects/tendrl_context/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/ceph_integration/objects/tendrl_context/atoms/ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/ceph_integration/objects/tendrl_context/atoms/__init__.py -rw-rw-r-- tim/tim 87 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/ceph_integration/objects/tendrl_context/atoms/check_cluster_id_exists.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/ceph_integration/flows/ -rw-rw-r-- tim/tim 1675 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/ceph_integration/flows/import_cluster.py -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/ceph_integration/flows/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/ drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/node/ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/node/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/node/atoms/ -rw-rw-r-- tim/tim 288 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/node/atoms/check_node_up.py -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/node/atoms/__init__.py -rw-rw-r-- tim/tim 256 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/node/atoms/cmd.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/package/ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/package/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/package/atoms/ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/package/atoms/__init__.py -rw-rw-r-- tim/tim 1268 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/package/atoms/install.py -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/file/ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/file/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/file/atoms/ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/file/atoms/__init__.py -rw-rw-r-- tim/tim 409 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/file/atoms/write.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/tendrl_context/ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/tendrl_context/__init__.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/tendrl_context/atoms/ -rw-rw-r-- tim/tim 1493 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/tendrl_context/atoms/compare.py~ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/tendrl_context/atoms/__init__.py -rw-rw-r-- tim/tim 1534 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/objects/tendrl_context/atoms/compare.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/flows/ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/flows/__init__.py -rw-rw-r-- tim/tim 90 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/flows/utils.py -rw-rw-r-- tim/tim 173 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/flows/flow_execution_exception.py -rw-rw-r-- tim/tim 3880 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/flows/flow.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/persistence/ -rw-rw-r-- tim/tim 429 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/persistence/node.py -rw-rw-r-- tim/tim 733 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/persistence/cpu.py -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/persistence/__init__.py -rw-rw-r-- tim/tim 534 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/persistence/os.py -rw-rw-r-- tim/tim 1867 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/persistence/persister.py -rw-rw-r-- tim/tim 318 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/persistence/tendrl_definitions.py -rw-rw-r-- tim/tim 469 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/persistence/node_context.py -rw-rw-r-- tim/tim 459 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/persistence/memory.py -rw-rw-r-- tim/tim 535 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/persistence/tendrl_context.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/ansible_runner/ -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/ansible_runner/__init__.py -rw-rw-r-- tim/tim 2410 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/ansible_runner/ansible_module_runner.py drwxrwxr-x tim/tim 0 2016-11-18 10:01 tendrl-node-agent-0.0.1/tendrl/node_agent/manager/ -rw-rw-r-- tim/tim 653 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/manager/command.py -rw-rw-r-- tim/tim 0 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/manager/__init__.py -rw-rw-r-- tim/tim 827 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/manager/utils.py -rw-rw-r-- tim/tim 5778 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/manager/rpc.py -rw-rw-r-- tim/tim 9252 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/manager/tendrl_definitions_node_agent.py -rw-rw-r-- tim/tim 8294 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/manager/manager.py -rw-rw-r-- tim/tim 3690 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl/node_agent/manager/pull_hardware_inventory.py -rw-rw-r-- tim/tim 274 2016-11-16 12:46 tendrl-node-agent-0.0.1/tendrl-noded.service -rw-rw-r-- tim/tim 866 2016-10-13 10:12 tendrl-node-agent-0.0.1/README.rst + STATUS=0 + '[' 0 -ne 0 ']' + cd tendrl-node-agent-0.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf test-requirements.txt requirements.txt + rm -rf tendrl-node-agent.egg-info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0uudal + umask 022 + cd /builddir/build/BUILD + cd tendrl-node-agent-0.0.1 + /usr/bin/python setup.py build running build running build_py creating build creating build/lib creating build/lib/tendrl copying tendrl/__init__.py -> build/lib/tendrl creating build/lib/tendrl/node_agent copying tendrl/node_agent/__init__.py -> build/lib/tendrl/node_agent copying tendrl/node_agent/config.py -> build/lib/tendrl/node_agent creating build/lib/tendrl/node_agent/manager copying tendrl/node_agent/manager/pull_hardware_inventory.py -> build/lib/tendrl/node_agent/manager copying tendrl/node_agent/manager/manager.py -> build/lib/tendrl/node_agent/manager copying tendrl/node_agent/manager/tendrl_definitions_node_agent.py -> build/lib/tendrl/node_agent/manager copying tendrl/node_agent/manager/rpc.py -> build/lib/tendrl/node_agent/manager copying tendrl/node_agent/manager/utils.py -> build/lib/tendrl/node_agent/manager copying tendrl/node_agent/manager/__init__.py -> build/lib/tendrl/node_agent/manager copying tendrl/node_agent/manager/command.py -> build/lib/tendrl/node_agent/manager creating build/lib/tendrl/node_agent/ansible_runner copying tendrl/node_agent/ansible_runner/ansible_module_runner.py -> build/lib/tendrl/node_agent/ansible_runner copying tendrl/node_agent/ansible_runner/__init__.py -> build/lib/tendrl/node_agent/ansible_runner creating build/lib/tendrl/node_agent/persistence copying tendrl/node_agent/persistence/tendrl_context.py -> build/lib/tendrl/node_agent/persistence copying tendrl/node_agent/persistence/memory.py -> build/lib/tendrl/node_agent/persistence copying tendrl/node_agent/persistence/node_context.py -> build/lib/tendrl/node_agent/persistence copying tendrl/node_agent/persistence/tendrl_definitions.py -> build/lib/tendrl/node_agent/persistence copying tendrl/node_agent/persistence/persister.py -> build/lib/tendrl/node_agent/persistence copying tendrl/node_agent/persistence/os.py -> build/lib/tendrl/node_agent/persistence copying tendrl/node_agent/persistence/__init__.py -> build/lib/tendrl/node_agent/persistence copying tendrl/node_agent/persistence/cpu.py -> build/lib/tendrl/node_agent/persistence copying tendrl/node_agent/persistence/node.py -> build/lib/tendrl/node_agent/persistence creating build/lib/tendrl/node_agent/flows copying tendrl/node_agent/flows/flow.py -> build/lib/tendrl/node_agent/flows copying tendrl/node_agent/flows/flow_execution_exception.py -> build/lib/tendrl/node_agent/flows copying tendrl/node_agent/flows/utils.py -> build/lib/tendrl/node_agent/flows copying tendrl/node_agent/flows/__init__.py -> build/lib/tendrl/node_agent/flows creating build/lib/tendrl/node_agent/objects copying tendrl/node_agent/objects/__init__.py -> build/lib/tendrl/node_agent/objects creating build/lib/tendrl/node_agent/ceph_integration copying tendrl/node_agent/ceph_integration/__init__.py -> build/lib/tendrl/node_agent/ceph_integration creating build/lib/tendrl/node_agent/gluster_integration copying tendrl/node_agent/gluster_integration/__init__.py -> build/lib/tendrl/node_agent/gluster_integration creating build/lib/tendrl/node_agent/objects/tendrl_context copying tendrl/node_agent/objects/tendrl_context/__init__.py -> build/lib/tendrl/node_agent/objects/tendrl_context creating build/lib/tendrl/node_agent/objects/file copying tendrl/node_agent/objects/file/__init__.py -> build/lib/tendrl/node_agent/objects/file creating build/lib/tendrl/node_agent/objects/package copying tendrl/node_agent/objects/package/__init__.py -> build/lib/tendrl/node_agent/objects/package creating build/lib/tendrl/node_agent/objects/node copying tendrl/node_agent/objects/node/__init__.py -> build/lib/tendrl/node_agent/objects/node creating build/lib/tendrl/node_agent/ceph_integration/flows copying tendrl/node_agent/ceph_integration/flows/__init__.py -> build/lib/tendrl/node_agent/ceph_integration/flows copying tendrl/node_agent/ceph_integration/flows/import_cluster.py -> build/lib/tendrl/node_agent/ceph_integration/flows creating build/lib/tendrl/node_agent/ceph_integration/objects copying tendrl/node_agent/ceph_integration/objects/__init__.py -> build/lib/tendrl/node_agent/ceph_integration/objects creating build/lib/tendrl/node_agent/gluster_integration/flows copying tendrl/node_agent/gluster_integration/flows/__init__.py -> build/lib/tendrl/node_agent/gluster_integration/flows copying tendrl/node_agent/gluster_integration/flows/import_cluster.py -> build/lib/tendrl/node_agent/gluster_integration/flows creating build/lib/tendrl/node_agent/gluster_integration/objects copying tendrl/node_agent/gluster_integration/objects/__init__.py -> build/lib/tendrl/node_agent/gluster_integration/objects creating build/lib/tendrl/node_agent/objects/tendrl_context/atoms copying tendrl/node_agent/objects/tendrl_context/atoms/compare.py -> build/lib/tendrl/node_agent/objects/tendrl_context/atoms copying tendrl/node_agent/objects/tendrl_context/atoms/__init__.py -> build/lib/tendrl/node_agent/objects/tendrl_context/atoms creating build/lib/tendrl/node_agent/objects/file/atoms copying tendrl/node_agent/objects/file/atoms/write.py -> build/lib/tendrl/node_agent/objects/file/atoms copying tendrl/node_agent/objects/file/atoms/__init__.py -> build/lib/tendrl/node_agent/objects/file/atoms creating build/lib/tendrl/node_agent/objects/package/atoms copying tendrl/node_agent/objects/package/atoms/install.py -> build/lib/tendrl/node_agent/objects/package/atoms copying tendrl/node_agent/objects/package/atoms/__init__.py -> build/lib/tendrl/node_agent/objects/package/atoms creating build/lib/tendrl/node_agent/objects/node/atoms copying tendrl/node_agent/objects/node/atoms/cmd.py -> build/lib/tendrl/node_agent/objects/node/atoms copying tendrl/node_agent/objects/node/atoms/__init__.py -> build/lib/tendrl/node_agent/objects/node/atoms copying tendrl/node_agent/objects/node/atoms/check_node_up.py -> build/lib/tendrl/node_agent/objects/node/atoms creating build/lib/tendrl/node_agent/ceph_integration/objects/tendrl_context copying tendrl/node_agent/ceph_integration/objects/tendrl_context/__init__.py -> build/lib/tendrl/node_agent/ceph_integration/objects/tendrl_context creating build/lib/tendrl/node_agent/ceph_integration/objects/config copying tendrl/node_agent/ceph_integration/objects/config/__init__.py -> build/lib/tendrl/node_agent/ceph_integration/objects/config creating build/lib/tendrl/node_agent/gluster_integration/objects/tendrl_context copying tendrl/node_agent/gluster_integration/objects/tendrl_context/__init__.py -> build/lib/tendrl/node_agent/gluster_integration/objects/tendrl_context creating build/lib/tendrl/node_agent/gluster_integration/objects/config copying tendrl/node_agent/gluster_integration/objects/config/__init__.py -> build/lib/tendrl/node_agent/gluster_integration/objects/config creating build/lib/tendrl/node_agent/ceph_integration/objects/tendrl_context/atoms copying tendrl/node_agent/ceph_integration/objects/tendrl_context/atoms/check_cluster_id_exists.py -> build/lib/tendrl/node_agent/ceph_integration/objects/tendrl_context/atoms copying tendrl/node_agent/ceph_integration/objects/tendrl_context/atoms/__init__.py -> build/lib/tendrl/node_agent/ceph_integration/objects/tendrl_context/atoms creating build/lib/tendrl/node_agent/ceph_integration/objects/config/atoms copying tendrl/node_agent/ceph_integration/objects/config/atoms/__init__.py -> build/lib/tendrl/node_agent/ceph_integration/objects/config/atoms copying tendrl/node_agent/ceph_integration/objects/config/atoms/generate.py -> build/lib/tendrl/node_agent/ceph_integration/objects/config/atoms creating build/lib/tendrl/node_agent/gluster_integration/objects/tendrl_context/atoms copying tendrl/node_agent/gluster_integration/objects/tendrl_context/atoms/check_cluster_id_exists.py -> build/lib/tendrl/node_agent/gluster_integration/objects/tendrl_context/atoms copying tendrl/node_agent/gluster_integration/objects/tendrl_context/atoms/__init__.py -> build/lib/tendrl/node_agent/gluster_integration/objects/tendrl_context/atoms creating build/lib/tendrl/node_agent/gluster_integration/objects/config/atoms copying tendrl/node_agent/gluster_integration/objects/config/atoms/__init__.py -> build/lib/tendrl/node_agent/gluster_integration/objects/config/atoms copying tendrl/node_agent/gluster_integration/objects/config/atoms/generate.py -> build/lib/tendrl/node_agent/gluster_integration/objects/config/atoms + rm -rf html/.doctrees html/.buildinfo + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Gr6mH4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64 + cd tendrl-node-agent-0.0.1 + /usr/bin/python setup.py install --single-version-externally-managed -O1 --root=/builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64 --record=INSTALLED_FILES running install running build running build_py running install_lib Skipping installation of /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/__init__.py (namespace package) copying tendrl/node_agent/config.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent copying tendrl/node_agent/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent copying tendrl/node_agent/gluster_integration/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration copying tendrl/node_agent/gluster_integration/objects/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/objects copying tendrl/node_agent/gluster_integration/objects/config/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/objects/config copying tendrl/node_agent/gluster_integration/objects/config/atoms/generate.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/objects/config/atoms copying tendrl/node_agent/gluster_integration/objects/config/atoms/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/objects/config/atoms copying tendrl/node_agent/gluster_integration/objects/tendrl_context/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/objects/tendrl_context copying tendrl/node_agent/gluster_integration/objects/tendrl_context/atoms/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/objects/tendrl_context/atoms copying tendrl/node_agent/gluster_integration/objects/tendrl_context/atoms/check_cluster_id_exists.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/objects/tendrl_context/atoms copying tendrl/node_agent/gluster_integration/flows/import_cluster.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/flows copying tendrl/node_agent/gluster_integration/flows/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/flows copying tendrl/node_agent/ceph_integration/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration copying tendrl/node_agent/ceph_integration/objects/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/objects copying tendrl/node_agent/ceph_integration/objects/config/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/objects/config copying tendrl/node_agent/ceph_integration/objects/config/atoms/generate.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/objects/config/atoms copying tendrl/node_agent/ceph_integration/objects/config/atoms/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/objects/config/atoms copying tendrl/node_agent/ceph_integration/objects/tendrl_context/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/objects/tendrl_context copying tendrl/node_agent/ceph_integration/objects/tendrl_context/atoms/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/objects/tendrl_context/atoms copying tendrl/node_agent/ceph_integration/objects/tendrl_context/atoms/check_cluster_id_exists.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/objects/tendrl_context/atoms copying tendrl/node_agent/ceph_integration/flows/import_cluster.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/flows copying tendrl/node_agent/ceph_integration/flows/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/flows copying tendrl/node_agent/objects/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects copying tendrl/node_agent/objects/node/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/node copying tendrl/node_agent/objects/node/atoms/check_node_up.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/node/atoms copying tendrl/node_agent/objects/node/atoms/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/node/atoms copying tendrl/node_agent/objects/node/atoms/cmd.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/node/atoms copying tendrl/node_agent/objects/package/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/package copying tendrl/node_agent/objects/package/atoms/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/package/atoms copying tendrl/node_agent/objects/package/atoms/install.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/package/atoms copying tendrl/node_agent/objects/file/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/file copying tendrl/node_agent/objects/file/atoms/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/file/atoms copying tendrl/node_agent/objects/file/atoms/write.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/file/atoms copying tendrl/node_agent/objects/tendrl_context/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/tendrl_context copying tendrl/node_agent/objects/tendrl_context/atoms/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/tendrl_context/atoms copying tendrl/node_agent/objects/tendrl_context/atoms/compare.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/tendrl_context/atoms copying tendrl/node_agent/flows/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/flows copying tendrl/node_agent/flows/utils.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/flows copying tendrl/node_agent/flows/flow_execution_exception.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/flows copying tendrl/node_agent/flows/flow.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/flows copying tendrl/node_agent/persistence/node.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/persistence copying tendrl/node_agent/persistence/cpu.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/persistence copying tendrl/node_agent/persistence/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/persistence copying tendrl/node_agent/persistence/os.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/persistence copying tendrl/node_agent/persistence/persister.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/persistence copying tendrl/node_agent/persistence/tendrl_definitions.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/persistence copying tendrl/node_agent/persistence/node_context.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/persistence copying tendrl/node_agent/persistence/memory.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/persistence copying tendrl/node_agent/persistence/tendrl_context.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/persistence copying tendrl/node_agent/ansible_runner/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ansible_runner copying tendrl/node_agent/ansible_runner/ansible_module_runner.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ansible_runner copying tendrl/node_agent/manager/command.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/manager copying tendrl/node_agent/manager/__init__.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/manager copying tendrl/node_agent/manager/utils.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/manager copying tendrl/node_agent/manager/rpc.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/manager copying tendrl/node_agent/manager/tendrl_definitions_node_agent.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/manager copying tendrl/node_agent/manager/manager.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/manager copying tendrl/node_agent/manager/pull_hardware_inventory.py -> /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/manager byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/config.py to config.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/objects/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/objects/config/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/objects/config/atoms/generate.py to generate.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/objects/config/atoms/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/objects/tendrl_context/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/objects/tendrl_context/atoms/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/objects/tendrl_context/atoms/check_cluster_id_exists.py to check_cluster_id_exists.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/flows/import_cluster.py to import_cluster.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/gluster_integration/flows/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/objects/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/objects/config/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/objects/config/atoms/generate.py to generate.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/objects/config/atoms/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/objects/tendrl_context/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/objects/tendrl_context/atoms/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/objects/tendrl_context/atoms/check_cluster_id_exists.py to check_cluster_id_exists.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/flows/import_cluster.py to import_cluster.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ceph_integration/flows/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/node/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/node/atoms/check_node_up.py to check_node_up.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/node/atoms/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/node/atoms/cmd.py to cmd.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/package/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/package/atoms/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/package/atoms/install.py to install.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/file/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/file/atoms/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/file/atoms/write.py to write.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/tendrl_context/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/tendrl_context/atoms/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/objects/tendrl_context/atoms/compare.py to compare.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/flows/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/flows/utils.py to utils.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/flows/flow_execution_exception.py to flow_execution_exception.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/flows/flow.py to flow.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/persistence/node.py to node.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/persistence/cpu.py to cpu.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/persistence/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/persistence/os.py to os.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/persistence/persister.py to persister.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/persistence/tendrl_definitions.py to tendrl_definitions.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/persistence/node_context.py to node_context.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/persistence/memory.py to memory.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/persistence/tendrl_context.py to tendrl_context.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ansible_runner/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/ansible_runner/ansible_module_runner.py to ansible_module_runner.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/manager/command.py to command.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/manager/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/manager/utils.py to utils.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/manager/rpc.py to rpc.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/manager/tendrl_definitions_node_agent.py to tendrl_definitions_node_agent.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/manager/manager.py to manager.pyc byte-compiling /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl/node_agent/manager/pull_hardware_inventory.py to pull_hardware_inventory.pyc writing byte-compilation script '/tmp/tmp7sFBj1.py' /usr/bin/python -O /tmp/tmp7sFBj1.py removing /tmp/tmp7sFBj1.py running install_egg_info running egg_info writing tendrl_node_agent.egg-info/PKG-INFO writing namespace_packages to tendrl_node_agent.egg-info/namespace_packages.txt writing top-level names to tendrl_node_agent.egg-info/top_level.txt writing dependency_links to tendrl_node_agent.egg-info/dependency_links.txt writing entry points to tendrl_node_agent.egg-info/entry_points.txt reading manifest file 'tendrl_node_agent.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'AUTHORS' warning: no files found matching 'ChangeLog' warning: no files found matching 'requirements.txt' warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no directories found matching 'docs' writing manifest file 'tendrl_node_agent.egg-info/SOURCES.txt' Copying tendrl_node_agent.egg-info to /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl_node_agent-0.0.1-py2.7.egg-info Installing /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7/site-packages/tendrl_node_agent-0.0.1-py2.7-nspkg.pth running install_scripts Installing tendrl-node-agent script to /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/bin writing list of installed files to 'INSTALLED_FILES' + install -m 0755 --directory /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/var/log/tendrl/node_agent + install -m 0755 --directory /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/etc/tendrl/node_agent + install -m 0755 --directory /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/share/tendrl/node_agent + install -Dm 0644 tendrl-noded.service /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/systemd/system/tendrl-noded.service + install -Dm 0644 etc/tendrl/tendrl.conf.sample /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/etc/tendrl/tendrl.conf + install -Dm 0644 etc/logging.yaml.timedrotation.sample /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/etc/tendrl/node_agent_logging.yaml + install -Dm 644 etc/logging.yaml.journald.sample etc/logging.yaml.syslog.sample etc/logging.yaml.timedrotation.sample /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/share/tendrl/node_agent/. + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/tendrl-node-agent-0.0.1 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.kDFSyP + umask 022 + cd /builddir/build/BUILD + cd tendrl-node-agent-0.0.1 + py.test -v tendrl/node_agent/tests ============================= test session starts ============================== platform linux2 -- Python 2.7.5 -- py-1.4.27 -- pytest-2.7.0 -- /usr/bin/python rootdir: /builddir/build/BUILD/tendrl-node-agent-0.0.1, inifile: collecting ... collected 16 items / 2 errors tendrl/node_agent/tests/test_ab.py::test_abc PASSED tendrl/node_agent/tests/test_ansible_runner.py::Test_ansible_runner_constructor::test_invalid_module_path PASSED tendrl/node_agent/tests/test_ansible_runner.py::Test_ansible_runner_constructor::test_insufficient_arguments PASSED tendrl/node_agent/tests/test_ansible_runner.py::Test_ansible_runner_constructor::test_successful_ansible_runner PASSED tendrl/node_agent/tests/test_ansible_runner.py::Test_ansible_runner::test_module_executable_generation_failed PASSED tendrl/node_agent/tests/test_ansible_runner.py::Test_ansible_runner::test_module_run PASSED tendrl/node_agent/tests/test_command.py::Test_command_atom::test_command_start PASSED tendrl/node_agent/tests/test_command.py::Test_command_atom::test_command_error PASSED tendrl/node_agent/tests/test_config.py::Test_TendrlConfig::test_valid_path_from_environment PASSED tendrl/node_agent/tests/test_config.py::Test_TendrlConfig::test_valid_path_from_default_path PASSED tendrl/node_agent/tests/test_config.py::Test_TendrlConfig::test_invalid_config_file_path PASSED tendrl/node_agent/tests/test_node_agent.py::TestNodeAgent::test_something PASSED tendrl/node_agent/tests/test_pull_hardware_inventory.py::Test_pull_hardware_inventory::test_getNodeCpu PASSED tendrl/node_agent/tests/test_pull_hardware_inventory.py::Test_pull_hardware_inventory::test_getNodeMemory PASSED tendrl/node_agent/tests/test_pull_hardware_inventory.py::Test_pull_hardware_inventory::test_getNodeOs FAILED tendrl/node_agent/tests/test_pull_hardware_inventory.py::Test_pull_hardware_inventory::test_get_node_inventory FAILED ==================================== ERRORS ==================================== ___________ ERROR collecting tendrl/node_agent/tests/test_manager.py ___________ tendrl/node_agent/tests/test_manager.py:7: in from tendrl.node_agent.manager.manager import Manager tendrl/node_agent/manager/manager.py:9: in from rpc import EtcdThread tendrl/node_agent/manager/rpc.py:6: in import etcd /usr/lib/python2.7/site-packages/etcd/__init__.py:2: in from .client import Client /usr/lib/python2.7/site-packages/etcd/client.py:21: in import dns.resolver E ImportError: No module named dns.resolver _____________ ERROR collecting tendrl/node_agent/tests/test_rpc.py _____________ tendrl/node_agent/tests/test_rpc.py:1: in import etcd /usr/lib/python2.7/site-packages/etcd/__init__.py:2: in from .client import Client /usr/lib/python2.7/site-packages/etcd/client.py:21: in import dns.resolver E ImportError: No module named dns.resolver =================================== FAILURES =================================== _________________ Test_pull_hardware_inventory.test_getNodeOs __________________ self = monkeypatch = <_pytest.monkeypatch.monkeypatch instance at 0x2d7f098> def test_getNodeOs(self, monkeypatch): def mock_cmd_start(obj): out = { u'changed': True, u'end': u'2016-11-07 17:27:45.909621', u'stdout': u'Enforcing', u'cmd': [u'getenforce'], u'start': u'2016-11-07 17:27:45.906818', u'delta': u'0:00:00.002803', u'stderr': u'', u'rc': 0, u'invocation': { u'module_args': { u'creates': None, u'executable': None, u'chdir': None, u'_raw_params': u'getenforce', u'removes': None, u'warn': True, u'_uses_shell': False}}, u'warnings': [] } return out, "" monkeypatch.setattr(Command, 'start', mock_cmd_start) def mock_linux_distribution(): return ["Fedora", "24"] monkeypatch.setattr(platform, 'linux_distribution', mock_linux_distribution) def mock_release(): return "4.6.4-301.fc24.x86_64" monkeypatch.setattr(platform, 'release', mock_release) def mock_node(): return "asdf.example.com" monkeypatch.setattr(platform, 'node', mock_node) os = hi.getNodeOs() os_expected = { "KernelVersion": "4.6.4-301.fc24.x86_64", "SELinuxMode": "Enforcing", "OSVersion": "24", "Name": "Fedora", "FQDN": "asdf.example.com" } > assert os == os_expected E assert {'FQDN': 'cop...n': '24', ...} == {'FQDN': 'asdf...n': '24', ...} E Common items: E {'KernelVersion': '4.6.4-301.fc24.x86_64', E 'Name': 'Fedora', E 'OSVersion': '24', E 'SELinuxMode': u'Enforcing'} E Differing items: E {'FQDN': 'copr-builder-872240044.novalocal'} != {'FQDN': 'asdf.example.com'} E Full diff: E - {'FQDN': 'copr-builder-872240044.novalocal', E + {'FQDN': 'asdf.example.com', E 'KernelVersion': '4.6.4-301.fc24.x86_64', E 'Name': 'Fedora', E 'OSVersion': '24', E - 'SELinuxMode': u'Enforcing'} E ? - E + 'SELinuxMode': 'Enforcing'} tendrl/node_agent/tests/test_pull_hardware_inventory.py:228: AssertionError _____________ Test_pull_hardware_inventory.test_get_node_inventory _____________ self = monkeypatch = <_pytest.monkeypatch.monkeypatch instance at 0x2c9fc20> def test_get_node_inventory(self, monkeypatch): def mock_cmd_start(obj): if obj.attributes["_raw_params"] == "cat /etc/machine-id": out = { u'changed': True, u'end': u'2016-11-07 17:40:56.549754', u'stdout': u'5bb3458a09004b2d9bdadf0705889958', u'cmd': [ u'cat', u'/etc/machine-id'], u'start': u'2016-11-07 17:40:56.547528', u'delta': u'0:00:00.002226', u'stderr': u'', u'rc': 0, u'invocation': { u'module_args': { u'creates': None, u'executable': None, u'chdir': None, u'_raw_params': u'cat /etc/machine-id', u'removes': None, u'warn': True, u'_uses_shell': False } }, u'warnings': [] } else: out = { u'changed': True, u'end': u'2016-11-07 17:40:56.549754', u'stdout': u'e3bf35c1-31e6-421a-bd68-f22ce2274d96', u'cmd': [ u'cat', u'/etc/machine-id'], u'start': u'2016-11-07 17:40:56.547528', u'delta': u'0:00:00.002226', u'stderr': u'', u'rc': 0, u'invocation': { u'module_args': { u'creates': None, u'executable': None, u'chdir': None, u'_raw_params': u'cat /etc/machine-id', u'removes': None, u'warn': True, u'_uses_shell': False } }, u'warnings': [] } return out, "" monkeypatch.setattr(Command, 'start', mock_cmd_start) def mock_getNodeOs(): return { "KernelVersion": "4.6.4-301.fc24.x86_64", "SELinuxMode": "Enforcing", "OSVersion": "24", "Name": "Fedora", "FQDN": "asdf.example.com" } monkeypatch.setattr(hi, 'getNodeOs', mock_getNodeOs) def mock_getNodeMemory(): return { "TotalSize": "19965224 kB", "SwapTotal": "10487804 kB" } monkeypatch.setattr(hi, 'getNodeMemory', mock_getNodeMemory) def mock_getTendrlContext(): return { "sds_name": "gluster", "sds_version": "3.4.5" } monkeypatch.setattr(hi, 'getTendrlContext', mock_getTendrlContext) def mock_getNodeCpu(): return { "Model": "78", "VendorId": "GenuineIntel", "ModelName": "Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz", "Architecture": "x86_64", "CoresPerSocket": "2", "CpuOpMode": "32-bit, 64-bit", "CPUFamily": "6", "CPUs": "4" } monkeypatch.setattr(hi, 'getNodeCpu', mock_getNodeCpu) node_inventory = hi.get_node_inventory() node_inventory_expected = { "node_machine_uuid": "5bb3458a09004b2d9bdadf0705889958", "node_uuid": 'e3bf35c1-31e6-421a-bd68-f22ce2274d96', "os": { "KernelVersion": "4.6.4-301.fc24.x86_64", "SELinuxMode": "Enforcing", "OSVersion": "24", "Name": "Fedora", "FQDN": "asdf.example.com" }, "cpu": { "Model": "78", "VendorId": "GenuineIntel", "ModelName": "Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz", "Architecture": "x86_64", "CoresPerSocket": "2", "CpuOpMode": "32-bit, 64-bit", "CPUFamily": "6", "CPUs": "4" }, "memory": { "TotalSize": "19965224 kB", "SwapTotal": "10487804 kB" }, "tendrl_context": { "sds_name": "gluster", "sds_version": "3.4.5" } } > assert node_inventory == node_inventory_expected E assert {'cpu': {'Arc...d': None, ...} == {'cpu': {'Arch...2274d96', ...} E Detailed information truncated, use "-vv" to show tendrl/node_agent/tests/test_pull_hardware_inventory.py:344: AssertionError ================= 2 failed, 14 passed, 2 error in 0.20 seconds ================= Processing files: tendrl-node-agent-0.0.1-3.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mzNLdB + : + exit 0 + umask 022 + cd /builddir/build/BUILD + cd tendrl-node-agent-0.0.1 + DOCDIR=/builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/share/doc/tendrl-node-agent-0.0.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/share/doc/tendrl-node-agent-0.0.1 + cp -pr README.rst /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/share/doc/tendrl-node-agent-0.0.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.gl99Sm + umask 022 + cd /builddir/build/BUILD + cd tendrl-node-agent-0.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/share/licenses/tendrl-node-agent-0.0.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/share/licenses/tendrl-node-agent-0.0.1 + cp -pr LICENSE /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64/usr/share/licenses/tendrl-node-agent-0.0.1 + exit 0 warning: File listed twice: /usr/lib/python2.7/site-packages/tendrl_node_agent-0.0.1-py2.7.egg-info/PKG-INFO warning: File listed twice: /usr/lib/python2.7/site-packages/tendrl_node_agent-0.0.1-py2.7.egg-info/SOURCES.txt warning: File listed twice: /usr/lib/python2.7/site-packages/tendrl_node_agent-0.0.1-py2.7.egg-info/dependency_links.txt warning: File listed twice: /usr/lib/python2.7/site-packages/tendrl_node_agent-0.0.1-py2.7.egg-info/entry_points.txt warning: File listed twice: /usr/lib/python2.7/site-packages/tendrl_node_agent-0.0.1-py2.7.egg-info/namespace_packages.txt warning: File listed twice: /usr/lib/python2.7/site-packages/tendrl_node_agent-0.0.1-py2.7.egg-info/not-zip-safe warning: File listed twice: /usr/lib/python2.7/site-packages/tendrl_node_agent-0.0.1-py2.7.egg-info/top_level.txt warning: File listed twice: /usr/share/tendrl/node_agent Provides: tendrl-node-agent = 0.0.1-3.el7.centos Requires(interp): /bin/sh /bin/sh /bin/sh 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(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /usr/bin/python python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64 Wrote: /builddir/build/RPMS/tendrl-node-agent-0.0.1-3.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.s0IZRZ + umask 022 + cd /builddir/build/BUILD + cd tendrl-node-agent-0.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tendrl-node-agent-0.0.1-3.el7.centos.x86_64 + exit 0 Child return code was: 0