Bug 4017

Summary: crosstap and stap fail in core-image-sato-sdk (danny)
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Stoicescu Cornel <corneliux.stoicescu>
Component: meta-yoctoAssignee: Richard Purdie <richard.purdie>
Status: VERIFIED NOTABUG QA Contact:
Severity: normal    
Priority: Undecided CC: poky.bs.watcher, poky.watcher
Version: 1.3   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Stoicescu Cornel 2013-03-12 10:05:26 UTC
branch: danny
commit: 955827af15f611189c66850fd077de344e1285c3

1.Create the trace_open.stp script as follows:
 

probe syscall.open
{
        printf ("%s(%d) open (%s)\n", execname(), pid(), argstr)
}

2.Bitbake a core-image-sato-sdk image and start it under qemu.
3.Make sure that the ssh service is started on the Qemu machine.
4.From the host machine poky build_dir, run "crosstap root@192.168.7.2 trace_open.stp".

The script should successfully connect to the qemu machine and there should be presented a list of services(pid, process name) which run on the qemu machine.


Output:

[stefans@firebird yotta]$ crosstap root@192.168.7.2 trace_open.stp 
~/yocto/builds/yotta ~/yocto/builds/yotta
~/yocto/builds/yotta
Checking "/lib/modules/3.4.24-yocto-standard/build/.config" failed with error: No such file or directory
[stefans@firebird yotta]$ 

NOTE: This issue was fixed in master: bug 3756
Comment 1 Stoicescu Cornel 2013-03-12 11:24:24 UTC
This issue is not present when building the image without sstate. Test Case updated: https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=319

Closing as NOTABUG.
Comment 2 Stoicescu Cornel 2014-01-14 10:19:08 UTC
Setting to Verified.