All of lore.kernel.org
 help / color / mirror / Atom feed
* QA Issue: sanity test failed issue
@ 2009-03-09  6:31 yajin zhou
  2009-03-09  9:19 ` yajin zhou
  2009-03-09 12:42 ` GNUtoo
  0 siblings, 2 replies; 6+ messages in thread
From: yajin zhou @ 2009-03-09  6:31 UTC (permalink / raw)
  To: openembedded-devel

Hi everyone,

I use OE to build gpe-image for mipsel target. Everything goes OK except
some 'strip' problems. However I make some changes to the bb files to make
the build going on.

But at last I meet a sanity test failed issue and I do not know how to fix
it. I search it in google and it seems some one else has met the same
problem. But I do not find the way to solve this problem. Following is the
building log. Can anyone tell me how to solve this issue or give me some the
clue to debug it.  Thanks very much.


NOTE: Running task 4925 of 4927 (ID: 11,
/home/yajin/OE/openembedded/packages/images/gpe-

image.bb, do_qa_staging)
NOTE: package gpe-image-1.0: started
NOTE: package gpe-image-1.0-r0: task do_qa_staging: started
NOTE: QA checking staging
ERROR: QA Issue: libncurses.la failed sanity test (workdir) in path

/home/yajin/OE/angstrom-stable//staging/mipsel-angstrom-linux/usr/lib
ERROR: QA Issue: libmenu.la failed sanity test (workdir) in path
/home/yajin/OE/angstrom-

stable//staging/mipsel-angstrom-linux/usr/lib
ERROR: QA Issue: libpanel.la failed sanity test (workdir) in path
/home/yajin/OE/angstrom

-stable//staging/mipsel-angstrom-linux/usr/lib
ERROR: QA Issue: libform.la failed sanity test (workdir) in path
/home/yajin/OE/angstrom-

stable//staging/mipsel-angstrom-linux/usr/lib
ERROR: QA staging was broken by the package built above
ERROR: Error in executing: /home/yajin/OE/openembedded/packages/images/
gpe-image.bb
ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
ERROR: Printing the environment of the function
ERROR: Build of
/home/yajin/OE/openembedded/packages/images/gpe-image.bbdo_qa_staging

failed
ERROR: Task 11 (/home/yajin/OE/openembedded/packages/images/gpe-image.bb,
do_qa_staging)

failed
NOTE: Tasks Summary: Attempted 4924 tasks of which 4924 didn't need to be
rerun and 1

failed.
ERROR: '/home/yajin/OE/openembedded/packages/images/gpe-image.bb' failed
NOTE: build 200903091051: completed


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: QA Issue: sanity test failed issue
  2009-03-09  6:31 QA Issue: sanity test failed issue yajin zhou
@ 2009-03-09  9:19 ` yajin zhou
  2009-03-09 12:42 ` GNUtoo
  1 sibling, 0 replies; 6+ messages in thread
From: yajin zhou @ 2009-03-09  9:19 UTC (permalink / raw)
  To: openembedded-devel

I find the error information in gpe-image-1.0-r0/temp/log.qa_package:

.la contains reference to the workdir, staging,
/staging/mipsel-angstrom-linux/usr/lib/libncurses.la
.la contains reference to the workdir, staging,
/staging/mipsel-angstrom-linux/usr/lib/libmenu.la

