hey all,

if i build a copy of the gate from 2011.03.11 and run the test suite on
my laptop i get a test case failure in:

        TestPkgdepBasics.test_bug_13059

is anyone else seeing this?  i've attached a verbose log from running
this test case.

the failure occurs because pkgdepend is trying to access the following
file on my machine:
        /usr/lib/python2.5/vendor-packages/pkg/client/indexer.py

and this file doesn't exist.  i was thinking that perhaps this was a
recent change in snv_161, but looking at older BEs that doesn't appear
to be the case.  this file has been gone for a while.  is this test case
just broken?

ed
# Loading api tests:
#         t_action t_api t_api_info t_api_list t_api_search t_bootenv 
#         t_catalog t_client t_config t_dependencies t_elf t_file_manager 
#         t_fmri t_history t_imageconfig t_indexer t_manifest t_misc t_p5i 
#         t_p5p t_pkg_api_install t_pkglint t_pkgtarfile t_plat t_publisher 
#         t_solver t_unix_usergrp t_variant t_version 
#
# Loading cli tests:
#         t_actuators t_change_facet t_change_variant t_colliding_links t_fix 
#         t_lock t_pkg_R_option t_pkg_avoid t_pkg_contents t_pkg_depotd 
#         t_pkg_help t_pkg_history t_pkg_image_create t_pkg_image_update 
#         t_pkg_info t_pkg_install t_pkg_intent t_pkg_list t_pkg_property 
#         t_pkg_publisher t_pkg_rebuild_index t_pkg_refresh t_pkg_revert 
#         t_pkg_search t_pkg_temp_sources t_pkg_uninstall t_pkg_verify 
#         t_pkg_version t_pkgdep t_pkgdep_resolve t_pkgfmt t_pkglint 
#         t_pkgmerge t_pkgmogrify t_pkgrecv t_pkgrepo t_pkgsend t_pkgsign 
#         t_publish_api t_util_merge t_util_update_file_layout t_variants 
#
# Accessibility not enabled, GUI tests disabled.
# logging to /tmp/tmpSvtiAt.pkg-test.log
cli.t_pkgdep.py TestPkgdepBasics.test_bug_13059                    MISMATCH 
FAIL (expected: pass)# 
# .---Failure Information-------------------------------
# | ___________________________________________________________________________
# | Start:   cli.t_pkgdep.py TestPkgdepBasics.test_bug_13059
# |   Test that python modules written for a version of python
# |   other than the current system version are analyzed correctly.
# | ___________________________________________________________________________
# | setup: cli.t_pkgdep.TestPkgdepBasics.test_bug_13059
# | creating 1 repo(s)
# | publishers: ['test']
# | debug_features: []
# | prep_depot: set depot port 12001
# | prep_depot: set depot repository /tmp/ips.test.453169/repo_contents1
# | prep_depot: set depot log to /tmp/ips.test.453169/depot_logfile1
# | created repository /tmp/ips.test.453169/repo_contents1
# | image_destroy /tmp/ips.test.453169/image
# | $ pkg image-create -F -p \
# |     test=file:///tmp/ips.test.453169/repo_contents1 \
# |     /tmp/ips.test.453169/image
# | $ echo 'file NOHASH group=bin mode=0755 owner=root \
# |     path=usr/lib/python2.4/vendor-packages/pkg/client/indexer.py' > \
# |     /tmp/ips.test.453169/manifests/mfst.r2YsV2
# | $ echo '#!/usr/bin/python [+5 lines...]' > \
# |     
/tmp/ips.test.453169/proto/usr/lib/python2.4/vendor-packages/pkg/client/indexer.py
# | $ /export/ws/pkg.20110311.0/proto/root_i386/usr/bin/pkgdepend generate \
# |     -m -d /tmp/ips.test.453169/proto \
# |     /tmp/ips.test.453169/manifests/mfst.r2YsV2
# | file NOHASH group=bin mode=0755 owner=root 
path=usr/lib/python2.4/vendor-packages/pkg/client/indexer.py
# | depend fmri=__TBD pkg.debug.depend.file=indexer.py 
pkg.debug.depend.file=indexer.pyc pkg.debug.depend.file=indexer.pyo 
pkg.debug.depend.file=indexer.so pkg.debug.depend.file=indexer/__init__.py 
pkg.debug.depend.file=indexermodule.so 
pkg.debug.depend.path=export/ws/pkg.20110311.0/src/tests/pkg 
pkg.debug.depend.path=usr/lib/python2.4/lib-dynload/pkg 
pkg.debug.depend.path=usr/lib/python2.4/lib-tk/pkg 
pkg.debug.depend.path=usr/lib/python2.4/pkg 
pkg.debug.depend.path=usr/lib/python2.4/plat-sunos5/pkg 
pkg.debug.depend.path=usr/lib/python2.4/site-packages/pkg 
pkg.debug.depend.path=usr/lib/python2.4/vendor-packages/pkg 
pkg.debug.depend.path=usr/lib/python24.zip/pkg 
pkg.debug.depend.reason=usr/lib/python2.4/vendor-packages/pkg/client/indexer.py 
pkg.debug.depend.type=python type=require
# | depend fmri=__TBD pkg.debug.depend.file=search_storage.py 
pkg.debug.depend.file=search_storage.pyc 
pkg.debug.depend.file=search_storage.pyo 
pkg.debug.depend.file=search_storage.so 
pkg.debug.depend.file=search_storage/__init__.py 
pkg.debug.depend.file=search_storagemodule.so 
pkg.debug.depend.path=export/ws/pkg.20110311.0/src/tests/pkg 
pkg.debug.depend.path=usr/lib/python2.4/lib-dynload/pkg 
pkg.debug.depend.path=usr/lib/python2.4/lib-tk/pkg 
pkg.debug.depend.path=usr/lib/python2.4/pkg 
pkg.debug.depend.path=usr/lib/python2.4/plat-sunos5/pkg 
pkg.debug.depend.path=usr/lib/python2.4/site-packages/pkg 
pkg.debug.depend.path=usr/lib/python2.4/vendor-packages/pkg 
pkg.debug.depend.path=usr/lib/python24.zip/pkg 
pkg.debug.depend.reason=usr/lib/python2.4/vendor-packages/pkg/client/indexer.py 
pkg.debug.depend.type=python type=require
# | depend fmri=__TBD pkg.debug.depend.file=python 
pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/lib/python2.4/vendor-packages/pkg/client/indexer.py 
pkg.debug.depend.type=script type=require
# | depend fmri=__TBD pkg.debug.depend.file=pkg/__init__.py 
pkg.debug.depend.path=export/ws/pkg.20110311.0/src/tests 
pkg.debug.depend.path=usr/lib/python2.4 
pkg.debug.depend.path=usr/lib/python2.4/lib-dynload 
pkg.debug.depend.path=usr/lib/python2.4/lib-tk 
pkg.debug.depend.path=usr/lib/python2.4/plat-sunos5 
pkg.debug.depend.path=usr/lib/python2.4/site-packages 
pkg.debug.depend.path=usr/lib/python2.4/vendor-packages 
pkg.debug.depend.path=usr/lib/python24.zip 
pkg.debug.depend.reason=usr/lib/python2.4/vendor-packages/pkg/client/indexer.py 
pkg.debug.depend.type=python type=require
# | depend fmri=__TBD pkg.debug.depend.file=misc.py 
pkg.debug.depend.file=misc.pyc pkg.debug.depend.file=misc.pyo 
pkg.debug.depend.file=misc.so pkg.debug.depend.file=misc/__init__.py 
pkg.debug.depend.file=miscmodule.so 
pkg.debug.depend.path=export/ws/pkg.20110311.0/src/tests/pkg 
pkg.debug.depend.path=usr/lib/python2.4/lib-dynload/pkg 
pkg.debug.depend.path=usr/lib/python2.4/lib-tk/pkg 
pkg.debug.depend.path=usr/lib/python2.4/pkg 
pkg.debug.depend.path=usr/lib/python2.4/plat-sunos5/pkg 
pkg.debug.depend.path=usr/lib/python2.4/site-packages/pkg 
pkg.debug.depend.path=usr/lib/python2.4/vendor-packages/pkg 
pkg.debug.depend.path=usr/lib/python24.zip/pkg 
pkg.debug.depend.reason=usr/lib/python2.4/vendor-packages/pkg/client/indexer.py 
pkg.debug.depend.type=python type=require
# | ver_paths is ['/export/ws/pkg.20110311.0/src/tests', '/usr/lib/python2.4', 
'/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/lib-tk', 
'/usr/lib/python2.4/plat-sunos5', '/usr/lib/python2.4/site-packages', 
'/usr/lib/python2.4/vendor-packages', '/usr/lib/python24.zip']
# | $ echo 'file NOHASH group=bin mode=0755 owner=root \
# |     path=usr/lib/python2.4/vendor-packages/pkg/client/indexer.py [+5 \
# |     lines...]' > /tmp/ips.test.453169/manifests/mfst.MEaDZD
# | $ echo 'file NOHASH group=bin mode=0444 owner=root \
# |     path=usr/lib/python2.4/vendor-packages/pkg/indexer.py [+4 lines...]' \
# |     > /tmp/ips.test.453169/manifests/mfst.jUk9s8
# | $ /export/ws/pkg.20110311.0/proto/root_i386/usr/bin/pkgdepend -R \
# |     /tmp/ips.test.453169/image resolve -v \
# |     /tmp/ips.test.453169/manifests/mfst.MEaDZD \
# |     /tmp/ips.test.453169/manifests/mfst.jUk9s8
# | $ echo 'file NOHASH group=bin mode=0755 owner=root \
# |     path=usr/lib/python2.5/vendor-packages/pkg/client/indexer.py' > \
# |     /tmp/ips.test.453169/manifests/mfst.JZvUVY
# | $ echo '#!/usr/bin/python [+5 lines...]' > \
# |     
/tmp/ips.test.453169/proto/usr/lib/python2.5/vendor-packages/pkg/client/indexer.py
# | $ /export/ws/pkg.20110311.0/proto/root_i386/usr/bin/pkgdepend generate \
# |     -m -d /tmp/ips.test.453169/proto \
# |     /tmp/ips.test.453169/manifests/mfst.JZvUVY
# | file NOHASH group=bin mode=0755 owner=root 
path=usr/lib/python2.5/vendor-packages/pkg/client/indexer.py
# | depend fmri=__TBD pkg.debug.depend.file=python 
pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/lib/python2.5/vendor-packages/pkg/client/indexer.py 
pkg.debug.depend.type=script type=require
# | [exited 1, expected 0]
# | The command python2.5 
/export/ws/pkg.20110311.0/proto/root_i386/usr/lib/python2.6/vendor-packages/pkg/flavor/depthlimitedmf25.py
 /tmp/ips.test.453169/proto 
