07:08:10 Triggered by Gerrit: https://gerrit.onap.org/r/c/policy/opa-pdp/+/139781 07:08:10 Running as SYSTEM 07:08:10 [EnvInject] - Loading node environment variables. 07:08:10 Building remotely on prd-ubuntu1804-docker-8c-8g-93312 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-opa-pdp-master-verify-golang 07:08:10 [ssh-agent] Looking for ssh-agent implementation... 07:08:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:08:10 $ ssh-agent 07:08:10 SSH_AUTH_SOCK=/tmp/ssh-q7yeURfM57iu/agent.2121 07:08:10 SSH_AGENT_PID=2123 07:08:10 [ssh-agent] Started. 07:08:10 Running ssh-add (command line suppressed) 07:08:10 Identity added: /w/workspace/policy-opa-pdp-master-verify-golang@tmp/private_key_681221308020314279.key (/w/workspace/policy-opa-pdp-master-verify-golang@tmp/private_key_681221308020314279.key) 07:08:10 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 07:08:10 The recommended git tool is: NONE 07:08:12 using credential onap-jenkins-ssh 07:08:12 Wiping out workspace first. 07:08:12 Cloning the remote Git repository 07:08:12 Cloning repository git://cloud.onap.org/mirror/policy/opa-pdp.git 07:08:12 > git init /w/workspace/policy-opa-pdp-master-verify-golang # timeout=10 07:08:12 Fetching upstream changes from git://cloud.onap.org/mirror/policy/opa-pdp.git 07:08:12 > git --version # timeout=10 07:08:12 > git --version # 'git version 2.17.1' 07:08:12 using GIT_SSH to set credentials Gerrit user 07:08:12 Verifying host key using manually-configured host key entries 07:08:12 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/opa-pdp.git +refs/heads/*:refs/remotes/origin/* # timeout=30 07:08:12 > git config remote.origin.url git://cloud.onap.org/mirror/policy/opa-pdp.git # timeout=10 07:08:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:08:13 > git config remote.origin.url git://cloud.onap.org/mirror/policy/opa-pdp.git # timeout=10 07:08:13 Fetching upstream changes from git://cloud.onap.org/mirror/policy/opa-pdp.git 07:08:13 using GIT_SSH to set credentials Gerrit user 07:08:13 Verifying host key using manually-configured host key entries 07:08:13 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/opa-pdp.git refs/changes/81/139781/4 # timeout=30 07:08:13 > git rev-parse d34e77ea18598f377797816d70a2214f339448e6^{commit} # timeout=10 07:08:13 Checking out Revision d34e77ea18598f377797816d70a2214f339448e6 (refs/changes/81/139781/4) 07:08:13 > git config core.sparsecheckout # timeout=10 07:08:13 > git checkout -f d34e77ea18598f377797816d70a2214f339448e6 # timeout=30 07:08:16 Commit message: "Added changes for performance and stability for opa-pdp" 07:08:16 > git rev-parse FETCH_HEAD^{commit} # timeout=10 07:08:16 > git rev-list --no-walk bc208ae0a6b0c995f65c26564fb8b06ef270bf67 # timeout=10 07:08:16 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins14677578646625042008.sh 07:08:16 ---> python-tools-install.sh 07:08:16 Setup pyenv: 07:08:17 * system (set by /opt/pyenv/version) 07:08:17 * 3.8.13 (set by /opt/pyenv/version) 07:08:17 * 3.9.13 (set by /opt/pyenv/version) 07:08:17 * 3.10.6 (set by /opt/pyenv/version) 07:08:21 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yY8e 07:08:21 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 07:08:24 lf-activate-venv(): INFO: Installing: lftools 07:08:52 lf-activate-venv(): INFO: Adding /tmp/venv-yY8e/bin to PATH 07:08:52 Generating Requirements File 07:09:13 Python 3.10.6 07:09:13 pip 24.3.1 from /tmp/venv-yY8e/lib/python3.10/site-packages/pip (python 3.10) 07:09:13 appdirs==1.4.4 07:09:13 argcomplete==3.5.2 07:09:13 aspy.yaml==1.3.0 07:09:13 attrs==24.3.0 07:09:13 autopage==0.5.2 07:09:13 beautifulsoup4==4.12.3 07:09:13 boto3==1.35.87 07:09:13 botocore==1.35.87 07:09:13 bs4==0.0.2 07:09:13 cachetools==5.5.0 07:09:13 certifi==2024.12.14 07:09:13 cffi==1.17.1 07:09:13 cfgv==3.4.0 07:09:13 chardet==5.2.0 07:09:13 charset-normalizer==3.4.1 07:09:13 click==8.1.8 07:09:13 cliff==4.8.0 07:09:13 cmd2==2.5.8 07:09:13 cryptography==3.3.2 07:09:13 debtcollector==3.0.0 07:09:13 decorator==5.1.1 07:09:13 defusedxml==0.7.1 07:09:13 Deprecated==1.2.15 07:09:13 distlib==0.3.9 07:09:13 dnspython==2.7.0 07:09:13 docker==4.2.2 07:09:13 dogpile.cache==1.3.3 07:09:13 durationpy==0.9 07:09:13 email_validator==2.2.0 07:09:13 filelock==3.16.1 07:09:13 future==1.0.0 07:09:13 gitdb==4.0.11 07:09:13 GitPython==3.1.43 07:09:13 google-auth==2.37.0 07:09:13 httplib2==0.22.0 07:09:13 identify==2.6.3 07:09:13 idna==3.10 07:09:13 importlib-resources==1.5.0 07:09:13 iso8601==2.1.0 07:09:13 Jinja2==3.1.5 07:09:13 jmespath==1.0.1 07:09:13 jsonpatch==1.33 07:09:13 jsonpointer==3.0.0 07:09:13 jsonschema==4.23.0 07:09:13 jsonschema-specifications==2024.10.1 07:09:13 keystoneauth1==5.9.1 07:09:13 kubernetes==31.0.0 07:09:13 lftools==0.37.10 07:09:13 lxml==5.3.0 07:09:13 MarkupSafe==3.0.2 07:09:13 msgpack==1.1.0 07:09:13 multi_key_dict==2.0.3 07:09:13 munch==4.0.0 07:09:13 netaddr==1.3.0 07:09:13 niet==1.4.2 07:09:13 nodeenv==1.9.1 07:09:13 oauth2client==4.1.3 07:09:13 oauthlib==3.2.2 07:09:13 openstacksdk==4.2.0 07:09:13 os-client-config==2.1.0 07:09:13 os-service-types==1.7.0 07:09:13 osc-lib==3.2.0 07:09:13 oslo.config==9.7.0 07:09:13 oslo.context==5.7.0 07:09:13 oslo.i18n==6.5.0 07:09:13 oslo.log==6.2.0 07:09:13 oslo.serialization==5.6.0 07:09:13 oslo.utils==8.0.0 07:09:13 packaging==24.2 07:09:13 pbr==6.1.0 07:09:13 platformdirs==4.3.6 07:09:13 prettytable==3.12.0 07:09:13 psutil==6.1.1 07:09:13 pyasn1==0.6.1 07:09:13 pyasn1_modules==0.4.1 07:09:13 pycparser==2.22 07:09:13 pygerrit2==2.0.15 07:09:13 PyGithub==2.5.0 07:09:13 PyJWT==2.10.1 07:09:13 PyNaCl==1.5.0 07:09:13 pyparsing==2.4.7 07:09:13 pyperclip==1.9.0 07:09:13 pyrsistent==0.20.0 07:09:13 python-cinderclient==9.6.0 07:09:13 python-dateutil==2.9.0.post0 07:09:13 python-heatclient==4.0.0 07:09:13 python-jenkins==1.8.2 07:09:13 python-keystoneclient==5.5.0 07:09:13 python-magnumclient==4.7.0 07:09:13 python-openstackclient==7.2.1 07:09:13 python-swiftclient==4.6.0 07:09:13 PyYAML==6.0.2 07:09:13 referencing==0.35.1 07:09:13 requests==2.32.3 07:09:13 requests-oauthlib==2.0.0 07:09:13 requestsexceptions==1.4.0 07:09:13 rfc3986==2.0.0 07:09:13 rpds-py==0.22.3 07:09:13 rsa==4.9 07:09:13 ruamel.yaml==0.18.6 07:09:13 ruamel.yaml.clib==0.2.12 07:09:13 s3transfer==0.10.4 07:09:13 simplejson==3.19.3 07:09:13 six==1.17.0 07:09:13 smmap==5.0.1 07:09:13 soupsieve==2.6 07:09:13 stevedore==5.4.0 07:09:13 tabulate==0.9.0 07:09:13 toml==0.10.2 07:09:13 tomlkit==0.13.2 07:09:13 tqdm==4.67.1 07:09:13 typing_extensions==4.12.2 07:09:13 tzdata==2024.2 07:09:13 urllib3==1.26.20 07:09:13 virtualenv==20.28.0 07:09:13 wcwidth==0.2.13 07:09:13 websocket-client==1.8.0 07:09:13 wrapt==1.17.0 07:09:13 xdg==6.0.0 07:09:13 xmltodict==0.14.2 07:09:13 yq==3.4.3 07:09:13 provisioning config files... 07:09:13 copy managed file [global-settings] to file:/w/workspace/policy-opa-pdp-master-verify-golang@tmp/config18380235546791568044tmp 07:09:13 copy managed file [policy-opa-pdp-settings] to file:/w/workspace/policy-opa-pdp-master-verify-golang@tmp/config12896823551843387788tmp 07:09:13 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins5702031647388795721.sh 07:09:13 ./build_image.sh install 07:09:13 Downloading Go 1.23.3... 07:09:15 Extracting Go 1.23.3... 07:09:18 Adding Go to PATH... 07:09:18 Reloading PATH for verification... 07:09:18 go version go1.23.3 linux/amd64 07:09:18 Go 1.23.3 installed successfully. Run 'source ~/.profile' to update PATH. 07:09:18 Cleaning up... 07:09:18 rm -f go.tar.gz 07:09:18 Done. 07:09:18 CGO_ENABED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-w -s" -o /w/workspace/policy-opa-pdp-master-verify-golang/opa-pdp cmd/opa-pdp/opa-pdp.go 07:09:18 go: downloading github.com/confluentinc/confluent-kafka-go v1.9.2 07:09:18 go: downloading github.com/sirupsen/logrus v1.9.3 07:09:18 go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1 07:09:18 go: downloading github.com/google/uuid v1.6.0 07:09:18 go: downloading github.com/open-policy-agent/opa v0.70.0 07:09:18 go: downloading github.com/oapi-codegen/runtime v1.1.1 07:09:18 go: downloading github.com/go-playground/validator/v10 v10.23.0 07:09:18 go: downloading golang.org/x/sys v0.26.0 07:09:18 go: downloading golang.org/x/text v0.19.0 07:09:18 go: downloading github.com/leodido/go-urn v1.4.0 07:09:18 go: downloading github.com/gabriel-vasile/mimetype v1.4.3 07:09:18 go: downloading golang.org/x/crypto v0.28.0 07:09:18 go: downloading github.com/go-playground/universal-translator v0.18.1 07:09:18 go: downloading github.com/go-playground/locales v0.14.1 07:09:19 go: downloading golang.org/x/net v0.30.0 07:09:20 go: downloading github.com/gorilla/mux v1.8.1 07:09:20 go: downloading github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 07:09:20 go: downloading github.com/prometheus/client_golang v1.20.5 07:09:20 go: downloading go.opentelemetry.io/otel/sdk v1.28.0 07:09:20 go: downloading github.com/OneOfOne/xxhash v1.2.8 07:09:20 go: downloading sigs.k8s.io/yaml v1.4.0 07:09:20 go: downloading golang.org/x/time v0.7.0 07:09:20 go: downloading github.com/gobwas/glob v0.2.3 07:09:20 go: downloading github.com/go-ini/ini v1.67.0 07:09:20 go: downloading github.com/fsnotify/fsnotify v1.7.0 07:09:20 go: downloading gopkg.in/yaml.v3 v3.0.1 07:09:20 go: downloading go.opentelemetry.io/otel v1.28.0 07:09:20 go: downloading go.opentelemetry.io/otel/trace v1.28.0 07:09:20 go: downloading github.com/containerd/containerd v1.7.23 07:09:20 go: downloading github.com/containerd/errdefs v0.3.0 07:09:20 go: downloading github.com/opencontainers/image-spec v1.1.0 07:09:20 go: downloading oras.land/oras-go/v2 v2.3.1 07:09:20 go: downloading github.com/tchap/go-patricia/v2 v2.3.1 07:09:20 go: downloading github.com/yashtewari/glob-intersection v0.2.0 07:09:20 go: downloading github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 07:09:20 go: downloading github.com/beorn7/perks v1.0.1 07:09:20 go: downloading github.com/cespare/xxhash/v2 v2.3.0 07:09:20 go: downloading github.com/prometheus/client_model v0.6.1 07:09:20 go: downloading github.com/prometheus/common v0.55.0 07:09:20 go: downloading github.com/prometheus/procfs v0.15.1 07:09:21 go: downloading google.golang.org/protobuf v1.34.2 07:09:21 go: downloading github.com/opencontainers/go-digest v1.0.0 07:09:21 go: downloading github.com/agnivade/levenshtein v1.2.0 07:09:21 go: downloading golang.org/x/sync v0.8.0 07:09:21 go: downloading github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb 07:09:21 go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 07:09:21 go: downloading github.com/go-logr/logr v1.4.2 07:09:21 go: downloading go.opentelemetry.io/otel/metric v1.28.0 07:09:21 go: downloading github.com/go-logr/stdr v1.2.2 07:09:21 go: downloading github.com/containerd/platforms v0.2.1 07:09:21 go: downloading github.com/containerd/log v0.1.0 07:09:21 go: downloading google.golang.org/grpc v1.67.1 07:09:21 go: downloading github.com/moby/locker v1.0.1 07:09:21 go: downloading github.com/klauspost/compress v1.17.9 07:09:21 go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 07:09:21 go: downloading github.com/felixge/httpsnoop v1.0.4 07:09:21 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 07:09:41 go: downloading github.com/stretchr/testify v1.9.0 07:09:41 go: downloading github.com/pmezard/go-difflib v1.0.0 07:09:41 go: downloading github.com/stretchr/objx v0.5.2 07:09:41 go: downloading github.com/davecgh/go-spew v1.1.1 07:09:46 time="2024-12-26T07:09:46Z" level=debug msg="###################################### " 07:09:46 time="2024-12-26T07:09:46Z" level=debug msg="OPA-PDP: Starting initialisation " 07:09:46 time="2024-12-26T07:09:46Z" level=debug msg="###################################### " 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="LOG_LEVEL not defined, using default value" 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="KAFKA_URL not defined, using default value" 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="PAP_TOPIC not defined, using default value" 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="GROUPID not defined, using default value" 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="API_USER not defined, using default value" 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="API_PASSWORD not defined, using default value" 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="JAASLOGIN not defined, using default value" 07:09:46 decodedConfig JAASLOGIN 07:09:46 time="2024-12-26T07:09:46Z" level=debug msg="Username: " 07:09:46 time="2024-12-26T07:09:46Z" level=debug msg="Password: " 07:09:46 time="2024-12-26T07:09:46Z" level=debug msg="Configuration module: environment initialised" 07:09:46 === RUN TestRegisterHandlers 07:09:46 WARN[2024-12-26T07:09:46.2820+00:00] Bundle server could not serve the request ::: open /app/bundles/bundle.tar.gz: no such file or directory 07:09:46 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:46 --- PASS: TestRegisterHandlers (0.00s) 07:09:46 === RUN TestBasicAuth 07:09:46 --- PASS: TestBasicAuth (0.00s) 07:09:46 === RUN TestReadinessProbe 07:09:46 --- PASS: TestReadinessProbe (0.00s) 07:09:46 PASS 07:09:46 ok policy-opa-pdp/api 0.010s 07:09:46 time="2024-12-26T07:09:46Z" level=debug msg="###################################### " 07:09:46 time="2024-12-26T07:09:46Z" level=debug msg="OPA-PDP: Starting initialisation " 07:09:46 time="2024-12-26T07:09:46Z" level=debug msg="###################################### " 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="LOG_LEVEL not defined, using default value" 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="KAFKA_URL not defined, using default value" 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="PAP_TOPIC not defined, using default value" 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="GROUPID not defined, using default value" 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="API_USER not defined, using default value" 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="API_PASSWORD not defined, using default value" 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="JAASLOGIN not defined, using default value" 07:09:46 decodedConfig JAASLOGIN 07:09:46 time="2024-12-26T07:09:46Z" level=debug msg="Username: " 07:09:46 time="2024-12-26T07:09:46Z" level=debug msg="Password: " 07:09:46 time="2024-12-26T07:09:46Z" level=debug msg="Configuration module: environment initialised" 07:09:46 === RUN TestGetEnv 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="NON_EXISTENT_ENV not defined, using default value" 07:09:46 --- PASS: TestGetEnv (0.00s) 07:09:46 === RUN TestGetEnvAsInt 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="NON_EXISTENT_INT_ENV not defined, using default value" 07:09:46 --- PASS: TestGetEnvAsInt (0.00s) 07:09:46 === RUN TestGetLogLevel 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="NON_EXISTENT_LOG_LEVEL not defined, using default value" 07:09:46 --- PASS: TestGetLogLevel (0.00s) 07:09:46 === RUN TestGetSaslJAASLOGINFromEnv 07:09:46 decodedConfig username="mockUser" password="mockPassword" 07:09:46 --- PASS: TestGetSaslJAASLOGINFromEnv (0.00s) 07:09:46 === RUN TestGetSaslJAASLOGINFromEnv_InvalidEnv 07:09:46 decodedConfig username="mockUser" password=mockPassword 07:09:46 --- PASS: TestGetSaslJAASLOGINFromEnv_InvalidEnv (0.00s) 07:09:46 === RUN TestGetSaslJAASLOGINFromEnv_EmptyEnv 07:09:46 --- PASS: TestGetSaslJAASLOGINFromEnv_EmptyEnv (0.00s) 07:09:46 === RUN TestGetSaslJAASLOGINFromEnv_MissingEnv 07:09:46 time="2024-12-26T07:09:46Z" level=warning msg="JAASLOGIN not defined, using default value" 07:09:46 decodedConfig JAASLOGIN 07:09:46 --- PASS: TestGetSaslJAASLOGINFromEnv_MissingEnv (0.00s) 07:09:46 PASS 07:09:46 ok policy-opa-pdp/cfg 0.005s 07:09:46 ? policy-opa-pdp/consts [no test files] 07:09:47 ? policy-opa-pdp/pkg/kafkacomm/mocks [no test files] 07:09:47 ? policy-opa-pdp/pkg/kafkacomm/publisher/mocks [no test files] 07:09:47 ? policy-opa-pdp/pkg/model/oapicodegen [no test files] 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="OPA-PDP: Starting initialisation " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="LOG_LEVEL not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="KAFKA_URL not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="PAP_TOPIC not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="GROUPID not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="API_USER not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="API_PASSWORD not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="JAASLOGIN not defined, using default value" 07:09:48 decodedConfig JAASLOGIN 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="Username: " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="Password: " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="Configuration module: environment initialised" 07:09:48 === RUN TestHandleShutdown 07:09:48 --- PASS: TestHandleShutdown (0.51s) 07:09:48 === RUN TestMainFunction 07:09:48 INFO[2024-12-26T07:09:47.1708+00:00] HTTP server started 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 2024/12/26 07:09:47 KafkaProducer or producer is nil, skipping Close. 07:09:48 --- PASS: TestMainFunction (0.01s) 07:09:48 === RUN TestShutdownHTTPServer 07:09:48 --- PASS: TestShutdownHTTPServer (0.00s) 07:09:48 === RUN TestInitializeBundle 07:09:48 --- PASS: TestInitializeBundle (0.00s) 07:09:48 === RUN TestStartHTTPServer 07:09:48 --- PASS: TestStartHTTPServer (1.00s) 07:09:48 === RUN TestInitializeOPA 07:09:48 WARN[2024-12-26T07:09:48.1736+00:00] Error getting JSON reader: error opening file: open /app/config/config.json: no such file or directory 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestInitializeOPA (0.00s) 07:09:48 === RUN TestStartKafkaConsumer 07:09:48 %3|1735196988.180|FAIL|rdkafka#consumer-1| [thrd:kafka:9092/bootstrap]: kafka:9092/bootstrap: Failed to resolve 'kafka:9092': Device or resource busy (after 4ms in state CONNECT) 07:09:48 %3|1735196988.182|FAIL|rdkafka#producer-2| [thrd:kafka:9092/bootstrap]: kafka:9092/bootstrap: Failed to resolve 'kafka:9092': Device or resource busy (after 5ms in state CONNECT) 07:09:48 --- PASS: TestStartKafkaConsumer (0.01s) 07:09:48 PASS 07:09:48 ok policy-opa-pdp/cmd/opa-pdp 1.564s 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="OPA-PDP: Starting initialisation " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="LOG_LEVEL not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="KAFKA_URL not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="PAP_TOPIC not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="GROUPID not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="API_USER not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="API_PASSWORD not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="JAASLOGIN not defined, using default value" 07:09:48 decodedConfig JAASLOGIN 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="Username: " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="Password: " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="Configuration module: environment initialised" 07:09:48 === RUN TestHelperProcess 07:09:48 --- PASS: TestHelperProcess (0.00s) 07:09:48 === RUN TestGetBundle 07:09:48 --- PASS: TestGetBundle (0.00s) 07:09:48 === RUN TestGetBundle_FileNotFound 07:09:48 WARN[2024-12-26T07:09:46.6275+00:00] Bundle server could not serve the request ::: open nonexistent-file.tar.gz: no such file or directory 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestGetBundle_FileNotFound (0.00s) 07:09:48 === RUN TestBuildBundle 07:09:48 --- PASS: TestBuildBundle (0.01s) 07:09:48 === RUN TestBuildBundle_CommandFailure 07:09:48 WARN[2024-12-26T07:09:46.6417+00:00] Error output : 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 WARN[2024-12-26T07:09:46.6418+00:00] Failed to build Bundle: exec: Stderr already set 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestBuildBundle_CommandFailure (0.00s) 07:09:48 PASS 07:09:48 ok policy-opa-pdp/pkg/bundleserver 0.025s 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="OPA-PDP: Starting initialisation " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="LOG_LEVEL not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="KAFKA_URL not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="PAP_TOPIC not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="GROUPID not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="API_USER not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="API_PASSWORD not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="JAASLOGIN not defined, using default value" 07:09:48 decodedConfig JAASLOGIN 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="Username: " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="Password: " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="Configuration module: environment initialised" 07:09:48 === RUN TestOpaDecision_MethodNotAllowed 07:09:48 --- PASS: TestOpaDecision_MethodNotAllowed (0.00s) 07:09:48 === RUN TestOpaDecision_InvalidJSON 07:09:48 --- PASS: TestOpaDecision_InvalidJSON (0.00s) 07:09:48 === RUN TestOpaDecision_MissingPolicyPath 07:09:48 --- PASS: TestOpaDecision_MissingPolicyPath (0.00s) 07:09:48 === RUN TestOpaDecision_GetInstanceError 07:09:48 --- PASS: TestOpaDecision_GetInstanceError (0.00s) 07:09:48 === RUN TestOpaDecision_OPADecisionError 07:09:48 --- PASS: TestOpaDecision_OPADecisionError (0.00s) 07:09:48 === RUN TestOpaDecision_PassiveState 07:09:48 --- PASS: TestOpaDecision_PassiveState (0.00s) 07:09:48 === RUN TestWriteOpaJSONResponse 07:09:48 --- PASS: TestWriteOpaJSONResponse (0.00s) 07:09:48 === RUN TestWriteErrorJSONResponse 07:09:48 --- PASS: TestWriteErrorJSONResponse (0.00s) 07:09:48 === RUN TestCreateSuccessDecisionResponse 07:09:48 --- PASS: TestCreateSuccessDecisionResponse (0.00s) 07:09:48 === RUN TestApplyPolicyFilter 07:09:48 --- PASS: TestApplyPolicyFilter (0.00s) 07:09:48 === RUN TestWriteOpaJSONResponse_Error 07:09:48 --- PASS: TestWriteOpaJSONResponse_Error (0.00s) 07:09:48 === RUN TestWriteOpaJSONResponse_Success 07:09:48 --- PASS: TestWriteOpaJSONResponse_Success (0.00s) 07:09:48 === RUN TestWriteOpaJSONResponse_EncodingError 07:09:48 --- PASS: TestWriteOpaJSONResponse_EncodingError (0.00s) 07:09:48 PASS 07:09:48 ok policy-opa-pdp/pkg/decision 0.014s 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="OPA-PDP: Starting initialisation " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="LOG_LEVEL not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="KAFKA_URL not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="PAP_TOPIC not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="GROUPID not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="API_USER not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="API_PASSWORD not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="JAASLOGIN not defined, using default value" 07:09:48 decodedConfig JAASLOGIN 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="Username: " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="Password: " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="Configuration module: environment initialised" 07:09:48 === RUN TestHealthCheckHandler_Success 07:09:48 WARN[2024-12-26T07:09:46.6292+00:00] Invalid or Missing Request ID 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestHealthCheckHandler_Success (0.00s) 07:09:48 === RUN TestHealthCheckHandler_Failure 07:09:48 --- PASS: TestHealthCheckHandler_Failure (0.00s) 07:09:48 === RUN TestHealthCheckHandler_ValidUUID 07:09:48 --- PASS: TestHealthCheckHandler_ValidUUID (0.00s) 07:09:48 === RUN TestHealthCheckHandler_InvalidUUID 07:09:48 WARN[2024-12-26T07:09:46.6298+00:00] Invalid or Missing Request ID 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestHealthCheckHandler_InvalidUUID (0.00s) 07:09:48 === RUN TestHealthCheckHandler_MissingUUID 07:09:48 WARN[2024-12-26T07:09:46.6299+00:00] Invalid or Missing Request ID 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestHealthCheckHandler_MissingUUID (0.00s) 07:09:48 === RUN TestHealthCheckHandler_EmptyResponseBody 07:09:48 --- PASS: TestHealthCheckHandler_EmptyResponseBody (0.00s) 07:09:48 PASS 07:09:48 ok policy-opa-pdp/pkg/healthcheck 0.010s 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="OPA-PDP: Starting initialisation " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="LOG_LEVEL not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="KAFKA_URL not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="PAP_TOPIC not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="GROUPID not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="API_USER not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="API_PASSWORD not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 07:09:48 time="2024-12-26T07:09:46Z" level=warning msg="JAASLOGIN not defined, using default value" 07:09:48 decodedConfig JAASLOGIN 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="Username: " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="Password: " 07:09:48 time="2024-12-26T07:09:46Z" level=debug msg="Configuration module: environment initialised" 07:09:48 === RUN TestNewKafkaConsumer 07:09:48 %3|1735196986.637|FAIL|rdkafka#consumer-1| [thrd:kafka:9092/bootstrap]: kafka:9092/bootstrap: Failed to resolve 'kafka:9092': Device or resource busy (after 4ms in state CONNECT) 07:09:48 --- PASS: TestNewKafkaConsumer (0.01s) 07:09:48 === RUN TestReadKafkaMessages_Success 07:09:48 --- PASS: TestReadKafkaMessages_Success (0.00s) 07:09:48 === RUN TestReadKafkaMessages_Error 07:09:48 --- PASS: TestReadKafkaMessages_Error (0.00s) 07:09:48 === RUN TestKafkaConsumer_Close 07:09:48 --- PASS: TestKafkaConsumer_Close (0.00s) 07:09:48 === RUN TestKafkaConsumer_Unsubscribe 07:09:48 --- PASS: TestKafkaConsumer_Unsubscribe (0.00s) 07:09:48 === RUN TestKafkaConsumer_Unsubscribe_Error 07:09:48 WARN[2024-12-26T07:09:46.6378+00:00] Error Unsubscribing: Unsubscribe error 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestKafkaConsumer_Unsubscribe_Error (0.00s) 07:09:48 === RUN TestKafkaProducer_Produce_Success 07:09:48 --- PASS: TestKafkaProducer_Produce_Success (0.00s) 07:09:48 === RUN TestKafkaProducer_Produce_Error 07:09:48 --- PASS: TestKafkaProducer_Produce_Error (0.00s) 07:09:48 === RUN TestKafkaProducer_Close 07:09:48 2024/12/26 07:09:46 KafkaProducer closed successfully. 07:09:48 --- PASS: TestKafkaProducer_Close (0.00s) 07:09:48 === RUN TestKafkaProducer_Close_Error 07:09:48 2024/12/26 07:09:46 KafkaProducer closed successfully. 07:09:48 --- PASS: TestKafkaProducer_Close_Error (0.00s) 07:09:48 PASS 07:09:48 ok policy-opa-pdp/pkg/kafkacomm 0.016s 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="OPA-PDP: Starting initialisation " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="LOG_LEVEL not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="KAFKA_URL not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="PAP_TOPIC not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="GROUPID not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="API_USER not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="API_PASSWORD not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="JAASLOGIN not defined, using default value" 07:09:48 decodedConfig JAASLOGIN 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="Username: " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="Password: " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="Configuration module: environment initialised" 07:09:48 === RUN TestCheckIfMessageIsForOpaPdp_Check 07:09:48 --- PASS: TestCheckIfMessageIsForOpaPdp_Check (0.00s) 07:09:48 === RUN TestCheckIfMessageIsForOpaPdp_Check_Message_Name 07:09:48 --- PASS: TestCheckIfMessageIsForOpaPdp_Check_Message_Name (0.00s) 07:09:48 === RUN TestCheckIfMessageIsForOpaPdp_Check_PdpGroup 07:09:48 --- PASS: TestCheckIfMessageIsForOpaPdp_Check_PdpGroup (0.00s) 07:09:48 === RUN TestCheckIfMessageIsForOpaPdp_Check_EmptyPdpGroup 07:09:48 --- PASS: TestCheckIfMessageIsForOpaPdp_Check_EmptyPdpGroup (0.00s) 07:09:48 === RUN TestCheckIfMessageIsForOpaPdp_Check_PdpSubgroup 07:09:48 --- PASS: TestCheckIfMessageIsForOpaPdp_Check_PdpSubgroup (0.00s) 07:09:48 === RUN TestCheckIfMessageIsForOpaPdp_Check_IncorrectPdpSubgroup 07:09:48 --- PASS: TestCheckIfMessageIsForOpaPdp_Check_IncorrectPdpSubgroup (0.00s) 07:09:48 === RUN TestCheckIfMessageIsForOpaPdp_EmptyPdpSubgroupAndGroup 07:09:48 --- PASS: TestCheckIfMessageIsForOpaPdp_EmptyPdpSubgroupAndGroup (0.00s) 07:09:48 === RUN TestCheckIfMessageIsForOpaPdp_ValidBroadcastMessage 07:09:48 --- PASS: TestCheckIfMessageIsForOpaPdp_ValidBroadcastMessage (0.00s) 07:09:48 === RUN TestCheckIfMessageIsForOpaPdp_InvalidGroupMismatch 07:09:48 --- PASS: TestCheckIfMessageIsForOpaPdp_InvalidGroupMismatch (0.00s) 07:09:48 === RUN TestSetAndCheckShutdownFlag 07:09:48 --- PASS: TestSetAndCheckShutdownFlag (0.00s) 07:09:48 === RUN TestPdpStateChangeMessageHandler 07:09:48 === RUN TestPdpStateChangeMessageHandler/Valid_state_change 07:09:48 INFO[2024-12-26T07:09:47.0855+00:00] Sending PDP Status With State Change response 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 INFO[2024-12-26T07:09:47.0857+00:00] PDP_STATUS With State Change Message Sent Successfully 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 === RUN TestPdpStateChangeMessageHandler/Invalid_JSON 07:09:48 --- PASS: TestPdpStateChangeMessageHandler (0.00s) 07:09:48 --- PASS: TestPdpStateChangeMessageHandler/Valid_state_change (0.00s) 07:09:48 --- PASS: TestPdpStateChangeMessageHandler/Invalid_JSON (0.00s) 07:09:48 === RUN TestPdpUpdateMessageHandler_Success 07:09:48 INFO[2024-12-26T07:09:47.0862+00:00] Sending PDP Status With Update Response 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 INFO[2024-12-26T07:09:47.0862+00:00] PDP_STATUS Message Sent Successfully 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestPdpUpdateMessageHandler_Success (0.00s) 07:09:48 === RUN TestPdpUpdateMessageHandler_Message_Unmarshal_Failure1 07:09:48 INFO[2024-12-26T07:09:47.0864+00:00] Field PdpHeartbeatIntervalMs failed on the required tag 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 INFO[2024-12-26T07:09:47.0864+00:00] Field MessageType failed on the required tag 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 INFO[2024-12-26T07:09:47.0865+00:00] Field PoliciesToBeDeloyed failed on the required tag 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 INFO[2024-12-26T07:09:47.0865+00:00] Field Name failed on the required tag 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 INFO[2024-12-26T07:09:47.0865+00:00] Field TimestampMs failed on the required tag 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 INFO[2024-12-26T07:09:47.0866+00:00] Field PdpGroup failed on the required tag 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 INFO[2024-12-26T07:09:47.0866+00:00] Field PdpSubgroup failed on the required tag 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 INFO[2024-12-26T07:09:47.0866+00:00] Field RequestId failed on the required tag 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestPdpUpdateMessageHandler_Message_Unmarshal_Failure1 (0.00s) 07:09:48 === RUN TestPdpUpdateMessageHandler_Message_Unmarshal_Failure2 07:09:48 INFO[2024-12-26T07:09:47.0868+00:00] Field Source failed on the required tag 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 INFO[2024-12-26T07:09:47.0868+00:00] Field MessageType failed on the required tag 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 INFO[2024-12-26T07:09:47.0868+00:00] Field PoliciesToBeDeloyed failed on the required tag 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 INFO[2024-12-26T07:09:47.0869+00:00] Field Name failed on the required tag 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 INFO[2024-12-26T07:09:47.0869+00:00] Field TimestampMs failed on the required tag 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 INFO[2024-12-26T07:09:47.0869+00:00] Field PdpGroup failed on the required tag 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 INFO[2024-12-26T07:09:47.0869+00:00] Field PdpSubgroup failed on the required tag 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 INFO[2024-12-26T07:09:47.0869+00:00] Field RequestId failed on the required tag 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestPdpUpdateMessageHandler_Message_Unmarshal_Failure2 (0.00s) 07:09:48 === RUN TestPdpUpdateMessageHandler_Message_Unmarshal_Failure3 07:09:48 --- PASS: TestPdpUpdateMessageHandler_Message_Unmarshal_Failure3 (0.00s) 07:09:48 === RUN TestPdpUpdateMessageHandler_Message_Unmarshal_Failure4 07:09:48 --- PASS: TestPdpUpdateMessageHandler_Message_Unmarshal_Failure4 (0.00s) 07:09:48 === RUN TestPdpUpdateMessageHandler_Fails_Sending_UpdateResponse 07:09:48 INFO[2024-12-26T07:09:47.0872+00:00] Field PdpSubgroup failed on the required tag 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestPdpUpdateMessageHandler_Fails_Sending_UpdateResponse (0.00s) 07:09:48 === RUN TestPdpUpdateMessageHandler_Invalid_Starttimeinterval 07:09:48 INFO[2024-12-26T07:09:47.0874+00:00] Sending PDP Status With Update Response 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 WARN[2024-12-26T07:09:47.0875+00:00] Failed to send PDP Update Message : Invalid Interval Time for Heartbeat 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestPdpUpdateMessageHandler_Invalid_Starttimeinterval (0.00s) 07:09:48 PASS 07:09:48 ok policy-opa-pdp/pkg/kafkacomm/handler 0.012s 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="OPA-PDP: Starting initialisation " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="LOG_LEVEL not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="KAFKA_URL not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="PAP_TOPIC not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="GROUPID not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="API_USER not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="API_PASSWORD not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="JAASLOGIN not defined, using default value" 07:09:48 decodedConfig JAASLOGIN 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="Username: " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="Password: " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="Configuration module: environment initialised" 07:09:48 === RUN TestStartHeartbeatIntervalTimer_ValidInterval 07:09:48 --- PASS: TestStartHeartbeatIntervalTimer_ValidInterval (0.00s) 07:09:48 === RUN TestStartHeartbeatIntervalTimer_InvalidInterval 07:09:48 ERRO[2024-12-26T07:09:47.3448+00:00] Invalid interval provided: -1000. Interval must be greater than zero. 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestStartHeartbeatIntervalTimer_InvalidInterval (0.00s) 07:09:48 === RUN TestSendPDPHeartBeat_Success 07:09:48 --- PASS: TestSendPDPHeartBeat_Success (0.00s) 07:09:48 === RUN TestSendPDPHeartBeat_Failure 07:09:48 WARN[2024-12-26T07:09:47.3451+00:00] Error producing message: Error producing message 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestSendPDPHeartBeat_Failure (0.00s) 07:09:48 === RUN TestStopTicker_Success 07:09:48 --- PASS: TestStopTicker_Success (0.00s) 07:09:48 === RUN TestStopTicker_NotRunning 07:09:48 --- PASS: TestStopTicker_NotRunning (0.00s) 07:09:48 === RUN TestSendPdpPapRegistration_Success 07:09:48 --- PASS: TestSendPdpPapRegistration_Success (0.00s) 07:09:48 === RUN TestSendPdpPapRegistration_Failure 07:09:48 WARN[2024-12-26T07:09:47.3454+00:00] Error producing message: failed To Send 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestSendPdpPapRegistration_Failure (0.00s) 07:09:48 === RUN TestSendPdpUpdateResponse_Success 07:09:48 INFO[2024-12-26T07:09:47.3455+00:00] Sending PDP Status With Update Response 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestSendPdpUpdateResponse_Success (0.00s) 07:09:48 === RUN TestSendPdpUpdateResponse_Failure 07:09:48 INFO[2024-12-26T07:09:47.3456+00:00] Sending PDP Status With Update Response 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 WARN[2024-12-26T07:09:47.3456+00:00] Failed to send PDP Update Message : mock send error 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestSendPdpUpdateResponse_Failure (0.00s) 07:09:48 === RUN TestSendStateChangeResponse_Success 07:09:48 INFO[2024-12-26T07:09:47.3457+00:00] Sending PDP Status With State Change response 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestSendStateChangeResponse_Success (0.00s) 07:09:48 === RUN TestSendStateChangeResponse_Failure 07:09:48 INFO[2024-12-26T07:09:47.3458+00:00] Sending PDP Status With State Change response 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 WARN[2024-12-26T07:09:47.3458+00:00] Failed to send PDP Update Message : mock send error 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestSendStateChangeResponse_Failure (0.00s) 07:09:48 PASS 07:09:48 ok policy-opa-pdp/pkg/kafkacomm/publisher 0.016s 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="OPA-PDP: Starting initialisation " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="LOG_LEVEL not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="KAFKA_URL not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="PAP_TOPIC not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="GROUPID not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="API_USER not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="API_PASSWORD not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="JAASLOGIN not defined, using default value" 07:09:48 decodedConfig JAASLOGIN 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="Username: " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="Password: " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="Configuration module: environment initialised" 07:09:48 === RUN TestSetOutput_Success 07:09:48 --- PASS: TestSetOutput_Success (0.00s) 07:09:48 === RUN TestInit_Success 07:09:48 DEBU[2024-12-26T07:09:47.3431+00:00] logger initialised Filepath = /tmp/logfile.log, Logsize(MB) = 10, Backups = 5, Loglevel = debug 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestInit_Success (0.00s) 07:09:48 === RUN TestInitLogger_Success 07:09:48 --- PASS: TestInitLogger_Success (0.00s) 07:09:48 === RUN TestParseLevel_Success 07:09:48 --- PASS: TestParseLevel_Success (0.00s) 07:09:48 === RUN TestSetLevel_Success 07:09:48 --- PASS: TestSetLevel_Success (0.00s) 07:09:48 === RUN TestError_Success 07:09:48 --- PASS: TestError_Success (0.00s) 07:09:48 === RUN TestInfo_Success 07:09:48 --- PASS: TestInfo_Success (0.00s) 07:09:48 === RUN TestDebug_Success 07:09:48 --- PASS: TestDebug_Success (0.00s) 07:09:48 === RUN TestWarn_Success 07:09:48 --- PASS: TestWarn_Success (0.00s) 07:09:48 === RUN TestPanic_Success 07:09:48 --- PASS: TestPanic_Success (0.00s) 07:09:48 === RUN TestTrace_Success 07:09:48 --- PASS: TestTrace_Success (0.00s) 07:09:48 === RUN TestErrorf_Success 07:09:48 --- PASS: TestErrorf_Success (0.00s) 07:09:48 === RUN TestInfof_Success 07:09:48 --- PASS: TestInfof_Success (0.00s) 07:09:48 === RUN TestDebugf_Success 07:09:48 --- PASS: TestDebugf_Success (0.00s) 07:09:48 === RUN TestWarnf_Success 07:09:48 --- PASS: TestWarnf_Success (0.00s) 07:09:48 === RUN TestPanicf_Success 07:09:48 --- PASS: TestPanicf_Success (0.00s) 07:09:48 === RUN TestTracef_Success 07:09:48 --- PASS: TestTracef_Success (0.00s) 07:09:48 === RUN TestError_Failure 07:09:48 --- PASS: TestError_Failure (0.00s) 07:09:48 === RUN TestInfo_Failure 07:09:48 --- PASS: TestInfo_Failure (0.00s) 07:09:48 === RUN TestDebug_Failure 07:09:48 --- PASS: TestDebug_Failure (0.00s) 07:09:48 === RUN TestWarn_Failure 07:09:48 --- PASS: TestWarn_Failure (0.00s) 07:09:48 === RUN TestPanic_Failure 07:09:48 --- PASS: TestPanic_Failure (0.00s) 07:09:48 === RUN TestTrace_Failure 07:09:48 --- PASS: TestTrace_Failure (0.00s) 07:09:48 === RUN TestErrorf_Failure 07:09:48 --- PASS: TestErrorf_Failure (0.00s) 07:09:48 === RUN TestInfof_Failure 07:09:48 --- PASS: TestInfof_Failure (0.00s) 07:09:48 === RUN TestDebugf_Failure 07:09:48 --- PASS: TestDebugf_Failure (0.00s) 07:09:48 === RUN TestWarnf_Failure 07:09:48 --- PASS: TestWarnf_Failure (0.00s) 07:09:48 === RUN TestPanicf_Failure 07:09:48 --- PASS: TestPanicf_Failure (0.00s) 07:09:48 === RUN TestTracef_Failure 07:09:48 --- PASS: TestTracef_Failure (0.00s) 07:09:48 PASS 07:09:48 ok policy-opa-pdp/pkg/log 0.013s 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="OPA-PDP: Starting initialisation " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="LOG_LEVEL not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="KAFKA_URL not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="PAP_TOPIC not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="GROUPID not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="API_USER not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="API_PASSWORD not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="JAASLOGIN not defined, using default value" 07:09:48 decodedConfig JAASLOGIN 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="Username: " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="Password: " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="Configuration module: environment initialised" 07:09:48 === RUN TestCounters 07:09:48 --- PASS: TestCounters (0.00s) 07:09:48 === RUN TestFetchCurrentStatistics 07:09:48 WARN[2024-12-26T07:09:47.3472+00:00] Invalid or Missing Request ID 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestFetchCurrentStatistics (0.00s) 07:09:48 PASS 07:09:48 ok policy-opa-pdp/pkg/metrics 0.017s 07:09:48 === RUN TestPdpStatusSerialization_Success 07:09:48 --- PASS: TestPdpStatusSerialization_Success (0.00s) 07:09:48 === RUN TestPdpStatusValidation_Failure 07:09:48 --- PASS: TestPdpStatusValidation_Failure (0.00s) 07:09:48 === RUN TestPdpUpdateSerialization_Success 07:09:48 --- PASS: TestPdpUpdateSerialization_Success (0.00s) 07:09:48 === RUN TestPdpUpdateSerialization_Failure 07:09:48 --- PASS: TestPdpUpdateSerialization_Failure (0.00s) 07:09:48 === RUN TestPdpStateChangeSerialization_Success 07:09:48 --- PASS: TestPdpStateChangeSerialization_Success (0.00s) 07:09:48 === RUN TestPdpStateChangeSerialization_Failure 07:09:48 --- PASS: TestPdpStateChangeSerialization_Failure (0.00s) 07:09:48 === RUN TestPdpHealthStatus_String_Success 07:09:48 --- PASS: TestPdpHealthStatus_String_Success (0.00s) 07:09:48 === RUN TestPdpHealthStatus_String_Failure 07:09:48 --- PASS: TestPdpHealthStatus_String_Failure (0.00s) 07:09:48 === RUN TestPdpHealthStatus_MarshalJSON_Success 07:09:48 --- PASS: TestPdpHealthStatus_MarshalJSON_Success (0.00s) 07:09:48 === RUN TestPdpHealthStatus_MarshalJSON_Failure 07:09:48 --- PASS: TestPdpHealthStatus_MarshalJSON_Failure (0.00s) 07:09:48 === RUN TestPdpResponseDetails_MarshalJSON_Success 07:09:48 --- PASS: TestPdpResponseDetails_MarshalJSON_Success (0.00s) 07:09:48 === RUN TestPdpResponseDetails_MarshalJSON_Failure 07:09:48 --- PASS: TestPdpResponseDetails_MarshalJSON_Failure (0.00s) 07:09:48 === RUN TestPdpResponseStatus_Success 07:09:48 --- PASS: TestPdpResponseStatus_Success (0.00s) 07:09:48 === RUN TestPdpResponseStatus_Failure 07:09:48 --- PASS: TestPdpResponseStatus_Failure (0.00s) 07:09:48 === RUN TestPdpState_String_Success 07:09:48 --- PASS: TestPdpState_String_Success (0.00s) 07:09:48 === RUN TestPdpState_String_Failure 07:09:48 --- PASS: TestPdpState_String_Failure (0.00s) 07:09:48 === RUN TestPdpState_MarshalJSON_Success 07:09:48 --- PASS: TestPdpState_MarshalJSON_Success (0.00s) 07:09:48 === RUN TestPdpState_MarshalJSON_Failure 07:09:48 --- PASS: TestPdpState_MarshalJSON_Failure (0.00s) 07:09:48 === RUN TestConvertStringToEnumState_Success 07:09:48 --- PASS: TestConvertStringToEnumState_Success (0.00s) 07:09:48 === RUN TestConvertStringToEnumState_Failure 07:09:48 --- PASS: TestConvertStringToEnumState_Failure (0.00s) 07:09:48 === RUN TestNewToscaConceptIdentifier_Success 07:09:48 --- PASS: TestNewToscaConceptIdentifier_Success (0.00s) 07:09:48 === RUN TestNewToscaConceptIdentifier_Failure 07:09:48 --- PASS: TestNewToscaConceptIdentifier_Failure (0.00s) 07:09:48 === RUN TestNewToscaConceptIdentifierFromKey_Success 07:09:48 --- PASS: TestNewToscaConceptIdentifierFromKey_Success (0.00s) 07:09:48 === RUN TestNewToscaConceptIdentifierFromKey_Failure 07:09:48 --- PASS: TestNewToscaConceptIdentifierFromKey_Failure (0.00s) 07:09:48 === RUN TestToscaConceptIdentifier_ValidatePapRest_Success 07:09:48 --- PASS: TestToscaConceptIdentifier_ValidatePapRest_Success (0.00s) 07:09:48 === RUN TestToscaConceptIdentifier_ValidatePapRest_Failure 07:09:48 --- PASS: TestToscaConceptIdentifier_ValidatePapRest_Failure (0.00s) 07:09:48 PASS 07:09:48 ok policy-opa-pdp/pkg/model 0.009s 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="OPA-PDP: Starting initialisation " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="LOG_LEVEL not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="KAFKA_URL not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="PAP_TOPIC not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="GROUPID not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="API_USER not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="API_PASSWORD not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="JAASLOGIN not defined, using default value" 07:09:48 decodedConfig JAASLOGIN 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="Username: " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="Password: " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="Configuration module: environment initialised" 07:09:48 === RUN TestGetOPASingletonInstance_ConfigurationFileNotexisting 07:09:48 WARN[2024-12-26T07:09:47.9095+00:00] Error getting JSON reader: error opening file: open /app/config/config.json: no such file or directory 07:09:48 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 07:09:48 --- PASS: TestGetOPASingletonInstance_ConfigurationFileNotexisting (0.00s) 07:09:48 === RUN TestGetOPASingletonInstance_SingletonBehavior 07:09:48 --- PASS: TestGetOPASingletonInstance_SingletonBehavior (0.00s) 07:09:48 === RUN TestGetOPASingletonInstance_OPAInstanceCreation 07:09:48 --- PASS: TestGetOPASingletonInstance_OPAInstanceCreation (0.00s) 07:09:48 === RUN TestGetJSONReader 07:09:48 --- PASS: TestGetJSONReader (0.00s) 07:09:48 PASS 07:09:48 ok policy-opa-pdp/pkg/opasdk 0.015s 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="OPA-PDP: Starting initialisation " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="###################################### " 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="LOG_LEVEL not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="KAFKA_URL not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="PAP_TOPIC not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="GROUPID not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="API_USER not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="API_PASSWORD not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 07:09:48 time="2024-12-26T07:09:47Z" level=warning msg="JAASLOGIN not defined, using default value" 07:09:48 decodedConfig JAASLOGIN 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="Username: " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="Password: " 07:09:48 time="2024-12-26T07:09:47Z" level=debug msg="Configuration module: environment initialised" 07:09:48 === RUN TestGenerateUniquePdpName_Success 07:09:48 === RUN TestGenerateUniquePdpName_Success/GenerateValidPdpName 07:09:48 --- PASS: TestGenerateUniquePdpName_Success (0.00s) 07:09:48 --- PASS: TestGenerateUniquePdpName_Success/GenerateValidPdpName (0.00s) 07:09:48 === RUN TestGenerateUniquePdpName_Failure 07:09:48 === RUN TestGenerateUniquePdpName_Failure/UniqueNamesCheck 07:09:48 --- PASS: TestGenerateUniquePdpName_Failure (0.00s) 07:09:48 --- PASS: TestGenerateUniquePdpName_Failure/UniqueNamesCheck (0.00s) 07:09:48 === RUN TestSetPdpSubgroup_Success 07:09:48 === RUN TestSetPdpSubgroup_Success/ValidSubgroup 07:09:48 --- PASS: TestSetPdpSubgroup_Success (0.00s) 07:09:48 --- PASS: TestSetPdpSubgroup_Success/ValidSubgroup (0.00s) 07:09:48 === RUN TestSetPdpSubgroup_Failure 07:09:48 === RUN TestSetPdpSubgroup_Failure/EmptySubgroup 07:09:48 === RUN TestSetPdpSubgroup_Failure/LargeSubgroup 07:09:48 --- PASS: TestSetPdpSubgroup_Failure (0.00s) 07:09:48 --- PASS: TestSetPdpSubgroup_Failure/EmptySubgroup (0.00s) 07:09:48 --- PASS: TestSetPdpSubgroup_Failure/LargeSubgroup (0.00s) 07:09:48 === RUN TestSetPdpHeartbeatInterval_Success 07:09:48 === RUN TestSetPdpHeartbeatInterval_Success/ValidHeartbeatInterval 07:09:48 --- PASS: TestSetPdpHeartbeatInterval_Success (0.00s) 07:09:48 --- PASS: TestSetPdpHeartbeatInterval_Success/ValidHeartbeatInterval (0.00s) 07:09:48 === RUN TestSetPdpHeartbeatInterval_Failure 07:09:48 === RUN TestSetPdpHeartbeatInterval_Failure/FailureHeartbeatInterval 07:09:48 === RUN TestSetPdpHeartbeatInterval_Failure/LargeHeartbeatInterval 07:09:48 --- PASS: TestSetPdpHeartbeatInterval_Failure (0.00s) 07:09:48 --- PASS: TestSetPdpHeartbeatInterval_Failure/FailureHeartbeatInterval (0.00s) 07:09:48 --- PASS: TestSetPdpHeartbeatInterval_Failure/LargeHeartbeatInterval (0.00s) 07:09:48 PASS 07:09:48 ok policy-opa-pdp/pkg/pdpattributes 0.012s 07:09:48 === RUN TestSetState_Success 07:09:48 === RUN TestSetState_Success/ValidState 07:09:48 --- PASS: TestSetState_Success (0.00s) 07:09:48 --- PASS: TestSetState_Success/ValidState (0.00s) 07:09:48 === RUN TestSetState_Failure 07:09:48 === RUN TestSetState_Failure/InvalidState 07:09:48 --- PASS: TestSetState_Failure (0.00s) 07:09:48 --- PASS: TestSetState_Failure/InvalidState (0.00s) 07:09:48 PASS 07:09:48 ok policy-opa-pdp/pkg/pdpstate 0.006s 07:09:48 === RUN TestIsValidUUIDPositive 07:09:48 === RUN TestIsValidUUIDPositive/Valid_UUID 07:09:48 === RUN TestIsValidUUIDPositive/Valid_UUID#01 07:09:48 --- PASS: TestIsValidUUIDPositive (0.00s) 07:09:48 --- PASS: TestIsValidUUIDPositive/Valid_UUID (0.00s) 07:09:48 --- PASS: TestIsValidUUIDPositive/Valid_UUID#01 (0.00s) 07:09:48 === RUN TestIsValidUUIDNegative 07:09:48 === RUN TestIsValidUUIDNegative/Invalid_UUID 07:09:48 === RUN TestIsValidUUIDNegative/Invalid_UUID#01 07:09:48 === RUN TestIsValidUUIDNegative/Invalid_UUID#02 07:09:48 === RUN TestIsValidUUIDNegative/Invalid_UUID#03 07:09:48 --- PASS: TestIsValidUUIDNegative (0.00s) 07:09:48 --- PASS: TestIsValidUUIDNegative/Invalid_UUID (0.00s) 07:09:48 --- PASS: TestIsValidUUIDNegative/Invalid_UUID#01 (0.00s) 07:09:48 --- PASS: TestIsValidUUIDNegative/Invalid_UUID#02 (0.00s) 07:09:48 --- PASS: TestIsValidUUIDNegative/Invalid_UUID#03 (0.00s) 07:09:48 PASS 07:09:48 ok policy-opa-pdp/pkg/utils 0.006s 07:09:50 ok policy-opa-pdp/api 0.014s coverage: 100.0% of statements 07:09:50 ok policy-opa-pdp/cfg 0.008s coverage: 93.6% of statements 07:09:51 ? policy-opa-pdp/consts [no test files] 07:09:53 ok policy-opa-pdp/cmd/opa-pdp 1.545s coverage: 61.2% of statements 07:09:53 ok policy-opa-pdp/pkg/bundleserver 0.012s coverage: 100.0% of statements 07:09:53 ok policy-opa-pdp/pkg/decision 0.013s coverage: 40.3% of statements 07:09:53 ok policy-opa-pdp/pkg/healthcheck 0.011s coverage: 95.2% of statements 07:09:54 ok policy-opa-pdp/pkg/kafkacomm 0.014s coverage: 53.9% of statements 07:09:54 policy-opa-pdp/pkg/kafkacomm/mocks coverage: 0.0% of statements 07:09:54 ok policy-opa-pdp/pkg/kafkacomm/handler 0.011s coverage: 60.0% of statements 07:09:56 policy-opa-pdp/pkg/kafkacomm/publisher/mocks coverage: 0.0% of statements 07:09:56 ok policy-opa-pdp/pkg/kafkacomm/publisher 0.009s coverage: 72.5% of statements 07:09:56 ok policy-opa-pdp/pkg/log 0.005s coverage: 93.1% of statements 07:09:56 ok policy-opa-pdp/pkg/metrics 0.004s coverage: 82.6% of statements 07:09:56 ? policy-opa-pdp/pkg/model/oapicodegen [no test files] 07:09:56 ok policy-opa-pdp/pkg/model 0.003s coverage: 85.7% of statements 07:09:57 ok policy-opa-pdp/pkg/opasdk 0.013s coverage: 76.9% of statements 07:09:57 ok policy-opa-pdp/pkg/pdpattributes 0.014s coverage: 100.0% of statements 07:09:58 ok policy-opa-pdp/pkg/pdpstate 0.007s coverage: 100.0% of statements 07:09:58 ok policy-opa-pdp/pkg/utils 0.005s coverage: 100.0% of statements 07:09:58 [policy-opa-pdp-master-verify-golang] $ /bin/sh -xe /tmp/jenkins16046796776249481897.sh 07:09:58 $ ssh-agent -k 07:09:58 unset SSH_AUTH_SOCK; 07:09:58 unset SSH_AGENT_PID; 07:09:58 echo Agent pid 2123 killed; 07:09:58 [ssh-agent] Stopped. 07:09:58 [PostBuildScript] - [INFO] Executing post build scripts. 07:09:58 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins9585496259014715170.sh 07:09:58 ---> sysstat.sh 07:09:59 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins13069758674062715108.sh 07:09:59 ---> package-listing.sh 07:09:59 ++ facter osfamily 07:09:59 ++ tr '[:upper:]' '[:lower:]' 07:09:59 + OS_FAMILY=debian 07:09:59 + workspace=/w/workspace/policy-opa-pdp-master-verify-golang 07:09:59 + START_PACKAGES=/tmp/packages_start.txt 07:09:59 + END_PACKAGES=/tmp/packages_end.txt 07:09:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:09:59 + PACKAGES=/tmp/packages_start.txt 07:09:59 + '[' /w/workspace/policy-opa-pdp-master-verify-golang ']' 07:09:59 + PACKAGES=/tmp/packages_end.txt 07:09:59 + case "${OS_FAMILY}" in 07:09:59 + dpkg -l 07:09:59 + grep '^ii' 07:09:59 + '[' -f /tmp/packages_start.txt ']' 07:09:59 + '[' -f /tmp/packages_end.txt ']' 07:09:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:09:59 + '[' /w/workspace/policy-opa-pdp-master-verify-golang ']' 07:09:59 + mkdir -p /w/workspace/policy-opa-pdp-master-verify-golang/archives/ 07:09:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-opa-pdp-master-verify-golang/archives/ 07:09:59 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins5081993959377899891.sh 07:09:59 ---> capture-instance-metadata.sh 07:09:59 Setup pyenv: 07:09:59 system 07:09:59 3.8.13 07:09:59 3.9.13 07:09:59 * 3.10.6 (set by /w/workspace/policy-opa-pdp-master-verify-golang/.python-version) 07:10:00 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-yY8e from file:/tmp/.os_lf_venv 07:10:01 lf-activate-venv(): INFO: Installing: lftools 07:10:10 lf-activate-venv(): INFO: Adding /tmp/venv-yY8e/bin to PATH 07:10:10 INFO: Running in OpenStack, capturing instance metadata 07:10:10 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins11640516811640144476.sh 07:10:10 provisioning config files... 07:10:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-opa-pdp-master-verify-golang@tmp/config11799071011502757080tmp 07:10:10 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 07:10:10 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 07:10:10 [EnvInject] - Injecting environment variables from a build step. 07:10:10 [EnvInject] - Injecting as environment variables the properties content 07:10:10 SERVER_ID=logs 07:10:10 07:10:10 [EnvInject] - Variables injected successfully. 07:10:10 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins11351239084160394857.sh 07:10:10 ---> create-netrc.sh 07:10:10 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins14846732827871244134.sh 07:10:10 ---> python-tools-install.sh 07:10:10 Setup pyenv: 07:10:10 system 07:10:10 3.8.13 07:10:10 3.9.13 07:10:10 * 3.10.6 (set by /w/workspace/policy-opa-pdp-master-verify-golang/.python-version) 07:10:10 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-yY8e from file:/tmp/.os_lf_venv 07:10:12 lf-activate-venv(): INFO: Installing: lftools 07:10:20 lf-activate-venv(): INFO: Adding /tmp/venv-yY8e/bin to PATH 07:10:20 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins7758943955087212528.sh 07:10:20 ---> sudo-logs.sh 07:10:20 Archiving 'sudo' log.. 07:10:20 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins4813392708530699262.sh 07:10:20 ---> job-cost.sh 07:10:20 Setup pyenv: 07:10:20 system 07:10:20 3.8.13 07:10:20 3.9.13 07:10:20 * 3.10.6 (set by /w/workspace/policy-opa-pdp-master-verify-golang/.python-version) 07:10:20 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-yY8e from file:/tmp/.os_lf_venv 07:10:21 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 07:10:25 lf-activate-venv(): INFO: Adding /tmp/venv-yY8e/bin to PATH 07:10:25 INFO: No Stack... 07:10:25 INFO: Retrieving Pricing Info for: v3-standard-8 07:10:26 INFO: Archiving Costs 07:10:26 [policy-opa-pdp-master-verify-golang] $ /bin/bash -l /tmp/jenkins8943197580078090549.sh 07:10:26 ---> logs-deploy.sh 07:10:26 Setup pyenv: 07:10:26 system 07:10:26 3.8.13 07:10:26 3.9.13 07:10:26 * 3.10.6 (set by /w/workspace/policy-opa-pdp-master-verify-golang/.python-version) 07:10:26 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-yY8e from file:/tmp/.os_lf_venv 07:10:27 lf-activate-venv(): INFO: Installing: lftools 07:10:35 lf-activate-venv(): INFO: Adding /tmp/venv-yY8e/bin to PATH 07:10:35 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-opa-pdp-master-verify-golang/81 07:10:35 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 07:10:36 Archives upload complete. 07:10:36 INFO: archiving logs to Nexus 07:10:37 ---> uname -a: 07:10:37 Linux prd-ubuntu1804-docker-8c-8g-93312 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 07:10:37 07:10:37 07:10:37 ---> lscpu: 07:10:37 Architecture: x86_64 07:10:37 CPU op-mode(s): 32-bit, 64-bit 07:10:37 Byte Order: Little Endian 07:10:37 CPU(s): 8 07:10:37 On-line CPU(s) list: 0-7 07:10:37 Thread(s) per core: 1 07:10:37 Core(s) per socket: 1 07:10:37 Socket(s): 8 07:10:37 NUMA node(s): 1 07:10:37 Vendor ID: AuthenticAMD 07:10:37 CPU family: 23 07:10:37 Model: 49 07:10:37 Model name: AMD EPYC-Rome Processor 07:10:37 Stepping: 0 07:10:37 CPU MHz: 2799.998 07:10:37 BogoMIPS: 5599.99 07:10:37 Virtualization: AMD-V 07:10:37 Hypervisor vendor: KVM 07:10:37 Virtualization type: full 07:10:37 L1d cache: 32K 07:10:37 L1i cache: 32K 07:10:37 L2 cache: 512K 07:10:37 L3 cache: 16384K 07:10:37 NUMA node0 CPU(s): 0-7 07:10:37 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities 07:10:37 07:10:37 07:10:37 ---> nproc: 07:10:37 8 07:10:37 07:10:37 07:10:37 ---> df -h: 07:10:37 Filesystem Size Used Avail Use% Mounted on 07:10:37 udev 16G 0 16G 0% /dev 07:10:37 tmpfs 3.2G 708K 3.2G 1% /run 07:10:37 /dev/vda1 155G 11G 145G 7% / 07:10:37 tmpfs 16G 0 16G 0% /dev/shm 07:10:37 tmpfs 5.0M 0 5.0M 0% /run/lock 07:10:37 tmpfs 16G 0 16G 0% /sys/fs/cgroup 07:10:37 /dev/vda15 105M 4.4M 100M 5% /boot/efi 07:10:37 tmpfs 3.2G 0 3.2G 0% /run/user/1001 07:10:37 07:10:37 07:10:37 ---> free -m: 07:10:37 total used free shared buff/cache available 07:10:37 Mem: 32167 831 28093 0 3243 30880 07:10:37 Swap: 1023 0 1023 07:10:37 07:10:37 07:10:37 ---> ip addr: 07:10:37 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 07:10:37 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 07:10:37 inet 127.0.0.1/8 scope host lo 07:10:37 valid_lft forever preferred_lft forever 07:10:37 inet6 ::1/128 scope host 07:10:37 valid_lft forever preferred_lft forever 07:10:37 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 07:10:37 link/ether fa:16:3e:ca:be:e3 brd ff:ff:ff:ff:ff:ff 07:10:37 inet 10.30.106.144/23 brd 10.30.107.255 scope global dynamic ens3 07:10:37 valid_lft 86216sec preferred_lft 86216sec 07:10:37 inet6 fe80::f816:3eff:feca:bee3/64 scope link 07:10:37 valid_lft forever preferred_lft forever 07:10:37 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 07:10:37 link/ether 02:42:17:0d:9d:ed brd ff:ff:ff:ff:ff:ff 07:10:37 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 07:10:37 valid_lft forever preferred_lft forever 07:10:37 07:10:37 07:10:37 ---> sar -b -r -n DEV: 07:10:37 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-93312) 12/26/24 _x86_64_ (8 CPU) 07:10:37 07:10:37 07:07:36 LINUX RESTART (8 CPU) 07:10:37 07:10:37 07:08:01 tps rtps wtps bread/s bwrtn/s 07:10:37 07:09:01 284.79 57.56 227.23 3652.46 28466.59 07:10:37 07:10:01 213.10 41.68 171.42 1202.73 52626.03 07:10:37 Average: 248.94 49.62 199.33 2427.60 40546.31 07:10:37 07:10:37 07:08:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 07:10:37 07:09:01 30182384 31718040 2756836 8.37 67276 1780808 1385308 4.08 831472 1639220 157324 07:10:37 07:10:01 28819300 31666652 4119920 12.51 116152 2981796 1361368 4.01 1438748 2281400 221536 07:10:37 Average: 29500842 31692346 3438378 10.44 91714 2381302 1373338 4.04 1135110 1960310 189430 07:10:37 07:10:37 07:08:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 07:10:37 07:09:01 ens3 331.69 248.36 1576.07 76.81 0.00 0.00 0.00 0.00 07:10:37 07:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:37 07:09:01 lo 1.73 1.73 0.18 0.18 0.00 0.00 0.00 0.00 07:10:37 07:10:01 ens3 319.91 175.04 3798.60 21.02 0.00 0.00 0.00 0.00 07:10:37 07:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:37 07:10:01 lo 2.13 2.13 0.16 0.16 0.00 0.00 0.00 0.00 07:10:37 Average: ens3 325.80 211.70 2687.34 48.91 0.00 0.00 0.00 0.00 07:10:37 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 07:10:37 Average: lo 1.93 1.93 0.17 0.17 0.00 0.00 0.00 0.00 07:10:37 07:10:37 07:10:37 ---> sar -P ALL: 07:10:37 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-93312) 12/26/24 _x86_64_ (8 CPU) 07:10:37 07:10:37 07:07:36 LINUX RESTART (8 CPU) 07:10:37 07:10:37 07:08:01 CPU %user %nice %system %iowait %steal %idle 07:10:37 07:09:01 all 10.38 0.00 1.00 3.40 0.05 85.17 07:10:37 07:09:01 0 16.03 0.00 1.89 7.10 0.03 74.95 07:10:37 07:09:01 1 4.83 0.00 0.69 0.33 0.03 94.11 07:10:37 07:09:01 2 4.44 0.00 0.67 1.02 0.10 93.77 07:10:37 07:09:01 3 9.10 0.00 0.68 1.89 0.03 88.29 07:10:37 07:09:01 4 2.91 0.00 0.57 0.22 0.05 96.25 07:10:37 07:09:01 5 5.19 0.00 0.37 0.27 0.05 94.12 07:10:37 07:09:01 6 26.06 0.00 2.05 15.98 0.08 55.83 07:10:37 07:09:01 7 14.55 0.00 1.04 0.47 0.02 83.93 07:10:37 07:10:01 all 29.18 0.00 5.81 3.80 0.08 61.12 07:10:37 07:10:01 0 27.24 0.00 6.19 12.19 0.08 54.29 07:10:37 07:10:01 1 26.54 0.00 5.56 1.15 0.10 66.64 07:10:37 07:10:01 2 26.15 0.00 5.75 5.08 0.08 62.93 07:10:37 07:10:01 3 27.89 0.00 5.68 0.34 0.07 66.02 07:10:37 07:10:01 4 27.58 0.00 6.46 0.54 0.07 65.35 07:10:37 07:10:01 5 29.82 0.00 5.73 0.66 0.07 63.72 07:10:37 07:10:01 6 25.65 0.00 5.18 8.62 0.08 60.46 07:10:37 07:10:01 7 42.56 0.00 5.98 1.87 0.10 49.49 07:10:37 Average: all 19.76 0.00 3.40 3.60 0.07 73.18 07:10:37 Average: 0 21.62 0.00 4.04 9.64 0.06 64.64 07:10:37 Average: 1 15.64 0.00 3.12 0.74 0.07 80.43 07:10:37 Average: 2 15.29 0.00 3.21 3.05 0.09 78.35 07:10:37 Average: 3 18.45 0.00 3.17 1.12 0.05 77.21 07:10:37 Average: 4 15.20 0.00 3.51 0.38 0.06 80.85 07:10:37 Average: 5 17.45 0.00 3.04 0.46 0.06 78.99 07:10:37 Average: 6 25.86 0.00 3.61 12.31 0.08 58.14 07:10:37 Average: 7 28.51 0.00 3.50 1.16 0.06 66.76 07:10:37 07:10:37 07:10:37