Hi, Jack,

With 111a AI server:
   FMRI: pkg:/SUNWinstalladm-tools at 0.5.11,5.11-0.111:20090418T191544Z

Finally the standard format of mac and ipv4 working now. I can go 
through following
criteria file:
        <ai_criteria name="mac">
                 <range>
                         0:e0:81:5c:89:89
                         0:e0:81:5c:89:89
                 </range>
         </ai_criteria>

But seems there is regression issue, now all the non-standard format of 
mac and ipv4 failed,
while they've been working well on 111 and before.

The criteria:
        <ai_criteria name="IPv4">
                 <value>
                         010013021197
                 </value>
         </ai_criteria>

Got error:
root at woodleg:/var/tmp/dragon1/test_manifest# installadm add -m 
ai_criteria.ipv4 -n dragon1
Traceback (most recent call last):
   File "/usr/lib/installadm/publish-manifest", line 858, in ?
     parseOptions(data)
   File "/usr/lib/installadm/publish-manifest", line 115, in parseOptions
     files.verifyCriteria(options.criteria)
   File "/usr/lib/installadm/publish-manifest", line 849, in verifyCriteria
     self.getDatabase())
   File "./verifyXML.py", line 259, in prepValuesAndRanges
   File "./verifyXML.py", line 114, in __checkIPv4
Exception: Malformed IPV4 address in criteria

Is it a regression bug or non standard format ceased to support?

Rgs
Jeffrey

Jeffrey Huang ??:
> Hi, Jack,
> 
> I am trying the fix of 4325. I am using SUNWinstalladm-tools installed from
> ipkg.sfbay/dev on 4/14, but still can not make it work, even following 
> manifest
> can not get through the xml validation:
> 
> # more ./ai_criteria.mac.standard
> <ai_criteria_manifest>
>        <ai_criteria name="MAC">
>                 <range>
>                        1:2:3:4:5:6
>                 </range>
>         </ai_criteria>
>         <ai_manifest_file URI="./manifest_criteria_00.xml"/>
>         <sc_manifest_file name="SSH" URI="./sc.xml"/>
> </ai_criteria_manifest>
> 
> # installadm add -m ./ai_criteria.mac.standard -n dragon1
> Error:  File ./ai_criteria.mac.standard failed validation:
>         Element ai_criteria_manifest failed to validate content
> 
> Would please give me one example manifest which works for standard 
> ip/mac format, or
> where can I find one?
> 
> Great Thanks
> Jeffrey
> 
> 
> Jeffrey Huang ??:
>> Hi, Jack,
>>
>> Thanks let me know, yes, I am looking forward this fix, as my current 
>> test cases failed
>> on 4325.
>>
>> I assumed the fix already in build 111, right?
>> I will use the AI nightly image to have a try again, and let you know 
>> the results.
>>
>> Rgs
>> Jeffrey
>>
>>
>> Jack Schwartz ??:
>>> Hi Jeffrey.
>>>
>>> When you pull the latest packages, please note that the criteria 
>>> manifest tests may need slight changes due to integration of the 4325 
>>> fix.
>>>
>>> Please check out the flag day at:
>>> http://www.opensolaris.org/jive/thread.jspa?threadID=99751&tstart=15
>>> for more information.
>>>
>>>    Thanks,
>>>    Jack
>>>
>>>
>>> On 04/12/09 20:08, Jeffrey Huang wrote:
>>>> Hi,  Sundar,
>>>>
>>>> Here are our first week test result of build 111 for AI manifest
>>>> automated test suite.
>>>>
>>>> http://opg-qe.central.sun.com/wiki/index.php/Install_ai:osol-0906-b2
>>>>
>>>> Those failed cases that maybe bugs are listed in know issues, other
>>>> failed cases caused
>>>> either by test suite itself or execution environment limitation, we 
>>>> will
>>>> continue improve
>>>> the test suite.
>>>>
>>>> Last week's test was based on build 111 release, both x86/sparc, 
>>>> virtual
>>>> box and LDOM
>>>> installation have been tested.
>>>>
>>>> This week, we will upload latest SUNWinstalladm-tool and nightly ai
>>>> image, and also will
>>>> try sparc platform as AI server.
>>>>
>>>> BTW, in build 111, I see AI manifest supports install package other 
>>>> than
>>>> default build in repo,
>>>> seems this feature is not from the design doc, also it is not 
>>>> covered by
>>>> our test plan and test suite right
>>>> now.
>>>>
>>>> Rgs
>>>>
>>>> ---
>>>> Jeffrey Huang                  SWAN: x51683, Ext: 0086-10-62673683
>>>> Solaris QE Group                      Email: jeffrey.huang at sun.com
>>>>            China Engineering & Research Institute, Sun Microsystems
>>>>          7/F Chuang Xin Plaza, Tsinghua Science Park, Beijing China
>>>> _______________________________________________
>>>> caiman-discuss mailing list
>>>> caiman-discuss at opensolaris.org
>>>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>>>>   
>>>
>>
> 

-- 
Great Thanks & Best Regards

---
Jeffrey Huang                  SWAN: x51683, Ext: 0086-10-62673683
Solaris QE Group                      Email: jeffrey.huang at sun.com
            China Engineering & Research Institute, Sun Microsystems
          7/F Chuang Xin Plaza, Tsinghua Science Park, Beijing China

Reply via email to