Project

General

Profile

Tâche #25002

Scénario #24649: Tests et qualification (35-37)

Les tests CreoleLint plantent sur le template dhcpd.conf

Added by Joël Cuissinat over 2 years ago. Updated over 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/13/2018
Due date:
% Done:

100%

Estimated time:
1.50 h
Spent time:
Remaining (hours):
0.0

Description

Suite à modification du template pour 2.6.2 et supérieur, le test plante sur un cas qu'il ne sait pas gérer :

00:24:09.779              \-- /usr/share/eole/creole/distrib/dhcpd.conf
00:24:09.780             ('/usr/share/eole/creole/distrib/dhcpd.conf', ':', Exception('Il y a une erreur', KeyError('interdire_hotes_inconnus',), 
'avec le dictionnaire', {'global_adresse_ip_ntp_dhcp': None, 'global_nom_domaine_dhcp': None, 'global_domain_wpad_dhcp': None, 
'dhcp_failover_split': 128, 'adresse_network_dhcp': {u'slave': {'nom_plage_dhcp': [u'value'], 'adresse_netmask_dhcp': [u'255.255.255.0'], 
'adressage_statique': ['non']}, u'value': [u'192.168.5.0']}, 'dhcp_failover_mclt': 3600, 'activer_omapi': u'oui', 
'dhcp_failover_peer_address': u'192.168.5.1', 'adresse_network_eth0': u'192.168.0.0', 'global_adresse_ip_wins_primaire_dhcp': None, 
'activer_dhcp': u'oui', 'activer_tftp': u'oui', 'omapi_port': 7911, 'dhcp_failover_port': 647, 'dhcp_failover_rank': u'primary', 
'dhcp_failover_peer_port': 847, 'eth0_method': u'statique', 'global_dhcp_lease_max': 144000, 'global_adresse_ip_wins_secondaire_dhcp': None, 
'dhcp_failover_balance_seconds': 5, 'activer_dhcp_failover': u'oui', 'adresse_ip_tftp': u'192.168.0.1', 'global_dhcp_
00:24:09.792             lease_default': 36000, 'global_adresse_ip_dns_secondaire_dhcp': None, 'dhcp_failover_local_address': u'192.168.5.1', 
'omapi_secret': u'9511420fec24f0e20eed3d7ca166777d2fc9cfd599eec8b210d904d2', 'global_adresse_ip_dns_dhcp': None, 'dhcp_failover_name': u'value', 
'dhcp_failover_response_delay': 60, 'adresse_netmask_eth0': u'255.255.255.0', 'dhcp_failover_unacked_updates': 10}))

Proposition : ne plus tester ce template ;)

Associated revisions

Revision cb193d42 (diff)
Added by Joël Cuissinat over 2 years ago

Exclude dhcpd.conf from CreoleLint

Ref: #25002

History

#1 Updated by Joël Cuissinat over 2 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 1.5 to 0.25

Paquets refaits pour 2.6.2 & 2.7.0 => vérifier les tests Jenkins

#2 Updated by Joël Cuissinat over 2 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.25 to 0.0

Tests CreoleLint 2.6.2 tous verts ;)

Also available in: Atom PDF