/tmp/ips.test.453169/proto/usr/lib/python2.5/vendor-packages/pkg/client/indexer.py
# | exited with return code None and this message:
# | [Errno 2] No such file or directory
# | Traceback (most recent call last):
# |   File "./pkg5unittest.py", line 445, in run
# |     testMethod()
# |   File "./api/../cli/t_pkgdep.py", line 1149, in test_bug_13059
# |     (self.test_proto_dir, tp))
# |   File "./pkg5unittest.py", line 1473, in pkgdepend_generate
# |     return self.cmdline_run(cmdline, exit=exit, comment=comment)
# |   File "./pkg5unittest.py", line 276, in cmdline_run
# |     comment)
# | UnexpectedExitCodeException: 
# |   Invoked:  /export/ws/pkg.20110311.0/proto/root_i386/usr/bin/pkgdepend 
generate -m -d /tmp/ips.test.453169/proto 
/tmp/ips.test.453169/manifests/mfst.JZvUVY
# |   Expected exit status: [0].  Got: 1.  Output Follows:
# | ,---------------------------------------------------------------------
# | | $  /export/ws/pkg.20110311.0/proto/root_i386/usr/bin/pkgdepend generate 
-m -d /tmp/ips.test.453169/proto /tmp/ips.test.453169/manifests/mfst.JZvUVY
# | | file NOHASH group=bin mode=0755 owner=root 
path=usr/lib/python2.5/vendor-packages/pkg/client/indexer.py
# | | depend fmri=__TBD pkg.debug.depend.file=python 
pkg.debug.depend.path=usr/bin 
pkg.debug.depend.reason=usr/lib/python2.5/vendor-packages/pkg/client/indexer.py 
pkg.debug.depend.type=script type=require
# | | The command python2.5 
/export/ws/pkg.20110311.0/proto/root_i386/usr/lib/python2.6/vendor-packages/pkg/flavor/depthlimitedmf25.py
 /tmp/ips.test.453169/proto 
/tmp/ips.test.453169/proto/usr/lib/python2.5/vendor-packages/pkg/client/indexer.py
# | | exited with return code None and this message:
# | | [Errno 2] No such file or directory
# | | 
# | `---------------------------------------------------------------------
# `-----------------------------------------------------


# Ran 1 test in 1.569s

FAILED (successes=0, failures=1, errors=0, mismatches=1)

======================================================================
BASELINE MISMATCH: The following results didn't match the baseline.
----------------------------------------------------------------------
cli.t_pkgdep.py TestPkgdepBasics.test_bug_13059: fail
----------------------------------------------------------------------

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to