Pull request #259 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 391ac9db5be8b1bff566e7f1d38e200d665ea6ac+33d7f92d5661b99b9b96e2663b29a2bf689d0f01 (d913f4efa316b6d51600423e75273c983e92d58a) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4524875553998406451.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14946602051230633183.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-259/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-259/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh904860579068126314.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-259/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7780733961060735947.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1238553277550410.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-259/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-259/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11566071398441591383.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9831’ Running on prd-ubuntu20.04-docker-8c-8g-9835 in /w/workspace/undry_device-onvif-camera_PR-259 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-259 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/259/head:refs/remotes/origin/PR-259 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 into PR head commit 391ac9db5be8b1bff566e7f1d38e200d665ea6ac Merge succeeded, producing 391ac9db5be8b1bff566e7f1d38e200d665ea6ac Checking out Revision 391ac9db5be8b1bff566e7f1d38e200d665ea6ac (PR-259) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-13T04:03:05.310Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 391ac9db5be8b1bff566e7f1d38e200d665ea6ac # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 391ac9db5be8b1bff566e7f1d38e200d665ea6ac # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-13T04:03:05.478Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-13T04:03:05.568Z] ========================================================= [2023-03-13T04:03:05.568Z] EdgeX Global Pipelines Version Info [2023-03-13T04:03:05.568Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:03:06.309Z] ------------------- [2023-03-13T04:03:06.309Z] stable info: [2023-03-13T04:03:06.309Z] ------------------- [2023-03-13T04:03:06.309Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-13T04:03:06.309Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T04:03:06.309Z] Message: update stable to v1.0.244 [2023-03-13T04:03:06.878Z] ------------------- [2023-03-13T04:03:06.878Z] experimental info: [2023-03-13T04:03:06.878Z] ------------------- [2023-03-13T04:03:06.878Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-13T04:03:06.878Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-13T04:03:06.878Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-13T04:03:07.160Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-13T04:03:07.202Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-13T04:03:07.240Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-13T04:03:07.281Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-13T04:03:07.316Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-13T04:03:07.354Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-13T04:03:07.397Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-13T04:03:07.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-13T04:03:07.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-13T04:03:07.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-13T04:03:07.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-13T04:03:07.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-13T04:03:07.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-13T04:03:07.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-13T04:03:07.725Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T04:03:07.767Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-13T04:03:07.807Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T04:03:07.848Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-13T04:03:07.892Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-13T04:03:07.929Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-13T04:03:07.976Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-13T04:03:08.013Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-13T04:03:08.051Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-13T04:03:08.093Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-13T04:03:08.134Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-13T04:03:08.170Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-13T04:03:08.208Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-13T04:03:08.249Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-259 [Pipeline] echo [2023-03-13T04:03:08.286Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-259 [Pipeline] echo [2023-03-13T04:03:08.328Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-259 [Pipeline] echo [2023-03-13T04:03:08.372Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 391ac9db5be8b1bff566e7f1d38e200d665ea6ac [Pipeline] echo [2023-03-13T04:03:08.414Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 391ac9d [Pipeline] echo [2023-03-13T04:03:08.451Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T04:03:08.565Z] provisioning config files... [2023-03-13T04:03:08.594Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-259@tmp/config13604221223453374675tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:03:08.938Z] ---> docker-login.sh [2023-03-13T04:03:08.938Z] nexus3.edgexfoundry.org:10001 [2023-03-13T04:03:08.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:03:09.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:03:09.199Z] Configure a credential helper to remove this warning. See [2023-03-13T04:03:09.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:03:09.199Z] [2023-03-13T04:03:09.199Z] Login Succeeded [2023-03-13T04:03:09.199Z] nexus3.edgexfoundry.org:10002 [2023-03-13T04:03:09.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:03:09.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:03:09.199Z] Configure a credential helper to remove this warning. See [2023-03-13T04:03:09.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:03:09.199Z] [2023-03-13T04:03:09.199Z] Login Succeeded [2023-03-13T04:03:09.199Z] nexus3.edgexfoundry.org:10003 [2023-03-13T04:03:09.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:03:09.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:03:09.460Z] Configure a credential helper to remove this warning. See [2023-03-13T04:03:09.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:03:09.460Z] [2023-03-13T04:03:09.460Z] Login Succeeded [2023-03-13T04:03:09.460Z] nexus3.edgexfoundry.org:10004 [2023-03-13T04:03:09.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:03:09.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:03:09.460Z] Configure a credential helper to remove this warning. See [2023-03-13T04:03:09.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:03:09.460Z] [2023-03-13T04:03:09.460Z] Login Succeeded [2023-03-13T04:03:09.460Z] docker.io [2023-03-13T04:03:09.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:03:09.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:03:09.721Z] Configure a credential helper to remove this warning. See [2023-03-13T04:03:09.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:03:09.721Z] [2023-03-13T04:03:09.721Z] Login Succeeded [2023-03-13T04:03:09.721Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T04:03:09.747Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-13T04:03:10.366Z] + git rev-list -1 --merges 391ac9db5be8b1bff566e7f1d38e200d665ea6ac~1..391ac9db5be8b1bff566e7f1d38e200d665ea6ac [Pipeline] echo [2023-03-13T04:03:10.429Z] -----------> git rev-list -1 --merges 391ac9db5be8b1bff566e7f1d38e200d665ea6ac~1..391ac9db5be8b1bff566e7f1d38e200d665ea6ac 391ac9db5be8b1bff566e7f1d38e200d665ea6ac [false] [Pipeline] sh [2023-03-13T04:03:10.735Z] + git log --format=format:%s -1 391ac9db5be8b1bff566e7f1d38e200d665ea6ac [Pipeline] echo [2023-03-13T04:03:10.769Z] ========================================================= [2023-03-13T04:03:10.769Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-13T04:03:10.769Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T04:03:11.225Z] + git log --format=format:%s -1 391ac9db5be8b1bff566e7f1d38e200d665ea6ac [Pipeline] echo [2023-03-13T04:03:11.260Z] [semverPrep] GIT_COMMIT: 391ac9db5be8b1bff566e7f1d38e200d665ea6ac, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-13T04:03:11.292Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-13T04:03:11.659Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-13T04:03:11.659Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-13T04:03:11.659Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-13T04:03:11.659Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-13T04:03:11.659Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-13T04:03:11.659Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-13T04:03:11.659Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:03:12.083Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T04:03:12.083Z] [2023-03-13T04:03:12.083Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:03:12.456Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T04:03:12.456Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-13T04:03:12.456Z] b85a868b505f: Pulling fs layer [2023-03-13T04:03:12.456Z] e2be974225ed: Pulling fs layer [2023-03-13T04:03:12.456Z] 339a4e72a1f5: Pulling fs layer [2023-03-13T04:03:12.456Z] 988bab9f4d93: Pulling fs layer [2023-03-13T04:03:12.456Z] 1469e6f7b9e6: Pulling fs layer [2023-03-13T04:03:12.456Z] eaf3925da568: Pulling fs layer [2023-03-13T04:03:12.456Z] bab4dde63d76: Pulling fs layer [2023-03-13T04:03:12.456Z] bde34c3a00c8: Pulling fs layer [2023-03-13T04:03:12.456Z] b352a97aabf1: Pulling fs layer [2023-03-13T04:03:12.456Z] 4872d77fe225: Pulling fs layer [2023-03-13T04:03:12.456Z] 5851b861e8e6: Pulling fs layer [2023-03-13T04:03:12.456Z] 1469e6f7b9e6: Waiting [2023-03-13T04:03:12.456Z] eaf3925da568: Waiting [2023-03-13T04:03:12.456Z] 988bab9f4d93: Waiting [2023-03-13T04:03:12.456Z] bab4dde63d76: Waiting [2023-03-13T04:03:12.456Z] 4872d77fe225: Waiting [2023-03-13T04:03:12.456Z] 5851b861e8e6: Waiting [2023-03-13T04:03:12.456Z] e2be974225ed: Download complete [2023-03-13T04:03:12.456Z] 988bab9f4d93: Verifying Checksum [2023-03-13T04:03:12.456Z] 988bab9f4d93: Download complete [2023-03-13T04:03:12.716Z] 1469e6f7b9e6: Verifying Checksum [2023-03-13T04:03:12.716Z] 1469e6f7b9e6: Download complete [2023-03-13T04:03:12.716Z] 339a4e72a1f5: Verifying Checksum [2023-03-13T04:03:12.716Z] 339a4e72a1f5: Download complete [2023-03-13T04:03:12.716Z] eaf3925da568: Download complete [2023-03-13T04:03:12.716Z] bde34c3a00c8: Verifying Checksum [2023-03-13T04:03:12.716Z] bde34c3a00c8: Download complete [2023-03-13T04:03:12.716Z] b352a97aabf1: Download complete [2023-03-13T04:03:12.716Z] 4872d77fe225: Download complete [2023-03-13T04:03:12.716Z] 5851b861e8e6: Verifying Checksum [2023-03-13T04:03:12.716Z] 5851b861e8e6: Download complete [2023-03-13T04:03:12.716Z] b85a868b505f: Download complete [2023-03-13T04:03:12.975Z] bab4dde63d76: Verifying Checksum [2023-03-13T04:03:12.975Z] bab4dde63d76: Download complete [2023-03-13T04:03:14.348Z] b85a868b505f: Pull complete [2023-03-13T04:03:14.348Z] e2be974225ed: Pull complete [2023-03-13T04:03:14.607Z] 339a4e72a1f5: Pull complete [2023-03-13T04:03:14.865Z] 988bab9f4d93: Pull complete [2023-03-13T04:03:15.133Z] 1469e6f7b9e6: Pull complete [2023-03-13T04:03:15.133Z] eaf3925da568: Pull complete [2023-03-13T04:03:17.046Z] bab4dde63d76: Pull complete [2023-03-13T04:03:17.046Z] bde34c3a00c8: Pull complete [2023-03-13T04:03:17.309Z] b352a97aabf1: Pull complete [2023-03-13T04:03:17.309Z] 4872d77fe225: Pull complete [2023-03-13T04:03:17.568Z] 5851b861e8e6: Pull complete [2023-03-13T04:03:17.568Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-13T04:03:17.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-13T04:03:17.569Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T04:03:17.815Z] prd-ubuntu20.04-docker-8c-8g-9835 does not seem to be running inside a container [2023-03-13T04:03:17.846Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-259 -v /w/workspace/undry_device-onvif-camera_PR-259:/w/workspace/undry_device-onvif-camera_PR-259:rw,z -v /w/workspace/undry_device-onvif-camera_PR-259@tmp:/w/workspace/undry_device-onvif-camera_PR-259@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-13T04:03:19.294Z] $ docker top 0ae2ea84970da9e1503cc2ec42ccbf56e2e019bd0afd985f1c3388d5fe8aa6be -eo pid,comm [2023-03-13T04:03:19.352Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-13T04:03:19.352Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-13T04:03:19.489Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T04:03:19.489Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T04:03:19.612Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T04:03:19.618Z] $ docker exec 0ae2ea84970da9e1503cc2ec42ccbf56e2e019bd0afd985f1c3388d5fe8aa6be ssh-agent [2023-03-13T04:03:19.734Z] SSH_AUTH_SOCK=/tmp/ssh-sQBokvpl88bu/agent.33 [2023-03-13T04:03:19.734Z] SSH_AGENT_PID=39 [2023-03-13T04:03:19.740Z] Running ssh-add (command line suppressed) [2023-03-13T04:03:19.859Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-259@tmp/private_key_10862663488825195492.key (/w/workspace/undry_device-onvif-camera_PR-259@tmp/private_key_10862663488825195492.key) [2023-03-13T04:03:19.874Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T04:03:20.212Z] + git tag --points-at HEAD [Pipeline] } [2023-03-13T04:03:20.241Z] $ docker exec --env ******** --env ******** 0ae2ea84970da9e1503cc2ec42ccbf56e2e019bd0afd985f1c3388d5fe8aa6be ssh-agent -k [2023-03-13T04:03:20.344Z] unset SSH_AUTH_SOCK; [2023-03-13T04:03:20.345Z] unset SSH_AGENT_PID; [2023-03-13T04:03:20.345Z] echo Agent pid 39 killed; [2023-03-13T04:03:20.352Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-13T04:03:20.441Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-13T04:03:20.441Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-13T04:03:20.565Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-13T04:03:20.571Z] $ docker exec 0ae2ea84970da9e1503cc2ec42ccbf56e2e019bd0afd985f1c3388d5fe8aa6be ssh-agent [2023-03-13T04:03:20.683Z] SSH_AUTH_SOCK=/tmp/ssh-nlNyu1PBSbIy/agent.71 [2023-03-13T04:03:20.683Z] SSH_AGENT_PID=77 [2023-03-13T04:03:20.688Z] Running ssh-add (command line suppressed) [2023-03-13T04:03:20.809Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-259@tmp/private_key_10576297398589447942.key (/w/workspace/undry_device-onvif-camera_PR-259@tmp/private_key_10576297398589447942.key) [2023-03-13T04:03:20.822Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-13T04:03:21.154Z] + git semver init [2023-03-13T04:03:21.414Z] 2023-03-13 04:03:21,365 [run_init] DEBUG init version:0.0.0 force:False [2023-03-13T04:03:21.414Z] 2023-03-13 04:03:21,366 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-259/.semver [2023-03-13T04:03:21.414Z] 2023-03-13 04:03:21,366 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-259/.semver [2023-03-13T04:03:21.414Z] 2023-03-13 04:03:21,367 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-259/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-259, universal_newlines=False, shell=None, istream=None) [2023-03-13T04:03:22.800Z] 2023-03-13 04:03:22,388 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-259/.git/info/exclude [2023-03-13T04:03:22.800Z] 2023-03-13 04:03:22,389 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-259/.semver/PR-259 with force:False [2023-03-13T04:03:22.800Z] 2023-03-13 04:03:22,389 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-259/.semver/PR-259 [2023-03-13T04:03:22.800Z] 2023-03-13 04:03:22,394 [execute] INFO git cat-file --batch-check [2023-03-13T04:03:22.800Z] 2023-03-13 04:03:22,394 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-259/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T04:03:22.800Z] 2023-03-13 04:03:22,401 [execute] INFO git cat-file --batch [2023-03-13T04:03:22.800Z] 2023-03-13 04:03:22,402 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-259/.semver, universal_newlines=False, shell=None, istream=) [2023-03-13T04:03:22.800Z] 2023-03-13 04:03:22,408 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-259/.semver/PR-259 [2023-03-13T04:03:22.800Z] 0.0.0 [Pipeline] } [2023-03-13T04:03:22.831Z] $ docker exec --env ******** --env ******** 0ae2ea84970da9e1503cc2ec42ccbf56e2e019bd0afd985f1c3388d5fe8aa6be ssh-agent -k [2023-03-13T04:03:22.935Z] unset SSH_AUTH_SOCK; [2023-03-13T04:03:22.936Z] unset SSH_AGENT_PID; [2023-03-13T04:03:22.936Z] echo Agent pid 77 killed; [2023-03-13T04:03:22.942Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-13T04:03:23.371Z] + git semver [Pipeline] } [2023-03-13T04:03:23.657Z] $ docker stop --time=1 0ae2ea84970da9e1503cc2ec42ccbf56e2e019bd0afd985f1c3388d5fe8aa6be [2023-03-13T04:03:25.020Z] $ docker rm -f --volumes 0ae2ea84970da9e1503cc2ec42ccbf56e2e019bd0afd985f1c3388d5fe8aa6be [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-13T04:03:25.422Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-13T04:03:25.711Z] Stashed 1 file(s) [Pipeline] echo [2023-03-13T04:03:25.730Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T04:03:26.337Z] provisioning config files... [2023-03-13T04:03:26.349Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-259@tmp/config6949130401867815726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:03:26.701Z] ---> docker-login.sh [2023-03-13T04:03:26.701Z] nexus3.edgexfoundry.org:10001 [2023-03-13T04:03:26.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:03:26.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:03:26.701Z] Configure a credential helper to remove this warning. See [2023-03-13T04:03:26.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:03:26.701Z] [2023-03-13T04:03:26.701Z] Login Succeeded [2023-03-13T04:03:26.701Z] nexus3.edgexfoundry.org:10002 [2023-03-13T04:03:26.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:03:26.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:03:26.701Z] Configure a credential helper to remove this warning. See [2023-03-13T04:03:26.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:03:26.701Z] [2023-03-13T04:03:26.701Z] Login Succeeded [2023-03-13T04:03:26.701Z] nexus3.edgexfoundry.org:10003 [2023-03-13T04:03:26.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:03:26.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:03:26.961Z] Configure a credential helper to remove this warning. See [2023-03-13T04:03:26.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:03:26.961Z] [2023-03-13T04:03:26.961Z] Login Succeeded [2023-03-13T04:03:26.961Z] nexus3.edgexfoundry.org:10004 [2023-03-13T04:03:26.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:03:26.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:03:26.961Z] Configure a credential helper to remove this warning. See [2023-03-13T04:03:26.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:03:26.961Z] [2023-03-13T04:03:26.961Z] Login Succeeded [2023-03-13T04:03:26.961Z] docker.io [2023-03-13T04:03:27.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:03:27.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:03:27.219Z] Configure a credential helper to remove this warning. See [2023-03-13T04:03:27.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:03:27.219Z] [2023-03-13T04:03:27.219Z] Login Succeeded [2023-03-13T04:03:27.219Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T04:03:27.239Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T04:03:27.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T04:03:27.489Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T04:03:27.524Z] ========================================================= [2023-03-13T04:03:27.524Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-13T04:03:27.524Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:03:28.016Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T04:03:28.016Z] Sending build context to Docker daemon 27.85MB [2023-03-13T04:03:28.016Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T04:03:28.016Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-13T04:03:28.284Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-13T04:03:28.284Z] 213ec9aee27d: Pulling fs layer [2023-03-13T04:03:28.284Z] 4583459ba037: Pulling fs layer [2023-03-13T04:03:28.284Z] 93c1e223e6f2: Pulling fs layer [2023-03-13T04:03:28.284Z] 53926ce57604: Pulling fs layer [2023-03-13T04:03:28.284Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-13T04:03:28.284Z] 22ff95d597cd: Pulling fs layer [2023-03-13T04:03:28.284Z] 12d6caf4c0d1: Pulling fs layer [2023-03-13T04:03:28.284Z] 96b7cbca73a9: Pulling fs layer [2023-03-13T04:03:28.284Z] a7acece74701: Pulling fs layer [2023-03-13T04:03:28.284Z] 21b2b0c7a3f4: Waiting [2023-03-13T04:03:28.284Z] 22ff95d597cd: Waiting [2023-03-13T04:03:28.284Z] 12d6caf4c0d1: Waiting [2023-03-13T04:03:28.284Z] 96b7cbca73a9: Waiting [2023-03-13T04:03:28.284Z] a7acece74701: Waiting [2023-03-13T04:03:28.284Z] 53926ce57604: Waiting [2023-03-13T04:03:28.284Z] 93c1e223e6f2: Verifying Checksum [2023-03-13T04:03:28.284Z] 93c1e223e6f2: Download complete [2023-03-13T04:03:28.284Z] 4583459ba037: Verifying Checksum [2023-03-13T04:03:28.284Z] 4583459ba037: Download complete [2023-03-13T04:03:28.284Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-13T04:03:28.284Z] 21b2b0c7a3f4: Download complete [2023-03-13T04:03:28.284Z] 22ff95d597cd: Verifying Checksum [2023-03-13T04:03:28.284Z] 22ff95d597cd: Download complete [2023-03-13T04:03:28.284Z] 213ec9aee27d: Verifying Checksum [2023-03-13T04:03:28.284Z] 12d6caf4c0d1: Verifying Checksum [2023-03-13T04:03:28.284Z] 12d6caf4c0d1: Download complete [2023-03-13T04:03:28.551Z] 213ec9aee27d: Pull complete [2023-03-13T04:03:28.551Z] 4583459ba037: Pull complete [2023-03-13T04:03:28.551Z] 93c1e223e6f2: Pull complete [2023-03-13T04:03:28.821Z] a7acece74701: Verifying Checksum [2023-03-13T04:03:28.821Z] a7acece74701: Download complete [2023-03-13T04:03:29.082Z] 96b7cbca73a9: Verifying Checksum [2023-03-13T04:03:29.082Z] 96b7cbca73a9: Download complete [2023-03-13T04:03:29.082Z] 53926ce57604: Verifying Checksum [2023-03-13T04:03:29.082Z] 53926ce57604: Download complete [2023-03-13T04:03:33.271Z] 53926ce57604: Pull complete [2023-03-13T04:03:33.271Z] 21b2b0c7a3f4: Pull complete [2023-03-13T04:03:33.271Z] 22ff95d597cd: Pull complete [2023-03-13T04:03:33.271Z] 12d6caf4c0d1: Pull complete [2023-03-13T04:03:35.802Z] 96b7cbca73a9: Pull complete [2023-03-13T04:03:36.371Z] a7acece74701: Pull complete [2023-03-13T04:03:36.371Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-13T04:03:36.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-13T04:03:36.371Z] ---> db6d94c90886 [2023-03-13T04:03:36.371Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-13T04:03:38.283Z] ---> Running in 9143d788b6b8 [2023-03-13T04:03:38.283Z] Removing intermediate container 9143d788b6b8 [2023-03-13T04:03:38.283Z] ---> 8120544687c1 [2023-03-13T04:03:38.283Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T04:03:38.283Z] ---> Running in eeab0589dd8f [2023-03-13T04:03:38.283Z] Removing intermediate container eeab0589dd8f [2023-03-13T04:03:38.283Z] ---> 1b6f3dcc9a66 [2023-03-13T04:03:38.283Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-13T04:03:38.283Z] ---> Running in 66d3fd8d3605 [2023-03-13T04:03:38.542Z] Removing intermediate container 66d3fd8d3605 [2023-03-13T04:03:38.543Z] ---> 5f66d9f21116 [2023-03-13T04:03:38.543Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T04:03:38.543Z] ---> Running in c654ae752134 [2023-03-13T04:03:38.543Z] Removing intermediate container c654ae752134 [2023-03-13T04:03:38.543Z] ---> 56f61126036b [2023-03-13T04:03:38.543Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-13T04:03:38.543Z] ---> Running in 2103fac7c51b [2023-03-13T04:03:38.803Z] Removing intermediate container 2103fac7c51b [2023-03-13T04:03:38.803Z] ---> ebc6edbb34dc [2023-03-13T04:03:38.803Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T04:03:38.804Z] ---> Running in 7090a81d4780 [2023-03-13T04:03:39.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-13T04:03:39.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-13T04:03:39.587Z] OK: 211 MiB in 51 packages [2023-03-13T04:03:39.848Z] Removing intermediate container 7090a81d4780 [2023-03-13T04:03:39.848Z] ---> ba8839566ad5 [2023-03-13T04:03:39.848Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-13T04:03:39.848Z] ---> Running in abe30ab114fc [2023-03-13T04:03:40.106Z] Removing intermediate container abe30ab114fc [2023-03-13T04:03:40.106Z] ---> f304e78b6bc6 [2023-03-13T04:03:40.106Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-13T04:03:40.106Z] ---> 4d7541f3cd73 [2023-03-13T04:03:40.106Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T04:03:40.106Z] ---> Running in 259cd61975de [2023-03-13T04:03:41.167Z] Still waiting to schedule task [2023-03-13T04:03:41.167Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9832’ [2023-03-13T04:04:02.054Z] Removing intermediate container 259cd61975de [2023-03-13T04:04:02.054Z] ---> 52e33575f00c [2023-03-13T04:04:02.054Z] Step 12/13 : COPY . . [2023-03-13T04:04:02.054Z] ---> 1f2caa2b6764 [2023-03-13T04:04:02.054Z] Step 13/13 : RUN ${MAKE} [2023-03-13T04:04:02.054Z] ---> Running in 948d625604fd [2023-03-13T04:04:02.054Z] noop [2023-03-13T04:04:02.313Z] Removing intermediate container 948d625604fd [2023-03-13T04:04:02.313Z] ---> 0e72c9b1f194 [2023-03-13T04:04:02.313Z] Successfully built 0e72c9b1f194 [2023-03-13T04:04:02.313Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:04:02.769Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T04:04:02.769Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T04:04:02.926Z] prd-ubuntu20.04-docker-8c-8g-9835 does not seem to be running inside a container [2023-03-13T04:04:02.960Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-259 -v /w/workspace/undry_device-onvif-camera_PR-259:/w/workspace/undry_device-onvif-camera_PR-259:rw,z -v /w/workspace/undry_device-onvif-camera_PR-259@tmp:/w/workspace/undry_device-onvif-camera_PR-259@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T04:04:03.347Z] $ docker top 2818e6dba3092b7704529fcbf2f09e17ba2c0314ad0a35e393cc5bf335010d4e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T04:04:03.737Z] + go version [2023-03-13T04:04:03.737Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-13T04:04:03.770Z] $ docker stop --time=1 2818e6dba3092b7704529fcbf2f09e17ba2c0314ad0a35e393cc5bf335010d4e [2023-03-13T04:04:05.047Z] $ docker rm -f --volumes 2818e6dba3092b7704529fcbf2f09e17ba2c0314ad0a35e393cc5bf335010d4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:04:05.746Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-13T04:04:05.746Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T04:04:05.895Z] prd-ubuntu20.04-docker-8c-8g-9835 does not seem to be running inside a container [2023-03-13T04:04:05.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-259 -v /w/workspace/undry_device-onvif-camera_PR-259:/w/workspace/undry_device-onvif-camera_PR-259:rw,z -v /w/workspace/undry_device-onvif-camera_PR-259@tmp:/w/workspace/undry_device-onvif-camera_PR-259@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-13T04:04:06.304Z] $ docker top 40c10a4f52f455e3001e96b4000970b2228772641c06d4175a177345320427b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T04:04:06.708Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-259 [Pipeline] fileExists [Pipeline] sh [2023-03-13T04:04:07.103Z] + make test [2023-03-13T04:04:07.103Z] go test ./... -coverprofile=coverage.out ./... [2023-03-13T04:04:07.669Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-13T04:04:19.884Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2023-03-13T04:04:19.884Z] internal/driver/driver.go:89:16: undefined: models.ProtocolDriver [2023-03-13T04:04:19.884Z] internal/driver/checkstatuses.go:48:62: cannot use endpointRefAddr (variable of type any) as type string in argument to d.macAddressMapper.MatchEndpointRefAddressToMAC: [2023-03-13T04:04:19.884Z] need type assertion [2023-03-13T04:04:19.884Z] internal/driver/checkstatuses.go:117:10: invalid operation: addr + ":" (mismatched types any and string) [2023-03-13T04:04:19.884Z] internal/driver/config.go:78:12: invalid operation: ":" + port (mismatched types string and any) [2023-03-13T04:04:19.884Z] internal/driver/config.go:81:9: cannot use xAddr (variable of type any) as type string in return statement: [2023-03-13T04:04:19.884Z] need type assertion [2023-03-13T04:04:19.884Z] internal/driver/credentials.go:65:34: d.sdkService.GetSecretProvider undefined (type "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK has no field or method GetSecretProvider) [2023-03-13T04:04:19.884Z] internal/driver/credentials.go:95:65: cannot use mac (variable of type any) as type string in argument to d.macAddressMapper.TryGetSecretNameForMACAddress: [2023-03-13T04:04:19.884Z] need type assertion [2023-03-13T04:04:19.884Z] internal/driver/custommetadata.go:39:29: cannot use value (variable of type any) as type string in argument to strings.TrimSpace: [2023-03-13T04:04:19.884Z] need type assertion [2023-03-13T04:04:19.884Z] internal/driver/custommetadata.go:87:19: cannot use value (variable of type any) as type string in assignment: [2023-03-13T04:04:19.884Z] need type assertion [2023-03-13T04:04:19.884Z] internal/driver/custommetadata.go:90:9: cannot use response (variable of type map[string]string) as type "github.com/edgexfoundry/go-mod-core-contracts/v3/models".ProtocolProperties in return statement [2023-03-13T04:04:19.884Z] internal/driver/custommetadata.go:90:9: too many errors [2023-03-13T04:04:19.884Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-03-13T04:04:19.884Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.356s coverage: 86.5% of statements [2023-03-13T04:04:19.884Z] make: *** [Makefile:58: unittest] Error 2 [Pipeline] } [2023-03-13T04:04:19.929Z] $ docker stop --time=1 40c10a4f52f455e3001e96b4000970b2228772641c06d4175a177345320427b2 [2023-03-13T04:04:21.754Z] $ docker rm -f --volumes 40c10a4f52f455e3001e96b4000970b2228772641c06d4175a177345320427b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:04:22.931Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T04:04:22.931Z] [2023-03-13T04:04:22.931Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:04:23.303Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T04:04:23.303Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-13T04:04:23.303Z] 5eb5b503b376: Pulling fs layer [2023-03-13T04:04:23.303Z] 5c69ac0246d0: Pulling fs layer [2023-03-13T04:04:23.303Z] ec43610c2a17: Pulling fs layer [2023-03-13T04:04:23.303Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-13T04:04:23.303Z] 33b1e0a273af: Pulling fs layer [2023-03-13T04:04:23.303Z] 5d3b04190fa2: Pulling fs layer [2023-03-13T04:04:23.303Z] 2f39f015ded8: Pulling fs layer [2023-03-13T04:04:23.303Z] 3a2ae6a8a46f: Waiting [2023-03-13T04:04:23.303Z] 33b1e0a273af: Waiting [2023-03-13T04:04:23.303Z] 5d3b04190fa2: Waiting [2023-03-13T04:04:23.303Z] 5c69ac0246d0: Verifying Checksum [2023-03-13T04:04:23.303Z] 5c69ac0246d0: Download complete [2023-03-13T04:04:23.303Z] 3a2ae6a8a46f: Download complete [2023-03-13T04:04:23.565Z] 33b1e0a273af: Verifying Checksum [2023-03-13T04:04:23.565Z] 33b1e0a273af: Download complete [2023-03-13T04:04:23.565Z] 5d3b04190fa2: Verifying Checksum [2023-03-13T04:04:23.565Z] 5d3b04190fa2: Download complete [2023-03-13T04:04:23.565Z] ec43610c2a17: Verifying Checksum [2023-03-13T04:04:23.565Z] ec43610c2a17: Download complete [2023-03-13T04:04:23.565Z] 5eb5b503b376: Verifying Checksum [2023-03-13T04:04:23.565Z] 5eb5b503b376: Download complete [2023-03-13T04:04:25.045Z] 5eb5b503b376: Pull complete [2023-03-13T04:04:25.045Z] 5c69ac0246d0: Pull complete [2023-03-13T04:04:25.330Z] ec43610c2a17: Pull complete [2023-03-13T04:04:25.602Z] 3a2ae6a8a46f: Pull complete [2023-03-13T04:04:25.602Z] 33b1e0a273af: Pull complete [2023-03-13T04:04:25.861Z] 5d3b04190fa2: Pull complete [2023-03-13T04:04:31.141Z] 2f39f015ded8: Pull complete [2023-03-13T04:04:31.141Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-13T04:04:31.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T04:04:31.141Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T04:04:31.353Z] prd-ubuntu20.04-docker-8c-8g-9835 does not seem to be running inside a container [2023-03-13T04:04:31.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-259 -v /w/workspace/undry_device-onvif-camera_PR-259:/w/workspace/undry_device-onvif-camera_PR-259:rw,z -v /w/workspace/undry_device-onvif-camera_PR-259@tmp:/w/workspace/undry_device-onvif-camera_PR-259@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T04:04:33.211Z] $ docker top 6840387d189c361d68985e4c7cb1e7168847ffc904cbbff1e47467fb71ef91ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:04:33.638Z] ---> job-cost.sh [2023-03-13T04:04:33.638Z] lf-activate-venv: SKIPPING [2023-03-13T04:04:33.638Z] INFO: No Stack... [2023-03-13T04:04:33.899Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T04:04:34.160Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T04:04:34.479Z] + cat /w/workspace/undry_device-onvif-camera_PR-259/archives/cost.csv [2023-03-13T04:04:34.479Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T04:04:34.519Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-259-1-stack-cost] [2023-03-13T04:04:34.524Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-259-1-stack-cost] did not exist. Created. [2023-03-13T04:04:34.524Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-259-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T04:04:34.904Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-13T04:04:34.965Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T04:04:34.981Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-259-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T04:04:35.059Z] $ docker stop --time=1 6840387d189c361d68985e4c7cb1e7168847ffc904cbbff1e47467fb71ef91ff [2023-03-13T04:04:36.223Z] $ docker rm -f --volumes 6840387d189c361d68985e4c7cb1e7168847ffc904cbbff1e47467fb71ef91ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T04:04:36.572Z] Failed in branch amd64 [2023-03-13T04:06:21.449Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9839 in /w/workspace/undry_device-onvif-camera_PR-259 [Pipeline] { [Pipeline] ws [2023-03-13T04:06:21.500Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-13T04:06:21.573Z] The recommended git tool is: git [2023-03-13T04:06:27.459Z] using credential edgex-jenkins-ssh [2023-03-13T04:06:27.481Z] Cloning the remote Git repository [2023-03-13T04:06:27.538Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-13T04:06:27.630Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-03-13T04:06:27.833Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-13T04:06:27.835Z] > git --version # timeout=10 [2023-03-13T04:06:27.860Z] > git --version # 'git version 2.25.1' [2023-03-13T04:06:27.862Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T04:06:27.933Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T04:06:29.479Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-13T04:06:29.503Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-13T04:06:31.149Z] Merging remotes/origin/main commit 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 into PR head commit 391ac9db5be8b1bff566e7f1d38e200d665ea6ac [2023-03-13T04:06:31.637Z] Merge succeeded, producing 391ac9db5be8b1bff566e7f1d38e200d665ea6ac [2023-03-13T04:06:31.638Z] Checking out Revision 391ac9db5be8b1bff566e7f1d38e200d665ea6ac (PR-259) [2023-03-13T04:06:30.560Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-13T04:06:30.610Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-13T04:06:30.611Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T04:06:30.631Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/259/head:refs/remotes/origin/PR-259 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-13T04:06:31.168Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T04:06:31.189Z] > git checkout -f 391ac9db5be8b1bff566e7f1d38e200d665ea6ac # timeout=10 [2023-03-13T04:06:31.516Z] > git remote # timeout=10 [2023-03-13T04:06:31.536Z] > git config --get remote.origin.url # timeout=10 [2023-03-13T04:06:31.563Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-13T04:06:31.578Z] > git merge 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 # timeout=10 [2023-03-13T04:06:31.612Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-13T04:06:31.643Z] > git config core.sparsecheckout # timeout=10 [2023-03-13T04:06:31.670Z] > git checkout -f 391ac9db5be8b1bff566e7f1d38e200d665ea6ac # timeout=10 [2023-03-13T04:06:32.656Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-13T04:06:32.713Z] > git --version # timeout=10 [2023-03-13T04:06:32.727Z] > git --version # 'git version 2.25.1' [2023-03-13T04:06:32.753Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-13T04:06:33.819Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-13T04:06:33.819Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-13T04:06:33.819Z] Dload Upload Total Spent Left Speed [2023-03-13T04:06:33.819Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh [2023-03-13T04:06:34.395Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-13T04:06:34.740Z] + sudo tee /etc/docker/daemon.new [2023-03-13T04:06:34.740Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-13T04:06:34.740Z] { [2023-03-13T04:06:34.740Z] "registry-mirrors": [ [2023-03-13T04:06:34.740Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-13T04:06:34.740Z] ], [2023-03-13T04:06:34.740Z] "bip": "10.250.0.254/24", [2023-03-13T04:06:34.740Z] "hosts": [ [2023-03-13T04:06:34.740Z] "tcp://0.0.0.0:5555", [2023-03-13T04:06:34.740Z] "unix:///var/run/docker.sock" [2023-03-13T04:06:34.740Z] ], [2023-03-13T04:06:34.740Z] "mtu": 1458, [2023-03-13T04:06:34.740Z] "selinux-enabled": true, [2023-03-13T04:06:34.741Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-13T04:06:34.741Z] } [Pipeline] sh [2023-03-13T04:06:35.089Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-13T04:06:35.438Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T04:06:54.026Z] provisioning config files... [2023-03-13T04:06:54.057Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3830204529257175622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:06:54.463Z] ---> docker-login.sh [2023-03-13T04:06:54.463Z] nexus3.edgexfoundry.org:10001 [2023-03-13T04:06:55.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:06:55.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:06:55.058Z] Configure a credential helper to remove this warning. See [2023-03-13T04:06:55.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:06:55.058Z] [2023-03-13T04:06:55.058Z] Login Succeeded [2023-03-13T04:06:55.058Z] nexus3.edgexfoundry.org:10002 [2023-03-13T04:06:55.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:06:55.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:06:55.602Z] Configure a credential helper to remove this warning. See [2023-03-13T04:06:55.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:06:55.602Z] [2023-03-13T04:06:55.602Z] Login Succeeded [2023-03-13T04:06:55.602Z] nexus3.edgexfoundry.org:10003 [2023-03-13T04:06:55.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:06:55.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:06:55.874Z] Configure a credential helper to remove this warning. See [2023-03-13T04:06:55.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:06:55.874Z] [2023-03-13T04:06:55.874Z] Login Succeeded [2023-03-13T04:06:55.874Z] nexus3.edgexfoundry.org:10004 [2023-03-13T04:06:56.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:06:56.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:06:56.420Z] Configure a credential helper to remove this warning. See [2023-03-13T04:06:56.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:06:56.420Z] [2023-03-13T04:06:56.420Z] Login Succeeded [2023-03-13T04:06:56.420Z] docker.io [2023-03-13T04:06:56.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-13T04:06:56.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-13T04:06:56.961Z] Configure a credential helper to remove this warning. See [2023-03-13T04:06:56.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-13T04:06:56.961Z] [2023-03-13T04:06:56.961Z] Login Succeeded [2023-03-13T04:06:56.961Z] ---> docker-login.sh ends [Pipeline] } [2023-03-13T04:06:56.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-13T04:06:57.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T04:06:57.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-13T04:06:57.477Z] ========================================================= [2023-03-13T04:06:57.477Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-13T04:06:57.477Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:06:57.981Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-13T04:06:58.571Z] Sending build context to Docker daemon 20.61MB [2023-03-13T04:06:58.571Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-13T04:06:58.571Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-13T04:06:58.844Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-13T04:06:58.844Z] 9b18e9b68314: Pulling fs layer [2023-03-13T04:06:58.844Z] 35d82f9e3411: Pulling fs layer [2023-03-13T04:06:58.844Z] e16973657156: Pulling fs layer [2023-03-13T04:06:58.844Z] fc693d55d65f: Pulling fs layer [2023-03-13T04:06:58.844Z] 7e9fc2657dce: Pulling fs layer [2023-03-13T04:06:58.844Z] dda99020689f: Pulling fs layer [2023-03-13T04:06:58.844Z] db1c61fa0a46: Pulling fs layer [2023-03-13T04:06:58.844Z] 891c053d2c06: Pulling fs layer [2023-03-13T04:06:58.844Z] 7e9fc2657dce: Waiting [2023-03-13T04:06:58.844Z] dda99020689f: Waiting [2023-03-13T04:06:58.844Z] db1c61fa0a46: Waiting [2023-03-13T04:06:58.844Z] 891c053d2c06: Waiting [2023-03-13T04:06:58.844Z] e16973657156: Verifying Checksum [2023-03-13T04:06:58.844Z] e16973657156: Download complete [2023-03-13T04:06:58.844Z] 35d82f9e3411: Verifying Checksum [2023-03-13T04:06:58.844Z] 35d82f9e3411: Download complete [2023-03-13T04:06:58.844Z] 7e9fc2657dce: Verifying Checksum [2023-03-13T04:06:58.844Z] 7e9fc2657dce: Download complete [2023-03-13T04:06:58.844Z] dda99020689f: Verifying Checksum [2023-03-13T04:06:58.844Z] dda99020689f: Download complete [2023-03-13T04:06:58.844Z] 9b18e9b68314: Verifying Checksum [2023-03-13T04:06:58.844Z] 9b18e9b68314: Download complete [2023-03-13T04:06:59.823Z] 9b18e9b68314: Pull complete [2023-03-13T04:07:00.097Z] 891c053d2c06: Verifying Checksum [2023-03-13T04:07:00.097Z] 891c053d2c06: Download complete [2023-03-13T04:07:00.370Z] 35d82f9e3411: Pull complete [2023-03-13T04:07:00.642Z] e16973657156: Pull complete [2023-03-13T04:07:01.248Z] db1c61fa0a46: Verifying Checksum [2023-03-13T04:07:01.248Z] db1c61fa0a46: Download complete [2023-03-13T04:07:01.841Z] fc693d55d65f: Download complete [2023-03-13T04:07:14.199Z] fc693d55d65f: Pull complete [2023-03-13T04:07:14.199Z] 7e9fc2657dce: Pull complete [2023-03-13T04:07:14.469Z] dda99020689f: Pull complete [2023-03-13T04:07:21.315Z] db1c61fa0a46: Pull complete [2023-03-13T04:07:23.280Z] 891c053d2c06: Pull complete [2023-03-13T04:07:23.281Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-13T04:07:23.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-13T04:07:23.281Z] ---> f96f9c87975a [2023-03-13T04:07:23.281Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-13T04:07:25.292Z] ---> Running in 84ae5c00d069 [2023-03-13T04:07:25.883Z] Removing intermediate container 84ae5c00d069 [2023-03-13T04:07:25.884Z] ---> 89bbdd239009 [2023-03-13T04:07:25.884Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-13T04:07:25.884Z] ---> Running in 5d88d9ffdd6d [2023-03-13T04:07:26.158Z] Removing intermediate container 5d88d9ffdd6d [2023-03-13T04:07:26.158Z] ---> dda5cfa9ebbd [2023-03-13T04:07:26.158Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-13T04:07:26.433Z] ---> Running in c3d58b3b55bf [2023-03-13T04:07:26.702Z] Removing intermediate container c3d58b3b55bf [2023-03-13T04:07:26.702Z] ---> a8b15e7961dc [2023-03-13T04:07:26.702Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-13T04:07:26.702Z] ---> Running in 746a8af004b1 [2023-03-13T04:07:27.293Z] Removing intermediate container 746a8af004b1 [2023-03-13T04:07:27.293Z] ---> f911b97d8ce2 [2023-03-13T04:07:27.293Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-13T04:07:27.293Z] ---> Running in 188766feb962 [2023-03-13T04:07:27.564Z] Removing intermediate container 188766feb962 [2023-03-13T04:07:27.564Z] ---> c572c4b8d73a [2023-03-13T04:07:27.564Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-13T04:07:27.836Z] ---> Running in e11b78b78501 [2023-03-13T04:07:29.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-13T04:07:29.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-13T04:07:30.671Z] OK: 221 MiB in 51 packages [2023-03-13T04:07:31.641Z] Removing intermediate container e11b78b78501 [2023-03-13T04:07:31.642Z] ---> 6c9979d714c2 [2023-03-13T04:07:31.642Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-13T04:07:31.642Z] ---> Running in d77d303035e1 [2023-03-13T04:07:31.911Z] Removing intermediate container d77d303035e1 [2023-03-13T04:07:31.911Z] ---> e8d78c1943aa [2023-03-13T04:07:31.911Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-13T04:07:32.506Z] ---> d9199175db02 [2023-03-13T04:07:32.506Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-13T04:07:32.506Z] ---> Running in ff00f5c4dd0d [2023-03-13T04:08:40.427Z] Removing intermediate container ff00f5c4dd0d [2023-03-13T04:08:40.427Z] ---> 6ebba5914e03 [2023-03-13T04:08:40.427Z] Step 12/13 : COPY . . [2023-03-13T04:08:40.427Z] ---> cd20d8b29afc [2023-03-13T04:08:40.427Z] Step 13/13 : RUN ${MAKE} [2023-03-13T04:08:40.427Z] ---> Running in 2d250a383cee [2023-03-13T04:08:40.427Z] noop [2023-03-13T04:08:40.427Z] Removing intermediate container 2d250a383cee [2023-03-13T04:08:40.427Z] ---> 0201efd1d4ca [2023-03-13T04:08:40.427Z] Successfully built 0201efd1d4ca [2023-03-13T04:08:40.427Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:08:40.906Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T04:08:40.906Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T04:08:41.200Z] prd-ubuntu20.04-docker-arm64-4c-16g-9839 does not seem to be running inside a container [2023-03-13T04:08:41.275Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T04:08:42.549Z] $ docker top 0755c724bdcd977f8bb0531d53665c3be9881287426cba4ba30fe4ebbfe50c26 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T04:08:43.471Z] + go version [2023-03-13T04:08:43.471Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-13T04:08:43.505Z] $ docker stop --time=1 0755c724bdcd977f8bb0531d53665c3be9881287426cba4ba30fe4ebbfe50c26 [2023-03-13T04:08:45.158Z] $ docker rm -f --volumes 0755c724bdcd977f8bb0531d53665c3be9881287426cba4ba30fe4ebbfe50c26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:08:46.036Z] + docker inspect -f . ci-base-image-arm64 [2023-03-13T04:08:46.036Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T04:08:46.298Z] prd-ubuntu20.04-docker-arm64-4c-16g-9839 does not seem to be running inside a container [2023-03-13T04:08:46.371Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-13T04:08:47.640Z] $ docker top 724cafaa23dedad0a0162bb57031059125bb7ac450e1bc3dfaf4bae0d3d322b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T04:08:48.532Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-13T04:08:49.252Z] + make test [2023-03-13T04:08:49.252Z] go test ./... -coverprofile=coverage.out ./... [2023-03-13T04:08:51.212Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-13T04:10:27.917Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2023-03-13T04:10:27.917Z] internal/driver/driver.go:89:16: undefined: models.ProtocolDriver [2023-03-13T04:10:27.917Z] internal/driver/checkstatuses.go:48:62: cannot use endpointRefAddr (variable of type any) as type string in argument to d.macAddressMapper.MatchEndpointRefAddressToMAC: [2023-03-13T04:10:27.917Z] need type assertion [2023-03-13T04:10:27.917Z] internal/driver/checkstatuses.go:117:10: invalid operation: addr + ":" (mismatched types any and string) [2023-03-13T04:10:27.917Z] internal/driver/config.go:78:12: invalid operation: ":" + port (mismatched types string and any) [2023-03-13T04:10:27.917Z] internal/driver/config.go:81:9: cannot use xAddr (variable of type any) as type string in return statement: [2023-03-13T04:10:27.917Z] need type assertion [2023-03-13T04:10:27.917Z] internal/driver/credentials.go:65:34: d.sdkService.GetSecretProvider undefined (type "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK has no field or method GetSecretProvider) [2023-03-13T04:10:27.917Z] internal/driver/credentials.go:95:65: cannot use mac (variable of type any) as type string in argument to d.macAddressMapper.TryGetSecretNameForMACAddress: [2023-03-13T04:10:27.917Z] need type assertion [2023-03-13T04:10:27.917Z] internal/driver/custommetadata.go:39:29: cannot use value (variable of type any) as type string in argument to strings.TrimSpace: [2023-03-13T04:10:27.917Z] need type assertion [2023-03-13T04:10:27.917Z] internal/driver/custommetadata.go:87:19: cannot use value (variable of type any) as type string in assignment: [2023-03-13T04:10:27.917Z] need type assertion [2023-03-13T04:10:27.917Z] internal/driver/custommetadata.go:90:9: cannot use response (variable of type map[string]string) as type "github.com/edgexfoundry/go-mod-core-contracts/v3/models".ProtocolProperties in return statement [2023-03-13T04:10:27.917Z] internal/driver/custommetadata.go:90:9: too many errors [2023-03-13T04:10:31.268Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-03-13T04:10:57.991Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.661s coverage: 86.5% of statements [2023-03-13T04:10:57.991Z] make: *** [Makefile:58: unittest] Error 2 [Pipeline] } [2023-03-13T04:10:58.034Z] $ docker stop --time=1 724cafaa23dedad0a0162bb57031059125bb7ac450e1bc3dfaf4bae0d3d322b8 [2023-03-13T04:10:59.992Z] $ docker rm -f --volumes 724cafaa23dedad0a0162bb57031059125bb7ac450e1bc3dfaf4bae0d3d322b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:11:01.569Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T04:11:01.569Z] [2023-03-13T04:11:01.569Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:11:01.975Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T04:11:02.245Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-13T04:11:02.245Z] 8998bd30e6a1: Pulling fs layer [2023-03-13T04:11:02.245Z] 04944245beec: Pulling fs layer [2023-03-13T04:11:02.245Z] 699f458cf7ca: Pulling fs layer [2023-03-13T04:11:02.245Z] 765212b225bb: Pulling fs layer [2023-03-13T04:11:02.245Z] f23df028b6ca: Pulling fs layer [2023-03-13T04:11:02.245Z] d65c8cfc05b1: Pulling fs layer [2023-03-13T04:11:02.245Z] 2437ff75d9bd: Pulling fs layer [2023-03-13T04:11:02.245Z] 765212b225bb: Waiting [2023-03-13T04:11:02.245Z] d65c8cfc05b1: Waiting [2023-03-13T04:11:02.245Z] f23df028b6ca: Waiting [2023-03-13T04:11:02.245Z] 2437ff75d9bd: Waiting [2023-03-13T04:11:02.245Z] 04944245beec: Verifying Checksum [2023-03-13T04:11:02.245Z] 04944245beec: Download complete [2023-03-13T04:11:02.245Z] 765212b225bb: Verifying Checksum [2023-03-13T04:11:02.245Z] 765212b225bb: Download complete [2023-03-13T04:11:02.522Z] f23df028b6ca: Verifying Checksum [2023-03-13T04:11:02.522Z] f23df028b6ca: Download complete [2023-03-13T04:11:02.522Z] d65c8cfc05b1: Verifying Checksum [2023-03-13T04:11:02.522Z] d65c8cfc05b1: Download complete [2023-03-13T04:11:02.522Z] 699f458cf7ca: Verifying Checksum [2023-03-13T04:11:02.522Z] 699f458cf7ca: Download complete [2023-03-13T04:11:03.116Z] 8998bd30e6a1: Verifying Checksum [2023-03-13T04:11:03.116Z] 8998bd30e6a1: Download complete [2023-03-13T04:11:06.459Z] 2437ff75d9bd: Verifying Checksum [2023-03-13T04:11:06.459Z] 2437ff75d9bd: Download complete [2023-03-13T04:11:08.401Z] 8998bd30e6a1: Pull complete [2023-03-13T04:11:08.669Z] 04944245beec: Pull complete [2023-03-13T04:11:10.085Z] 699f458cf7ca: Pull complete [2023-03-13T04:11:10.353Z] 765212b225bb: Pull complete [2023-03-13T04:11:12.946Z] f23df028b6ca: Pull complete [2023-03-13T04:11:12.946Z] d65c8cfc05b1: Pull complete [2023-03-13T04:11:31.176Z] 2437ff75d9bd: Pull complete [2023-03-13T04:11:31.176Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-13T04:11:31.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-13T04:11:31.176Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T04:11:31.564Z] prd-ubuntu20.04-docker-arm64-4c-16g-9839 does not seem to be running inside a container [2023-03-13T04:11:31.683Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-13T04:11:34.839Z] $ docker top 5f2f376baed442d7fc80f185750146ead18e4e5c704ce52d0ef577de1e0f1143 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:11:35.949Z] ---> job-cost.sh [2023-03-13T04:11:36.216Z] lf-activate-venv: SKIPPING [2023-03-13T04:11:36.216Z] INFO: No Stack... [2023-03-13T04:11:36.797Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-13T04:11:37.377Z] INFO: Archiving Costs [Pipeline] sh [2023-03-13T04:11:38.040Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-03-13T04:11:38.041Z] + cut -d, -f6 [Pipeline] lock [2023-03-13T04:11:38.128Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-259-1-stack-cost] [2023-03-13T04:11:38.133Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-259-1-stack-cost] did not exist. Created. [2023-03-13T04:11:38.133Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-259-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-13T04:11:38.903Z] /w/workspace/device-onvif-camera/1@tmp/durable-5857a6c6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-13T04:11:39.572Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-13T04:11:39.610Z] Warning: overwriting stash ‘stack-cost’ [2023-03-13T04:11:40.044Z] Stashed 1 file(s) [Pipeline] } [2023-03-13T04:11:40.059Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-259-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-13T04:11:40.141Z] $ docker stop --time=1 5f2f376baed442d7fc80f185750146ead18e4e5c704ce52d0ef577de1e0f1143 [2023-03-13T04:11:41.779Z] $ docker rm -f --volumes 5f2f376baed442d7fc80f185750146ead18e4e5c704ce52d0ef577de1e0f1143 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-13T04:11:42.552Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-13T04:11:44.464Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-259/archives ] [2023-03-13T04:11:44.465Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-259/archives [2023-03-13T04:11:44.465Z] total 16 [2023-03-13T04:11:44.465Z] drwxr-xr-x 3 root root 4096 Mar 13 04:04 . [2023-03-13T04:11:44.465Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 04:04 .. [2023-03-13T04:11:44.465Z] drwxr-xr-x 2 root root 4096 Mar 13 04:04 cost [2023-03-13T04:11:44.465Z] -rw-r--r-- 1 root root 91 Mar 13 04:04 cost.csv [2023-03-13T04:11:44.465Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-259/archives [2023-03-13T04:11:44.465Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-259/archives [2023-03-13T04:11:44.465Z] total 16 [2023-03-13T04:11:44.465Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 04:04 . [2023-03-13T04:11:44.465Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 04:04 .. [2023-03-13T04:11:44.465Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 04:04 cost [2023-03-13T04:11:44.465Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 13 04:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:11:44.795Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:11:45.683Z] ---> package-listing.sh [2023-03-13T04:11:45.683Z] ++ facter osfamily [2023-03-13T04:11:45.683Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-13T04:11:45.943Z] + OS_FAMILY=debian [2023-03-13T04:11:45.943Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-259 [2023-03-13T04:11:45.943Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-13T04:11:45.943Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-13T04:11:45.943Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-13T04:11:45.943Z] + PACKAGES=/tmp/packages_start.txt [2023-03-13T04:11:45.943Z] + '[' /w/workspace/undry_device-onvif-camera_PR-259 ']' [2023-03-13T04:11:45.943Z] + PACKAGES=/tmp/packages_end.txt [2023-03-13T04:11:45.943Z] + case "${OS_FAMILY}" in [2023-03-13T04:11:45.943Z] + dpkg -l [2023-03-13T04:11:45.943Z] + grep '^ii' [2023-03-13T04:11:45.943Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-13T04:11:45.943Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-13T04:11:45.943Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-13T04:11:45.943Z] + '[' /w/workspace/undry_device-onvif-camera_PR-259 ']' [2023-03-13T04:11:45.943Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-259/archives/ [2023-03-13T04:11:45.943Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-259/archives/ [Pipeline] echo [2023-03-13T04:11:45.975Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-259/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-13T04:11:46.267Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-13T04:11:46.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-13T04:11:46.890Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-13T04:11:47.038Z] prd-ubuntu20.04-docker-8c-8g-9835 does not seem to be running inside a container [2023-03-13T04:11:47.073Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-259/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-259 -v /w/workspace/undry_device-onvif-camera_PR-259:/w/workspace/undry_device-onvif-camera_PR-259:rw,z -v /w/workspace/undry_device-onvif-camera_PR-259@tmp:/w/workspace/undry_device-onvif-camera_PR-259@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-13T04:11:49.168Z] $ docker top 82871f97ed3f639d82b0fd168c603307f4b9770ec7b65dd062ccb62c227da9d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-13T04:11:49.555Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-13T04:11:49.865Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-13T04:11:50.180Z] + ls /var/log/sa-host [2023-03-13T04:11:50.180Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-13T04:11:50.306Z] provisioning config files... [2023-03-13T04:11:50.315Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-259@tmp/config1333355790229809253tmp [Pipeline] { [Pipeline] echo [2023-03-13T04:11:50.367Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:11:50.683Z] ---> create-netrc.sh [Pipeline] } [2023-03-13T04:11:50.711Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:11:51.119Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-13T04:11:51.153Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:11:51.464Z] ---> sudo-logs.sh [2023-03-13T04:11:51.464Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-13T04:11:51.540Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:11:51.850Z] ---> job-cost.sh [2023-03-13T04:11:51.850Z] lf-activate-venv: SKIPPING [2023-03-13T04:11:51.850Z] DEBUG: total: 0.2199999988079071 [2023-03-13T04:11:51.850Z] INFO: Retrieving Stack Cost... [2023-03-13T04:11:52.109Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-13T04:11:52.369Z] INFO: Archiving Costs [Pipeline] echo [2023-03-13T04:11:52.404Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-13T04:11:52.721Z] ---> logs-deploy.sh [2023-03-13T04:11:52.721Z] lf-activate-venv: SKIPPING [2023-03-13T04:11:52.721Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-259/1 [2023-03-13T04:11:52.721Z] INFO: archiving workspace using pattern(s): [2023-03-13T04:11:53.656Z] Archives upload complete. [2023-03-13T04:11:53.656Z] INFO: archiving logs to Nexus