Skip to contentSkip to conversation

Error running testimage under the autobuilder with pyro branch

DISCUSSION Alex Lennon 2 participants 3 messages Jan 28, 2018 – Jan 29, 2018

lore
Share & tools
lore
#0 lore raw

Hi all,

I've got some simple automated testing going to test meta-mono core-image-mono builds.

It just bitbakes the image then runs the testimage command

This works fine for master and rocko branches, but I get a failure for pyro

    Exception: TypeError: Test oeRuntimeTest is not derived from OERuntimeTestCase

The rest of the log is here: https://pastebin.com/NRVLLtsF

Can anybody point me towards what might have changed between branches / where I'm going wrong?

Thanks,

Alex

#1 lore raw
Quoted 6 lines · Alex Lennon

Hi all,

I've got some simple automated testing going to test meta-mono core-image-mono builds.

It just bitbakes the image then runs the testimage command

Quoted 8 lines

This works fine for master and rocko branches, but I get a failure for pyro

    Exception: TypeError: Test oeRuntimeTest is not derived from
OERuntimeTestCase

The rest of the log is here: https://pastebin.com/NRVLLtsF

Can anybody point me towards what might have changed between branches / where I'm going wrong?

This has been refactored between rocko and pyro. You need to create a separate pyro branch for your tests, check how those look in pyro oe-core, and modify them accoridngly.

Alex

#2 lore raw
Quoted 11 lines · Alexander Kanavin
Quoted 10 lines · Alex Lennon

Hi all,

I've got some simple automated testing going to test meta-mono core-image-mono builds.

It just bitbakes the image then runs the testimage command

This works fine for master and rocko branches, but I get a failure for pyro

     Exception: TypeError: Test oeRuntimeTest is not derived from OERuntimeTestCase

Quoted 7 lines
Quoted 3 lines

The rest of the log is here: https://pastebin.com/NRVLLtsF

Can anybody point me towards what might have changed between branches / where I'm going wrong?

This has been refactored between rocko and pyro. You need to create a separate pyro branch for your tests, check how those look in pyro oe-core, and modify them accoridngly.

Alex

OK - thanks for that Alex.

Cheers,

Alex