Bug 681143 - make bkradd omits requirements/runfor in Makefile that differ in case
Summary: make bkradd omits requirements/runfor in Makefile that differ in case
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: command line
Version: 0.6
Hardware: All
OS: Linux
high
high vote
Target Milestone: ---
Assignee: Bill Peck
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-01 09:30 UTC by Miroslav Vadkerti
Modified: 2019-05-22 13:37 UTC (History)
5 users (show)

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


Attachments (Terms of Use)

Description Miroslav Vadkerti 2011-03-01 09:30:13 UTC
Description of problem:
make bkradd omits requirements/run for in Makefile that differ in case. 

See the differences in Makefile and beaker task below:
http://nest.test.redhat.com/mnt/qa/scratch/mvadkert/cvs/tests/openCryptoki/Sanity/init-scripts-LSB/Makefile
https://beaker.engineering.redhat.com/tasks/1802

The package opencryptoki is not added to the requirements and run for fields! Please note that opencryptoki is a RHEL6 only package and openCryptoki is <= RHEL5 package.


Version-Release number of selected component (if applicable):
beaker-0.6.2-1.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. make bkradd in the test
2. Check the task
  
Actual results:
No all packages added

Expected results:
All packages added

Additional info:

Comment 1 Marian Csontos 2011-03-01 09:42:31 UTC
I am not sure it's supposed to.

Workaround: use both of them. The one which does not exist will be ignored.

Comment 2 Miroslav Vadkerti 2011-03-01 09:52:41 UTC
In Makefile I have specified both of them, but the latter doesn't get installed on the machine.

Comment 3 Miroslav Vadkerti 2011-03-01 09:53:26 UTC
I don't understand the workaround :)

Comment 4 Miroslav Vadkerti 2011-03-01 09:57:13 UTC
I also tried to put the requirements in one line and it didn't help

Comment 5 Miroslav Vadkerti 2011-03-01 10:01:08 UTC
As the test in description should be run only for EL6 I will change it to only opencryptoki.

Here is an example of task which should be run for both:
https://beaker.engineering.redhat.com/tasks/1803
vs
http://nest.test.redhat.com/mnt/qa/scratch/mvadkert/cvs/tests/openCryptoki/Sanity/testsuite/Makefile

Comment 6 Miroslav Vadkerti 2011-03-01 10:05:11 UTC
IMPORTANT NOTE:
The example from the description is not actual anymore, please see the the example in comment #5 instead!

Comment 7 Marian Csontos 2011-03-01 10:06:10 UTC
Clarified by IM: wrong understanding of the text on my side...

The task was built and tagged properly. It's just the requirements do not propagate to beaker correctly.

Looks like case-insensitive comparison is used where it should not.

Could you try if the same happens for a new task?

Comment 8 Miroslav Vadkerti 2011-03-01 10:22:50 UTC
The same happens for a new task:
https://beaker.engineering.redhat.com/tasks/5539

Comment 9 Bill Peck 2011-03-01 14:18:37 UTC
Looks like the query to the db is not case sensitive by default.


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