My intergration stage is failing, here is the logs
- bash integration-test.sh
31523
http://devsecops-demo.eastus.cloudapp.azure.com:31523//increment/99
Increment Test Failed
script returned exit code 1
On my VM I run the curl command and it returns 500 error
root**@****devsecops-clou**curl localhost:31523/increment/99
{“timestamp”:“2024-02-17T19:25:15.041+00:00”,“status”:500,“error”:“Internal Server Error”,“message”:“”,“path”:"/increment
Also Service is running
root@devsecops-cloud:~$ kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
devsecops-svc NodePort 10.98.25.222 8080:31523/TCP 6d3h
Pods are running
root@devsecops-cloud:~$ kubectl get po
NAME READY STATUS RESTARTS AGE
devsecops-5b5bbf445b-2pwcm 1/1 Running 0 174m
devsecops-5b5bbf445b-gzmtb 1/1 Running 0 168m
I am not sure what else I should check?
Thanks