| Summary: | bkr task-add / make bkradd should save destructiveness to Beaker | |||
|---|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Petr Šplíchal <psplicha> | |
| Component: | command line | Assignee: | Dan Callaghan <dcallagh> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 0.6 | CC: | bpeck, dcallagh, mcsontos, ohudlick, rmancy, stl | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 749512 (view as bug list) | Environment: | ||
| Last Closed: | 2011-09-08 02:43:10 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 707152, 749512 | |||
Thanks for filing this Petr, I was going to do so when I discovered it the other day but it seems I forgot. I've tried "make bkradd" with:
@echo "Destructive: no" >> $(METADATA)
but the "Destructive" flag was still "True" at
https://beaker-stage.app.eng.bos.redhat.com/tasks/1257
Only completely removing the "Destructive" line caused the flag to
disappear. (Should it not rather be displayed with "False" value?)
Furthermore, listing all non-destructive bash tasks shows no
result, although there are a few safe tasks available:
$ bkr task-list --package bash
/CoreOS/bash/builtins/broken-pipe-bz128274
/CoreOS/bash/builtins/cd-memory-leak
/CoreOS/bash/builtins/close-fd
/CoreOS/bash/builtins/declare-array
/CoreOS/bash/builtins/free-segfault-384551
/CoreOS/bash/builtins/globbing_bz221381
/CoreOS/bash/builtins/greaterthan_bz136688
/CoreOS/bash/builtins/read-memleak
/CoreOS/bash/i18n/bug157260
/CoreOS/bash/i18n/ifs-invalid-multibyte
/CoreOS/bash/i18n/setlocale
/CoreOS/bash/jobs/pipeline-segfault/quick
/CoreOS/bash/jobs/signal-handler-segfault
/CoreOS/bash/jobs/trap-incomplete
/CoreOS/bash/Regression/bz190350-vi-mode-redo-insert
/CoreOS/bash/Regression/bz453123-wrong-input-confuses-bash
/CoreOS/bash/Regression/bz521134-pid-recycling
/CoreOS/bash/Sanity/upstream
/CoreOS/bash/signals/sighup
/CoreOS/bash/syntax/sh-bang
/CoreOS/bash/syntax/sub-shell-with-operator
/CoreOS/bash/wrap/quick
/CoreOS/bash/declare-array/builtins/
$ bkr task-list --package bash --destructive
/CoreOS/bash/Regression/bz190350-vi-mode-redo-insert
/CoreOS/bash/Regression/bz521134-pid-recycling
/CoreOS/bash/Sanity/upstream
$ bkr task-list --package bash --non-destructive
<NOTHING>
$ rpm -q beaker-client
beaker-client-0.7.0-1.el6eso.noarch
(In reply to comment #3) There was a bug in parsing the Destructive field, this will be fixed. Thanks for testing. Beaker 0.7.1 has been released. |
Description of problem: Seems that currently we do not populate Beaker task table with the value of "Destructive" from the testinfo.desc: https://bugzilla.redhat.com/show_bug.cgi?id=725465#c3 Please provide this functionality necessary to fix bug 725465. Version-Release number of selected component (if applicable): beaker-client-0.6.16-1.el6eso.noarch