pcp
[Top] [All Lists]

RE: Bugs in case 077 and 583 pass, but new problem is found in ca se 0 6

To: kenmcd@xxxxxxxxxxxxxxxxx
Subject: RE: Bugs in case 077 and 583 pass, but new problem is found in ca se 0 69
From: "Zhang, Sonic" <sonic.zhang@xxxxxxxxx>
Date: Thu, 30 Jan 2003 12:04:14 +0800
Cc: "PCP (E-mail)" <pcp@xxxxxxxxxxx>
Sender: pcp-bounce@xxxxxxxxxxx
Hi,

        I find the cause of the problem in case 069.
        It is the DHCP server in my intranet. The test machines fail to set
up its DHCP_HOSTNAME to the DHCP server last time. And I have to set a
static domain name in file /etc/hosts for each test machines. But your test
script can't work in this way. Today, the DHCP server works well. Then, case
069 passes.

        Thanks.

        Sonic Zhang

-----Original Message-----
From: kenmcd@xxxxxxxxxxxxxxxxx [mailto:kenmcd@xxxxxxxxxxxxxxxxx]
Sent: 2003?1?30? 0:23
To: Zhang, Sonic
Cc: PCP (E-mail)
Subject: Re: Bugs in case 077 and 583 pass, but new problem is found in case
0 69


On Mon, 27 Jan 2003, Zhang, Sonic wrote:

> Hi,
> 
>       Please refer to the attachment for the new problem in case 069.

I don't really understand this one ... the 069.full output shows


    host1 = sevens.sh.intel.com
    host2 = tens.sh.intel.com
    me: ip= hex_ip=00000000
    host1: ip= hex_ip=00000000
    host2: ip= hex_ip=00000000

Now the 3 instances of ip=<nothing> means _host_to_ipaddr() in common.check
is failing to translate a hostname into an IP addr.

Could you please try the following, and send me the output:

1. edit common.check to add the line

        set -x

  after the first { in _host_to_ipaddr()
  
2. Then in bash:

        $ which host
        $ . ./common.product
        $ . ./common.check
        $ host sevens.sh.intel.com
        $ _host_to_ipaddr sevens.sh.intel.com
        $ host no.such.host
        $ _host_to_ipaddr no.such.host

<Prev in Thread] Current Thread [Next in Thread>
  • RE: Bugs in case 077 and 583 pass, but new problem is found in ca se 0 69, Zhang, Sonic <=