[VAL-61] Conformance DNS tests fails in REC Created: 01/Oct/19  Updated: 08/Oct/19  Resolved: 08/Oct/19

Status: Done
Project: Validation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Juha Kosonen Assignee: Juha Kosonen
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Following tests are failing:

Failed tests:
[sig-network] DNS should provide /etc/hosts entries for the cluster [LinuxOnly] [Conformance]
[sig-network] DNS should provide DNS for services [Conformance]
[sig-network] DNS should provide DNS for ExternalName services [Conformance]
[sig-network] DNS should provide DNS for the cluster [Conformance]

Excerpt from run log:

Sep 27 12:17:38.626: INFO: Unable to read wheezy_hosts@dns-querier-1.dns-test-service.dns-4515.svc.cluster.local from pod dns-4515/dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd: the server could not find the requested resource (get pods dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd)
Sep 27 12:17:38.631: INFO: Unable to read wheezy_udp@PodARecord from pod dns-4515/dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd: the server could not find the requested resource (get pods dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd)
Sep 27 12:17:38.634: INFO: Unable to read wheezy_tcp@PodARecord from pod dns-4515/dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd: the server could not find the requested resource (get pods dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd)
Sep 27 12:17:38.637: INFO: Unable to read jessie_hosts@dns-querier-1.dns-test-service.dns-4515.svc.cluster.local from pod dns-4515/dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd: the server could not find the requested resource (get pods dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd)
Sep 27 12:17:38.641: INFO: Unable to read jessie_udp@PodARecord from pod dns-4515/dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd: the server could not find the requested resource (get pods dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd)
Sep 27 12:17:38.643: INFO: Unable to read jessie_tcp@PodARecord from pod dns-4515/dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd: the server could not find the requested resource (get pods dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd)
Sep 27 12:17:38.643: INFO: Lookups using dns-4515/dns-test-80175059-0bd4-43c6-a0fd-a07973567ffd failed for: [wheezy_hosts@dns-querier-1.dns-test-service.dns-4515.svc.cluster.local wheezy_udp@PodARecord wheezy_tcp@PodARecord jessie_hosts@dns-querier-1.dns-test-service.dns-4515.svc.cluster.local jessie_udp@PodARecord jessie_tcp@PodARecord]

Conformance DNS tests assumes cluster's DNS domain to be "cluster.local". In this case the domain is "rec.io"

/ # getent hosts dns-querier-1
10.244.1.20 dns-querier-1.dns-test-service.dns-4515.svc.rec.io dns-querier-1.dns-test-service.dns-4515.svc.rec.io dns-querier-1

The test passes when it is configured to use correct domain name.



 Comments   
Comment by Juha Kosonen [ 08/Oct/19 ]

Support to configure domain via Sonobuoy available starting from k8s 1.16. For the time being executing cases that assume fixed domain name is skipped -> https://gerrit.akraino.org/r/c/validation/+/1745

Plugin: e2e
Status: passed
Total: 4413
Passed: 210
Failed: 0
Skipped: 4203

 

Generated at Sat Feb 10 06:07:00 UTC 2024 using Jira 9.4.5#940005-sha1:e3094934eac4fd8653cf39da58f39364fb9cc7c1.