-
Type: Task
-
Status: Resolved (View Workflow)
-
Priority: Medium
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.12
-
Component/s: ci-system
-
Labels:None
-
Story Points:0
https://jenkins.opencord.org/job/verify_voltha-openolt-adapter_sanity-test-voltha-2.12/24/console
vars/volthaStackDeploy.groovy may be in need of a longer polling loop.
Test currently checks for activity - count ("0/") > 0
Really need to wait for all services to enter Running state or at least not Creating.
Simplest test may be to code testing service count (x/y) > 0.
Ideal would be x == y) && (x != 0) but this is shell logic so start small.
17:40:09 vars/volthaStackDeploy.groovy::launchVolthaStack: ENTER
17:40:09 ** ----------------------------------------------------------------------- 17:40:09 ** Wait for VOLTHA Stack voltha::voltha to start 17:40:09 ** ----------------------------------------------------------------------- 17:40:09 + set +x
% kubectl get pods
17:40:15 bbsim0-868479698c-z66mk 0/1 ContainerCreating 0 6s 17:40:15 voltha-voltha-adapter-openolt-68c84bf786-z98rh 0/1 Running 0 8s 17:40:15 voltha-voltha-adapter-openonu-7c87d85bdf-fvcx2 0/1 ContainerCreating 0 8s 17:40:15 voltha-voltha-ofagent-6577cccc89-2wqkr 0/1 Running 0 8s 17:40:15 voltha-voltha-rw-core-79556cf89c-s4dvd 0/1 ContainerCreating 0 8s
17:40:15 + bash -c 'while true; do kubectl port-forward --address 0.0.0.0 -n voltha svc/voltha-voltha-api 55555:55555; done' 17:40:15 error: unable to forward port because pod is not running. Current status=Pending 17:40:15 error: unable to forward port because pod is not running. Current status=Pending 17:40:15 [Pipeline] sh (waitForAdapters: loop until adapter list)
17:40:15 ERROR: UNAVAILABLE: transport: Error while dialing dial tcp 127.0.0.1:55555: connect: connection
- blocks
-
VOL-5135 Create beta-release branch for voltha-openolt-adapter
- Resolved