The bug 4348(http://bugs.openembedded.net/show_bug.cgi?id=4348) says this
error does not effect the software built. So I can omit this error although
it sounds strange to do so......

-- 
yajin

http://vm-kernel.org

On Mon, Mar 9, 2009 at 2:31 PM, yajin zhou <yajinzhou@vm-kernel.org> wrote:

> Hi everyone,
>
> I use OE to build gpe-image for mipsel target. Everything goes OK except
> some 'strip' problems. However I make some changes to the bb files to make
> the build going on.
>
> But at last I meet a sanity test failed issue and I do not know how to fix
> it. I search it in google and it seems some one else has met the same
> problem. But I do not find the way to solve this problem. Following is the
> building log. Can anyone tell me how to solve this issue or give me some the
> clue to debug it.  Thanks very much.
>
>
> NOTE: Running task 4925 of 4927 (ID: 11,
> /home/yajin/OE/openembedded/packages/images/gpe-
>
> image.bb, do_qa_staging)
> NOTE: package gpe-image-1.0: started
> NOTE: package gpe-image-1.0-r0: task do_qa_staging: started
> NOTE: QA checking staging
> ERROR: QA Issue: libncurses.la failed sanity test (workdir) in path
>
> /home/yajin/OE/angstrom-stable//staging/mipsel-angstrom-linux/usr/lib
> ERROR: QA Issue: libmenu.la failed sanity test (workdir) in path
> /home/yajin/OE/angstrom-
>
> stable//staging/mipsel-angstrom-linux/usr/lib
> ERROR: QA Issue: libpanel.la failed sanity test (workdir) in path
> /home/yajin/OE/angstrom
>
> -stable//staging/mipsel-angstrom-linux/usr/lib
> ERROR: QA Issue: libform.la failed sanity test (workdir) in path
> /home/yajin/OE/angstrom-
>
> stable//staging/mipsel-angstrom-linux/usr/lib
> ERROR: QA staging was broken by the package built above
> ERROR: Error in executing: /home/yajin/OE/openembedded/packages/images/
> gpe-image.bb
> ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
> ERROR: Printing the environment of the function
> ERROR: Build of /home/yajin/OE/openembedded/packages/images/gpe-image.bbdo_qa_staging
>
> failed
> ERROR: Task 11 (/home/yajin/OE/openembedded/packages/images/gpe-image.bb,
> do_qa_staging)
>
> failed
> NOTE: Tasks Summary: Attempted 4924 tasks of which 4924 didn't need to be
> rerun and 1
>
> failed.
> ERROR: '/home/yajin/OE/openembedded/packages/images/gpe-image.bb' failed
> NOTE: build 200903091051: completed
>
>
>
>
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: QA Issue: sanity test failed issue
  2009-03-09  6:31 QA Issue: sanity test failed issue yajin zhou
  2009-03-09  9:19 ` yajin zhou
@ 2009-03-09 12:42 ` GNUtoo
  2009-03-10  1:03   ` yajin zhou
  1 sibling, 1 reply; 6+ messages in thread
From: GNUtoo @ 2009-03-09 12:42 UTC (permalink / raw)
  To: openembedded-devel

On Mon, 2009-03-09 at 14:31 +0800, yajin zhou wrote:
> Hi everyone,
> 
> I use OE to build gpe-image for mipsel target. Everything goes OK except
> some 'strip' problems. However I make some changes to the bb files to make
> the build going on.
> 
> But at last I meet a sanity test failed issue and I do not know how to fix
> it. I search it in google and it seems some one else has met the same
> problem. But I do not find the way to solve this problem. Following is the
> building log. Can anyone tell me how to solve this issue or give me some the
> clue to debug it.  Thanks very much.
> 
> 
> NOTE: Running task 4925 of 4927 (ID: 11,
> /home/yajin/OE/openembedded/packages/images/gpe-
> 
> image.bb, do_qa_staging)
> NOTE: package gpe-image-1.0: started
> NOTE: package gpe-image-1.0-r0: task do_qa_staging: started
> NOTE: QA checking staging
> ERROR: QA Issue: libncurses.la failed sanity test (workdir) in path
> 
> /home/yajin/OE/angstrom-stable//staging/mipsel-angstrom-linux/usr/lib
> ERROR: QA Issue: libmenu.la failed sanity test (workdir) in path
> /home/yajin/OE/angstrom-
> 
> stable//staging/mipsel-angstrom-linux/usr/lib
> ERROR: QA Issue: libpanel.la failed sanity test (workdir) in path
> /home/yajin/OE/angstrom
> 
> -stable//staging/mipsel-angstrom-linux/usr/lib
> ERROR: QA Issue: libform.la failed sanity test (workdir) in path
> /home/yajin/OE/angstrom-
> 
> stable//staging/mipsel-angstrom-linux/usr/lib
> ERROR: QA staging was broken by the package built above
> ERROR: Error in executing: /home/yajin/OE/openembedded/packages/images/
> gpe-image.bb
> ERROR: Exception:<type 'exceptions.SystemExit'> Message:1
> ERROR: Printing the environment of the function
> ERROR: Build of
> /home/yajin/OE/openembedded/packages/images/gpe-image.bbdo_qa_staging
> 
> failed
> ERROR: Task 11 (/home/yajin/OE/openembedded/packages/images/gpe-image.bb,
> do_qa_staging)
> 
> failed
> NOTE: Tasks Summary: Attempted 4924 tasks of which 4924 didn't need to be
> rerun and 1
> 
> failed.
> ERROR: '/home/yajin/OE/openembedded/packages/images/gpe-image.bb' failed
> NOTE: build 200903091051: completed
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
I had it once:
The cause was that the TMPDIR that wasn't setup correctly:
I had:
TMPDIR = ${HOME}/oetmp/
instead of:
TMPDIR = ${HOME}/oetmp

the last / caused the path of something into the TMPDIR to be:
${HOME}/oetmp//work/etc...
the doubble slash prevented a regular expression from working.
The regular expression in question was changing the content of the .la
files(libtool archive).
And so the .la content were not changed.
And that triggered the QA problem because the paths inside the .la files
weren't changed(they were relative to the build directory instead of
the / path if I remember well)

Denis.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: QA Issue: sanity test failed issue
  2009-03-09 12:42 ` GNUtoo
@ 2009-03-10  1:03   ` yajin zhou
  2009-03-10 14:35     ` Richard Purdie
  0 siblings, 1 reply; 6+ messages in thread
From: yajin zhou @ 2009-03-10  1:03 UTC (permalink / raw)
  To: openembedded-devel

Thanks very much.
I check the do_stage log of ncurses and find the problem is caused by the
'/' in TMPDIR. It will confuse the sed. So one tip of using OE: do NOT add
'/' to your TMPDIR.

+ sed -e 's/^installed=yes$/installed=no/' -e
'/^dependency_libs=/s,/home/yajin/OE/angstrom-stable//work/mipsel-angstrom-linux/ncurses-5.4-r17[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),/home/yajin/OE/angstrom-stable//staging/mipsel-angstrom-linux/usr/lib/\1,g'
-e
'/^dependency_libs=/s,\([[:space:]'\'']\)/usr/lib,\1/home/yajin/OE/angstrom-stable//staging/mipsel-angstrom-linux/usr/lib,g'
-i
/home/yajin/OE/angstrom-stable//work/mipsel-angstrom-linux/ncurses-5.4-r17/temp-staging//usr/lib/./
libncurses.la



