elastic / elastic/logstash

Fedora 22 and 23 show multiple issues in the QA acceptance testing suite

Open
#5,488 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
1d 4h
Merged PRs (30d)
88

Description

Hi,
from https://logstash-ci.elastic.co/job/elastic+logstash+master+multijob-acceptance/label=metal,suite=redhat/17/console

we can see as fedora 22 and 23 show many issues re the plugin manager, we can see details at:

```
rspec /var/lib/jenkins/workspace/elastic+logstash+master+multijob-acceptance/label/metal/suite/redhat/qa/acceptance/spec/shared_examples/cli/logstash/version.rb:16 # CLI operation behaves like logstash version logstash --version on fedora-22 returns the right logstash version
rspec /var/lib/jenkins/workspace/elastic+logstash+master+multijob-acceptance/label/metal/suite/redhat/qa/acceptance/spec/shared_examples/cli/logstash-plugin/install.rb:27 # CLI operation behaves like logstash install on fedora-22 with a direct internet connection when the plugin exist from a local `.GEM` file successfully install the plugin
rspec /var/lib/jenkins/workspace/elastic+logstash+master+multijob-acceptance/label/metal/suite/redhat/qa/acceptance/spec/shared_examples/cli/logstash-plugin/install.rb:35 # CLI operation behaves like logstash install on fedora-22 with a direct internet connection when the plugin exist when fetching a gem from rubygems successfully install the plugin
rspec /var/lib/jenkins/workspace/elastic+logstash+master+multijob-acceptance/label/metal/suite/redhat/qa/acceptance/spec/shared_examples/cli/logstash-plugin/install.rb:41 # CLI operation behaves like logstash install on fedora-22 with a direct internet connection when the plugin exist when fetching a gem from rubygems allow to install a specific version
rspec /var/lib/jenkins/workspace/elastic+logstash+master+multijob-acceptance/label/metal/suite/redhat/qa/acceptance/spec/shared_examples/cli/logstash-plugin/install.rb:50 # CLI operation behaves like logstash install on fedora-22 with a direct internet connection when the plugin doesnt exist fails to install and report an error
rspec /var/lib/jenkins/workspace/elastic+logstash+master+multijob-acceptance/label/metal/suite/redhat/qa/acceptance/spec/shared_examples/cli/logstash-plugin/list.rb:17 # CLI operation behaves like logstash list logstash-plugin list on fedora-22 without a specific plugin display a list of plugins
rspec /var/lib/jenkins/workspace/elastic+logstash+master+multijob-acceptance/label/metal/suite/redhat/qa/acceptance/spec/shared_examples/cli/logstash-plugin/list.rb:22 # CLI operation behaves like logstash list logstash-plugin list on fedora-22 without a specific plugin display a list of installed plugins
rspec /var/lib/jenkins/workspace/elastic+logstash+master+multijob-acceptance/label/metal/suite/redhat/qa/acceptance/spec/shared_examples/cli/logstash-plugin/list.rb:37 # CLI operation behaves like logstash list logstash-plugin list on fedora-22 with a specific plugin list the plugin and display the plugin name
rspec /var/lib/jenkins/workspace/elastic+logstash+master+multijob-acceptance/label/metal/suite/redhat/qa/acceptance/spec/shared_examples/cli/logstash-plugin/list.rb:42 # CLI operation behaves like logstash list logstash-plugin list on fedora-22 with a specific plugin list the plugin with his version
rspec /var/lib/jenkins/workspace/elastic+logstash+master+multijob-acceptance/label/metal/suite/redhat/qa/acceptance/spec/shared_examples/cli/logstash-plugin/uninstall.rb:17 # CLI operation behaves like logstash uninstall logstash uninstall on fedora-22 when the plugin isn't installed fails to uninstall it
rspec /var/lib/jenkins/workspace/elastic+logstash+master+multijob-acceptance/label/metal/suite/redhat/qa/acceptance/spec/shared_examples/cli/logstash-plugin/update.rb:26 # CLI operation behaves like logstash update logstash update on fedora-22 update a specific plugin has executed succesfully
rspec /var/lib/jenkins/workspace/elastic+logstash+master+multijob-acceptance/label/metal/suite/redhat/qa/acceptance/spec/shared_examples/cli/logstash-plugin/update.rb:34 # CLI operation behaves like logstash update logstash update on fedora-22 update all the plugins has executed succesfully
rspec /var/lib/jenkins/workspace/elastic+logstash+master+multijob-acceptance/label/metal/suite/redhat/qa/acceptance/spec/shared_examples/cli/logstash-plugin/update.rb:34 # CLI operation behaves like logstash update logstash update on fedora-23 update all the plugins has executed succesfully
```

as fedora is not a supported platform for now, we decided to remove it from acceptance testing layer, we will work on having this up and running there and bring it back soon. This has been discussed with @suyograo

Contributor guide

Open the contributing guide

Research direction

Start with the acceptance specs named in qa/acceptance/spec/shared_examples/cli, especially the logstash version and logstash-plugin install, list, uninstall, and update files. Check how Fedora 22 and 23 are included in the acceptance testing layer, then run the relevant acceptance suite to confirm those platforms are no longer tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
fedora
Domain
cli, operating-systems, testing-qa
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.