Pull request #196 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 2545f5903fd01a4bbfd89758772e8743cfa7fbc4+85f19cd4395ab38c9fed3c9acaecd010dfd8799e (8c16349f032d40dd88408a9054afd2b41268e834) 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-ssh13149489618861653950.key Verifying host key using known hosts file > 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-ssh5962924006791022393.key Verifying host key using known hosts file > 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-196/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-196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11570317749601135472.key Verifying host key using known hosts file > 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-196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8590650437166710690.key Verifying host key using known hosts file > 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-ssh12014147897819285750.key Verifying host key using known hosts file > 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-196/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-196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5002416663909831657.key Verifying host key using known hosts file > 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118618 in /w/workspace/undry_device-onvif-camera_PR-196 [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-196 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/196/head:refs/remotes/origin/PR-196 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 85f19cd4395ab38c9fed3c9acaecd010dfd8799e into PR head commit 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 Merge succeeded, producing 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 Checking out Revision 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 (PR-196) > git config core.sparsecheckout # timeout=10 > git checkout -f 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 85f19cd4395ab38c9fed3c9acaecd010dfd8799e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 # timeout=10 Commit message: "build: Update to use released SDK" 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 [2022-11-08T16:09:18.747Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-08T16:09:18.939Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-08T16:09:19.040Z] ========================================================= [2022-11-08T16:09:19.040Z] EdgeX Global Pipelines Version Info [2022-11-08T16:09:19.040Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:09:19.797Z] ------------------- [2022-11-08T16:09:19.797Z] stable info: [2022-11-08T16:09:19.797Z] ------------------- [2022-11-08T16:09:19.797Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-08T16:09:19.797Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T16:09:19.797Z] Message: update stable to v1.0.244 [2022-11-08T16:09:20.367Z] ------------------- [2022-11-08T16:09:20.367Z] experimental info: [2022-11-08T16:09:20.367Z] ------------------- [2022-11-08T16:09:20.367Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-08T16:09:20.367Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T16:09:20.367Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-08T16:09:20.734Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-11-08T16:09:20.777Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-11-08T16:09:20.821Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-08T16:09:20.863Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-08T16:09:20.902Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-08T16:09:20.944Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-08T16:09:20.987Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-08T16:09:21.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-08T16:09:21.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-08T16:09:21.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-08T16:09:21.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-08T16:09:21.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-11-08T16:09:21.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-08T16:09:21.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-08T16:09:21.330Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T16:09:21.373Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T16:09:21.415Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T16:09:21.460Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T16:09:21.499Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-08T16:09:21.536Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-08T16:09:21.575Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-08T16:09:21.618Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-11-08T16:09:21.660Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-08T16:09:21.709Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-08T16:09:21.751Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-08T16:09:21.791Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-08T16:09:21.829Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-08T16:09:21.880Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-196 [Pipeline] echo [2022-11-08T16:09:21.919Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-196 [Pipeline] echo [2022-11-08T16:09:21.957Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-196 [Pipeline] echo [2022-11-08T16:09:21.997Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 [Pipeline] echo [2022-11-08T16:09:22.038Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2545f59 [Pipeline] echo [2022-11-08T16:09:22.081Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:09:22.191Z] provisioning config files... [2022-11-08T16:09:22.274Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-196@tmp/config16692640511688455284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:09:22.624Z] ---> docker-login.sh [2022-11-08T16:09:22.624Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:09:22.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:09:22.885Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:09:22.885Z] Configure a credential helper to remove this warning. See [2022-11-08T16:09:22.885Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:09:22.885Z] [2022-11-08T16:09:22.885Z] Login Succeeded [2022-11-08T16:09:22.885Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:09:22.885Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:09:23.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:09:23.147Z] Configure a credential helper to remove this warning. See [2022-11-08T16:09:23.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:09:23.147Z] [2022-11-08T16:09:23.147Z] Login Succeeded [2022-11-08T16:09:23.147Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:09:23.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:09:23.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:09:23.147Z] Configure a credential helper to remove this warning. See [2022-11-08T16:09:23.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:09:23.147Z] [2022-11-08T16:09:23.147Z] Login Succeeded [2022-11-08T16:09:23.147Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:09:23.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:09:23.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:09:23.408Z] Configure a credential helper to remove this warning. See [2022-11-08T16:09:23.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:09:23.408Z] [2022-11-08T16:09:23.408Z] Login Succeeded [2022-11-08T16:09:23.408Z] docker.io [2022-11-08T16:09:23.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:09:23.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:09:23.668Z] Configure a credential helper to remove this warning. See [2022-11-08T16:09:23.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:09:23.668Z] [2022-11-08T16:09:23.668Z] Login Succeeded [2022-11-08T16:09:23.668Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:09:23.692Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-08T16:09:24.388Z] + git rev-list -1 --merges 2545f5903fd01a4bbfd89758772e8743cfa7fbc4~1..2545f5903fd01a4bbfd89758772e8743cfa7fbc4 [Pipeline] echo [2022-11-08T16:09:24.447Z] -----------> git rev-list -1 --merges 2545f5903fd01a4bbfd89758772e8743cfa7fbc4~1..2545f5903fd01a4bbfd89758772e8743cfa7fbc4 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 [false] [Pipeline] sh [2022-11-08T16:09:24.764Z] + git log --format=format:%s -1 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 [Pipeline] echo [2022-11-08T16:09:24.806Z] ========================================================= [2022-11-08T16:09:24.806Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-08T16:09:24.806Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T16:09:25.254Z] + git log --format=format:%s -1 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 [Pipeline] echo [2022-11-08T16:09:25.285Z] [semverPrep] GIT_COMMIT: 2545f5903fd01a4bbfd89758772e8743cfa7fbc4, Commit Message: build: Update to use released SDK [Pipeline] echo [2022-11-08T16:09:25.317Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-08T16:09:25.730Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T16:09:25.730Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-08T16:09:25.730Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-08T16:09:25.730Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-08T16:09:25.730Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-08T16:09:25.730Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-08T16:09:25.730Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:09:26.183Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T16:09:26.183Z] [2022-11-08T16:09:26.183Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:09:26.562Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T16:09:26.562Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-08T16:09:26.562Z] b85a868b505f: Pulling fs layer [2022-11-08T16:09:26.562Z] e2be974225ed: Pulling fs layer [2022-11-08T16:09:26.562Z] 339a4e72a1f5: Pulling fs layer [2022-11-08T16:09:26.562Z] 988bab9f4d93: Pulling fs layer [2022-11-08T16:09:26.562Z] 1469e6f7b9e6: Pulling fs layer [2022-11-08T16:09:26.562Z] eaf3925da568: Pulling fs layer [2022-11-08T16:09:26.562Z] bab4dde63d76: Pulling fs layer [2022-11-08T16:09:26.562Z] bde34c3a00c8: Pulling fs layer [2022-11-08T16:09:26.562Z] 988bab9f4d93: Waiting [2022-11-08T16:09:26.562Z] b352a97aabf1: Pulling fs layer [2022-11-08T16:09:26.562Z] 4872d77fe225: Pulling fs layer [2022-11-08T16:09:26.562Z] 5851b861e8e6: Pulling fs layer [2022-11-08T16:09:26.562Z] 1469e6f7b9e6: Waiting [2022-11-08T16:09:26.562Z] eaf3925da568: Waiting [2022-11-08T16:09:26.562Z] bab4dde63d76: Waiting [2022-11-08T16:09:26.562Z] bde34c3a00c8: Waiting [2022-11-08T16:09:26.562Z] b352a97aabf1: Waiting [2022-11-08T16:09:26.562Z] 5851b861e8e6: Waiting [2022-11-08T16:09:26.562Z] 4872d77fe225: Waiting [2022-11-08T16:09:26.562Z] e2be974225ed: Download complete [2022-11-08T16:09:26.562Z] 988bab9f4d93: Download complete [2022-11-08T16:09:26.824Z] 1469e6f7b9e6: Verifying Checksum [2022-11-08T16:09:26.824Z] 1469e6f7b9e6: Download complete [2022-11-08T16:09:26.824Z] 339a4e72a1f5: Verifying Checksum [2022-11-08T16:09:26.824Z] 339a4e72a1f5: Download complete [2022-11-08T16:09:26.824Z] eaf3925da568: Download complete [2022-11-08T16:09:26.824Z] bde34c3a00c8: Download complete [2022-11-08T16:09:26.824Z] b352a97aabf1: Download complete [2022-11-08T16:09:26.824Z] 4872d77fe225: Verifying Checksum [2022-11-08T16:09:26.824Z] 4872d77fe225: Download complete [2022-11-08T16:09:26.824Z] 5851b861e8e6: Download complete [2022-11-08T16:09:26.824Z] b85a868b505f: Verifying Checksum [2022-11-08T16:09:26.824Z] b85a868b505f: Download complete [2022-11-08T16:09:27.083Z] bab4dde63d76: Verifying Checksum [2022-11-08T16:09:27.083Z] bab4dde63d76: Download complete [2022-11-08T16:09:28.022Z] b85a868b505f: Pull complete [2022-11-08T16:09:28.022Z] e2be974225ed: Pull complete [2022-11-08T16:09:28.594Z] 339a4e72a1f5: Pull complete [2022-11-08T16:09:28.594Z] 988bab9f4d93: Pull complete [2022-11-08T16:09:28.877Z] 1469e6f7b9e6: Pull complete [2022-11-08T16:09:29.141Z] eaf3925da568: Pull complete [2022-11-08T16:09:31.053Z] bab4dde63d76: Pull complete [2022-11-08T16:09:31.053Z] bde34c3a00c8: Pull complete [2022-11-08T16:09:31.053Z] b352a97aabf1: Pull complete [2022-11-08T16:09:31.053Z] 4872d77fe225: Pull complete [2022-11-08T16:09:31.313Z] 5851b861e8e6: Pull complete [2022-11-08T16:09:31.313Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-08T16:09:31.313Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T16:09:31.313Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:09:31.526Z] prd-ubuntu20.04-docker-8c-8g-118618 does not seem to be running inside a container [2022-11-08T16:09:31.551Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-196 -v /w/workspace/undry_device-onvif-camera_PR-196:/w/workspace/undry_device-onvif-camera_PR-196:rw,z -v /w/workspace/undry_device-onvif-camera_PR-196@tmp:/w/workspace/undry_device-onvif-camera_PR-196@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-devops/py-git-semver:0.1.4 cat [2022-11-08T16:09:34.093Z] $ docker top cab672d7b8eb09b472fba7b02eeb580540e4020fae5049a21cc19fedd82f6105 -eo pid,comm [2022-11-08T16:09:34.157Z] 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). [2022-11-08T16:09:34.157Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T16:09:34.282Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T16:09:34.282Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T16:09:34.393Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T16:09:34.389Z] $ docker exec cab672d7b8eb09b472fba7b02eeb580540e4020fae5049a21cc19fedd82f6105 ssh-agent [2022-11-08T16:09:34.510Z] SSH_AUTH_SOCK=/tmp/ssh-7a5m42S55fIR/agent.32 [2022-11-08T16:09:34.510Z] SSH_AGENT_PID=38 [2022-11-08T16:09:34.516Z] Running ssh-add (command line suppressed) [2022-11-08T16:09:34.611Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-196@tmp/private_key_637708695843684875.key (/w/workspace/undry_device-onvif-camera_PR-196@tmp/private_key_637708695843684875.key) [2022-11-08T16:09:34.632Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T16:09:34.974Z] + git tag --points-at HEAD [Pipeline] } [2022-11-08T16:09:34.996Z] $ docker exec --env ******** --env ******** cab672d7b8eb09b472fba7b02eeb580540e4020fae5049a21cc19fedd82f6105 ssh-agent -k [2022-11-08T16:09:35.085Z] unset SSH_AUTH_SOCK; [2022-11-08T16:09:35.086Z] unset SSH_AGENT_PID; [2022-11-08T16:09:35.086Z] echo Agent pid 38 killed; [2022-11-08T16:09:35.101Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-08T16:09:35.200Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T16:09:35.200Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T16:09:35.304Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T16:09:35.301Z] $ docker exec cab672d7b8eb09b472fba7b02eeb580540e4020fae5049a21cc19fedd82f6105 ssh-agent [2022-11-08T16:09:35.415Z] SSH_AUTH_SOCK=/tmp/ssh-A6Op1G7SxfCV/agent.70 [2022-11-08T16:09:35.415Z] SSH_AGENT_PID=76 [2022-11-08T16:09:35.421Z] Running ssh-add (command line suppressed) [2022-11-08T16:09:35.520Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-196@tmp/private_key_17945262099752182473.key (/w/workspace/undry_device-onvif-camera_PR-196@tmp/private_key_17945262099752182473.key) [2022-11-08T16:09:35.541Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T16:09:35.873Z] + git semver init [2022-11-08T16:09:36.133Z] 2022-11-08 16:09:36,060 [run_init] DEBUG init version:0.0.0 force:False [2022-11-08T16:09:36.133Z] 2022-11-08 16:09:36,061 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-196/.semver [2022-11-08T16:09:36.133Z] 2022-11-08 16:09:36,062 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-196/.semver [2022-11-08T16:09:36.133Z] 2022-11-08 16:09:36,062 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-196/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-196, universal_newlines=False, shell=None, istream=None) [2022-11-08T16:09:37.518Z] 2022-11-08 16:09:37,201 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-196/.git/info/exclude [2022-11-08T16:09:37.518Z] 2022-11-08 16:09:37,201 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-196/.semver/PR-196 with force:False [2022-11-08T16:09:37.518Z] 2022-11-08 16:09:37,202 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-196/.semver/PR-196 [2022-11-08T16:09:37.518Z] 2022-11-08 16:09:37,206 [execute] INFO git cat-file --batch-check [2022-11-08T16:09:37.518Z] 2022-11-08 16:09:37,206 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-196/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T16:09:37.518Z] 2022-11-08 16:09:37,213 [execute] INFO git cat-file --batch [2022-11-08T16:09:37.518Z] 2022-11-08 16:09:37,213 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-196/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T16:09:37.518Z] 2022-11-08 16:09:37,219 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-196/.semver/PR-196 [2022-11-08T16:09:37.518Z] 0.0.0 [Pipeline] } [2022-11-08T16:09:37.540Z] $ docker exec --env ******** --env ******** cab672d7b8eb09b472fba7b02eeb580540e4020fae5049a21cc19fedd82f6105 ssh-agent -k [2022-11-08T16:09:37.646Z] unset SSH_AUTH_SOCK; [2022-11-08T16:09:37.647Z] unset SSH_AGENT_PID; [2022-11-08T16:09:37.647Z] echo Agent pid 76 killed; [2022-11-08T16:09:37.660Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T16:09:38.087Z] + git semver [Pipeline] } [2022-11-08T16:09:38.368Z] $ docker stop --time=1 cab672d7b8eb09b472fba7b02eeb580540e4020fae5049a21cc19fedd82f6105 [2022-11-08T16:09:39.646Z] $ docker rm -f cab672d7b8eb09b472fba7b02eeb580540e4020fae5049a21cc19fedd82f6105 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T16:09:40.044Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-08T16:09:40.278Z] Stashed 1 file(s) [Pipeline] echo [2022-11-08T16:09:40.294Z] [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 [2022-11-08T16:09:40.935Z] provisioning config files... [2022-11-08T16:09:40.944Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-196@tmp/config16541570295526904200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:09:41.292Z] ---> docker-login.sh [2022-11-08T16:09:41.292Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:09:41.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:09:41.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:09:41.292Z] Configure a credential helper to remove this warning. See [2022-11-08T16:09:41.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:09:41.292Z] [2022-11-08T16:09:41.292Z] Login Succeeded [2022-11-08T16:09:41.292Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:09:41.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:09:41.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:09:41.292Z] Configure a credential helper to remove this warning. See [2022-11-08T16:09:41.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:09:41.292Z] [2022-11-08T16:09:41.292Z] Login Succeeded [2022-11-08T16:09:41.292Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:09:41.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:09:41.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:09:41.557Z] Configure a credential helper to remove this warning. See [2022-11-08T16:09:41.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:09:41.557Z] [2022-11-08T16:09:41.557Z] Login Succeeded [2022-11-08T16:09:41.557Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:09:41.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:09:41.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:09:41.557Z] Configure a credential helper to remove this warning. See [2022-11-08T16:09:41.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:09:41.557Z] [2022-11-08T16:09:41.557Z] Login Succeeded [2022-11-08T16:09:41.557Z] docker.io [2022-11-08T16:09:41.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:09:42.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:09:42.078Z] Configure a credential helper to remove this warning. See [2022-11-08T16:09:42.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:09:42.078Z] [2022-11-08T16:09:42.078Z] Login Succeeded [2022-11-08T16:09:42.078Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:09:42.110Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T16:09:42.300Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:09:42.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:09:42.373Z] ========================================================= [2022-11-08T16:09:42.373Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-08T16:09:42.373Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:09:42.850Z] + 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 . [2022-11-08T16:09:42.850Z] Sending build context to Docker daemon 27.54MB [2022-11-08T16:09:42.850Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:09:42.850Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-08T16:09:43.123Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-08T16:09:43.123Z] 213ec9aee27d: Pulling fs layer [2022-11-08T16:09:43.123Z] 4583459ba037: Pulling fs layer [2022-11-08T16:09:43.123Z] 93c1e223e6f2: Pulling fs layer [2022-11-08T16:09:43.123Z] 53926ce57604: Pulling fs layer [2022-11-08T16:09:43.123Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-08T16:09:43.123Z] 22ff95d597cd: Pulling fs layer [2022-11-08T16:09:43.123Z] 12d6caf4c0d1: Pulling fs layer [2022-11-08T16:09:43.123Z] 96b7cbca73a9: Pulling fs layer [2022-11-08T16:09:43.123Z] a7acece74701: Pulling fs layer [2022-11-08T16:09:43.123Z] 53926ce57604: Waiting [2022-11-08T16:09:43.123Z] 21b2b0c7a3f4: Waiting [2022-11-08T16:09:43.123Z] 12d6caf4c0d1: Waiting [2022-11-08T16:09:43.123Z] 96b7cbca73a9: Waiting [2022-11-08T16:09:43.123Z] a7acece74701: Waiting [2022-11-08T16:09:43.123Z] 22ff95d597cd: Waiting [2022-11-08T16:09:43.123Z] 93c1e223e6f2: Verifying Checksum [2022-11-08T16:09:43.123Z] 93c1e223e6f2: Download complete [2022-11-08T16:09:43.123Z] 4583459ba037: Verifying Checksum [2022-11-08T16:09:43.123Z] 4583459ba037: Download complete [2022-11-08T16:09:43.123Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-08T16:09:43.123Z] 21b2b0c7a3f4: Download complete [2022-11-08T16:09:43.123Z] 22ff95d597cd: Verifying Checksum [2022-11-08T16:09:43.123Z] 22ff95d597cd: Download complete [2022-11-08T16:09:43.123Z] 213ec9aee27d: Verifying Checksum [2022-11-08T16:09:43.123Z] 12d6caf4c0d1: Verifying Checksum [2022-11-08T16:09:43.123Z] 12d6caf4c0d1: Download complete [2022-11-08T16:09:43.396Z] 213ec9aee27d: Pull complete [2022-11-08T16:09:43.396Z] 4583459ba037: Pull complete [2022-11-08T16:09:43.396Z] 93c1e223e6f2: Pull complete [2022-11-08T16:09:43.987Z] a7acece74701: Verifying Checksum [2022-11-08T16:09:43.987Z] a7acece74701: Download complete [2022-11-08T16:09:44.244Z] 53926ce57604: Verifying Checksum [2022-11-08T16:09:44.244Z] 53926ce57604: Download complete [2022-11-08T16:09:44.244Z] 96b7cbca73a9: Verifying Checksum [2022-11-08T16:09:44.244Z] 96b7cbca73a9: Download complete [2022-11-08T16:09:48.425Z] 53926ce57604: Pull complete [2022-11-08T16:09:48.425Z] 21b2b0c7a3f4: Pull complete [2022-11-08T16:09:48.425Z] 22ff95d597cd: Pull complete [2022-11-08T16:09:48.683Z] 12d6caf4c0d1: Pull complete [2022-11-08T16:09:51.212Z] 96b7cbca73a9: Pull complete [2022-11-08T16:09:51.470Z] a7acece74701: Pull complete [2022-11-08T16:09:51.470Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-08T16:09:51.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-08T16:09:51.471Z] ---> db6d94c90886 [2022-11-08T16:09:51.471Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:09:55.667Z] ---> Running in ff33aeed1868 [2022-11-08T16:09:55.667Z] Removing intermediate container ff33aeed1868 [2022-11-08T16:09:55.667Z] ---> e7d098942ba8 [2022-11-08T16:09:55.667Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:09:55.667Z] ---> Running in 165b0471a944 [2022-11-08T16:09:55.667Z] Removing intermediate container 165b0471a944 [2022-11-08T16:09:55.667Z] ---> c9cc14ceb2cb [2022-11-08T16:09:55.667Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T16:09:55.667Z] ---> Running in 4537d67503fc [2022-11-08T16:09:55.667Z] Removing intermediate container 4537d67503fc [2022-11-08T16:09:55.667Z] ---> 3da6e2818e15 [2022-11-08T16:09:55.667Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T16:09:55.741Z] Still waiting to schedule task [2022-11-08T16:09:55.741Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-11-08T16:09:55.929Z] ---> Running in 93185086cd04 [2022-11-08T16:09:55.929Z] Removing intermediate container 93185086cd04 [2022-11-08T16:09:55.929Z] ---> b188b368a641 [2022-11-08T16:09:55.929Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-08T16:09:55.929Z] ---> Running in 840dc8885272 [2022-11-08T16:09:55.929Z] Removing intermediate container 840dc8885272 [2022-11-08T16:09:55.929Z] ---> 1cad4b358951 [2022-11-08T16:09:55.929Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T16:09:55.929Z] ---> Running in bc567876d328 [2022-11-08T16:09:56.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T16:09:56.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T16:09:56.499Z] OK: 211 MiB in 51 packages [2022-11-08T16:09:57.067Z] Removing intermediate container bc567876d328 [2022-11-08T16:09:57.067Z] ---> aac4dac7b5f6 [2022-11-08T16:09:57.067Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-08T16:09:57.067Z] ---> Running in a570581590bf [2022-11-08T16:09:57.067Z] Removing intermediate container a570581590bf [2022-11-08T16:09:57.067Z] ---> a617f6bac134 [2022-11-08T16:09:57.067Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-08T16:09:57.067Z] ---> deddabf43a9a [2022-11-08T16:09:57.068Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:09:57.068Z] ---> Running in 39fe6d7f3ce7 [2022-11-08T16:10:19.020Z] Removing intermediate container 39fe6d7f3ce7 [2022-11-08T16:10:19.020Z] ---> 3c62e0c5b0dd [2022-11-08T16:10:19.020Z] Step 12/13 : COPY . . [2022-11-08T16:10:19.020Z] ---> 11f7da1c4d81 [2022-11-08T16:10:19.020Z] Step 13/13 : RUN ${MAKE} [2022-11-08T16:10:19.020Z] ---> Running in 71e9a607be58 [2022-11-08T16:10:19.020Z] noop [2022-11-08T16:10:19.020Z] Removing intermediate container 71e9a607be58 [2022-11-08T16:10:19.020Z] ---> 9c8d56b10b21 [2022-11-08T16:10:19.020Z] Successfully built 9c8d56b10b21 [2022-11-08T16:10:19.020Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:10:19.488Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T16:10:19.488Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:10:19.630Z] prd-ubuntu20.04-docker-8c-8g-118618 does not seem to be running inside a container [2022-11-08T16:10:19.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-196 -v /w/workspace/undry_device-onvif-camera_PR-196:/w/workspace/undry_device-onvif-camera_PR-196:rw,z -v /w/workspace/undry_device-onvif-camera_PR-196@tmp:/w/workspace/undry_device-onvif-camera_PR-196@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-08T16:10:19.976Z] $ docker top 95381dcb2fb6f92769789f96bb24d268c1d6a5b921f34ee478a581c25fc2809a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:10:20.350Z] + go version [2022-11-08T16:10:20.350Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-08T16:10:20.389Z] $ docker stop --time=1 95381dcb2fb6f92769789f96bb24d268c1d6a5b921f34ee478a581c25fc2809a [2022-11-08T16:10:21.629Z] $ docker rm -f 95381dcb2fb6f92769789f96bb24d268c1d6a5b921f34ee478a581c25fc2809a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:10:22.377Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T16:10:22.377Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:10:22.532Z] prd-ubuntu20.04-docker-8c-8g-118618 does not seem to be running inside a container [2022-11-08T16:10:22.570Z] $ 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-196 -v /w/workspace/undry_device-onvif-camera_PR-196:/w/workspace/undry_device-onvif-camera_PR-196:rw,z -v /w/workspace/undry_device-onvif-camera_PR-196@tmp:/w/workspace/undry_device-onvif-camera_PR-196@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-08T16:10:22.901Z] $ docker top ed226870c550a492c0e2b025b780d1537446e103e8341aa99fba666245fc6e80 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:10:23.285Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-196 [Pipeline] fileExists [Pipeline] sh [2022-11-08T16:10:23.639Z] + make test [2022-11-08T16:10:23.639Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-08T16:10:23.896Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-08T16:10:33.864Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-08T16:10:37.158Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 29.3% of statements [2022-11-08T16:10:37.158Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-08T16:10:37.158Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.250s coverage: 86.5% of statements [2022-11-08T16:10:43.737Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-08T16:10:43.737Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T16:10:47.015Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T16:10:47.015Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T16:10:47.015Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T16:10:47.053Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T16:10:47.090Z] $ docker stop --time=1 ed226870c550a492c0e2b025b780d1537446e103e8341aa99fba666245fc6e80 [2022-11-08T16:10:49.436Z] $ docker rm -f ed226870c550a492c0e2b025b780d1537446e103e8341aa99fba666245fc6e80 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T16:10:49.927Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T16:10:50.018Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-08T16:10:50.594Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T16:10:50.909Z] + ls -al . [2022-11-08T16:10:50.909Z] total 248 [2022-11-08T16:10:50.909Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 16:10 . [2022-11-08T16:10:50.909Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:09 .. [2022-11-08T16:10:50.909Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:10 .git [2022-11-08T16:10:50.909Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:09 .github [2022-11-08T16:10:50.909Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 8 16:09 .gitignore [2022-11-08T16:10:50.909Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 16:09 .golangci.yml [2022-11-08T16:10:50.909Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:09 .semver [2022-11-08T16:10:50.909Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 8 16:09 Attribution.txt [2022-11-08T16:10:50.909Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 8 16:09 CHANGELOG.md [2022-11-08T16:10:50.909Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 8 16:09 Dockerfile [2022-11-08T16:10:50.909Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 16:09 GOVERNANCE.md [2022-11-08T16:10:50.909Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 8 16:09 Jenkinsfile [2022-11-08T16:10:50.909Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 16:09 LICENSE [2022-11-08T16:10:50.909Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 8 16:09 Makefile [2022-11-08T16:10:50.909Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 16:09 OWNERS.md [2022-11-08T16:10:50.909Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 8 16:09 README.md [2022-11-08T16:10:50.909Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 16:09 VERSION [2022-11-08T16:10:50.909Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:09 bin [2022-11-08T16:10:50.909Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:09 cmd [2022-11-08T16:10:50.909Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 8 16:10 coverage.out [2022-11-08T16:10:50.909Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 16:09 doc [2022-11-08T16:10:50.909Z] -rw-rw-r-- 1 jenkins jenkins 3687 Nov 8 16:09 go.mod [2022-11-08T16:10:50.909Z] -rw-rw-r-- 1 jenkins jenkins 46105 Nov 8 16:09 go.sum [2022-11-08T16:10:50.909Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:09 internal [2022-11-08T16:10:50.909Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:09 snap [2022-11-08T16:10:50.909Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 16:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:10:51.293Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2545f5903fd01a4bbfd89758772e8743cfa7fbc4 --label arch=amd64 --label version=0.0.0 . [2022-11-08T16:10:51.293Z] Sending build context to Docker daemon 27.62MB [2022-11-08T16:10:51.293Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:10:51.293Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-08T16:10:51.293Z] ---> 9c8d56b10b21 [2022-11-08T16:10:51.293Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:10:51.553Z] ---> Running in e5b11f21afaf [2022-11-08T16:10:51.811Z] Removing intermediate container e5b11f21afaf [2022-11-08T16:10:51.811Z] ---> 3341dc553b9b [2022-11-08T16:10:51.811Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:10:51.811Z] ---> Running in d7b3619f6b95 [2022-11-08T16:10:51.811Z] Removing intermediate container d7b3619f6b95 [2022-11-08T16:10:51.811Z] ---> a4001a0d5178 [2022-11-08T16:10:51.811Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T16:10:51.811Z] ---> Running in b8f955049104 [2022-11-08T16:10:51.811Z] Removing intermediate container b8f955049104 [2022-11-08T16:10:51.811Z] ---> 7756d6f1b1e7 [2022-11-08T16:10:51.811Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T16:10:51.811Z] ---> Running in 74bf0b97e563 [2022-11-08T16:10:52.069Z] Removing intermediate container 74bf0b97e563 [2022-11-08T16:10:52.069Z] ---> e6ac42368d12 [2022-11-08T16:10:52.069Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-08T16:10:52.069Z] ---> Running in a2175aa44a64 [2022-11-08T16:10:52.069Z] Removing intermediate container a2175aa44a64 [2022-11-08T16:10:52.069Z] ---> e73d51a65a9f [2022-11-08T16:10:52.069Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T16:10:52.069Z] ---> Running in f7b29173ef9d [2022-11-08T16:10:52.327Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T16:10:52.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T16:10:52.845Z] OK: 211 MiB in 51 packages [2022-11-08T16:10:53.103Z] Removing intermediate container f7b29173ef9d [2022-11-08T16:10:53.103Z] ---> c831fe3e01b9 [2022-11-08T16:10:53.103Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-08T16:10:53.103Z] ---> Running in df75b40ce708 [2022-11-08T16:10:53.103Z] Removing intermediate container df75b40ce708 [2022-11-08T16:10:53.103Z] ---> d4500e407d2e [2022-11-08T16:10:53.103Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-08T16:10:53.362Z] ---> 8f6f31c5a3cf [2022-11-08T16:10:53.362Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:10:53.362Z] ---> Running in af4d066b6eef [2022-11-08T16:10:53.927Z] Removing intermediate container af4d066b6eef [2022-11-08T16:10:53.927Z] ---> c69b7f2dc43e [2022-11-08T16:10:53.927Z] Step 12/26 : COPY . . [2022-11-08T16:10:54.863Z] ---> ab7291b59601 [2022-11-08T16:10:54.863Z] Step 13/26 : RUN ${MAKE} [2022-11-08T16:10:54.863Z] ---> Running in 60aaf024c81c [2022-11-08T16:10:55.121Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-11-08T16:11:17.054Z] Removing intermediate container 60aaf024c81c [2022-11-08T16:11:17.055Z] ---> 5a9fe5ce23fc [2022-11-08T16:11:17.055Z] Step 14/26 : FROM alpine:3.16 [2022-11-08T16:11:17.055Z] 3.16: Pulling from library/alpine [2022-11-08T16:11:17.055Z] 213ec9aee27d: Already exists [2022-11-08T16:11:17.055Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T16:11:17.055Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T16:11:17.055Z] ---> 9c6f07244728 [2022-11-08T16:11:17.055Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-08T16:11:17.055Z] ---> Running in 12ee1d4019ea [2022-11-08T16:11:17.055Z] Removing intermediate container 12ee1d4019ea [2022-11-08T16:11:17.055Z] ---> ec64d0dcbd07 [2022-11-08T16:11:17.055Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T16:11:17.055Z] ---> Running in 3c818079e831 [2022-11-08T16:11:17.055Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T16:11:17.312Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T16:11:17.312Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T16:11:17.312Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T16:11:17.312Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T16:11:17.312Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T16:11:17.312Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T16:11:17.312Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T16:11:17.312Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T16:11:17.571Z] OK: 8 MiB in 20 packages [2022-11-08T16:11:17.829Z] Removing intermediate container 3c818079e831 [2022-11-08T16:11:17.829Z] ---> 77f021876c8d [2022-11-08T16:11:17.829Z] Step 17/26 : WORKDIR / [2022-11-08T16:11:17.829Z] ---> Running in e2acc628cfe3 [2022-11-08T16:11:17.829Z] Removing intermediate container e2acc628cfe3 [2022-11-08T16:11:17.829Z] ---> 72d9642ac4fb [2022-11-08T16:11:17.829Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-08T16:11:18.762Z] ---> cbfa10ff3f50 [2022-11-08T16:11:18.762Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-08T16:11:18.762Z] ---> f04ed38ff839 [2022-11-08T16:11:18.762Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-08T16:11:19.021Z] ---> 3c9ace7fe722 [2022-11-08T16:11:19.021Z] Step 21/26 : EXPOSE 59984 [2022-11-08T16:11:19.021Z] ---> Running in 9b43de9cd535 [2022-11-08T16:11:19.021Z] Removing intermediate container 9b43de9cd535 [2022-11-08T16:11:19.021Z] ---> 370009f83ef2 [2022-11-08T16:11:19.021Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-08T16:11:19.021Z] ---> Running in 0ce7a943f233 [2022-11-08T16:11:19.021Z] Removing intermediate container 0ce7a943f233 [2022-11-08T16:11:19.021Z] ---> fc6c19d4aed2 [2022-11-08T16:11:19.021Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T16:11:19.021Z] ---> Running in 7f8f2b01f750 [2022-11-08T16:11:19.279Z] Removing intermediate container 7f8f2b01f750 [2022-11-08T16:11:19.279Z] ---> 8a1a47a09aa9 [2022-11-08T16:11:19.279Z] Step 24/26 : LABEL arch=amd64 [2022-11-08T16:11:19.279Z] ---> Running in 7243f1518ba7 [2022-11-08T16:11:19.279Z] Removing intermediate container 7243f1518ba7 [2022-11-08T16:11:19.279Z] ---> a9ff67112d82 [2022-11-08T16:11:19.279Z] Step 25/26 : LABEL git_sha=2545f5903fd01a4bbfd89758772e8743cfa7fbc4 [2022-11-08T16:11:19.279Z] ---> Running in 557a38c6af02 [2022-11-08T16:11:19.279Z] Removing intermediate container 557a38c6af02 [2022-11-08T16:11:19.279Z] ---> 5b6ced75d8c6 [2022-11-08T16:11:19.279Z] Step 26/26 : LABEL version=0.0.0 [2022-11-08T16:11:19.541Z] ---> Running in 586183aa773a [2022-11-08T16:11:19.541Z] Removing intermediate container 586183aa773a [2022-11-08T16:11:19.541Z] ---> db33b0577594 [2022-11-08T16:11:19.541Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T16:11:19.541Z] Successfully built db33b0577594 [2022-11-08T16:11:19.541Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:11:20.398Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:11:20.398Z] [2022-11-08T16:11:20.398Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:11:20.761Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:11:20.761Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-08T16:11:20.761Z] 5eb5b503b376: Pulling fs layer [2022-11-08T16:11:20.761Z] 5c69ac0246d0: Pulling fs layer [2022-11-08T16:11:20.761Z] ec43610c2a17: Pulling fs layer [2022-11-08T16:11:20.761Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-08T16:11:20.761Z] 33b1e0a273af: Pulling fs layer [2022-11-08T16:11:20.761Z] 5d3b04190fa2: Pulling fs layer [2022-11-08T16:11:20.761Z] 2f39f015ded8: Pulling fs layer [2022-11-08T16:11:20.761Z] 33b1e0a273af: Waiting [2022-11-08T16:11:20.761Z] 3a2ae6a8a46f: Waiting [2022-11-08T16:11:20.761Z] 5d3b04190fa2: Waiting [2022-11-08T16:11:20.761Z] 2f39f015ded8: Waiting [2022-11-08T16:11:20.761Z] 5c69ac0246d0: Download complete [2022-11-08T16:11:20.761Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-08T16:11:20.761Z] 3a2ae6a8a46f: Download complete [2022-11-08T16:11:20.761Z] 33b1e0a273af: Verifying Checksum [2022-11-08T16:11:20.761Z] 33b1e0a273af: Download complete [2022-11-08T16:11:20.761Z] 5d3b04190fa2: Download complete [2022-11-08T16:11:21.020Z] ec43610c2a17: Verifying Checksum [2022-11-08T16:11:21.020Z] ec43610c2a17: Download complete [2022-11-08T16:11:21.020Z] 5eb5b503b376: Verifying Checksum [2022-11-08T16:11:21.020Z] 5eb5b503b376: Download complete [2022-11-08T16:11:21.598Z] 2f39f015ded8: Download complete [2022-11-08T16:11:22.164Z] 5eb5b503b376: Pull complete [2022-11-08T16:11:22.422Z] 5c69ac0246d0: Pull complete [2022-11-08T16:11:22.681Z] ec43610c2a17: Pull complete [2022-11-08T16:11:22.681Z] 3a2ae6a8a46f: Pull complete [2022-11-08T16:11:22.940Z] 33b1e0a273af: Pull complete [2022-11-08T16:11:22.940Z] 5d3b04190fa2: Pull complete [2022-11-08T16:11:27.122Z] 2f39f015ded8: Pull complete [2022-11-08T16:11:27.122Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-08T16:11:27.122Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:11:27.122Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:11:27.346Z] prd-ubuntu20.04-docker-8c-8g-118618 does not seem to be running inside a container [2022-11-08T16:11:27.381Z] $ 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-196 -v /w/workspace/undry_device-onvif-camera_PR-196:/w/workspace/undry_device-onvif-camera_PR-196:rw,z -v /w/workspace/undry_device-onvif-camera_PR-196@tmp:/w/workspace/undry_device-onvif-camera_PR-196@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T16:11:30.417Z] $ docker top c06abb4083afe71c117481495bf5974b01ebb13aa84ed81b1e07abdd706104ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:11:30.849Z] ---> job-cost.sh [2022-11-08T16:11:30.850Z] lf-activate-venv: SKIPPING [2022-11-08T16:11:30.850Z] INFO: No Stack... [2022-11-08T16:11:31.107Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T16:11:31.672Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T16:11:31.981Z] + cat /w/workspace/undry_device-onvif-camera_PR-196/archives/cost.csv [2022-11-08T16:11:31.981Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T16:11:32.023Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-196-1-stack-cost] [2022-11-08T16:11:32.028Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-196-1-stack-cost] did not exist. Created. [2022-11-08T16:11:32.028Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-196-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T16:11:32.412Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-08T16:11:32.461Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T16:11:32.484Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-196-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T16:11:32.584Z] $ docker stop --time=1 c06abb4083afe71c117481495bf5974b01ebb13aa84ed81b1e07abdd706104ad [2022-11-08T16:11:33.733Z] $ docker rm -f c06abb4083afe71c117481495bf5974b01ebb13aa84ed81b1e07abdd706104ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-08T16:12:25.735Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118621 in /w/workspace/undry_device-onvif-camera_PR-196 [Pipeline] { [Pipeline] ws [2022-11-08T16:12:25.778Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-11-08T16:12:25.861Z] The recommended git tool is: git [2022-11-08T16:12:31.571Z] using credential edgex-jenkins-ssh [2022-11-08T16:12:31.587Z] Cloning the remote Git repository [2022-11-08T16:12:31.632Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-08T16:12:31.721Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-11-08T16:12:31.902Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-08T16:12:31.903Z] > git --version # timeout=10 [2022-11-08T16:12:31.928Z] > git --version # 'git version 2.25.1' [2022-11-08T16:12:31.931Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T16:12:31.983Z] Verifying host key using known hosts file [2022-11-08T16:12:32.219Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-08T16:12:32.233Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T16:12:34.277Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-08T16:12:34.300Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T16:12:35.968Z] Merging remotes/origin/main commit 85f19cd4395ab38c9fed3c9acaecd010dfd8799e into PR head commit 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 [2022-11-08T16:12:35.209Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-08T16:12:35.253Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-08T16:12:35.254Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T16:12:35.259Z] Verifying host key using known hosts file [2022-11-08T16:12:35.266Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-08T16:12:35.277Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/196/head:refs/remotes/origin/PR-196 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-08T16:12:35.985Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T16:12:36.008Z] > git checkout -f 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 # timeout=10 [2022-11-08T16:12:36.442Z] Merge succeeded, producing 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 [2022-11-08T16:12:36.443Z] Checking out Revision 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 (PR-196) [2022-11-08T16:12:36.328Z] > git remote # timeout=10 [2022-11-08T16:12:36.348Z] > git config --get remote.origin.url # timeout=10 [2022-11-08T16:12:36.373Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T16:12:36.379Z] Verifying host key using known hosts file [2022-11-08T16:12:36.383Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-08T16:12:36.392Z] > git merge 85f19cd4395ab38c9fed3c9acaecd010dfd8799e # timeout=10 [2022-11-08T16:12:36.419Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-08T16:12:36.446Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T16:12:36.467Z] > git checkout -f 2545f5903fd01a4bbfd89758772e8743cfa7fbc4 # timeout=10 [2022-11-08T16:12:40.339Z] Commit message: "build: Update to use released SDK" [2022-11-08T16:12:40.388Z] > git --version # timeout=10 [2022-11-08T16:12:40.404Z] > git --version # 'git version 2.25.1' [2022-11-08T16:12:40.423Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T16:12:41.506Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-08T16:12:41.506Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T16:12:41.506Z] Dload Upload Total Spent Left Speed [2022-11-08T16:12:41.506Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 88125 0 --:--:-- --:--:-- --:--:-- 88125 [Pipeline] sh [2022-11-08T16:12:42.300Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-08T16:12:42.647Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-08T16:12:42.647Z] + sudo tee /etc/docker/daemon.new [2022-11-08T16:12:42.647Z] { [2022-11-08T16:12:42.647Z] "registry-mirrors": [ [2022-11-08T16:12:42.647Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-08T16:12:42.647Z] ], [2022-11-08T16:12:42.647Z] "bip": "10.250.0.254/24", [2022-11-08T16:12:42.647Z] "hosts": [ [2022-11-08T16:12:42.647Z] "tcp://0.0.0.0:5555", [2022-11-08T16:12:42.647Z] "unix:///var/run/docker.sock" [2022-11-08T16:12:42.647Z] ], [2022-11-08T16:12:42.647Z] "mtu": 1458, [2022-11-08T16:12:42.647Z] "selinux-enabled": true, [2022-11-08T16:12:42.647Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-08T16:12:42.647Z] } [Pipeline] sh [2022-11-08T16:12:42.999Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-08T16:12:43.347Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:13:01.673Z] provisioning config files... [2022-11-08T16:13:01.701Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config1606849153097107015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:13:02.089Z] ---> docker-login.sh [2022-11-08T16:13:02.089Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:13:02.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:13:02.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:13:02.676Z] Configure a credential helper to remove this warning. See [2022-11-08T16:13:02.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:13:02.676Z] [2022-11-08T16:13:02.676Z] Login Succeeded [2022-11-08T16:13:02.676Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:13:02.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:13:02.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:13:02.944Z] Configure a credential helper to remove this warning. See [2022-11-08T16:13:02.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:13:02.944Z] [2022-11-08T16:13:02.944Z] Login Succeeded [2022-11-08T16:13:02.944Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:13:03.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:13:03.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:13:03.484Z] Configure a credential helper to remove this warning. See [2022-11-08T16:13:03.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:13:03.484Z] [2022-11-08T16:13:03.484Z] Login Succeeded [2022-11-08T16:13:03.484Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:13:03.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:13:03.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:13:03.757Z] Configure a credential helper to remove this warning. See [2022-11-08T16:13:03.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:13:03.757Z] [2022-11-08T16:13:03.757Z] Login Succeeded [2022-11-08T16:13:03.757Z] docker.io [2022-11-08T16:13:04.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:13:04.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:13:04.298Z] Configure a credential helper to remove this warning. See [2022-11-08T16:13:04.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:13:04.298Z] [2022-11-08T16:13:04.298Z] Login Succeeded [2022-11-08T16:13:04.298Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:13:04.327Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T16:13:04.627Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:13:04.653Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:13:04.677Z] ========================================================= [2022-11-08T16:13:04.677Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-08T16:13:04.677Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:13:05.142Z] + 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 . [2022-11-08T16:13:05.731Z] Sending build context to Docker daemon 20.47MB [2022-11-08T16:13:05.731Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:13:05.731Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-08T16:13:06.009Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-08T16:13:06.009Z] 9b18e9b68314: Pulling fs layer [2022-11-08T16:13:06.009Z] 35d82f9e3411: Pulling fs layer [2022-11-08T16:13:06.009Z] e16973657156: Pulling fs layer [2022-11-08T16:13:06.009Z] fc693d55d65f: Pulling fs layer [2022-11-08T16:13:06.009Z] 7e9fc2657dce: Pulling fs layer [2022-11-08T16:13:06.009Z] dda99020689f: Pulling fs layer [2022-11-08T16:13:06.009Z] db1c61fa0a46: Pulling fs layer [2022-11-08T16:13:06.009Z] 891c053d2c06: Pulling fs layer [2022-11-08T16:13:06.009Z] 7e9fc2657dce: Waiting [2022-11-08T16:13:06.009Z] dda99020689f: Waiting [2022-11-08T16:13:06.009Z] db1c61fa0a46: Waiting [2022-11-08T16:13:06.009Z] fc693d55d65f: Waiting [2022-11-08T16:13:06.009Z] 891c053d2c06: Waiting [2022-11-08T16:13:06.009Z] e16973657156: Verifying Checksum [2022-11-08T16:13:06.009Z] e16973657156: Download complete [2022-11-08T16:13:06.009Z] 35d82f9e3411: Verifying Checksum [2022-11-08T16:13:06.009Z] 35d82f9e3411: Download complete [2022-11-08T16:13:06.009Z] 7e9fc2657dce: Verifying Checksum [2022-11-08T16:13:06.009Z] 7e9fc2657dce: Download complete [2022-11-08T16:13:06.009Z] dda99020689f: Verifying Checksum [2022-11-08T16:13:06.009Z] dda99020689f: Download complete [2022-11-08T16:13:06.009Z] 9b18e9b68314: Verifying Checksum [2022-11-08T16:13:06.009Z] 9b18e9b68314: Download complete [2022-11-08T16:13:07.017Z] 9b18e9b68314: Pull complete [2022-11-08T16:13:07.295Z] 891c053d2c06: Verifying Checksum [2022-11-08T16:13:07.295Z] 891c053d2c06: Download complete [2022-11-08T16:13:07.887Z] 35d82f9e3411: Pull complete [2022-11-08T16:13:08.160Z] e16973657156: Pull complete [2022-11-08T16:13:08.436Z] db1c61fa0a46: Verifying Checksum [2022-11-08T16:13:08.436Z] db1c61fa0a46: Download complete [2022-11-08T16:13:09.406Z] fc693d55d65f: Verifying Checksum [2022-11-08T16:13:09.406Z] fc693d55d65f: Download complete [2022-11-08T16:13:21.761Z] fc693d55d65f: Pull complete [2022-11-08T16:13:22.031Z] 7e9fc2657dce: Pull complete [2022-11-08T16:13:22.311Z] dda99020689f: Pull complete [2022-11-08T16:13:29.010Z] db1c61fa0a46: Pull complete [2022-11-08T16:13:30.966Z] 891c053d2c06: Pull complete [2022-11-08T16:13:30.966Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-08T16:13:30.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-08T16:13:30.966Z] ---> f96f9c87975a [2022-11-08T16:13:30.966Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:13:34.325Z] ---> Running in 33740d8ffa1a [2022-11-08T16:13:34.325Z] Removing intermediate container 33740d8ffa1a [2022-11-08T16:13:34.325Z] ---> fc11cd7dccc4 [2022-11-08T16:13:34.325Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:13:34.325Z] ---> Running in 2dfc5ef2c7f5 [2022-11-08T16:13:34.596Z] Removing intermediate container 2dfc5ef2c7f5 [2022-11-08T16:13:34.596Z] ---> 5ac7df75ad5e [2022-11-08T16:13:34.596Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T16:13:34.596Z] ---> Running in a9a463bccd51 [2022-11-08T16:13:34.869Z] Removing intermediate container a9a463bccd51 [2022-11-08T16:13:34.869Z] ---> e5f4a58d117f [2022-11-08T16:13:34.869Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T16:13:35.141Z] ---> Running in 24b7abb89898 [2022-11-08T16:13:35.413Z] Removing intermediate container 24b7abb89898 [2022-11-08T16:13:35.413Z] ---> 7649b7ed9919 [2022-11-08T16:13:35.413Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-08T16:13:35.413Z] ---> Running in c1dcde66889f [2022-11-08T16:13:35.689Z] Removing intermediate container c1dcde66889f [2022-11-08T16:13:35.689Z] ---> 30214aba1afd [2022-11-08T16:13:35.689Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T16:13:35.960Z] ---> Running in 793cee1416b5 [2022-11-08T16:13:36.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T16:13:37.514Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T16:13:38.484Z] OK: 221 MiB in 51 packages [2022-11-08T16:13:39.451Z] Removing intermediate container 793cee1416b5 [2022-11-08T16:13:39.451Z] ---> 68ddcff01cf9 [2022-11-08T16:13:39.451Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-08T16:13:39.451Z] ---> Running in ab3cabfcb006 [2022-11-08T16:13:39.720Z] Removing intermediate container ab3cabfcb006 [2022-11-08T16:13:39.720Z] ---> 8dc0a80637b9 [2022-11-08T16:13:39.720Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-08T16:13:40.311Z] ---> 02210588159a [2022-11-08T16:13:40.311Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:13:40.311Z] ---> Running in e11c047e8937 [2022-11-08T16:14:48.234Z] Removing intermediate container e11c047e8937 [2022-11-08T16:14:48.234Z] ---> ba9963afd7cd [2022-11-08T16:14:48.234Z] Step 12/13 : COPY . . [2022-11-08T16:14:48.234Z] ---> 54421b1019ed [2022-11-08T16:14:48.234Z] Step 13/13 : RUN ${MAKE} [2022-11-08T16:14:48.234Z] ---> Running in 991807a78471 [2022-11-08T16:14:48.234Z] noop [2022-11-08T16:14:48.234Z] Removing intermediate container 991807a78471 [2022-11-08T16:14:48.234Z] ---> 286a210dd2fc [2022-11-08T16:14:48.234Z] Successfully built 286a210dd2fc [2022-11-08T16:14:48.234Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:14:48.693Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T16:14:48.693Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:14:48.960Z] prd-ubuntu20.04-docker-arm64-4c-16g-118621 does not seem to be running inside a container [2022-11-08T16:14:49.029Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-08T16:14:50.264Z] $ docker top 2668bbb74b03eb1bd7a92db4060ba937bcd7afb0d8a844224ea48480eb5ac889 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:14:51.153Z] + go version [2022-11-08T16:14:51.153Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-08T16:14:51.187Z] $ docker stop --time=1 2668bbb74b03eb1bd7a92db4060ba937bcd7afb0d8a844224ea48480eb5ac889 [2022-11-08T16:14:52.774Z] $ docker rm -f 2668bbb74b03eb1bd7a92db4060ba937bcd7afb0d8a844224ea48480eb5ac889 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:14:53.656Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T16:14:53.656Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:14:53.915Z] prd-ubuntu20.04-docker-arm64-4c-16g-118621 does not seem to be running inside a container [2022-11-08T16:14:53.986Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-08T16:14:55.208Z] $ docker top 09201a188a68f956fee3dcd3185df3e0192cf4c8db92279bf8bb57111155d61d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:14:55.772Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-11-08T16:14:56.473Z] + make test [2022-11-08T16:14:56.473Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-08T16:14:58.423Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-08T16:16:50.181Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-08T16:16:58.481Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.214s coverage: 29.3% of statements [2022-11-08T16:16:58.481Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-08T16:17:16.743Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.904s coverage: 86.5% of statements [2022-11-08T16:17:16.743Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-08T16:17:16.743Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T16:18:03.659Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T16:18:03.659Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T16:18:03.659Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T16:18:03.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T16:18:03.734Z] $ docker stop --time=1 09201a188a68f956fee3dcd3185df3e0192cf4c8db92279bf8bb57111155d61d [2022-11-08T16:18:05.547Z] $ docker rm -f 09201a188a68f956fee3dcd3185df3e0192cf4c8db92279bf8bb57111155d61d [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T16:18:06.638Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T16:18:06.672Z] Warning: overwriting stash ‘coverage-report’ [2022-11-08T16:18:07.418Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T16:18:08.026Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T16:18:08.402Z] + ls -al . [2022-11-08T16:18:08.402Z] total 244 [2022-11-08T16:18:08.402Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 16:14 . [2022-11-08T16:18:08.402Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:12 .. [2022-11-08T16:18:08.402Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:12 .git [2022-11-08T16:18:08.402Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:12 .github [2022-11-08T16:18:08.402Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 8 16:12 .gitignore [2022-11-08T16:18:08.402Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 16:12 .golangci.yml [2022-11-08T16:18:08.402Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 8 16:12 Attribution.txt [2022-11-08T16:18:08.402Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 8 16:12 CHANGELOG.md [2022-11-08T16:18:08.402Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 8 16:12 Dockerfile [2022-11-08T16:18:08.402Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 16:12 GOVERNANCE.md [2022-11-08T16:18:08.402Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 8 16:12 Jenkinsfile [2022-11-08T16:18:08.402Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 16:12 LICENSE [2022-11-08T16:18:08.402Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 8 16:12 Makefile [2022-11-08T16:18:08.402Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 16:12 OWNERS.md [2022-11-08T16:18:08.402Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 8 16:12 README.md [2022-11-08T16:18:08.402Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 16:09 VERSION [2022-11-08T16:18:08.402Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:12 bin [2022-11-08T16:18:08.402Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:12 cmd [2022-11-08T16:18:08.402Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 8 16:17 coverage.out [2022-11-08T16:18:08.402Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 16:12 doc [2022-11-08T16:18:08.402Z] -rw-rw-r-- 1 jenkins jenkins 3687 Nov 8 16:12 go.mod [2022-11-08T16:18:08.402Z] -rw-rw-r-- 1 jenkins jenkins 46105 Nov 8 16:12 go.sum [2022-11-08T16:18:08.402Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:12 internal [2022-11-08T16:18:08.402Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:12 snap [2022-11-08T16:18:08.402Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 16:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:18:08.833Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2545f5903fd01a4bbfd89758772e8743cfa7fbc4 --label arch=arm64 --label version=0.0.0 . [2022-11-08T16:18:09.448Z] Sending build context to Docker daemon 20.55MB [2022-11-08T16:18:09.448Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:18:09.448Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-08T16:18:09.448Z] ---> 286a210dd2fc [2022-11-08T16:18:09.448Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:18:09.734Z] ---> Running in 6a0b98d97a62 [2022-11-08T16:18:10.014Z] Removing intermediate container 6a0b98d97a62 [2022-11-08T16:18:10.014Z] ---> 3bfe3d537dbf [2022-11-08T16:18:10.014Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:18:10.292Z] ---> Running in 831ca88076d6 [2022-11-08T16:18:10.570Z] Removing intermediate container 831ca88076d6 [2022-11-08T16:18:10.571Z] ---> 03ac358099a7 [2022-11-08T16:18:10.571Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T16:18:10.571Z] ---> Running in 72e5b9bd1ab2 [2022-11-08T16:18:11.187Z] Removing intermediate container 72e5b9bd1ab2 [2022-11-08T16:18:11.188Z] ---> 4a895a43ad7e [2022-11-08T16:18:11.188Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T16:18:11.188Z] ---> Running in d130390f277a [2022-11-08T16:18:11.460Z] Removing intermediate container d130390f277a [2022-11-08T16:18:11.460Z] ---> 2b8041763e12 [2022-11-08T16:18:11.460Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-08T16:18:11.460Z] ---> Running in 03c720809a67 [2022-11-08T16:18:12.061Z] Removing intermediate container 03c720809a67 [2022-11-08T16:18:12.061Z] ---> caa9ce21e94e [2022-11-08T16:18:12.061Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T16:18:12.061Z] ---> Running in 0ad53b6311e4 [2022-11-08T16:18:13.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T16:18:13.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T16:18:14.924Z] OK: 221 MiB in 51 packages [2022-11-08T16:18:16.352Z] Removing intermediate container 0ad53b6311e4 [2022-11-08T16:18:16.352Z] ---> eb50e1c92dac [2022-11-08T16:18:16.352Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-08T16:18:16.352Z] ---> Running in 0ca50bc66581 [2022-11-08T16:18:16.352Z] Removing intermediate container 0ca50bc66581 [2022-11-08T16:18:16.352Z] ---> ef82ec680b87 [2022-11-08T16:18:16.352Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-08T16:18:16.956Z] ---> 55cb70a88c2b [2022-11-08T16:18:16.956Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:18:17.227Z] ---> Running in 8387d2f35737 [2022-11-08T16:18:19.820Z] Removing intermediate container 8387d2f35737 [2022-11-08T16:18:19.820Z] ---> cc6d31a41630 [2022-11-08T16:18:19.820Z] Step 12/26 : COPY . . [2022-11-08T16:18:21.242Z] ---> 6c94505ba665 [2022-11-08T16:18:21.242Z] Step 13/26 : RUN ${MAKE} [2022-11-08T16:18:21.512Z] ---> Running in e5fe1dc1f0df [2022-11-08T16:18:22.476Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-11-08T16:21:29.317Z] Removing intermediate container e5fe1dc1f0df [2022-11-08T16:21:29.317Z] ---> 94ff65e7f3e5 [2022-11-08T16:21:29.317Z] Step 14/26 : FROM alpine:3.16 [2022-11-08T16:21:29.317Z] 3.16: Pulling from library/alpine [2022-11-08T16:21:29.317Z] 9b18e9b68314: Already exists [2022-11-08T16:21:29.317Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T16:21:29.317Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T16:21:29.317Z] ---> a6215f271958 [2022-11-08T16:21:29.317Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-08T16:21:29.317Z] ---> Running in 04cfa396f2ea [2022-11-08T16:21:29.317Z] Removing intermediate container 04cfa396f2ea [2022-11-08T16:21:29.317Z] ---> 8691c6a47971 [2022-11-08T16:21:29.317Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T16:21:29.317Z] ---> Running in 72500a41e195 [2022-11-08T16:21:29.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T16:21:29.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T16:21:29.317Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T16:21:29.317Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T16:21:29.317Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T16:21:29.317Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T16:21:29.317Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T16:21:29.317Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T16:21:29.317Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T16:21:29.317Z] OK: 8 MiB in 20 packages [2022-11-08T16:21:29.317Z] Removing intermediate container 72500a41e195 [2022-11-08T16:21:29.317Z] ---> d143c7f35c94 [2022-11-08T16:21:29.317Z] Step 17/26 : WORKDIR / [2022-11-08T16:21:29.317Z] ---> Running in 908bc7088088 [2022-11-08T16:21:29.317Z] Removing intermediate container 908bc7088088 [2022-11-08T16:21:29.317Z] ---> 49ff99356eb3 [2022-11-08T16:21:29.317Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-08T16:21:29.317Z] ---> c25b553edd8c [2022-11-08T16:21:29.317Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-08T16:21:29.317Z] ---> ddcf67267f27 [2022-11-08T16:21:29.317Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-08T16:21:29.317Z] ---> ccf790e05cdf [2022-11-08T16:21:29.317Z] Step 21/26 : EXPOSE 59984 [2022-11-08T16:21:29.317Z] ---> Running in baa6d22c617b [2022-11-08T16:21:29.317Z] Removing intermediate container baa6d22c617b [2022-11-08T16:21:29.317Z] ---> 315b640ccbac [2022-11-08T16:21:29.317Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-08T16:21:29.317Z] ---> Running in 5b4a43a411b3 [2022-11-08T16:21:29.317Z] Removing intermediate container 5b4a43a411b3 [2022-11-08T16:21:29.317Z] ---> 199047eece1b [2022-11-08T16:21:29.317Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T16:21:29.586Z] ---> Running in a58d6b007459 [2022-11-08T16:21:29.854Z] Removing intermediate container a58d6b007459 [2022-11-08T16:21:29.854Z] ---> 9791cd47acc6 [2022-11-08T16:21:29.854Z] Step 24/26 : LABEL arch=arm64 [2022-11-08T16:21:29.854Z] ---> Running in f7fb248b9fe6 [2022-11-08T16:21:30.123Z] Removing intermediate container f7fb248b9fe6 [2022-11-08T16:21:30.123Z] ---> 905aa709ddb5 [2022-11-08T16:21:30.123Z] Step 25/26 : LABEL git_sha=2545f5903fd01a4bbfd89758772e8743cfa7fbc4 [2022-11-08T16:21:30.391Z] ---> Running in b650e971fee6 [2022-11-08T16:21:30.682Z] Removing intermediate container b650e971fee6 [2022-11-08T16:21:30.682Z] ---> 1071480aa69e [2022-11-08T16:21:30.682Z] Step 26/26 : LABEL version=0.0.0 [2022-11-08T16:21:30.682Z] ---> Running in 496ee59718d7 [2022-11-08T16:21:31.271Z] Removing intermediate container 496ee59718d7 [2022-11-08T16:21:31.271Z] ---> ab3f3ffb3982 [2022-11-08T16:21:31.271Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T16:21:31.271Z] Successfully built ab3f3ffb3982 [2022-11-08T16:21:31.271Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:21:32.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T16:21:32.079Z] [2022-11-08T16:21:32.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:21:32.484Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T16:21:32.759Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-08T16:21:32.759Z] 8998bd30e6a1: Pulling fs layer [2022-11-08T16:21:32.759Z] 04944245beec: Pulling fs layer [2022-11-08T16:21:32.759Z] 699f458cf7ca: Pulling fs layer [2022-11-08T16:21:32.759Z] 765212b225bb: Pulling fs layer [2022-11-08T16:21:32.759Z] f23df028b6ca: Pulling fs layer [2022-11-08T16:21:32.759Z] d65c8cfc05b1: Pulling fs layer [2022-11-08T16:21:32.759Z] 2437ff75d9bd: Pulling fs layer [2022-11-08T16:21:32.759Z] f23df028b6ca: Waiting [2022-11-08T16:21:32.759Z] d65c8cfc05b1: Waiting [2022-11-08T16:21:32.759Z] 2437ff75d9bd: Waiting [2022-11-08T16:21:32.759Z] 765212b225bb: Waiting [2022-11-08T16:21:32.759Z] 04944245beec: Verifying Checksum [2022-11-08T16:21:32.759Z] 04944245beec: Download complete [2022-11-08T16:21:32.759Z] 765212b225bb: Verifying Checksum [2022-11-08T16:21:32.759Z] 765212b225bb: Download complete [2022-11-08T16:21:32.759Z] f23df028b6ca: Verifying Checksum [2022-11-08T16:21:32.759Z] f23df028b6ca: Download complete [2022-11-08T16:21:32.759Z] d65c8cfc05b1: Verifying Checksum [2022-11-08T16:21:32.759Z] d65c8cfc05b1: Download complete [2022-11-08T16:21:33.032Z] 699f458cf7ca: Verifying Checksum [2022-11-08T16:21:33.032Z] 699f458cf7ca: Download complete [2022-11-08T16:21:33.624Z] 8998bd30e6a1: Verifying Checksum [2022-11-08T16:21:33.624Z] 8998bd30e6a1: Download complete [2022-11-08T16:21:36.222Z] 2437ff75d9bd: Verifying Checksum [2022-11-08T16:21:36.222Z] 2437ff75d9bd: Download complete [2022-11-08T16:21:38.180Z] 8998bd30e6a1: Pull complete [2022-11-08T16:21:38.180Z] 04944245beec: Pull complete [2022-11-08T16:21:39.598Z] 699f458cf7ca: Pull complete [2022-11-08T16:21:40.187Z] 765212b225bb: Pull complete [2022-11-08T16:21:40.778Z] f23df028b6ca: Pull complete [2022-11-08T16:21:41.051Z] d65c8cfc05b1: Pull complete [2022-11-08T16:21:56.062Z] 2437ff75d9bd: Pull complete [2022-11-08T16:21:56.062Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-08T16:21:56.062Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T16:21:56.062Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:21:56.411Z] prd-ubuntu20.04-docker-arm64-4c-16g-118621 does not seem to be running inside a container [2022-11-08T16:21:56.492Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-08T16:21:59.617Z] $ docker top 99a2ee17d28400b5ea793077e3da5257545f3c2adfc59f68a9e81e3ef91fc662 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:22:00.532Z] ---> job-cost.sh [2022-11-08T16:22:00.532Z] lf-activate-venv: SKIPPING [2022-11-08T16:22:00.532Z] INFO: No Stack... [2022-11-08T16:22:00.807Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-08T16:22:01.777Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T16:22:02.444Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-11-08T16:22:02.444Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T16:22:02.535Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-196-1-stack-cost] [2022-11-08T16:22:02.541Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-196-1-stack-cost] did not exist. Created. [2022-11-08T16:22:02.541Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-196-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T16:22:03.265Z] /w/workspace/device-onvif-camera/1@tmp/durable-eea5a65b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-08T16:22:03.657Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-08T16:22:03.695Z] Warning: overwriting stash ‘stack-cost’ [2022-11-08T16:22:03.760Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T16:22:03.776Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-196-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T16:22:03.854Z] $ docker stop --time=1 99a2ee17d28400b5ea793077e3da5257545f3c2adfc59f68a9e81e3ef91fc662 [2022-11-08T16:22:05.359Z] $ docker rm -f 99a2ee17d28400b5ea793077e3da5257545f3c2adfc59f68a9e81e3ef91fc662 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-11-08T16:22:06.318Z] provisioning config files... [2022-11-08T16:22:06.324Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-196@tmp/config1571716734711267730tmp [Pipeline] { [Pipeline] sh [2022-11-08T16:22:06.662Z] + set +x [2022-11-08T16:22:06.662Z] + curl -s https://codecov.io/bash [2022-11-08T16:22:06.662Z] + bash -s -- [2022-11-08T16:22:06.662Z] [2022-11-08T16:22:06.662Z] _____ _ [2022-11-08T16:22:06.662Z] / ____| | | [2022-11-08T16:22:06.662Z] | | ___ __| | ___ ___ _____ __ [2022-11-08T16:22:06.662Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-08T16:22:06.662Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-08T16:22:06.662Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-08T16:22:06.662Z] Bash-1.0.6 [2022-11-08T16:22:06.662Z] [2022-11-08T16:22:06.662Z] [2022-11-08T16:22:06.662Z] ==> git version 2.25.1 found [2022-11-08T16:22:06.662Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-11-08T16:22:06.662Z] Release-Date: 2020-01-08 [2022-11-08T16:22:06.662Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-08T16:22:06.662Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-08T16:22:06.662Z] ==> Jenkins CI detected. [2022-11-08T16:22:06.662Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-196 [2022-11-08T16:22:06.662Z] project root: . [2022-11-08T16:22:06.662Z] --> token set from env [2022-11-08T16:22:06.662Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-08T16:22:06.662Z] ==> Running gcov in . (disable via -X gcov) [2022-11-08T16:22:06.662Z] ==> Python coveragepy not found [2022-11-08T16:22:06.662Z] ==> Searching for coverage reports in: [2022-11-08T16:22:06.662Z] + . [2022-11-08T16:22:06.662Z] -> Found 1 reports [2022-11-08T16:22:06.662Z] ==> Detecting git/mercurial file structure [2022-11-08T16:22:06.662Z] ==> Reading reports [2022-11-08T16:22:06.662Z] + ./coverage.out bytes=79184 [2022-11-08T16:22:06.662Z] ==> Appending adjustments [2022-11-08T16:22:06.662Z] https://docs.codecov.io/docs/fixing-reports [2022-11-08T16:22:06.921Z] + Found adjustments [2022-11-08T16:22:06.921Z] ==> Gzipping contents [2022-11-08T16:22:06.921Z] 12K /tmp/codecov.jJgyHI.gz [2022-11-08T16:22:06.921Z] ==> Uploading reports [2022-11-08T16:22:06.921Z] url: https://codecov.io [2022-11-08T16:22:06.921Z] query: branch=PR-196&commit=2545f5903fd01a4bbfd89758772e8743cfa7fbc4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-196%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=196&job=&cmd_args= [2022-11-08T16:22:06.921Z] -> Pinging Codecov [2022-11-08T16:22:06.921Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-196&commit=2545f5903fd01a4bbfd89758772e8743cfa7fbc4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-196%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=196&job=&cmd_args= [2022-11-08T16:22:07.486Z] -> Uploading to [2022-11-08T16:22:07.486Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-08/F29A59C45E3A92E06B3E522C9905F8EF/2545f5903fd01a4bbfd89758772e8743cfa7fbc4/1081aa4c-1929-498e-a91a-1485a44b8a84.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T162207Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fc5db45efb23715264379e416963508126be1941490e3726fb6d486b1efe7b72 [2022-11-08T16:22:07.486Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T16:22:07.486Z] Dload Upload Total Spent Left Speed [2022-11-08T16:22:07.486Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10871 0 0 100 10871 0 47471 --:--:-- --:--:-- --:--:-- 47265 100 10871 0 0 100 10871 0 47471 --:--:-- --:--:-- --:--:-- 47265 [2022-11-08T16:22:07.744Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/2545f5903fd01a4bbfd89758772e8743cfa7fbc4 [Pipeline] } [2022-11-08T16:22:07.778Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-11-08T16:22:09.491Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-196/archives ] [2022-11-08T16:22:09.491Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-196/archives [2022-11-08T16:22:09.491Z] total 16 [2022-11-08T16:22:09.491Z] drwxr-xr-x 3 root root 4096 Nov 8 16:11 . [2022-11-08T16:22:09.491Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 16:11 .. [2022-11-08T16:22:09.491Z] drwxr-xr-x 2 root root 4096 Nov 8 16:11 cost [2022-11-08T16:22:09.491Z] -rw-r--r-- 1 root root 91 Nov 8 16:11 cost.csv [2022-11-08T16:22:09.491Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-196/archives [2022-11-08T16:22:09.491Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-196/archives [2022-11-08T16:22:09.491Z] total 16 [2022-11-08T16:22:09.491Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:11 . [2022-11-08T16:22:09.491Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 16:11 .. [2022-11-08T16:22:09.491Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 16:11 cost [2022-11-08T16:22:09.491Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 8 16:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:22:09.814Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:22:10.707Z] ---> package-listing.sh [2022-11-08T16:22:10.708Z] ++ facter osfamily [2022-11-08T16:22:10.708Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-08T16:22:10.968Z] + OS_FAMILY=debian [2022-11-08T16:22:10.968Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-196 [2022-11-08T16:22:10.968Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-08T16:22:10.968Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-08T16:22:10.968Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-08T16:22:10.968Z] + PACKAGES=/tmp/packages_start.txt [2022-11-08T16:22:10.968Z] + '[' /w/workspace/undry_device-onvif-camera_PR-196 ']' [2022-11-08T16:22:10.968Z] + PACKAGES=/tmp/packages_end.txt [2022-11-08T16:22:10.968Z] + case "${OS_FAMILY}" in [2022-11-08T16:22:10.968Z] + dpkg -l [2022-11-08T16:22:10.968Z] + grep '^ii' [2022-11-08T16:22:10.968Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-08T16:22:10.968Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-08T16:22:10.968Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-08T16:22:10.968Z] + '[' /w/workspace/undry_device-onvif-camera_PR-196 ']' [2022-11-08T16:22:10.968Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-196/archives/ [2022-11-08T16:22:10.968Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-196/archives/ [Pipeline] echo [2022-11-08T16:22:11.005Z] 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-196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-08T16:22:11.293Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:22:11.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:22:11.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:22:12.048Z] prd-ubuntu20.04-docker-8c-8g-118618 does not seem to be running inside a container [2022-11-08T16:22:12.093Z] $ 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-196/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-196 -v /w/workspace/undry_device-onvif-camera_PR-196:/w/workspace/undry_device-onvif-camera_PR-196:rw,z -v /w/workspace/undry_device-onvif-camera_PR-196@tmp:/w/workspace/undry_device-onvif-camera_PR-196@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T16:22:12.323Z] $ docker top a76556deb0a917aa7d7da7364067426f2ba5da78cff0d489dffbd681979663ce -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:22:12.711Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-08T16:22:13.017Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-08T16:22:13.321Z] + ls /var/log/sa-host [2022-11-08T16:22:13.321Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:22:13.456Z] provisioning config files... [2022-11-08T16:22:13.463Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-196@tmp/config2375095830066789466tmp [Pipeline] { [Pipeline] echo [2022-11-08T16:22:13.512Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:22:13.820Z] ---> create-netrc.sh [Pipeline] } [2022-11-08T16:22:13.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:22:14.250Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-08T16:22:14.280Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:22:14.597Z] ---> sudo-logs.sh [2022-11-08T16:22:14.597Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-08T16:22:14.678Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:22:14.987Z] ---> job-cost.sh [2022-11-08T16:22:14.987Z] lf-activate-venv: SKIPPING [2022-11-08T16:22:14.987Z] DEBUG: total: 0.2199999988079071 [2022-11-08T16:22:14.987Z] INFO: Retrieving Stack Cost... [2022-11-08T16:22:15.553Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T16:22:15.812Z] INFO: Archiving Costs [Pipeline] echo [2022-11-08T16:22:15.844Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:22:16.159Z] ---> logs-deploy.sh [2022-11-08T16:22:16.159Z] lf-activate-venv: SKIPPING [2022-11-08T16:22:16.159Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-196/1 [2022-11-08T16:22:16.159Z] INFO: archiving workspace using pattern(s): [2022-11-08T16:22:17.098Z] Archives upload complete. [2022-11-08T16:22:17.357Z] INFO: archiving logs to Nexus