Project

General

Profile

action #19208

[qam] php5_ * tests are too dependent on test order

Added by osukup about 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2017-05-17
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

LAMP tests are too dependend on correct test order and PASSED state of test before , so if one test fail , openQA restores VM from last mnilestone and all prepared configs + installed packages are gone --> Fail for next dependent test

see :

3:32:16.3359 64068 <<< testapi::wait_serial(timeout=90, regexp=qr/(?:_shae-\d+-)/)
03:32:18.4099 64068 >>> testapi::wait_serial: (?:_shae-\d+-): ok
03:32:18.4101 64068 <<< testapi::upload_logs(file='/tmp/full_journal.log')
03:32:18.4103 64068 <<< testapi::assert_script_run(cmd='curl --form upload=@/tmp/full_journal.log --form upname=php5_mysql-full_journal.log http://10.160.1.18:20163/qUqzFyP6PKMR8p1_/uploadlog/full_journal.log', wait=90, fail_message=undef)
03:32:18.4104 64068 <<< testapi::type_string(string='curl --form upload=@/tmp/full_journal.log --form upname=php5_mysql-full_journal.log http://10.160.1.18:20163/qUqzFyP6PKMR8p1_/uploadlog/full_journal.log', max_interval=250, wait_screen_changes=0)
03:32:22.1265 64068 <<< testapi::type_string(string=' ; echo bWMDT-$?- > /dev/ttyS0
', max_interval=250, wait_screen_changes=0)
03:32:22.8853 64068 <<< testapi::wait_serial(timeout=90, regexp=qr/(?:bWMDT-\d+-)/)
03:32:25.9809 64068 >>> testapi::wait_serial: (?:bWMDT-\d+-): ok
03:32:25.9819 64068 Loading a VM snapshot lastgood
03:32:28.0432 64070 EVENT {"timestamp":{"seconds":1494990039,"microseconds":309708},"event":"NIC_RX_FILTER_CHANGED","data":{"path":"/machine/peripheral-anon/device[0]/virtio-backend"}}
03:32:28.0433 64070 EVENT {"timestamp":{"microseconds":917441,"seconds":1494990877},"event":"RESET"}
03:32:28.0434 64070 EVENT {"timestamp":{"seconds":1494990877,"microseconds":927941},"event":"RESET"}
03:32:28.0434 64070 EVENT {"timestamp":{"microseconds":56249,"seconds":1494990898},"event":"STOP"}
03:32:28.0435 64070 EVENT {"event":"RESUME","timestamp":{"microseconds":8309,"seconds":1494990901}}


Related issues

Related to openQA Tests - action #19382: [opensuse][leap]test fails in php5_mysql, not returning expected answer from webserverRejected2017-05-26

Related to openQA Tests - action #19384: test fails in php7_mysqlRejected2017-05-26

Related to openQA Tests - action #19336: [qam] test fails in php5_postgresql94Resolved2017-05-24

History

#1 Updated by osukup about 5 years ago

  • Status changed from New to In Progress
  • Assignee set to osukup

#2 Updated by okurz almost 5 years ago

  • Related to action #19382: [opensuse][leap]test fails in php5_mysql, not returning expected answer from webserver added

#3 Updated by okurz almost 5 years ago

#4 Updated by okurz almost 5 years ago

  • Related to action #19336: [qam] test fails in php5_postgresql94 added

#5 Updated by osukup almost 5 years ago

  • Status changed from In Progress to Resolved

all changes merged, tests are now independent

Also available in: Atom PDF