From umesh@juniper.net  Wed Oct 11 01:08:51 2000
Return-Path: <umesh@juniper.net>
Received: from red.juniper.net (red.juniper.net [207.17.136.137])
	by hub.freebsd.org (Postfix) with ESMTP id 4933D37B66D
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Oct 2000 01:08:51 -0700 (PDT)
Received: from umesh-bsd.juniper.net (umesh-bsd.juniper.net [172.17.20.147])
	by red.juniper.net (8.9.3/8.9.3) with ESMTP id BAA16646
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Oct 2000 01:08:45 -0700 (PDT)
Received: (from umesh@localhost) by umesh-bsd.juniper.net (8.8.8/8.7.3) id BAA01083; Wed, 11 Oct 2000 01:08:44 -0700 (PDT)
Message-Id: <200010110808.BAA01083@umesh-bsd.juniper.net>
Date: Wed, 11 Oct 2000 01:08:44 -0700 (PDT)
From: Umesh Krishnaswamy <umesh@juniper.net>
Reply-To: umesh@juniper.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: BERT tests fail on JUNOS4.3 due to rtslib version mismatch
X-Send-Pr-Version: 3.2

>Number:         21906
>Category:       junk
>Synopsis:       BERT tests fail on JUNOS4.3 due to rtslib version mismatch
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 11 01:10:01 PDT 2000
>Closed-Date:    Tue Oct 31 00:18:11 PST 2000
>Last-Modified:  Thu Oct 31 03:03:46 PST 2002
>Originator:     Umesh Krishnaswamy
>Release:        4.3
>Organization:
Juniper Networks
>Environment:

$ cli
umesh@claritin> show version 
Hostname: claritin
Model: m20
JUNOS base [4.2R1] (Export restricted edition)
JUNOS Kernel Software Suite [4.3-20001010-Qv1411]
JUNOS Routing Software Suite [4.3-20001010-Qv1411]
JUNOS Packet Forwarding Engine Support [4.3-20001010-Qv1411]
JUNOS Online Documentation Files [4.3-20001010-Qv1411]
KERNEL 4.3-20001010-Qv1411 #0 built by tlim on 2000-10-10 08:29:17 UTC
MGD release 4.3I0 built by tlim on 2000-10-10 09:36:03 UTC
CLI release 4.3I0 built by tlim on 2000-10-10 09:36:13 UTC
CHASSISD release 4.3I0 built by tlim on 2000-10-10 08:34:54 UTC
DCD release 4.3I0 built by tlim on 2000-10-10 08:29:37 UTC
RPD release 4.3I0 built by tlim on 2000-10-10 09:27:25 UTC
SNMPD release 4.3I0 built by tlim on 2000-10-10 08:31:21 UTC
MIB2D release 4.3I0 built by tlim on 2000-10-10 08:31:41 UTC
APSD release 4.3I0 built by tlim on 2000-10-10 08:34:01 UTC
VRRPD release 4.3I0 built by tlim on 2000-10-10 08:34:12 UTC
ALARMD release 4.3I0 built by tlim on 2000-10-10 08:34:40 UTC
PFED release 4.3I0 built by tlim on 2000-10-10 08:36:07 UTC
CRAFTD release 4.3I0 built by tlim on 2000-10-10 08:36:01 UTC
SAMPLED release 4.3I0 built by tlim on 2000-10-10 08:36:21 UTC
ILMID release 4.3I0 built by tlim on 2000-10-10 08:36:37 UTC
jkernel-dd release 4.3I0 built by tlim on 2000-10-10 08:21:45 UTC
jroute-dd release 4.3I0 built by tlim on 2000-10-10 09:25:03 UTC
jdocs-dd release 4.3I0 built by tlim on 2000-10-10 08:12:18 UTC

	      
>Description:

When bit-error rate tests are run on a 4.3, they fail. This is because
the BERT tests call /sbin/iftest which expects an older rtsock interface 
version.

This could be a packaging issue, or an install error on my part. I figured
if network administrators do upgrade-downgrade of the JUNOS, iftest
should also get updated. Currently I do not see how that can happen.



Failed Run of BERT on 4.3
=========================

umesh@claritin> edit 
Entering configuration mode

