Bug 11221 - pTest: various quilt test cases are failing
Summary: pTest: various quilt test cases are failing
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.3 M4
Assignee: Jussi Kukkonen
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-03-22 20:24 UTC by Jose Perez C
Modified: 2017-04-06 12:10 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Perez C 2017-03-22 20:24:22 UTC
Commit: 6e20b31d5d17133e0fca086e12a0ad06ab5c4cc8 
Image: http://autobuilder.yoctoproject.org/pub/releases/yocto-2.3_M3.rc1/machines/genericx86-64/core-image-sato-sdk-ptest-genericx86-64.hddimg
HW: NUC6 

----- Steps ----

1. Download pTest image from autobuilder( you can find core-image-sato-sdk image in pTest directory)
* we test it on NUC with genericx86-64
2. Install the image on DUT (using legacy boot)
3. Boot the image
4. In command line type
   $ ptest-runner > ptest.log 

EXPECTED RESULT

 All quilt test cases should be PASS 

ACTUAL RESULT 

FAIL:annotate.test
FAIL:auto-refresh.test
FAIL:colon-in-patch-name.test
FAIL:comments.test
FAIL:conflicts.test
FAIL:create-delete.test
FAIL:dir-a-b.test
FAIL:dotglob.test
FAIL:edit.test
FAIL:empty-files.test
FAIL:example1.test
FAIL:failbackup.test
FAIL:failpop.test
FAIL:hard-linked-patch.test
FAIL:header.test
FAIL:import.test
FAIL:import2.test
FAIL:new.test
FAIL:nolink.test
FAIL:null-bug.test
FAIL:one.test
FAIL:patch-wrapper.test
FAIL:perms.test
FAIL:refresh-z.test
FAIL:refresh.test
FAIL:refresh_patch_order.test
FAIL:remove-trailing-ws.test
FAIL:rename.test
FAIL:revert.test
FAIL:snapshot.test
FAIL:snapshot2.test
FAIL:sort.test
FAIL:space-in-filenames.test
FAIL:subdir.test
FAIL:symlink.test
FAIL:three.test
FAIL:trailing-ws.test
FAIL:two.test            


NOTE: full lg can be downloaded from here 
https://wiki.yoctoproject.org/wiki/images/c/ce/Ptest_2.3_M3_rc1.txt
Comment 1 Jussi Kukkonen 2017-04-06 12:10:10 UTC
commit e908ffe3cddd767cc1df4803e5ac8aed9f369bb1
Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
Date:   Thu Mar 30 19:49:28 2017 +0300

    quilt: Fix paths for patch and perl
    
    Currently some shebang lines end up as
        #! /usr/bin/env perl -w
    env does not like the argument. Also the current sed to insert env
    does not cover the copies ptests use. Fix these issues by:
     - using --with-perl to insert "env"
     - Replacing "-w" in shebang lines with a new "use warning;" line
    
    Remove a EXTRA_OECONF_append_class_target from the native recipe.
    Don't overwrite EXTRA_OECONF in native: the values should be correct
    for native as well.
    
    --with-patch is used within the gnu patch wrapper only: before this
    commit the wrapper contained a (build host) path to native patch.
    
    Also tweak one test so busybox mv output is accepted.
    
    All ptests should now pass: Fixes [YOCTO #11221].
    
    (From OE-Core rev: 4b667d268fe410a21cacaecd1b5e3bfbbe7d53d8)
    
    Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
    Signed-off-by: Ross Burton <ross.burton@intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>