Bug 679678 - bkr job-submit always give WARNING
Summary: bkr job-submit always give WARNING
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: command line
Version: 0.6
Hardware: Unspecified
OS: Linux
medium
medium vote
Target Milestone: ---
Assignee: Dan Callaghan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-23 08:06 UTC by Hushan Jia
Modified: 2019-05-22 13:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-10 05:21:32 UTC


Attachments (Terms of Use)
job xml that trigger the warning (975 bytes, text/html)
2011-02-24 01:32 UTC, Hushan Jia
no flags Details

Description Hushan Jia 2011-02-23 08:06:25 UTC
Description of problem:
bkr job-submit always give WARNING, the job xml is unmodified output by 'beaker workflow-simple --xxx --dryrun --debug --prettyxml'

Version-Release number of selected component (if applicable):
beaker-client-0.6.4-2.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. save job to xml using a workflow
2. run bkr job-submit to submit
3.
  
Actual results:
WARNING: job xml validation failed: Expecting an element recipe, got nothing, line 5


Expected results:
no warning

Additional info:

Comment 1 Dan Callaghan 2011-02-23 22:22:18 UTC
Please attach the job xml which is triggering the warning.

Comment 2 Hushan Jia 2011-02-24 01:30:44 UTC
Hi Dan, I saw just every arbitrary job xml has such warning:
e.g.
[hushan@hushan tmp]$ bkr workflow-simple --arch=x86_64 --family=RedHatEnterpriseLinux6 --variant=Server --keyvalue="NETWORK=e1000e" --whiteboard="stest" --install="kernel-firmware-2.6.32-117.el6.noarch" --install="kernel-2.6.32-117.el6" --task=/kernel/filesystems/nfs/connectathon --dryrun --debug --prettyxml > t.xml
[hushan@hushan tmp]$ bkr job-submit t.xml 
WARNING: job xml validation failed: Expecting an element recipe, got nothing, line 5
Submitted: ['j:55914']

but submit directly has no such warning:
[hushan@hushan tmp]$ bkr workflow-simple --arch=x86_64 --family=RedHatEnterpriseLinux6 --variant=Server --keyvalue="NETWORK=e1000e" --whiteboard="stest" --install="kernel-firmware-2.6.32-117.el6.noarch" --install="kernel-2.6.32-117.el6" --task=/kernel/filesystems/nfs/connectathon
Submitted: ['j:55915']

Comment 3 Hushan Jia 2011-02-24 01:32:01 UTC
Created attachment 480622 [details]
job xml that trigger the warning


Note You need to log in before you can comment on or make changes to this bug.