[edit]
umesh@claritin# set interfaces t3-1/1/0 disable 

[edit]
umesh@claritin# commit 
commit complete

[edit]
umesh@claritin# quit 
Exiting configuration mode

umesh@claritin> test interface t3-1/1/0 bert-start 
rtslib: FATAL ERROR interface version mismatch, require 12 got 14


$ /sbin/iftest
rtslib: FATAL ERROR interface version mismatch, require 12 got 14
claritin:~ 3>
$ what /sbin/iftest
/sbin/iftest
        IFTEST release 4.2N0 built by tlim on 2000-09-18 06:43:10 UTC
        annatar.juniper.net:/usr/obj/usr/src/sbin/iftest
claritin:~ 4>




Successful run of BERT Test on 4.2R1
====================================


umesh@claritin> edit     
Entering configuration mode
The configuration has been changed but not committed

[edit]
umesh@claritin# set interfaces t3-1/1/0 disable 

[edit]
umesh@claritin# commit 
commit complete

[edit]
umesh@claritin# quit 
Exiting configuration mode

umesh@claritin> test interface t3-1/1/0 bert-start 

umesh@claritin> 

umesh@claritin> test interface t3-1/1/0 bert-stop 

umesh@claritin> show interfaces t3-1/1/0 extensive 

  DSU configuration:
    Compatibility mode: None, Scrambling: Disabled, Subrate: Disabled
    FEAC loopback: Inactive, Response: Disabled, Count: 0
    BERT time period: 10 seconds, Elapsed: 10 seconds (completed)
    Algorithm: 2^3 - 1, Pseudorandom (1), Error rate: 10e-0
    Bit count      :            9, Overflows: 0
    Error bit count:            6, Overflows: 0
    LOS status: OK, LOS count: 1, LOS seconds: 9

umesh@claritin> show version 
Hostname: claritin
Model: m20
JUNOS base [4.2R1] (Export restricted edition)
JUNOS Kernel Software Suite [4.2-20001010-Qv1411]
JUNOS Routing Software Suite [4.2-20001010-Qv1411]
JUNOS Packet Forwarding Engine Support [4.2-20001010-Qv1411]
JUNOS Online Documentation Files [4.2-20001010-Qv1411]
KERNEL 4.2-20001010-Qv1411 #0 built by tlim on 2000-10-10 10:10:39 UTC
MGD release 4.2I0 built by tlim on 2000-10-10 11:16:11 UTC
CLI release 4.2I0 built by tlim on 2000-10-10 11:16:22 UTC
CHASSISD release 4.2I0 built by tlim on 2000-10-10 10:16:04 UTC
DCD release 4.2I0 built by tlim on 2000-10-10 10:11:08 UTC
RPD release 4.2I0 built by tlim on 2000-10-10 11:07:43 UTC
SNMPD release 4.2I0 built by tlim on 2000-10-10 10:12:42 UTC
MIB2D release 4.2I0 built by tlim on 2000-10-10 10:12:59 UTC
APSD release 4.2I0 built by tlim on 2000-10-10 10:15:05 UTC
VRRPD release 4.2I0 built by tlim on 2000-10-10 10:15:20 UTC
ALARMD release 4.2I0 built by tlim on 2000-10-10 10:15:48 UTC
PFED release 4.2I0 built by tlim on 2000-10-10 10:17:21 UTC
CRAFTD release 4.2I0 built by tlim on 2000-10-10 10:17:15 UTC
SAMPLED release 4.2I0 built by tlim on 2000-10-10 10:17:33 UTC
ILMID release 4.2I0 built by tlim on 2000-10-10 10:17:51 UTC
jkernel-dd release 4.2I0 built by tlim on 2000-10-10 10:02:29 UTC
jroute-dd release 4.2I0 built by tlim on 2000-10-10 11:04:12 UTC
jdocs-dd release 4.2I0 built by tlim on 2000-10-10 09:49:39 UTC


>How-To-Repeat:

See above

>Fix:
	



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: asmodai 
State-Changed-When: Tue Oct 31 00:18:11 PST 2000 
State-Changed-Why:  
I suppose this got sent to the wrong company/project. :) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21906 
>Unformatted:
