14:23:48 Triggered by Gerrit: https://gerrit.onap.org/r/c/policy/opa-pdp/+/139785 14:23:48 Running as SYSTEM 14:23:48 [EnvInject] - Loading node environment variables. 14:23:48 Building remotely on prd-ubuntu1804-docker-8c-8g-92885 (ubuntu1804-docker-8c-8g) in workspace /w/workspace/policy-opa-pdp-master-verify-golang 14:23:48 [ssh-agent] Looking for ssh-agent implementation... 14:23:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:23:48 $ ssh-agent 14:23:48 SSH_AUTH_SOCK=/tmp/ssh-88uHe1wNawRb/agent.2027 14:23:48 SSH_AGENT_PID=2029 14:23:48 [ssh-agent] Started. 14:23:48 Running ssh-add (command line suppressed) 14:23:48 Identity added: /w/workspace/policy-opa-pdp-master-verify-golang@tmp/private_key_13098054831738965629.key (/w/workspace/policy-opa-pdp-master-verify-golang@tmp/private_key_13098054831738965629.key) 14:23:48 [ssh-agent] Using credentials onap-jobbuiler (Gerrit user) 14:23:48 The recommended git tool is: NONE 14:23:50 using credential onap-jenkins-ssh 14:23:50 Wiping out workspace first. 14:23:50 Cloning the remote Git repository 14:23:50 Cloning repository git://cloud.onap.org/mirror/policy/opa-pdp.git 14:23:50 > git init /w/workspace/policy-opa-pdp-master-verify-golang # timeout=10 14:23:50 Fetching upstream changes from git://cloud.onap.org/mirror/policy/opa-pdp.git 14:23:50 > git --version # timeout=10 14:23:50 > git --version # 'git version 2.17.1' 14:23:50 using GIT_SSH to set credentials Gerrit user 14:23:50 Verifying host key using manually-configured host key entries 14:23:50 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/opa-pdp.git +refs/heads/*:refs/remotes/origin/* # timeout=30 14:23:50 > git config remote.origin.url git://cloud.onap.org/mirror/policy/opa-pdp.git # timeout=10 14:23:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:23:51 > git config remote.origin.url git://cloud.onap.org/mirror/policy/opa-pdp.git # timeout=10 14:23:51 Fetching upstream changes from git://cloud.onap.org/mirror/policy/opa-pdp.git 14:23:51 using GIT_SSH to set credentials Gerrit user 14:23:51 Verifying host key using manually-configured host key entries 14:23:51 > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/opa-pdp.git refs/changes/85/139785/4 # timeout=30 14:23:51 > git rev-parse 950f88c0c6ec9e84abc563dde0b79bfcab4007b3^{commit} # timeout=10 14:23:51 Checking out Revision 950f88c0c6ec9e84abc563dde0b79bfcab4007b3 (refs/changes/85/139785/4) 14:23:51 > git config core.sparsecheckout # timeout=10 14:23:51 > git checkout -f 950f88c0c6ec9e84abc563dde0b79bfcab4007b3 # timeout=30 14:23:54 Commit message: "OPA-PDP URL changes and bugfix" 14:23:54 > git rev-parse FETCH_HEAD^{commit} # timeout=10 14:23:54 > git rev-list --no-walk bc208ae0a6b0c995f65c26564fb8b06ef270bf67 # timeout=10 14:23:54 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins3173422974578927722.sh 14:23:54 ---> python-tools-install.sh 14:23:54 Setup pyenv: 14:23:55 * system (set by /opt/pyenv/version) 14:23:55 * 3.8.13 (set by /opt/pyenv/version) 14:23:55 * 3.9.13 (set by /opt/pyenv/version) 14:23:55 * 3.10.6 (set by /opt/pyenv/version) 14:23:59 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-oTja 14:23:59 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 14:24:02 lf-activate-venv(): INFO: Installing: lftools 14:24:27 lf-activate-venv(): INFO: Adding /tmp/venv-oTja/bin to PATH 14:24:27 Generating Requirements File 14:24:47 Python 3.10.6 14:24:47 pip 24.3.1 from /tmp/venv-oTja/lib/python3.10/site-packages/pip (python 3.10) 14:24:48 appdirs==1.4.4 14:24:48 argcomplete==3.5.2 14:24:48 aspy.yaml==1.3.0 14:24:48 attrs==24.3.0 14:24:48 autopage==0.5.2 14:24:48 beautifulsoup4==4.12.3 14:24:48 boto3==1.35.86 14:24:48 botocore==1.35.86 14:24:48 bs4==0.0.2 14:24:48 cachetools==5.5.0 14:24:48 certifi==2024.12.14 14:24:48 cffi==1.17.1 14:24:48 cfgv==3.4.0 14:24:48 chardet==5.2.0 14:24:48 charset-normalizer==3.4.0 14:24:48 click==8.1.8 14:24:48 cliff==4.8.0 14:24:48 cmd2==2.5.8 14:24:48 cryptography==3.3.2 14:24:48 debtcollector==3.0.0 14:24:48 decorator==5.1.1 14:24:48 defusedxml==0.7.1 14:24:48 Deprecated==1.2.15 14:24:48 distlib==0.3.9 14:24:48 dnspython==2.7.0 14:24:48 docker==4.2.2 14:24:48 dogpile.cache==1.3.3 14:24:48 durationpy==0.9 14:24:48 email_validator==2.2.0 14:24:48 filelock==3.16.1 14:24:48 future==1.0.0 14:24:48 gitdb==4.0.11 14:24:48 GitPython==3.1.43 14:24:48 google-auth==2.37.0 14:24:48 httplib2==0.22.0 14:24:48 identify==2.6.3 14:24:48 idna==3.10 14:24:48 importlib-resources==1.5.0 14:24:48 iso8601==2.1.0 14:24:48 Jinja2==3.1.5 14:24:48 jmespath==1.0.1 14:24:48 jsonpatch==1.33 14:24:48 jsonpointer==3.0.0 14:24:48 jsonschema==4.23.0 14:24:48 jsonschema-specifications==2024.10.1 14:24:48 keystoneauth1==5.9.1 14:24:48 kubernetes==31.0.0 14:24:48 lftools==0.37.10 14:24:48 lxml==5.3.0 14:24:48 MarkupSafe==3.0.2 14:24:48 msgpack==1.1.0 14:24:48 multi_key_dict==2.0.3 14:24:48 munch==4.0.0 14:24:48 netaddr==1.3.0 14:24:48 niet==1.4.2 14:24:48 nodeenv==1.9.1 14:24:48 oauth2client==4.1.3 14:24:48 oauthlib==3.2.2 14:24:48 openstacksdk==4.2.0 14:24:48 os-client-config==2.1.0 14:24:48 os-service-types==1.7.0 14:24:48 osc-lib==3.2.0 14:24:48 oslo.config==9.7.0 14:24:48 oslo.context==5.7.0 14:24:48 oslo.i18n==6.5.0 14:24:48 oslo.log==6.2.0 14:24:48 oslo.serialization==5.6.0 14:24:48 oslo.utils==8.0.0 14:24:48 packaging==24.2 14:24:48 pbr==6.1.0 14:24:48 platformdirs==4.3.6 14:24:48 prettytable==3.12.0 14:24:48 psutil==6.1.1 14:24:48 pyasn1==0.6.1 14:24:48 pyasn1_modules==0.4.1 14:24:48 pycparser==2.22 14:24:48 pygerrit2==2.0.15 14:24:48 PyGithub==2.5.0 14:24:48 PyJWT==2.10.1 14:24:48 PyNaCl==1.5.0 14:24:48 pyparsing==2.4.7 14:24:48 pyperclip==1.9.0 14:24:48 pyrsistent==0.20.0 14:24:48 python-cinderclient==9.6.0 14:24:48 python-dateutil==2.9.0.post0 14:24:48 python-heatclient==4.0.0 14:24:48 python-jenkins==1.8.2 14:24:48 python-keystoneclient==5.5.0 14:24:48 python-magnumclient==4.7.0 14:24:48 python-openstackclient==7.2.1 14:24:48 python-swiftclient==4.6.0 14:24:48 PyYAML==6.0.2 14:24:48 referencing==0.35.1 14:24:48 requests==2.32.3 14:24:48 requests-oauthlib==2.0.0 14:24:48 requestsexceptions==1.4.0 14:24:48 rfc3986==2.0.0 14:24:48 rpds-py==0.22.3 14:24:48 rsa==4.9 14:24:48 ruamel.yaml==0.18.6 14:24:48 ruamel.yaml.clib==0.2.12 14:24:48 s3transfer==0.10.4 14:24:48 simplejson==3.19.3 14:24:48 six==1.17.0 14:24:48 smmap==5.0.1 14:24:48 soupsieve==2.6 14:24:48 stevedore==5.4.0 14:24:48 tabulate==0.9.0 14:24:48 toml==0.10.2 14:24:48 tomlkit==0.13.2 14:24:48 tqdm==4.67.1 14:24:48 typing_extensions==4.12.2 14:24:48 tzdata==2024.2 14:24:48 urllib3==1.26.20 14:24:48 virtualenv==20.28.0 14:24:48 wcwidth==0.2.13 14:24:48 websocket-client==1.8.0 14:24:48 wrapt==1.17.0 14:24:48 xdg==6.0.0 14:24:48 xmltodict==0.14.2 14:24:48 yq==3.4.3 14:24:48 provisioning config files... 14:24:48 copy managed file [global-settings] to file:/w/workspace/policy-opa-pdp-master-verify-golang@tmp/config7018070618586959601tmp 14:24:48 copy managed file [policy-opa-pdp-settings] to file:/w/workspace/policy-opa-pdp-master-verify-golang@tmp/config14206770996465349276tmp 14:24:48 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins16099038859560674161.sh 14:24:48 ./build_image.sh install 14:24:48 Downloading Go 1.23.3... 14:24:49 Extracting Go 1.23.3... 14:24:51 Adding Go to PATH... 14:24:51 Reloading PATH for verification... 14:24:51 go version go1.23.3 linux/amd64 14:24:51 Go 1.23.3 installed successfully. Run 'source ~/.profile' to update PATH. 14:24:51 Cleaning up... 14:24:51 rm -f go.tar.gz 14:24:51 Done. 14:24:51 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 14:24:51 go: downloading github.com/sirupsen/logrus v1.9.3 14:24:51 go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1 14:24:51 go: downloading github.com/confluentinc/confluent-kafka-go v1.9.2 14:24:51 go: downloading github.com/open-policy-agent/opa v0.70.0 14:24:51 go: downloading github.com/go-playground/validator/v10 v10.23.0 14:24:51 go: downloading github.com/google/uuid v1.6.0 14:24:51 go: downloading github.com/oapi-codegen/runtime v1.1.1 14:24:51 go: downloading golang.org/x/sys v0.26.0 14:24:51 go: downloading golang.org/x/text v0.19.0 14:24:51 go: downloading github.com/go-playground/universal-translator v0.18.1 14:24:51 go: downloading github.com/leodido/go-urn v1.4.0 14:24:51 go: downloading github.com/gabriel-vasile/mimetype v1.4.3 14:24:51 go: downloading golang.org/x/crypto v0.28.0 14:24:51 go: downloading github.com/go-playground/locales v0.14.1 14:24:53 go: downloading golang.org/x/net v0.30.0 14:24:53 go: downloading github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 14:24:53 go: downloading github.com/gorilla/mux v1.8.1 14:24:53 go: downloading github.com/prometheus/client_golang v1.20.5 14:24:53 go: downloading go.opentelemetry.io/otel/sdk v1.28.0 14:24:53 go: downloading github.com/OneOfOne/xxhash v1.2.8 14:24:53 go: downloading github.com/gobwas/glob v0.2.3 14:24:53 go: downloading github.com/fsnotify/fsnotify v1.7.0 14:24:53 go: downloading gopkg.in/yaml.v3 v3.0.1 14:24:53 go: downloading go.opentelemetry.io/otel v1.28.0 14:24:53 go: downloading sigs.k8s.io/yaml v1.4.0 14:24:53 go: downloading go.opentelemetry.io/otel/trace v1.28.0 14:24:53 go: downloading golang.org/x/time v0.7.0 14:24:53 go: downloading github.com/go-ini/ini v1.67.0 14:24:53 go: downloading github.com/tchap/go-patricia/v2 v2.3.1 14:24:53 go: downloading github.com/yashtewari/glob-intersection v0.2.0 14:24:53 go: downloading github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 14:24:53 go: downloading github.com/containerd/containerd v1.7.23 14:24:53 go: downloading github.com/containerd/errdefs v0.3.0 14:24:53 go: downloading github.com/opencontainers/image-spec v1.1.0 14:24:53 go: downloading oras.land/oras-go/v2 v2.3.1 14:24:53 go: downloading github.com/agnivade/levenshtein v1.2.0 14:24:53 go: downloading github.com/beorn7/perks v1.0.1 14:24:53 go: downloading github.com/cespare/xxhash/v2 v2.3.0 14:24:53 go: downloading github.com/prometheus/client_model v0.6.1 14:24:53 go: downloading github.com/prometheus/common v0.55.0 14:24:54 go: downloading github.com/prometheus/procfs v0.15.1 14:24:54 go: downloading google.golang.org/protobuf v1.34.2 14:24:54 go: downloading github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb 14:24:54 go: downloading github.com/opencontainers/go-digest v1.0.0 14:24:54 go: downloading golang.org/x/sync v0.8.0 14:24:54 go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 14:24:54 go: downloading github.com/go-logr/logr v1.4.2 14:24:54 go: downloading github.com/go-logr/stdr v1.2.2 14:24:54 go: downloading go.opentelemetry.io/otel/metric v1.28.0 14:24:54 go: downloading github.com/containerd/log v0.1.0 14:24:54 go: downloading github.com/containerd/platforms v0.2.1 14:24:54 go: downloading google.golang.org/grpc v1.67.1 14:24:54 go: downloading github.com/moby/locker v1.0.1 14:24:54 go: downloading github.com/klauspost/compress v1.17.9 14:24:54 go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 14:24:54 go: downloading github.com/felixge/httpsnoop v1.0.4 14:24:54 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 14:25:15 go: downloading github.com/stretchr/testify v1.9.0 14:25:15 go: downloading github.com/stretchr/objx v0.5.2 14:25:15 go: downloading github.com/davecgh/go-spew v1.1.1 14:25:15 go: downloading github.com/pmezard/go-difflib v1.0.0 14:25:33 time="2024-12-23T14:25:33Z" level=debug msg="###################################### " 14:25:33 time="2024-12-23T14:25:33Z" level=debug msg="OPA-PDP: Starting initialisation " 14:25:33 time="2024-12-23T14:25:33Z" level=debug msg="###################################### " 14:25:33 time="2024-12-23T14:25:33Z" level=warning msg="LOG_LEVEL not defined, using default value" 14:25:33 time="2024-12-23T14:25:33Z" level=warning msg="KAFKA_URL not defined, using default value" 14:25:33 time="2024-12-23T14:25:33Z" level=warning msg="PAP_TOPIC not defined, using default value" 14:25:33 time="2024-12-23T14:25:33Z" level=warning msg="GROUPID not defined, using default value" 14:25:33 time="2024-12-23T14:25:33Z" level=warning msg="API_USER not defined, using default value" 14:25:33 time="2024-12-23T14:25:33Z" level=warning msg="API_PASSWORD not defined, using default value" 14:25:33 time="2024-12-23T14:25:33Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 14:25:33 time="2024-12-23T14:25:33Z" level=warning msg="JAASLOGIN not defined, using default value" 14:25:33 decodedConfig JAASLOGIN 14:25:33 time="2024-12-23T14:25:33Z" level=debug msg="Username: " 14:25:33 time="2024-12-23T14:25:33Z" level=debug msg="Password: " 14:25:33 time="2024-12-23T14:25:33Z" level=debug msg="Configuration module: environment initialised" 14:25:33 === RUN TestRegisterHandlers 14:25:33 WARN[2024-12-23T14:25:33.4097+00:00] Bundle server could not serve the request ::: open /app/bundles/bundle.tar.gz: no such file or directory 14:25:33 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:33 --- PASS: TestRegisterHandlers (0.00s) 14:25:33 === RUN TestBasicAuth 14:25:33 --- PASS: TestBasicAuth (0.00s) 14:25:33 === RUN TestReadinessProbe 14:25:33 --- PASS: TestReadinessProbe (0.00s) 14:25:33 PASS 14:25:33 ok policy-opa-pdp/api 0.011s 14:25:34 time="2024-12-23T14:25:34Z" level=debug msg="###################################### " 14:25:34 time="2024-12-23T14:25:34Z" level=debug msg="OPA-PDP: Starting initialisation " 14:25:34 time="2024-12-23T14:25:34Z" level=debug msg="###################################### " 14:25:34 time="2024-12-23T14:25:34Z" level=warning msg="LOG_LEVEL not defined, using default value" 14:25:34 time="2024-12-23T14:25:34Z" level=warning msg="KAFKA_URL not defined, using default value" 14:25:34 time="2024-12-23T14:25:34Z" level=warning msg="PAP_TOPIC not defined, using default value" 14:25:34 time="2024-12-23T14:25:34Z" level=warning msg="GROUPID not defined, using default value" 14:25:34 time="2024-12-23T14:25:34Z" level=warning msg="API_USER not defined, using default value" 14:25:34 time="2024-12-23T14:25:34Z" level=warning msg="API_PASSWORD not defined, using default value" 14:25:34 time="2024-12-23T14:25:34Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 14:25:34 time="2024-12-23T14:25:34Z" level=warning msg="JAASLOGIN not defined, using default value" 14:25:34 decodedConfig JAASLOGIN 14:25:34 time="2024-12-23T14:25:34Z" level=debug msg="Username: " 14:25:34 time="2024-12-23T14:25:34Z" level=debug msg="Password: " 14:25:34 time="2024-12-23T14:25:34Z" level=debug msg="Configuration module: environment initialised" 14:25:34 === RUN TestGetEnv 14:25:34 time="2024-12-23T14:25:34Z" level=warning msg="NON_EXISTENT_ENV not defined, using default value" 14:25:34 --- PASS: TestGetEnv (0.00s) 14:25:34 === RUN TestGetEnvAsInt 14:25:34 time="2024-12-23T14:25:34Z" level=warning msg="NON_EXISTENT_INT_ENV not defined, using default value" 14:25:34 --- PASS: TestGetEnvAsInt (0.00s) 14:25:34 === RUN TestGetLogLevel 14:25:34 time="2024-12-23T14:25:34Z" level=warning msg="NON_EXISTENT_LOG_LEVEL not defined, using default value" 14:25:34 --- PASS: TestGetLogLevel (0.00s) 14:25:34 === RUN TestGetSaslJAASLOGINFromEnv 14:25:34 decodedConfig username="mockUser" password="mockPassword" 14:25:34 --- PASS: TestGetSaslJAASLOGINFromEnv (0.00s) 14:25:34 === RUN TestGetSaslJAASLOGINFromEnv_InvalidEnv 14:25:34 decodedConfig username="mockUser" password=mockPassword 14:25:34 --- PASS: TestGetSaslJAASLOGINFromEnv_InvalidEnv (0.00s) 14:25:34 === RUN TestGetSaslJAASLOGINFromEnv_EmptyEnv 14:25:34 --- PASS: TestGetSaslJAASLOGINFromEnv_EmptyEnv (0.00s) 14:25:34 === RUN TestGetSaslJAASLOGINFromEnv_MissingEnv 14:25:34 time="2024-12-23T14:25:34Z" level=warning msg="JAASLOGIN not defined, using default value" 14:25:34 decodedConfig JAASLOGIN 14:25:34 --- PASS: TestGetSaslJAASLOGINFromEnv_MissingEnv (0.00s) 14:25:34 PASS 14:25:34 ok policy-opa-pdp/cfg 0.006s 14:25:37 time="2024-12-23T14:25:37Z" level=debug msg="###################################### " 14:25:37 time="2024-12-23T14:25:37Z" level=debug msg="OPA-PDP: Starting initialisation " 14:25:37 time="2024-12-23T14:25:37Z" level=debug msg="###################################### " 14:25:37 time="2024-12-23T14:25:37Z" level=warning msg="LOG_LEVEL not defined, using default value" 14:25:37 time="2024-12-23T14:25:37Z" level=warning msg="KAFKA_URL not defined, using default value" 14:25:37 time="2024-12-23T14:25:37Z" level=warning msg="PAP_TOPIC not defined, using default value" 14:25:37 time="2024-12-23T14:25:37Z" level=warning msg="GROUPID not defined, using default value" 14:25:37 time="2024-12-23T14:25:37Z" level=warning msg="API_USER not defined, using default value" 14:25:37 time="2024-12-23T14:25:37Z" level=warning msg="API_PASSWORD not defined, using default value" 14:25:37 time="2024-12-23T14:25:37Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 14:25:37 time="2024-12-23T14:25:37Z" level=warning msg="JAASLOGIN not defined, using default value" 14:25:37 decodedConfig JAASLOGIN 14:25:37 time="2024-12-23T14:25:37Z" level=debug msg="Username: " 14:25:37 time="2024-12-23T14:25:37Z" level=debug msg="Password: " 14:25:37 time="2024-12-23T14:25:37Z" level=debug msg="Configuration module: environment initialised" 14:25:37 === RUN TestHandleShutdown 14:25:37 --- PASS: TestHandleShutdown (0.50s) 14:25:37 === RUN TestMainFunction 14:25:37 INFO[2024-12-23T14:25:37.9898+00:00] HTTP server started 14:25:37 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:37 2024/12/23 14:25:37 KafkaProducer or producer is nil, skipping Close. 14:25:37 --- PASS: TestMainFunction (0.01s) 14:25:37 === RUN TestShutdownHTTPServer 14:25:37 --- PASS: TestShutdownHTTPServer (0.00s) 14:25:37 === RUN TestInitializeBundle 14:25:37 --- PASS: TestInitializeBundle (0.00s) 14:25:37 === RUN TestStartHTTPServer 14:25:38 --- PASS: TestStartHTTPServer (1.00s) 14:25:38 === RUN TestInitializeOPA 14:25:38 WARN[2024-12-23T14:25:38.9939+00:00] Error getting JSON reader: error opening file: open /app/config/config.json: no such file or directory 14:25:38 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:38 --- PASS: TestInitializeOPA (0.00s) 14:25:38 === RUN TestStartKafkaConsumer 14:25:39 --- PASS: TestStartKafkaConsumer (0.01s) 14:25:39 PASS 14:25:39 ok policy-opa-pdp/cmd/opa-pdp 1.544s 14:25:39 ? policy-opa-pdp/consts [no test files] 14:25:39 time="2024-12-23T14:25:39Z" level=debug msg="###################################### " 14:25:39 time="2024-12-23T14:25:39Z" level=debug msg="OPA-PDP: Starting initialisation " 14:25:39 time="2024-12-23T14:25:39Z" level=debug msg="###################################### " 14:25:39 time="2024-12-23T14:25:39Z" level=warning msg="LOG_LEVEL not defined, using default value" 14:25:39 time="2024-12-23T14:25:39Z" level=warning msg="KAFKA_URL not defined, using default value" 14:25:39 time="2024-12-23T14:25:39Z" level=warning msg="PAP_TOPIC not defined, using default value" 14:25:39 time="2024-12-23T14:25:39Z" level=warning msg="GROUPID not defined, using default value" 14:25:39 time="2024-12-23T14:25:39Z" level=warning msg="API_USER not defined, using default value" 14:25:39 time="2024-12-23T14:25:39Z" level=warning msg="API_PASSWORD not defined, using default value" 14:25:39 time="2024-12-23T14:25:39Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 14:25:39 time="2024-12-23T14:25:39Z" level=warning msg="JAASLOGIN not defined, using default value" 14:25:39 decodedConfig JAASLOGIN 14:25:39 time="2024-12-23T14:25:39Z" level=debug msg="Username: " 14:25:39 time="2024-12-23T14:25:39Z" level=debug msg="Password: " 14:25:39 time="2024-12-23T14:25:39Z" level=debug msg="Configuration module: environment initialised" 14:25:39 === RUN TestHelperProcess 14:25:39 --- PASS: TestHelperProcess (0.00s) 14:25:39 === RUN TestGetBundle 14:25:39 --- PASS: TestGetBundle (0.00s) 14:25:39 === RUN TestGetBundle_FileNotFound 14:25:39 WARN[2024-12-23T14:25:39.3786+00:00] Bundle server could not serve the request ::: open nonexistent-file.tar.gz: no such file or directory 14:25:39 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:39 --- PASS: TestGetBundle_FileNotFound (0.00s) 14:25:39 === RUN TestBuildBundle 14:25:39 --- PASS: TestBuildBundle (0.01s) 14:25:39 === RUN TestBuildBundle_CommandFailure 14:25:39 WARN[2024-12-23T14:25:39.3872+00:00] Error output : 14:25:39 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:39 WARN[2024-12-23T14:25:39.3872+00:00] Failed to build Bundle: exec: Stderr already set 14:25:39 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:39 --- PASS: TestBuildBundle_CommandFailure (0.00s) 14:25:39 PASS 14:25:39 ok policy-opa-pdp/pkg/bundleserver 0.015s 14:25:40 time="2024-12-23T14:25:40Z" level=debug msg="###################################### " 14:25:40 time="2024-12-23T14:25:40Z" level=debug msg="OPA-PDP: Starting initialisation " 14:25:40 time="2024-12-23T14:25:40Z" level=debug msg="###################################### " 14:25:40 time="2024-12-23T14:25:40Z" level=warning msg="LOG_LEVEL not defined, using default value" 14:25:40 time="2024-12-23T14:25:40Z" level=warning msg="KAFKA_URL not defined, using default value" 14:25:40 time="2024-12-23T14:25:40Z" level=warning msg="PAP_TOPIC not defined, using default value" 14:25:40 time="2024-12-23T14:25:40Z" level=warning msg="GROUPID not defined, using default value" 14:25:40 time="2024-12-23T14:25:40Z" level=warning msg="API_USER not defined, using default value" 14:25:40 time="2024-12-23T14:25:40Z" level=warning msg="API_PASSWORD not defined, using default value" 14:25:40 time="2024-12-23T14:25:40Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 14:25:40 time="2024-12-23T14:25:40Z" level=warning msg="JAASLOGIN not defined, using default value" 14:25:40 decodedConfig JAASLOGIN 14:25:40 time="2024-12-23T14:25:40Z" level=debug msg="Username: " 14:25:40 time="2024-12-23T14:25:40Z" level=debug msg="Password: " 14:25:40 time="2024-12-23T14:25:40Z" level=debug msg="Configuration module: environment initialised" 14:25:40 === RUN TestOpaDecision_MethodNotAllowed 14:25:40 --- PASS: TestOpaDecision_MethodNotAllowed (0.00s) 14:25:40 === RUN TestOpaDecision_InvalidJSON 14:25:40 --- PASS: TestOpaDecision_InvalidJSON (0.00s) 14:25:40 === RUN TestOpaDecision_MissingPolicyPath 14:25:40 --- PASS: TestOpaDecision_MissingPolicyPath (0.00s) 14:25:40 === RUN TestOpaDecision_GetInstanceError 14:25:40 --- PASS: TestOpaDecision_GetInstanceError (0.00s) 14:25:40 === RUN TestOpaDecision_OPADecisionError 14:25:40 --- PASS: TestOpaDecision_OPADecisionError (0.00s) 14:25:40 === RUN TestOpaDecision_PassiveState 14:25:40 --- PASS: TestOpaDecision_PassiveState (0.00s) 14:25:40 === RUN TestWriteOpaJSONResponse 14:25:40 --- PASS: TestWriteOpaJSONResponse (0.00s) 14:25:40 === RUN TestWriteErrorJSONResponse 14:25:40 --- PASS: TestWriteErrorJSONResponse (0.00s) 14:25:40 === RUN TestCreateSuccessDecisionResponse 14:25:40 --- PASS: TestCreateSuccessDecisionResponse (0.00s) 14:25:40 === RUN TestApplyPolicyFilter 14:25:40 --- PASS: TestApplyPolicyFilter (0.00s) 14:25:40 === RUN TestWriteOpaJSONResponse_Error 14:25:40 --- PASS: TestWriteOpaJSONResponse_Error (0.00s) 14:25:40 === RUN TestWriteOpaJSONResponse_Success 14:25:40 --- PASS: TestWriteOpaJSONResponse_Success (0.00s) 14:25:40 === RUN TestWriteOpaJSONResponse_EncodingError 14:25:40 --- PASS: TestWriteOpaJSONResponse_EncodingError (0.00s) 14:25:40 PASS 14:25:40 ok policy-opa-pdp/pkg/decision 0.014s 14:25:40 time="2024-12-23T14:25:40Z" level=debug msg="###################################### " 14:25:40 time="2024-12-23T14:25:40Z" level=debug msg="OPA-PDP: Starting initialisation " 14:25:40 time="2024-12-23T14:25:40Z" level=debug msg="###################################### " 14:25:40 time="2024-12-23T14:25:40Z" level=warning msg="LOG_LEVEL not defined, using default value" 14:25:40 time="2024-12-23T14:25:40Z" level=warning msg="KAFKA_URL not defined, using default value" 14:25:40 time="2024-12-23T14:25:40Z" level=warning msg="PAP_TOPIC not defined, using default value" 14:25:40 time="2024-12-23T14:25:40Z" level=warning msg="GROUPID not defined, using default value" 14:25:40 time="2024-12-23T14:25:40Z" level=warning msg="API_USER not defined, using default value" 14:25:40 time="2024-12-23T14:25:40Z" level=warning msg="API_PASSWORD not defined, using default value" 14:25:40 time="2024-12-23T14:25:40Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 14:25:40 time="2024-12-23T14:25:40Z" level=warning msg="JAASLOGIN not defined, using default value" 14:25:40 decodedConfig JAASLOGIN 14:25:40 time="2024-12-23T14:25:40Z" level=debug msg="Username: " 14:25:40 time="2024-12-23T14:25:40Z" level=debug msg="Password: " 14:25:40 time="2024-12-23T14:25:40Z" level=debug msg="Configuration module: environment initialised" 14:25:40 === RUN TestHealthCheckHandler_Success 14:25:40 WARN[2024-12-23T14:25:40.8751+00:00] Invalid or Missing Request ID 14:25:40 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:40 --- PASS: TestHealthCheckHandler_Success (0.00s) 14:25:40 === RUN TestHealthCheckHandler_Failure 14:25:40 --- PASS: TestHealthCheckHandler_Failure (0.00s) 14:25:40 === RUN TestHealthCheckHandler_ValidUUID 14:25:40 --- PASS: TestHealthCheckHandler_ValidUUID (0.00s) 14:25:40 === RUN TestHealthCheckHandler_InvalidUUID 14:25:40 WARN[2024-12-23T14:25:40.8756+00:00] Invalid or Missing Request ID 14:25:40 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:40 --- PASS: TestHealthCheckHandler_InvalidUUID (0.00s) 14:25:40 === RUN TestHealthCheckHandler_MissingUUID 14:25:40 WARN[2024-12-23T14:25:40.8757+00:00] Invalid or Missing Request ID 14:25:40 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:40 --- PASS: TestHealthCheckHandler_MissingUUID (0.00s) 14:25:40 === RUN TestHealthCheckHandler_EmptyResponseBody 14:25:40 --- PASS: TestHealthCheckHandler_EmptyResponseBody (0.00s) 14:25:40 PASS 14:25:40 ok policy-opa-pdp/pkg/healthcheck 0.006s 14:25:41 time="2024-12-23T14:25:41Z" level=debug msg="###################################### " 14:25:41 time="2024-12-23T14:25:41Z" level=debug msg="OPA-PDP: Starting initialisation " 14:25:41 time="2024-12-23T14:25:41Z" level=debug msg="###################################### " 14:25:41 time="2024-12-23T14:25:41Z" level=warning msg="LOG_LEVEL not defined, using default value" 14:25:41 time="2024-12-23T14:25:41Z" level=warning msg="KAFKA_URL not defined, using default value" 14:25:41 time="2024-12-23T14:25:41Z" level=warning msg="PAP_TOPIC not defined, using default value" 14:25:41 time="2024-12-23T14:25:41Z" level=warning msg="GROUPID not defined, using default value" 14:25:41 time="2024-12-23T14:25:41Z" level=warning msg="API_USER not defined, using default value" 14:25:41 time="2024-12-23T14:25:41Z" level=warning msg="API_PASSWORD not defined, using default value" 14:25:41 time="2024-12-23T14:25:41Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 14:25:41 time="2024-12-23T14:25:41Z" level=warning msg="JAASLOGIN not defined, using default value" 14:25:41 decodedConfig JAASLOGIN 14:25:41 time="2024-12-23T14:25:41Z" level=debug msg="Username: " 14:25:41 time="2024-12-23T14:25:41Z" level=debug msg="Password: " 14:25:41 time="2024-12-23T14:25:41Z" level=debug msg="Configuration module: environment initialised" 14:25:41 === RUN TestNewKafkaConsumer 14:25:41 %3|1734963941.593|FAIL|rdkafka#consumer-1| [thrd:kafka:9092/bootstrap]: kafka:9092/bootstrap: Failed to resolve 'kafka:9092': Device or resource busy (after 3ms in state CONNECT) 14:25:41 --- PASS: TestNewKafkaConsumer (0.01s) 14:25:41 === RUN TestReadKafkaMessages_Success 14:25:41 --- PASS: TestReadKafkaMessages_Success (0.00s) 14:25:41 === RUN TestReadKafkaMessages_Error 14:25:41 --- PASS: TestReadKafkaMessages_Error (0.00s) 14:25:41 === RUN TestKafkaConsumer_Close 14:25:41 --- PASS: TestKafkaConsumer_Close (0.00s) 14:25:41 === RUN TestKafkaConsumer_Unsubscribe 14:25:41 --- PASS: TestKafkaConsumer_Unsubscribe (0.00s) 14:25:41 === RUN TestKafkaConsumer_Unsubscribe_Error 14:25:41 WARN[2024-12-23T14:25:41.5944+00:00] Error Unsubscribing: Unsubscribe error 14:25:41 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:41 --- PASS: TestKafkaConsumer_Unsubscribe_Error (0.00s) 14:25:41 === RUN TestKafkaProducer_Produce_Success 14:25:41 --- PASS: TestKafkaProducer_Produce_Success (0.00s) 14:25:41 === RUN TestKafkaProducer_Produce_Error 14:25:41 --- PASS: TestKafkaProducer_Produce_Error (0.00s) 14:25:41 === RUN TestKafkaProducer_Close 14:25:41 2024/12/23 14:25:41 KafkaProducer closed successfully. 14:25:41 --- PASS: TestKafkaProducer_Close (0.00s) 14:25:41 === RUN TestKafkaProducer_Close_Error 14:25:41 2024/12/23 14:25:41 KafkaProducer closed successfully. 14:25:41 --- PASS: TestKafkaProducer_Close_Error (0.00s) 14:25:41 PASS 14:25:41 ok policy-opa-pdp/pkg/kafkacomm 0.016s 14:25:42 time="2024-12-23T14:25:42Z" level=debug msg="###################################### " 14:25:42 time="2024-12-23T14:25:42Z" level=debug msg="OPA-PDP: Starting initialisation " 14:25:42 time="2024-12-23T14:25:42Z" level=debug msg="###################################### " 14:25:42 time="2024-12-23T14:25:42Z" level=warning msg="LOG_LEVEL not defined, using default value" 14:25:42 time="2024-12-23T14:25:42Z" level=warning msg="KAFKA_URL not defined, using default value" 14:25:42 time="2024-12-23T14:25:42Z" level=warning msg="PAP_TOPIC not defined, using default value" 14:25:42 time="2024-12-23T14:25:42Z" level=warning msg="GROUPID not defined, using default value" 14:25:42 time="2024-12-23T14:25:42Z" level=warning msg="API_USER not defined, using default value" 14:25:42 time="2024-12-23T14:25:42Z" level=warning msg="API_PASSWORD not defined, using default value" 14:25:42 time="2024-12-23T14:25:42Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 14:25:42 time="2024-12-23T14:25:42Z" level=warning msg="JAASLOGIN not defined, using default value" 14:25:42 decodedConfig JAASLOGIN 14:25:42 time="2024-12-23T14:25:42Z" level=debug msg="Username: " 14:25:42 time="2024-12-23T14:25:42Z" level=debug msg="Password: " 14:25:42 time="2024-12-23T14:25:42Z" level=debug msg="Configuration module: environment initialised" 14:25:42 === RUN TestCheckIfMessageIsForOpaPdp_Check 14:25:42 --- PASS: TestCheckIfMessageIsForOpaPdp_Check (0.00s) 14:25:42 === RUN TestCheckIfMessageIsForOpaPdp_Check_Message_Name 14:25:42 --- PASS: TestCheckIfMessageIsForOpaPdp_Check_Message_Name (0.00s) 14:25:42 === RUN TestCheckIfMessageIsForOpaPdp_Check_PdpGroup 14:25:42 --- PASS: TestCheckIfMessageIsForOpaPdp_Check_PdpGroup (0.00s) 14:25:42 === RUN TestCheckIfMessageIsForOpaPdp_Check_EmptyPdpGroup 14:25:42 --- PASS: TestCheckIfMessageIsForOpaPdp_Check_EmptyPdpGroup (0.00s) 14:25:42 === RUN TestCheckIfMessageIsForOpaPdp_Check_PdpSubgroup 14:25:42 --- PASS: TestCheckIfMessageIsForOpaPdp_Check_PdpSubgroup (0.00s) 14:25:42 === RUN TestCheckIfMessageIsForOpaPdp_Check_IncorrectPdpSubgroup 14:25:42 --- PASS: TestCheckIfMessageIsForOpaPdp_Check_IncorrectPdpSubgroup (0.00s) 14:25:42 === RUN TestCheckIfMessageIsForOpaPdp_EmptyPdpSubgroupAndGroup 14:25:42 --- PASS: TestCheckIfMessageIsForOpaPdp_EmptyPdpSubgroupAndGroup (0.00s) 14:25:42 === RUN TestCheckIfMessageIsForOpaPdp_ValidBroadcastMessage 14:25:42 --- PASS: TestCheckIfMessageIsForOpaPdp_ValidBroadcastMessage (0.00s) 14:25:42 === RUN TestCheckIfMessageIsForOpaPdp_InvalidGroupMismatch 14:25:42 --- PASS: TestCheckIfMessageIsForOpaPdp_InvalidGroupMismatch (0.00s) 14:25:42 === RUN TestSetAndCheckShutdownFlag 14:25:42 --- PASS: TestSetAndCheckShutdownFlag (0.00s) 14:25:42 === RUN TestPdpStateChangeMessageHandler 14:25:42 === RUN TestPdpStateChangeMessageHandler/Valid_state_change 14:25:42 INFO[2024-12-23T14:25:42.4190+00:00] Sending PDP Status With State Change response 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 INFO[2024-12-23T14:25:42.4192+00:00] PDP_STATUS With State Change Message Sent Successfully 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 === RUN TestPdpStateChangeMessageHandler/Invalid_JSON 14:25:42 === RUN TestPdpStateChangeMessageHandler/Error_in_SendStateChangeResponse 14:25:42 INFO[2024-12-23T14:25:42.4194+00:00] Sending PDP Status With State Change response 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 WARN[2024-12-23T14:25:42.4194+00:00] Failed to send PDP Update Message : failed to send PDP status 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 --- PASS: TestPdpStateChangeMessageHandler (0.00s) 14:25:42 --- PASS: TestPdpStateChangeMessageHandler/Valid_state_change (0.00s) 14:25:42 --- PASS: TestPdpStateChangeMessageHandler/Invalid_JSON (0.00s) 14:25:42 --- PASS: TestPdpStateChangeMessageHandler/Error_in_SendStateChangeResponse (0.00s) 14:25:42 === RUN TestPdpUpdateMessageHandler_Success 14:25:42 INFO[2024-12-23T14:25:42.4197+00:00] Sending PDP Status With Update Response 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 INFO[2024-12-23T14:25:42.4197+00:00] PDP_STATUS Message Sent Successfully 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 --- PASS: TestPdpUpdateMessageHandler_Success (0.00s) 14:25:42 === RUN TestPdpUpdateMessageHandler_Message_Unmarshal_Failure1 14:25:42 INFO[2024-12-23T14:25:42.4198+00:00] Field PdpHeartbeatIntervalMs failed on the required tag 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 INFO[2024-12-23T14:25:42.4199+00:00] Field MessageType failed on the required tag 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 INFO[2024-12-23T14:25:42.4199+00:00] Field PoliciesToBeDeloyed failed on the required tag 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 INFO[2024-12-23T14:25:42.4199+00:00] Field Name failed on the required tag 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 INFO[2024-12-23T14:25:42.4199+00:00] Field TimestampMs failed on the required tag 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 INFO[2024-12-23T14:25:42.4199+00:00] Field PdpGroup failed on the required tag 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 INFO[2024-12-23T14:25:42.4199+00:00] Field PdpSubgroup failed on the required tag 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 INFO[2024-12-23T14:25:42.4199+00:00] Field RequestId failed on the required tag 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 --- PASS: TestPdpUpdateMessageHandler_Message_Unmarshal_Failure1 (0.00s) 14:25:42 === RUN TestPdpUpdateMessageHandler_Message_Unmarshal_Failure2 14:25:42 INFO[2024-12-23T14:25:42.4201+00:00] Field Source failed on the required tag 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 INFO[2024-12-23T14:25:42.4201+00:00] Field MessageType failed on the required tag 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 INFO[2024-12-23T14:25:42.4201+00:00] Field PoliciesToBeDeloyed failed on the required tag 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 INFO[2024-12-23T14:25:42.4201+00:00] Field Name failed on the required tag 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 INFO[2024-12-23T14:25:42.4201+00:00] Field TimestampMs failed on the required tag 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 INFO[2024-12-23T14:25:42.4202+00:00] Field PdpGroup failed on the required tag 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 INFO[2024-12-23T14:25:42.4202+00:00] Field PdpSubgroup failed on the required tag 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 INFO[2024-12-23T14:25:42.4202+00:00] Field RequestId failed on the required tag 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 --- PASS: TestPdpUpdateMessageHandler_Message_Unmarshal_Failure2 (0.00s) 14:25:42 === RUN TestPdpUpdateMessageHandler_Message_Unmarshal_Failure3 14:25:42 --- PASS: TestPdpUpdateMessageHandler_Message_Unmarshal_Failure3 (0.00s) 14:25:42 === RUN TestPdpUpdateMessageHandler_Message_Unmarshal_Failure4 14:25:42 --- PASS: TestPdpUpdateMessageHandler_Message_Unmarshal_Failure4 (0.00s) 14:25:42 === RUN TestPdpUpdateMessageHandler_Fails_Sending_UpdateResponse 14:25:42 INFO[2024-12-23T14:25:42.4204+00:00] Field PdpSubgroup failed on the required tag 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 --- PASS: TestPdpUpdateMessageHandler_Fails_Sending_UpdateResponse (0.00s) 14:25:42 === RUN TestPdpUpdateMessageHandler_Invalid_Starttimeinterval 14:25:42 INFO[2024-12-23T14:25:42.4205+00:00] Sending PDP Status With Update Response 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 WARN[2024-12-23T14:25:42.4205+00:00] Failed to send PDP Update Message : Invalid Interval Time for Heartbeat 14:25:42 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:42 --- PASS: TestPdpUpdateMessageHandler_Invalid_Starttimeinterval (0.00s) 14:25:42 PASS 14:25:42 ok policy-opa-pdp/pkg/kafkacomm/handler 0.011s 14:25:42 ? policy-opa-pdp/pkg/kafkacomm/mocks [no test files] 14:25:43 time="2024-12-23T14:25:43Z" level=debug msg="###################################### " 14:25:43 time="2024-12-23T14:25:43Z" level=debug msg="OPA-PDP: Starting initialisation " 14:25:43 time="2024-12-23T14:25:43Z" level=debug msg="###################################### " 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="LOG_LEVEL not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="KAFKA_URL not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="PAP_TOPIC not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="GROUPID not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="API_USER not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="API_PASSWORD not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="JAASLOGIN not defined, using default value" 14:25:43 decodedConfig JAASLOGIN 14:25:43 time="2024-12-23T14:25:43Z" level=debug msg="Username: " 14:25:43 time="2024-12-23T14:25:43Z" level=debug msg="Password: " 14:25:43 time="2024-12-23T14:25:43Z" level=debug msg="Configuration module: environment initialised" 14:25:43 === RUN TestStartHeartbeatIntervalTimer_ValidInterval 14:25:43 --- PASS: TestStartHeartbeatIntervalTimer_ValidInterval (0.00s) 14:25:43 === RUN TestStartHeartbeatIntervalTimer_InvalidInterval 14:25:43 ERRO[2024-12-23T14:25:43.1190+00:00] Invalid interval provided: -1000. Interval must be greater than zero. 14:25:43 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:43 --- PASS: TestStartHeartbeatIntervalTimer_InvalidInterval (0.00s) 14:25:43 === RUN TestSendPDPHeartBeat_Success 14:25:43 --- PASS: TestSendPDPHeartBeat_Success (0.00s) 14:25:43 === RUN TestSendPDPHeartBeat_Failure 14:25:43 WARN[2024-12-23T14:25:43.1195+00:00] Error producing message: Error producing message 14:25:43 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:43 --- PASS: TestSendPDPHeartBeat_Failure (0.00s) 14:25:43 === RUN TestStopTicker_Success 14:25:43 --- PASS: TestStopTicker_Success (0.00s) 14:25:43 === RUN TestStopTicker_NotRunning 14:25:43 --- PASS: TestStopTicker_NotRunning (0.00s) 14:25:43 === RUN TestSendPdpPapRegistration_Success 14:25:43 --- PASS: TestSendPdpPapRegistration_Success (0.00s) 14:25:43 === RUN TestSendPdpPapRegistration_Failure 14:25:43 WARN[2024-12-23T14:25:43.1200+00:00] Error producing message: failed To Send 14:25:43 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:43 --- PASS: TestSendPdpPapRegistration_Failure (0.00s) 14:25:43 === RUN TestSendPdpUpdateResponse_Success 14:25:43 INFO[2024-12-23T14:25:43.1202+00:00] Sending PDP Status With Update Response 14:25:43 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:43 --- PASS: TestSendPdpUpdateResponse_Success (0.00s) 14:25:43 === RUN TestSendPdpUpdateResponse_Failure 14:25:43 INFO[2024-12-23T14:25:43.1203+00:00] Sending PDP Status With Update Response 14:25:43 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:43 WARN[2024-12-23T14:25:43.1204+00:00] Failed to send PDP Update Message : mock send error 14:25:43 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:43 --- PASS: TestSendPdpUpdateResponse_Failure (0.00s) 14:25:43 === RUN TestSendStateChangeResponse_Success 14:25:43 INFO[2024-12-23T14:25:43.1205+00:00] Sending PDP Status With State Change response 14:25:43 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:43 --- PASS: TestSendStateChangeResponse_Success (0.00s) 14:25:43 === RUN TestSendStateChangeResponse_Failure 14:25:43 INFO[2024-12-23T14:25:43.1207+00:00] Sending PDP Status With State Change response 14:25:43 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:43 WARN[2024-12-23T14:25:43.1209+00:00] Failed to send PDP Update Message : mock send error 14:25:43 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:43 --- PASS: TestSendStateChangeResponse_Failure (0.00s) 14:25:43 PASS 14:25:43 ok policy-opa-pdp/pkg/kafkacomm/publisher 0.010s 14:25:43 ? policy-opa-pdp/pkg/kafkacomm/publisher/mocks [no test files] 14:25:43 time="2024-12-23T14:25:43Z" level=debug msg="###################################### " 14:25:43 time="2024-12-23T14:25:43Z" level=debug msg="OPA-PDP: Starting initialisation " 14:25:43 time="2024-12-23T14:25:43Z" level=debug msg="###################################### " 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="LOG_LEVEL not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="KAFKA_URL not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="PAP_TOPIC not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="GROUPID not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="API_USER not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="API_PASSWORD not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="JAASLOGIN not defined, using default value" 14:25:43 decodedConfig JAASLOGIN 14:25:43 time="2024-12-23T14:25:43Z" level=debug msg="Username: " 14:25:43 time="2024-12-23T14:25:43Z" level=debug msg="Password: " 14:25:43 time="2024-12-23T14:25:43Z" level=debug msg="Configuration module: environment initialised" 14:25:43 === RUN TestSetOutput_Success 14:25:43 --- PASS: TestSetOutput_Success (0.00s) 14:25:43 === RUN TestInit_Success 14:25:43 DEBU[2024-12-23T14:25:43.3581+00:00] logger initialised Filepath = /tmp/logfile.log, Logsize(MB) = 10, Backups = 5, Loglevel = debug 14:25:43 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:43 --- PASS: TestInit_Success (0.00s) 14:25:43 === RUN TestInitLogger_Success 14:25:43 --- PASS: TestInitLogger_Success (0.00s) 14:25:43 === RUN TestParseLevel_Success 14:25:43 --- PASS: TestParseLevel_Success (0.00s) 14:25:43 === RUN TestSetLevel_Success 14:25:43 --- PASS: TestSetLevel_Success (0.00s) 14:25:43 === RUN TestError_Success 14:25:43 --- PASS: TestError_Success (0.00s) 14:25:43 === RUN TestInfo_Success 14:25:43 --- PASS: TestInfo_Success (0.00s) 14:25:43 === RUN TestDebug_Success 14:25:43 --- PASS: TestDebug_Success (0.00s) 14:25:43 === RUN TestWarn_Success 14:25:43 --- PASS: TestWarn_Success (0.00s) 14:25:43 === RUN TestPanic_Success 14:25:43 --- PASS: TestPanic_Success (0.00s) 14:25:43 === RUN TestTrace_Success 14:25:43 --- PASS: TestTrace_Success (0.00s) 14:25:43 === RUN TestErrorf_Success 14:25:43 --- PASS: TestErrorf_Success (0.01s) 14:25:43 === RUN TestInfof_Success 14:25:43 --- PASS: TestInfof_Success (0.00s) 14:25:43 === RUN TestDebugf_Success 14:25:43 --- PASS: TestDebugf_Success (0.00s) 14:25:43 === RUN TestWarnf_Success 14:25:43 --- PASS: TestWarnf_Success (0.00s) 14:25:43 === RUN TestPanicf_Success 14:25:43 --- PASS: TestPanicf_Success (0.00s) 14:25:43 === RUN TestTracef_Success 14:25:43 --- PASS: TestTracef_Success (0.00s) 14:25:43 === RUN TestError_Failure 14:25:43 --- PASS: TestError_Failure (0.00s) 14:25:43 === RUN TestInfo_Failure 14:25:43 --- PASS: TestInfo_Failure (0.00s) 14:25:43 === RUN TestDebug_Failure 14:25:43 --- PASS: TestDebug_Failure (0.00s) 14:25:43 === RUN TestWarn_Failure 14:25:43 --- PASS: TestWarn_Failure (0.00s) 14:25:43 === RUN TestPanic_Failure 14:25:43 --- PASS: TestPanic_Failure (0.00s) 14:25:43 === RUN TestTrace_Failure 14:25:43 --- PASS: TestTrace_Failure (0.00s) 14:25:43 === RUN TestErrorf_Failure 14:25:43 --- PASS: TestErrorf_Failure (0.00s) 14:25:43 === RUN TestInfof_Failure 14:25:43 --- PASS: TestInfof_Failure (0.00s) 14:25:43 === RUN TestDebugf_Failure 14:25:43 --- PASS: TestDebugf_Failure (0.00s) 14:25:43 === RUN TestWarnf_Failure 14:25:43 --- PASS: TestWarnf_Failure (0.00s) 14:25:43 === RUN TestPanicf_Failure 14:25:43 --- PASS: TestPanicf_Failure (0.00s) 14:25:43 === RUN TestTracef_Failure 14:25:43 --- PASS: TestTracef_Failure (0.00s) 14:25:43 PASS 14:25:43 ok policy-opa-pdp/pkg/log 0.020s 14:25:43 time="2024-12-23T14:25:43Z" level=debug msg="###################################### " 14:25:43 time="2024-12-23T14:25:43Z" level=debug msg="OPA-PDP: Starting initialisation " 14:25:43 time="2024-12-23T14:25:43Z" level=debug msg="###################################### " 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="LOG_LEVEL not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="KAFKA_URL not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="PAP_TOPIC not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="GROUPID not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="API_USER not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="API_PASSWORD not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 14:25:43 time="2024-12-23T14:25:43Z" level=warning msg="JAASLOGIN not defined, using default value" 14:25:43 decodedConfig JAASLOGIN 14:25:43 time="2024-12-23T14:25:43Z" level=debug msg="Username: " 14:25:43 time="2024-12-23T14:25:43Z" level=debug msg="Password: " 14:25:43 time="2024-12-23T14:25:43Z" level=debug msg="Configuration module: environment initialised" 14:25:43 === RUN TestCounters 14:25:43 --- PASS: TestCounters (0.00s) 14:25:43 === RUN TestFetchCurrentStatistics 14:25:43 WARN[2024-12-23T14:25:43.7767+00:00] Invalid or Missing Request ID 14:25:43 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:43 --- PASS: TestFetchCurrentStatistics (0.00s) 14:25:43 PASS 14:25:43 ok policy-opa-pdp/pkg/metrics 0.008s 14:25:44 === RUN TestPdpStatusSerialization_Success 14:25:44 --- PASS: TestPdpStatusSerialization_Success (0.00s) 14:25:44 === RUN TestPdpStatusValidation_Failure 14:25:44 --- PASS: TestPdpStatusValidation_Failure (0.00s) 14:25:44 === RUN TestPdpUpdateSerialization_Success 14:25:44 --- PASS: TestPdpUpdateSerialization_Success (0.00s) 14:25:44 === RUN TestPdpUpdateSerialization_Failure 14:25:44 --- PASS: TestPdpUpdateSerialization_Failure (0.00s) 14:25:44 === RUN TestPdpStateChangeSerialization_Success 14:25:44 --- PASS: TestPdpStateChangeSerialization_Success (0.00s) 14:25:44 === RUN TestPdpStateChangeSerialization_Failure 14:25:44 --- PASS: TestPdpStateChangeSerialization_Failure (0.00s) 14:25:44 === RUN TestPdpHealthStatus_String_Success 14:25:44 --- PASS: TestPdpHealthStatus_String_Success (0.00s) 14:25:44 === RUN TestPdpHealthStatus_String_Failure 14:25:44 --- PASS: TestPdpHealthStatus_String_Failure (0.00s) 14:25:44 === RUN TestPdpHealthStatus_MarshalJSON_Success 14:25:44 --- PASS: TestPdpHealthStatus_MarshalJSON_Success (0.00s) 14:25:44 === RUN TestPdpHealthStatus_MarshalJSON_Failure 14:25:44 --- PASS: TestPdpHealthStatus_MarshalJSON_Failure (0.00s) 14:25:44 === RUN TestPdpResponseDetails_MarshalJSON_Success 14:25:44 --- PASS: TestPdpResponseDetails_MarshalJSON_Success (0.00s) 14:25:44 === RUN TestPdpResponseDetails_MarshalJSON_Failure 14:25:44 --- PASS: TestPdpResponseDetails_MarshalJSON_Failure (0.00s) 14:25:44 === RUN TestPdpResponseStatus_Success 14:25:44 --- PASS: TestPdpResponseStatus_Success (0.00s) 14:25:44 === RUN TestPdpResponseStatus_Failure 14:25:44 --- PASS: TestPdpResponseStatus_Failure (0.00s) 14:25:44 === RUN TestPdpState_String_Success 14:25:44 --- PASS: TestPdpState_String_Success (0.00s) 14:25:44 === RUN TestPdpState_String_Failure 14:25:44 --- PASS: TestPdpState_String_Failure (0.00s) 14:25:44 === RUN TestPdpState_MarshalJSON_Success 14:25:44 --- PASS: TestPdpState_MarshalJSON_Success (0.00s) 14:25:44 === RUN TestPdpState_MarshalJSON_Failure 14:25:44 --- PASS: TestPdpState_MarshalJSON_Failure (0.00s) 14:25:44 === RUN TestConvertStringToEnumState_Success 14:25:44 --- PASS: TestConvertStringToEnumState_Success (0.00s) 14:25:44 === RUN TestConvertStringToEnumState_Failure 14:25:44 --- PASS: TestConvertStringToEnumState_Failure (0.00s) 14:25:44 === RUN TestNewToscaConceptIdentifier_Success 14:25:44 --- PASS: TestNewToscaConceptIdentifier_Success (0.00s) 14:25:44 === RUN TestNewToscaConceptIdentifier_Failure 14:25:44 --- PASS: TestNewToscaConceptIdentifier_Failure (0.00s) 14:25:44 === RUN TestNewToscaConceptIdentifierFromKey_Success 14:25:44 --- PASS: TestNewToscaConceptIdentifierFromKey_Success (0.00s) 14:25:44 === RUN TestNewToscaConceptIdentifierFromKey_Failure 14:25:44 --- PASS: TestNewToscaConceptIdentifierFromKey_Failure (0.00s) 14:25:44 === RUN TestToscaConceptIdentifier_ValidatePapRest_Success 14:25:44 --- PASS: TestToscaConceptIdentifier_ValidatePapRest_Success (0.00s) 14:25:44 === RUN TestToscaConceptIdentifier_ValidatePapRest_Failure 14:25:44 --- PASS: TestToscaConceptIdentifier_ValidatePapRest_Failure (0.00s) 14:25:44 PASS 14:25:44 ok policy-opa-pdp/pkg/model 0.006s 14:25:44 ? policy-opa-pdp/pkg/model/oapicodegen [no test files] 14:25:44 time="2024-12-23T14:25:44Z" level=debug msg="###################################### " 14:25:44 time="2024-12-23T14:25:44Z" level=debug msg="OPA-PDP: Starting initialisation " 14:25:44 time="2024-12-23T14:25:44Z" level=debug msg="###################################### " 14:25:44 time="2024-12-23T14:25:44Z" level=warning msg="LOG_LEVEL not defined, using default value" 14:25:44 time="2024-12-23T14:25:44Z" level=warning msg="KAFKA_URL not defined, using default value" 14:25:44 time="2024-12-23T14:25:44Z" level=warning msg="PAP_TOPIC not defined, using default value" 14:25:44 time="2024-12-23T14:25:44Z" level=warning msg="GROUPID not defined, using default value" 14:25:44 time="2024-12-23T14:25:44Z" level=warning msg="API_USER not defined, using default value" 14:25:44 time="2024-12-23T14:25:44Z" level=warning msg="API_PASSWORD not defined, using default value" 14:25:44 time="2024-12-23T14:25:44Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 14:25:44 time="2024-12-23T14:25:44Z" level=warning msg="JAASLOGIN not defined, using default value" 14:25:44 decodedConfig JAASLOGIN 14:25:44 time="2024-12-23T14:25:44Z" level=debug msg="Username: " 14:25:44 time="2024-12-23T14:25:44Z" level=debug msg="Password: " 14:25:44 time="2024-12-23T14:25:44Z" level=debug msg="Configuration module: environment initialised" 14:25:44 === RUN TestGetOPASingletonInstance_ConfigurationFileNotexisting 14:25:44 WARN[2024-12-23T14:25:44.9364+00:00] Error getting JSON reader: error opening file: open /app/config/config.json: no such file or directory 14:25:44 Failed to write to log, can't make directories for new logfile: mkdir /var/logs: permission denied 14:25:44 --- PASS: TestGetOPASingletonInstance_ConfigurationFileNotexisting (0.00s) 14:25:44 === RUN TestGetOPASingletonInstance_SingletonBehavior 14:25:44 --- PASS: TestGetOPASingletonInstance_SingletonBehavior (0.00s) 14:25:44 === RUN TestGetOPASingletonInstance_OPAInstanceCreation 14:25:44 --- PASS: TestGetOPASingletonInstance_OPAInstanceCreation (0.00s) 14:25:44 === RUN TestGetJSONReader 14:25:44 --- PASS: TestGetJSONReader (0.00s) 14:25:44 PASS 14:25:44 ok policy-opa-pdp/pkg/opasdk 0.012s 14:25:45 time="2024-12-23T14:25:45Z" level=debug msg="###################################### " 14:25:45 time="2024-12-23T14:25:45Z" level=debug msg="OPA-PDP: Starting initialisation " 14:25:45 time="2024-12-23T14:25:45Z" level=debug msg="###################################### " 14:25:45 time="2024-12-23T14:25:45Z" level=warning msg="LOG_LEVEL not defined, using default value" 14:25:45 time="2024-12-23T14:25:45Z" level=warning msg="KAFKA_URL not defined, using default value" 14:25:45 time="2024-12-23T14:25:45Z" level=warning msg="PAP_TOPIC not defined, using default value" 14:25:45 time="2024-12-23T14:25:45Z" level=warning msg="GROUPID not defined, using default value" 14:25:45 time="2024-12-23T14:25:45Z" level=warning msg="API_USER not defined, using default value" 14:25:45 time="2024-12-23T14:25:45Z" level=warning msg="API_PASSWORD not defined, using default value" 14:25:45 time="2024-12-23T14:25:45Z" level=warning msg="UseSASLForKAFKA not defined, using default value" 14:25:45 time="2024-12-23T14:25:45Z" level=warning msg="JAASLOGIN not defined, using default value" 14:25:45 decodedConfig JAASLOGIN 14:25:45 time="2024-12-23T14:25:45Z" level=debug msg="Username: " 14:25:45 time="2024-12-23T14:25:45Z" level=debug msg="Password: " 14:25:45 time="2024-12-23T14:25:45Z" level=debug msg="Configuration module: environment initialised" 14:25:45 === RUN TestGenerateUniquePdpName_Success 14:25:45 === RUN TestGenerateUniquePdpName_Success/GenerateValidPdpName 14:25:45 --- PASS: TestGenerateUniquePdpName_Success (0.00s) 14:25:45 --- PASS: TestGenerateUniquePdpName_Success/GenerateValidPdpName (0.00s) 14:25:45 === RUN TestGenerateUniquePdpName_Failure 14:25:45 === RUN TestGenerateUniquePdpName_Failure/UniqueNamesCheck 14:25:45 --- PASS: TestGenerateUniquePdpName_Failure (0.00s) 14:25:45 --- PASS: TestGenerateUniquePdpName_Failure/UniqueNamesCheck (0.00s) 14:25:45 === RUN TestSetPdpSubgroup_Success 14:25:45 === RUN TestSetPdpSubgroup_Success/ValidSubgroup 14:25:45 --- PASS: TestSetPdpSubgroup_Success (0.00s) 14:25:45 --- PASS: TestSetPdpSubgroup_Success/ValidSubgroup (0.00s) 14:25:45 === RUN TestSetPdpSubgroup_Failure 14:25:45 === RUN TestSetPdpSubgroup_Failure/EmptySubgroup 14:25:45 === RUN TestSetPdpSubgroup_Failure/LargeSubgroup 14:25:45 --- PASS: TestSetPdpSubgroup_Failure (0.00s) 14:25:45 --- PASS: TestSetPdpSubgroup_Failure/EmptySubgroup (0.00s) 14:25:45 --- PASS: TestSetPdpSubgroup_Failure/LargeSubgroup (0.00s) 14:25:45 === RUN TestSetPdpHeartbeatInterval_Success 14:25:45 === RUN TestSetPdpHeartbeatInterval_Success/ValidHeartbeatInterval 14:25:45 --- PASS: TestSetPdpHeartbeatInterval_Success (0.00s) 14:25:45 --- PASS: TestSetPdpHeartbeatInterval_Success/ValidHeartbeatInterval (0.00s) 14:25:45 === RUN TestSetPdpHeartbeatInterval_Failure 14:25:45 === RUN TestSetPdpHeartbeatInterval_Failure/FailureHeartbeatInterval 14:25:45 === RUN TestSetPdpHeartbeatInterval_Failure/LargeHeartbeatInterval 14:25:45 --- PASS: TestSetPdpHeartbeatInterval_Failure (0.00s) 14:25:45 --- PASS: TestSetPdpHeartbeatInterval_Failure/FailureHeartbeatInterval (0.00s) 14:25:45 --- PASS: TestSetPdpHeartbeatInterval_Failure/LargeHeartbeatInterval (0.00s) 14:25:45 PASS 14:25:45 ok policy-opa-pdp/pkg/pdpattributes 0.012s 14:25:45 === RUN TestSetState_Success 14:25:45 === RUN TestSetState_Success/ValidState 14:25:45 --- PASS: TestSetState_Success (0.00s) 14:25:45 --- PASS: TestSetState_Success/ValidState (0.00s) 14:25:45 === RUN TestSetState_Failure 14:25:45 === RUN TestSetState_Failure/InvalidState 14:25:45 --- PASS: TestSetState_Failure (0.00s) 14:25:45 --- PASS: TestSetState_Failure/InvalidState (0.00s) 14:25:45 PASS 14:25:45 ok policy-opa-pdp/pkg/pdpstate 0.006s 14:25:45 === RUN TestIsValidUUIDPositive 14:25:45 === RUN TestIsValidUUIDPositive/Valid_UUID 14:25:45 === RUN TestIsValidUUIDPositive/Valid_UUID#01 14:25:45 --- PASS: TestIsValidUUIDPositive (0.00s) 14:25:45 --- PASS: TestIsValidUUIDPositive/Valid_UUID (0.00s) 14:25:45 --- PASS: TestIsValidUUIDPositive/Valid_UUID#01 (0.00s) 14:25:45 === RUN TestIsValidUUIDNegative 14:25:45 === RUN TestIsValidUUIDNegative/Invalid_UUID 14:25:45 === RUN TestIsValidUUIDNegative/Invalid_UUID#01 14:25:45 === RUN TestIsValidUUIDNegative/Invalid_UUID#02 14:25:45 === RUN TestIsValidUUIDNegative/Invalid_UUID#03 14:25:45 --- PASS: TestIsValidUUIDNegative (0.00s) 14:25:45 --- PASS: TestIsValidUUIDNegative/Invalid_UUID (0.00s) 14:25:45 --- PASS: TestIsValidUUIDNegative/Invalid_UUID#01 (0.00s) 14:25:45 --- PASS: TestIsValidUUIDNegative/Invalid_UUID#02 (0.00s) 14:25:45 --- PASS: TestIsValidUUIDNegative/Invalid_UUID#03 (0.00s) 14:25:45 PASS 14:25:45 ok policy-opa-pdp/pkg/utils 0.005s 14:25:47 ok policy-opa-pdp/api 0.010s coverage: 100.0% of statements 14:25:47 ok policy-opa-pdp/cfg 0.007s coverage: 93.6% of statements 14:25:49 ? policy-opa-pdp/consts [no test files] 14:25:50 ok policy-opa-pdp/cmd/opa-pdp 1.544s coverage: 61.2% of statements 14:25:50 ok policy-opa-pdp/pkg/bundleserver 0.012s coverage: 100.0% of statements 14:25:50 ok policy-opa-pdp/pkg/decision 0.013s coverage: 40.3% of statements 14:25:51 ok policy-opa-pdp/pkg/healthcheck 0.007s coverage: 95.2% of statements 14:25:51 ok policy-opa-pdp/pkg/kafkacomm 0.015s coverage: 53.9% of statements 14:25:51 policy-opa-pdp/pkg/kafkacomm/mocks coverage: 0.0% of statements 14:25:51 ok policy-opa-pdp/pkg/kafkacomm/handler 0.012s coverage: 62.4% of statements 14:25:52 policy-opa-pdp/pkg/kafkacomm/publisher/mocks coverage: 0.0% of statements 14:25:52 ok policy-opa-pdp/pkg/kafkacomm/publisher 0.009s coverage: 74.1% of statements 14:25:53 ok policy-opa-pdp/pkg/log 0.004s coverage: 93.1% of statements 14:25:53 ok policy-opa-pdp/pkg/metrics 0.007s coverage: 82.6% of statements 14:25:53 ? policy-opa-pdp/pkg/model/oapicodegen [no test files] 14:25:53 ok policy-opa-pdp/pkg/model 0.006s coverage: 85.7% of statements 14:25:54 ok policy-opa-pdp/pkg/opasdk 0.017s coverage: 76.9% of statements 14:25:54 ok policy-opa-pdp/pkg/pdpattributes 0.013s coverage: 100.0% of statements 14:25:54 ok policy-opa-pdp/pkg/pdpstate 0.007s coverage: 100.0% of statements 14:25:54 ok policy-opa-pdp/pkg/utils 0.006s coverage: 100.0% of statements 14:25:54 [policy-opa-pdp-master-verify-golang] $ /bin/sh -xe /tmp/jenkins781146434206339703.sh 14:25:54 $ ssh-agent -k 14:25:54 unset SSH_AUTH_SOCK; 14:25:54 unset SSH_AGENT_PID; 14:25:54 echo Agent pid 2029 killed; 14:25:54 [ssh-agent] Stopped. 14:25:54 [PostBuildScript] - [INFO] Executing post build scripts. 14:25:54 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins8148702728891705861.sh 14:25:54 ---> sysstat.sh 14:25:55 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins1661489212314193143.sh 14:25:55 ---> package-listing.sh 14:25:55 ++ facter osfamily 14:25:55 ++ tr '[:upper:]' '[:lower:]' 14:25:55 + OS_FAMILY=debian 14:25:55 + workspace=/w/workspace/policy-opa-pdp-master-verify-golang 14:25:55 + START_PACKAGES=/tmp/packages_start.txt 14:25:55 + END_PACKAGES=/tmp/packages_end.txt 14:25:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:25:55 + PACKAGES=/tmp/packages_start.txt 14:25:55 + '[' /w/workspace/policy-opa-pdp-master-verify-golang ']' 14:25:55 + PACKAGES=/tmp/packages_end.txt 14:25:55 + case "${OS_FAMILY}" in 14:25:55 + dpkg -l 14:25:55 + grep '^ii' 14:25:55 + '[' -f /tmp/packages_start.txt ']' 14:25:55 + '[' -f /tmp/packages_end.txt ']' 14:25:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:25:55 + '[' /w/workspace/policy-opa-pdp-master-verify-golang ']' 14:25:55 + mkdir -p /w/workspace/policy-opa-pdp-master-verify-golang/archives/ 14:25:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-opa-pdp-master-verify-golang/archives/ 14:25:55 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins17294417669747764852.sh 14:25:55 ---> capture-instance-metadata.sh 14:25:55 Setup pyenv: 14:25:55 system 14:25:55 3.8.13 14:25:55 3.9.13 14:25:55 * 3.10.6 (set by /w/workspace/policy-opa-pdp-master-verify-golang/.python-version) 14:25:55 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-oTja from file:/tmp/.os_lf_venv 14:25:56 lf-activate-venv(): INFO: Installing: lftools 14:26:05 lf-activate-venv(): INFO: Adding /tmp/venv-oTja/bin to PATH 14:26:05 INFO: Running in OpenStack, capturing instance metadata 14:26:05 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins15302449925253670888.sh 14:26:05 provisioning config files... 14:26:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-opa-pdp-master-verify-golang@tmp/config8132165037249626174tmp 14:26:05 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 14:26:05 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 14:26:05 [EnvInject] - Injecting environment variables from a build step. 14:26:05 [EnvInject] - Injecting as environment variables the properties content 14:26:05 SERVER_ID=logs 14:26:05 14:26:05 [EnvInject] - Variables injected successfully. 14:26:05 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins11848108026685401481.sh 14:26:05 ---> create-netrc.sh 14:26:05 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins2536892979095927224.sh 14:26:05 ---> python-tools-install.sh 14:26:05 Setup pyenv: 14:26:05 system 14:26:05 3.8.13 14:26:05 3.9.13 14:26:05 * 3.10.6 (set by /w/workspace/policy-opa-pdp-master-verify-golang/.python-version) 14:26:06 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-oTja from file:/tmp/.os_lf_venv 14:26:06 lf-activate-venv(): INFO: Installing: lftools 14:26:14 lf-activate-venv(): INFO: Adding /tmp/venv-oTja/bin to PATH 14:26:14 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins7458515982801540142.sh 14:26:14 ---> sudo-logs.sh 14:26:14 Archiving 'sudo' log.. 14:26:15 [policy-opa-pdp-master-verify-golang] $ /bin/bash /tmp/jenkins17014230627835938858.sh 14:26:15 ---> job-cost.sh 14:26:15 Setup pyenv: 14:26:15 system 14:26:15 3.8.13 14:26:15 3.9.13 14:26:15 * 3.10.6 (set by /w/workspace/policy-opa-pdp-master-verify-golang/.python-version) 14:26:15 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-oTja from file:/tmp/.os_lf_venv 14:26:16 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 14:26:20 lf-activate-venv(): INFO: Adding /tmp/venv-oTja/bin to PATH 14:26:20 INFO: No Stack... 14:26:20 INFO: Retrieving Pricing Info for: v3-standard-8 14:26:20 INFO: Archiving Costs 14:26:20 [policy-opa-pdp-master-verify-golang] $ /bin/bash -l /tmp/jenkins10440271881451858307.sh 14:26:20 ---> logs-deploy.sh 14:26:20 Setup pyenv: 14:26:20 system 14:26:20 3.8.13 14:26:20 3.9.13 14:26:20 * 3.10.6 (set by /w/workspace/policy-opa-pdp-master-verify-golang/.python-version) 14:26:20 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-oTja from file:/tmp/.os_lf_venv 14:26:21 lf-activate-venv(): INFO: Installing: lftools 14:26:29 lf-activate-venv(): INFO: Adding /tmp/venv-oTja/bin to PATH 14:26:29 INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-opa-pdp-master-verify-golang/74 14:26:29 INFO: archiving workspace using pattern(s): -p **/target/surefire-reports/*-output.txt 14:26:30 Archives upload complete. 14:26:30 INFO: archiving logs to Nexus 14:26:31 ---> uname -a: 14:26:31 Linux prd-ubuntu1804-docker-8c-8g-92885 4.15.0-192-generic #203-Ubuntu SMP Wed Aug 10 17:40:03 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux 14:26:31 14:26:31 14:26:31 ---> lscpu: 14:26:31 Architecture: x86_64 14:26:31 CPU op-mode(s): 32-bit, 64-bit 14:26:31 Byte Order: Little Endian 14:26:31 CPU(s): 8 14:26:31 On-line CPU(s) list: 0-7 14:26:31 Thread(s) per core: 1 14:26:31 Core(s) per socket: 1 14:26:31 Socket(s): 8 14:26:31 NUMA node(s): 1 14:26:31 Vendor ID: AuthenticAMD 14:26:31 CPU family: 23 14:26:31 Model: 49 14:26:31 Model name: AMD EPYC-Rome Processor 14:26:31 Stepping: 0 14:26:31 CPU MHz: 2799.998 14:26:31 BogoMIPS: 5599.99 14:26:31 Virtualization: AMD-V 14:26:31 Hypervisor vendor: KVM 14:26:31 Virtualization type: full 14:26:31 L1d cache: 32K 14:26:31 L1i cache: 32K 14:26:31 L2 cache: 512K 14:26:31 L3 cache: 16384K 14:26:31 NUMA node0 CPU(s): 0-7 14:26:31 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 14:26:31 14:26:31 14:26:31 ---> nproc: 14:26:31 8 14:26:31 14:26:31 14:26:31 ---> df -h: 14:26:31 Filesystem Size Used Avail Use% Mounted on 14:26:31 udev 16G 0 16G 0% /dev 14:26:31 tmpfs 3.2G 708K 3.2G 1% /run 14:26:31 /dev/vda1 155G 11G 145G 7% / 14:26:31 tmpfs 16G 0 16G 0% /dev/shm 14:26:31 tmpfs 5.0M 0 5.0M 0% /run/lock 14:26:31 tmpfs 16G 0 16G 0% /sys/fs/cgroup 14:26:31 /dev/vda15 105M 4.4M 100M 5% /boot/efi 14:26:31 tmpfs 3.2G 0 3.2G 0% /run/user/1001 14:26:31 14:26:31 14:26:31 ---> free -m: 14:26:31 total used free shared buff/cache available 14:26:31 Mem: 32167 840 28084 0 3242 30871 14:26:31 Swap: 1023 0 1023 14:26:31 14:26:31 14:26:31 ---> ip addr: 14:26:31 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 14:26:31 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 14:26:31 inet 127.0.0.1/8 scope host lo 14:26:31 valid_lft forever preferred_lft forever 14:26:31 inet6 ::1/128 scope host 14:26:31 valid_lft forever preferred_lft forever 14:26:31 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 14:26:31 link/ether fa:16:3e:98:33:1a brd ff:ff:ff:ff:ff:ff 14:26:31 inet 10.30.106.219/23 brd 10.30.107.255 scope global dynamic ens3 14:26:31 valid_lft 86201sec preferred_lft 86201sec 14:26:31 inet6 fe80::f816:3eff:fe98:331a/64 scope link 14:26:31 valid_lft forever preferred_lft forever 14:26:31 3: docker0: mtu 1500 qdisc noqueue state DOWN group default 14:26:31 link/ether 02:42:08:61:ef:4a brd ff:ff:ff:ff:ff:ff 14:26:31 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 14:26:31 valid_lft forever preferred_lft forever 14:26:31 14:26:31 14:26:31 ---> sar -b -r -n DEV: 14:26:31 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-92885) 12/23/24 _x86_64_ (8 CPU) 14:26:31 14:26:31 14:23:15 LINUX RESTART (8 CPU) 14:26:31 14:26:31 14:24:01 tps rtps wtps bread/s bwrtn/s 14:26:31 14:25:01 191.02 44.28 146.74 1239.13 80344.61 14:26:31 14:26:01 177.09 1.23 175.86 26.92 77529.89 14:26:31 Average: 184.05 22.75 161.30 632.98 78937.13 14:26:31 14:26:31 14:24:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 14:26:31 14:25:01 28949456 31598508 3989756 12.11 110484 2802904 1718396 5.06 1221168 2377008 1058000 14:26:31 14:26:01 28750792 31598012 4188420 12.72 116320 2981720 1442880 4.25 1509340 2279872 27164 14:26:31 Average: 28850124 31598260 4089088 12.41 113402 2892312 1580638 4.65 1365254 2328440 542582 14:26:31 14:26:31 14:24:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 14:26:31 14:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:26:31 14:25:01 ens3 341.76 195.88 4517.20 22.96 0.00 0.00 0.00 0.00 14:26:31 14:25:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 14:26:31 14:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:26:31 14:26:01 ens3 19.38 15.74 13.27 5.96 0.00 0.00 0.00 0.00 14:26:31 14:26:01 lo 1.33 1.33 0.09 0.09 0.00 0.00 0.00 0.00 14:26:31 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 14:26:31 Average: ens3 180.55 105.81 2265.05 14.46 0.00 0.00 0.00 0.00 14:26:31 Average: lo 1.47 1.47 0.13 0.13 0.00 0.00 0.00 0.00 14:26:31 14:26:31 14:26:31 ---> sar -P ALL: 14:26:31 Linux 4.15.0-192-generic (prd-ubuntu1804-docker-8c-8g-92885) 12/23/24 _x86_64_ (8 CPU) 14:26:31 14:26:31 14:23:15 LINUX RESTART (8 CPU) 14:26:31 14:26:31 14:24:01 CPU %user %nice %system %iowait %steal %idle 14:26:31 14:25:01 all 14.00 0.00 1.86 4.74 0.04 79.37 14:26:31 14:25:01 0 7.94 0.00 1.78 14.12 0.07 76.09 14:26:31 14:25:01 1 46.64 0.00 2.93 4.87 0.07 45.49 14:26:31 14:25:01 2 12.70 0.00 1.64 0.67 0.03 84.96 14:26:31 14:25:01 3 9.77 0.00 1.37 9.50 0.03 79.32 14:26:31 14:25:01 4 14.20 0.00 2.10 1.19 0.02 82.49 14:26:31 14:25:01 5 8.44 0.00 1.15 0.20 0.03 90.17 14:26:31 14:25:01 6 5.49 0.00 1.88 7.12 0.03 85.48 14:26:31 14:25:01 7 6.77 0.00 1.96 0.32 0.02 90.93 14:26:31 14:26:01 all 24.90 0.00 5.04 3.22 0.09 66.75 14:26:31 14:26:01 0 26.76 0.00 5.89 0.79 0.08 66.48 14:26:31 14:26:01 1 22.06 0.00 4.25 0.17 0.07 73.46 14:26:31 14:26:01 2 32.92 0.00 5.06 9.87 0.10 52.05 14:26:31 14:26:01 3 22.61 0.00 4.41 0.22 0.08 72.67 14:26:31 14:26:01 4 28.82 0.00 6.14 0.00 0.10 64.95 14:26:31 14:26:01 5 22.92 0.00 4.83 0.13 0.08 72.04 14:26:31 14:26:01 6 21.52 0.00 4.80 0.19 0.08 73.40 14:26:31 14:26:01 7 21.52 0.00 5.02 14.46 0.08 58.92 14:26:31 Average: all 19.44 0.00 3.45 3.98 0.06 73.07 14:26:31 Average: 0 17.35 0.00 3.84 7.45 0.08 71.28 14:26:31 Average: 1 34.35 0.00 3.59 2.52 0.07 59.47 14:26:31 Average: 2 22.79 0.00 3.34 5.26 0.07 68.53 14:26:31 Average: 3 16.18 0.00 2.89 4.87 0.06 76.00 14:26:31 Average: 4 21.50 0.00 4.12 0.59 0.06 73.74 14:26:31 Average: 5 15.66 0.00 2.98 0.17 0.06 81.13 14:26:31 Average: 6 13.48 0.00 3.33 3.66 0.06 79.46 14:26:31 Average: 7 14.13 0.00 3.48 7.37 0.05 74.98 14:26:31 14:26:31 14:26:31