[ 
https://ovirt-jira.atlassian.net/browse/OVIRT-2422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=37792#comment-37792
 ] 

Gal Ben Haim commented on OVIRT-2422:
-------------------------------------

The cause for the test failure is:


{code:java}
          --== PACKAGES ==--
         
[ INFO  ] Checking for an update for Setup...
[ ERROR ] Yum Cannot queue package ovirt-engine-ui-extensions: Package 
ovirt-engine-ui-extensions cannot be found
[ INFO  ] Yum Performing yum transaction rollback
[ ERROR ] Failed to execute stage 'Environment customization': Package 
ovirt-engine-ui-extensions cannot be found
[ INFO  ] Stage: Clean up
          Log file is located at 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20180809080957-b8elzd.log
[ INFO  ] Generating answer file 
'/var/lib/ovirt-engine/setup/answers/20180809081001-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed
('FATAL Internal error (main): Package ovirt-engine-ui-extensions cannot be 
found',)
{code}

Taken from the junit.xml report 
https://jenkins.ovirt.org/view/oVirt%20system%20tests/job/ovirt-system-tests_manual/3064/testReport/(root)/001_upgrade_engine/test_initialize_engine/

When a test fails, logs are being collected from the VMs, an error was printed 
to screen because the fluentd log was missing, but it's not the reason for the 
job failure.


> ExtractPathNoPathError: scp: /root/fluentd: No such file or directory in OST 
> manual upgrade-from-release
> --------------------------------------------------------------------------------------------------------
>
>                 Key: OVIRT-2422
>                 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2422
>             Project: oVirt - virtualization made easy
>          Issue Type: By-EMAIL
>            Reporter: Greg Sheremeta
>            Assignee: infra
>
> Trying to test an upgrade of 4.2 --> master with custom artifacts,
> https://jenkins.ovirt.org/job/ovirt-engine_master_build-artifacts-on-demand-el7-x86_64/1029/
> "ExtractPathNoPathError: scp: /root/fluentd: No such file or directory"
> https://jenkins.ovirt.org/view/oVirt%20system%20tests/job/ovirt-system-tests_manual/3064/console
> 08:09:46   # Save prefix: Success (in 0:00:00)
> 08:09:46 @ Create prefix internal repo: Success (in 0:02:48)
> 08:09:46 + cd -
> 08:09:46
> /home/jenkins/workspace/ovirt-system-tests_manual/ovirt-system-tests
> 08:09:46 + for scenario_a in '"${test_scenarios_after[@]}"'
> 08:09:46 + echo 'Running test scenario 001_upgrade_engine.py'
> 08:09:46 Running test scenario 001_upgrade_engine.py
> 08:09:46 + env_run_test
> /home/jenkins/workspace/ovirt-system-tests_manual/ovirt-system-tests/upgrade-from-release-suite-master/test-scenarios-after-upgrade/001_upgrade_engine.py
> 08:09:46 + local res=0
> 08:09:46 + cd /dev/shm/ost/deployment-upgrade-from-release-suite-master
> 08:09:46 + lago ovirt runtest
> /home/jenkins/workspace/ovirt-system-tests_manual/ovirt-system-tests/upgrade-from-release-suite-master/test-scenarios-after-upgrade/001_upgrade_engine.py
> 08:09:46 @ Run test: 001_upgrade_engine.py:
> 08:09:46 nose.config: INFO: Ignoring files matching ['^\\.', '^_',
> '^setup\\.py$']
> 08:09:46   # 001_upgrade_engine.test_initialize_engine:
> 08:09:46     * Copy
> /home/jenkins/workspace/ovirt-system-tests_manual/ovirt-system-tests/upgrade-from-release-suite-master/upgrade-engine-answer-file.conf
> to lago-upgrade-from-release-suite-master-engine:/tmp/answer-file-post:
> 08:09:47     * Copy
> /home/jenkins/workspace/ovirt-system-tests_manual/ovirt-system-tests/upgrade-from-release-suite-master/upgrade-engine-answer-file.conf
> to lago-upgrade-from-release-suite-master-engine:/tmp/answer-file-post:
> Success (in 0:00:00)
> 08:10:02     * Collect artifacts:
> 08:10:06       - [Thread-43] lago-upgrade-from-release-suite-master-engine:
> ERROR (in 0:00:04)
> 08:10:06 Error while running thread
> 08:10:06 Traceback (most recent call last):
> 08:10:06   File "/usr/lib/python2.7/site-packages/lago/utils.py", line 58,
> in _ret_via_queue
> 08:10:06     queue.put({'return': func()})
> 08:10:06   File "/usr/lib/python2.7/site-packages/lago/prefix.py", line
> 1524, in _collect_artifacts
> 08:10:06     vm.collect_artifacts(path, ignore_nopath)
> 08:10:06   File "/usr/lib/python2.7/site-packages/lago/plugins/vm.py", line
> 644, in collect_artifacts
> 08:10:06     ignore_nopath=ignore_nopath
> 08:10:06   File "/usr/lib/python2.7/site-packages/lago/plugins/vm.py", line
> 384, in extract_paths
> 08:10:06     return self.provider.extract_paths(paths, *args, **kwargs)
> 08:10:06   File
> "/usr/lib/python2.7/site-packages/lago/providers/libvirt/vm.py", line 398,
> in extract_paths
> 08:10:06     ignore_nopath=ignore_nopath,
> 08:10:06   File "/usr/lib/python2.7/site-packages/lago/plugins/vm.py", line
> 249, in extract_paths
> 08:10:06     self._extract_paths_scp(paths=paths,
> ignore_nopath=ignore_nopath)
> 08:10:06   File "/usr/lib/python2.7/site-packages/lago/plugins/vm.py", line
> 83, in wrapper
> 08:10:06     return func(self, *args, **kwargs)
> 08:10:06   File "/usr/lib/python2.7/site-packages/lago/plugins/vm.py", line
> 279, in _extract_paths_scp
> 08:10:06     raise ExtractPathNoPathError(err.args[0])
> 08:10:06 ExtractPathNoPathError: scp: /root/fluentd: No such file or
> directory
> 08:10:06 Error while running thread
> 08:10:06 Traceback (most recent call last):
> 08:10:06   File "/usr/lib/python2.7/site-packages/lago/utils.py", line 58,
> in _ret_via_queue
> 08:10:06     queue.put({'return': func()})
> 08:10:06   File "/usr/lib/python2.7/site-packages/lago/prefix.py", line
> 1524, in _collect_artifacts
> 08:10:06     vm.collect_artifacts(path, ignore_nopath)
> 08:10:06   File "/usr/lib/python2.7/site-packages/lago/plugins/vm.py", line
> 644, in collect_artifacts
> 08:10:06     ignore_nopath=ignore_nopath
> 08:10:06   File "/usr/lib/python2.7/site-packages/lago/plugins/vm.py", line
> 384, in extract_paths
> 08:10:06     return self.provider.extract_paths(paths, *args, **kwargs)
> 08:10:06   File
> "/usr/lib/python2.7/site-packages/lago/providers/libvirt/vm.py", line 398,
> in extract_paths
> 08:10:06     ignore_nopath=ignore_nopath,
> 08:10:06   File "/usr/lib/python2.7/site-packages/lago/plugins/vm.py", line
> 249, in extract_paths
> 08:10:06     self._extract_paths_scp(paths=paths,
> ignore_nopath=ignore_nopath)
> 08:10:06   File "/usr/lib/python2.7/site-packages/lago/plugins/vm.py", line
> 83, in wrapper
> 08:10:06     return func(self, *args, **kwargs)
> 08:10:06   File "/usr/lib/python2.7/site-packages/lago/plugins/vm.py", line
> 279, in _extract_paths_scp
> 08:10:06     raise ExtractPathNoPathError(err.args[0])
> 08:10:06 ExtractPathNoPathError: scp: /root/fluentd: No such file or
> directory
> 08:10:06     * Collect artifacts: ERROR (in 0:00:04)
> 08:10:06   # 001_upgrade_engine.test_initialize_engine: ERROR (in 0:00:19)
> 08:10:06   # Results located at
> /dev/shm/ost/deployment-upgrade-from-release-suite-master/default/001_upgrade_engine.py.junit.xml
> 08:10:06 @ Run test: 001_upgrade_engine.py: ERROR (in 0:00:19)
> 08:10:06 Error occured, aborting
> 08:10:06 Traceback (most recent call last):
> 08:10:06   File "/usr/lib/python2.7/site-packages/ovirtlago/cmd.py", line
> 383, in do_run
> 08:10:06     self.cli_plugins[args.ovirtverb].do_run(args)
> 08:10:06   File "/usr/lib/python2.7/site-packages/lago/plugins/cli.py",
> line 184, in do_run
> 08:10:06     self._do_run(**vars(args))
> 08:10:06   File "/usr/lib/python2.7/site-packages/lago/utils.py", line 505,
> in wrapper
> 08:10:06     return func(*args, **kwargs)
> 08:10:06   File "/usr/lib/python2.7/site-packages/lago/utils.py", line 516,
> in wrapper
> 08:10:06     return func(*args, prefix=prefix, **kwargs)
> 08:10:06   File "/usr/lib/python2.7/site-packages/ovirtlago/cmd.py", line
> 107, in do_ovirt_runtest
> 08:10:06     raise RuntimeError('Some tests failed')
> 08:10:06 RuntimeError: Some tests failed
> 08:10:06 + res=1
> 08:10:06 + cd -
> 08:10:06
> /home/jenkins/workspace/ovirt-system-tests_manual/ovirt-system-tests
> 08:10:06 + return 1
> 08:10:06 + failed=true
> 08:10:06 + env_collect
> /home/jenkins/workspace/ovirt-system-tests_manual/ovirt-system-tests/test_logs/upgrade-from-release-suite-master/post-001_upgrade_engine.py
> 08:10:06 + local
> tests_out_dir=/home/jenkins/workspace/ovirt-system-tests_manual/ovirt-system-tests/test_logs/upgrade-from-release-suite-master/post-001_upgrade_engine.py
> 08:10:06 + [[ -e
> /home/jenkins/workspace/ovirt-system-tests_manual/ovirt-system-tests/test_logs/upgrade-from-release-suite-master
> ]]
> 08:10:06 + cd
> /dev/shm/ost/deployment-upgrade-from-release-suite-master/current
> 08:10:06 + lago collect --output
> /home/jenkins/workspace/ovirt-system-tests_manual/ovirt-system-tests/test_logs/upgrade-from-release-suite-master/post-001_upgrade_engine.py
> 08:10:07 @ Collect artifacts:
> 08:10:07   # [Thread-1] lago-upgrade-from-release-suite-master-engine:
> 08:10:07   # [Thread-2] lago-upgrade-from-release-suite-master-host-0:
> 08:10:08   # [Thread-2] lago-upgrade-from-release-suite-master-host-0:
> Success (in 0:00:01)
> 08:10:32   # [Thread-1] lago-upgrade-from-release-suite-master-engine:
> Success (in 0:00:25)
> 08:10:32 @ Collect artifacts: Success (in 0:00:25)
> 08:10:32 + cp -a logs
> /home/jenkins/workspace/ovirt-system-tests_manual/ovirt-system-tests/test_logs/upgrade-from-release-suite-master/
> post-001_upgrade_engine.py/lago_logs
> 08:10:32 + cd -
> 08:10:32
> /home/jenkins/workspace/ovirt-system-tests_manual/ovirt-system-tests
> 08:10:32 + true
> 08:10:32 + echo '@@@@ ERROR: Failed running '
> 08:10:32 @@@@ ERROR: Failed running
> -- 
> GREG SHEREMETA
> SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
> Red Hat NA
> <https://www.redhat.com/>
> gsher...@redhat.com    IRC: gshereme
> <https://red.ht/sig>



--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100090)
_______________________________________________
Infra mailing list -- infra@ovirt.org
To unsubscribe send an email to infra-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/infra@ovirt.org/message/IXFXCNQT5Z4VYEPLEW2Z46HM7WS3T3SD/

Reply via email to