Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ospfd: Solved crash in OSPF TE parsing (backport #15431) #15440

Merged
merged 1 commit into from
Feb 27, 2024

ospfd: Solved crash in OSPF TE parsing

9bc0060
Select commit
Loading
Failed to load commit list.
Merged

ospfd: Solved crash in OSPF TE parsing (backport #15431) #15440

ospfd: Solved crash in OSPF TE parsing
9bc0060
Select commit
Loading
Failed to load commit list.
NetDEF CI Pull Requests Testing / [CI] Basic Tests failed Feb 27, 2024 in 1s

Basic Tests summary

➡️ Jobs in progress: 0/59

✖️ Jobs Failure: 2/59

E   AssertionError: r1 JSON output mismatches
   assert Generated JSON diff error report:
     
     > $->10.0.94.0/24: expected has the following element at index 0 which is not present in output: 
     
     	{
     	    "prefix": "10.0.94.0/24",
     	    "prefixLen": 24,
     	    "protocol": "bgp",
     	    "vrfName": "green",
     	    "selected": true,
     	    "destSelected": true,
     	    "distance": 20,
     	    "metric": 136,
     	    "installed": true,
     	    "table": 12,
     	    "internalStatus": 16,
     	    "internalFlags": 8,
     	    "internalNextHopNum": 1,
     	    "internalNextHopActiveNum": 1,
     	    "nexthopGroupId": "*",
     	    "installedNexthopGroupId": "*",
     	    "uptime": "*",
     	    "nexthops": [
     	        {
     	            "flags": 3,
     	            "fib": true,
     	            "ip": "10.0.1.2",
     	            "afi": "ipv4",
     	            "interfaceName": "r1-eth0",
     	            "vrf": "default",
     	            "active": true,
     	            "weight": 1
     	        }
     	    ]
     	}
     
     	Closest match in output is at index 0 with the following errors: 
     
     	> $->10.0.94.0/24[0]->metric: output has element with value '238' but in expected it has value '136'
E   AssertionError: FQDN capability disabled, but we still have a hostname
   assert Generated JSON diff error report:
     
     > $->paths: expected has the following element at index 0 which is not present in output: 
     
     	{
     	    "nexthops": [
     	        {
     	            "hostname": null
     	        }
     	    ],
     	    "peer": {
     	        "hostname": null
     	    }
     	}
     
     	Closest match in output is at index 0 with the following errors: 
     
     	> $->paths[0]->nexthops: expected has the following element at index 0 which is not present in output: 
     	
     		{
     		    "hostname": null
     		}
     	
     		Closest match in output is at index 0 with the following errors: 
     	
     		> $->paths[0]->nexthops[0]: output has key 'hostname' which is not supposed to be present
     	
     	> $->paths[0]->peer: output has key 'hostname' which is not supposed to be present

✔️ Jobs Success: 57/59

Details at https://ci1.netdef.org/browse/FRR-PULLREQ3-2035.