On Mon, Mar 9, 2009 at 8:42 PM, GNUtoo <GNUtoo@no-log.org> wrote:

> I had it once:
> The cause was that the TMPDIR that wasn't setup correctly:
> I had:
> TMPDIR = ${HOME}/oetmp/
> instead of:
> TMPDIR = ${HOME}/oetmp
>
> the last / caused the path of something into the TMPDIR to be:
> ${HOME}/oetmp//work/etc...
> the doubble slash prevented a regular expression from working.
> The regular expression in question was changing the content of the .la
> files(libtool archive).
> And so the .la content were not changed.
> And that triggered the QA problem because the paths inside the .la files
> weren't changed(they were relative to the build directory instead of
> the / path if I remember well)
>
> Denis.
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
yajin

http://vm-kernel.org


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: QA Issue: sanity test failed issue
  2009-03-10  1:03   ` yajin zhou
@ 2009-03-10 14:35     ` Richard Purdie
  2009-03-10 18:21       ` Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Purdie @ 2009-03-10 14:35 UTC (permalink / raw)
  To: openembedded-devel

On Tue, 2009-03-10 at 09:03 +0800, yajin zhou wrote:
> Thanks very much.
> I check the do_stage log of ncurses and find the problem is caused by the
> '/' in TMPDIR. It will confuse the sed. So one tip of using OE: do NOT add
> '/' to your TMPDIR.

A check for that should be added to sanity.bbclass...

Cheers,

Richard




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: QA Issue: sanity test failed issue
  2009-03-10 14:35     ` Richard Purdie
@ 2009-03-10 18:21       ` Khem Raj
  0 siblings, 0 replies; 6+ messages in thread
From: Khem Raj @ 2009-03-10 18:21 UTC (permalink / raw)
  To: openembedded-devel; +Cc: openembedded-devel

On Tue, Mar 10, 2009 at 7:35 AM, Richard Purdie <rpurdie@rpsys.net> wrote:
> On Tue, 2009-03-10 at 09:03 +0800, yajin zhou wrote:
>> Thanks very much.
>> I check the do_stage log of ncurses and find the problem is caused by the
>> '/' in TMPDIR. It will confuse the sed. So one tip of using OE: do NOT add
>> '/' to your TMPDIR.

I posted a patch touching this area. Can you retry with this patch and
see if that helps.

>
> A check for that should be added to sanity.bbclass...
>
> Cheers,
>
> Richard
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-03-10 18:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-09  6:31 QA Issue: sanity test failed issue yajin zhou
2009-03-09  9:19 ` yajin zhou
2009-03-09 12:42 ` GNUtoo
2009-03-10  1:03   ` yajin zhou
2009-03-10 14:35     ` Richard Purdie
2009-03-10 18:21       ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.