Project

General

Profile

Actions

action #19208

closed

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

Added by osukup almost 7 years ago. Updated almost 7 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 3 (0 open3 closed)

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

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

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

Actions
Actions #1

Updated by osukup almost 7 years ago

  • Status changed from New to In Progress
  • Assignee set to osukup
Actions #2

Updated by okurz almost 7 years ago

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

Updated by okurz almost 7 years ago

Actions #4

Updated by okurz almost 7 years ago

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

Updated by osukup almost 7 years ago

  • Status changed from In Progress to Resolved

all changes merged, tests are now independent

Actions

Also available in: Atom PDF