Pull request #187 updated Pull request #187 updated 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 ejlee3 for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 48aac476b513547f736cc1fa92662379694eca8e rather than dc21a671bfe8654e12e89bfc20c83851c513c8a0 Obtained Jenkinsfile from 48aac476b513547f736cc1fa92662379694eca8e 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-ssh5349615006622196883.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh466536352577785281.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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11207976198037219009.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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 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-ssh8655783111422793286.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-187/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-187/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5455422094690477043.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 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 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-117251 in /w/workspace/undry_device-onvif-camera_PR-187 [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-187 # 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/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit dc21a671bfe8654e12e89bfc20c83851c513c8a0 Merge succeeded, producing dc21a671bfe8654e12e89bfc20c83851c513c8a0 Checking out Revision dc21a671bfe8654e12e89bfc20c83851c513c8a0 (PR-187) > git config core.sparsecheckout # timeout=10 > git checkout -f dc21a671bfe8654e12e89bfc20c83851c513c8a0 # 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 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc21a671bfe8654e12e89bfc20c83851c513c8a0 # timeout=10 Commit message: "fix comments" > git rev-list --no-walk 6821847dde9ba5e4918863646a112a7c02faa42b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T19:30:14.336Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T19:30:14.376Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T19:30:14.390Z] ========================================================= [2022-10-26T19:30:14.390Z] EdgeX Global Pipelines Version Info [2022-10-26T19:30:14.390Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:30:15.101Z] ------------------- [2022-10-26T19:30:15.101Z] stable info: [2022-10-26T19:30:15.101Z] ------------------- [2022-10-26T19:30:15.101Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T19:30:15.101Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T19:30:15.101Z] Message: update stable to v1.0.243 [2022-10-26T19:30:15.674Z] ------------------- [2022-10-26T19:30:15.674Z] experimental info: [2022-10-26T19:30:15.674Z] ------------------- [2022-10-26T19:30:15.674Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T19:30:15.674Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T19:30:15.674Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T19:30:15.820Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-26T19:30:15.829Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-26T19:30:15.838Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T19:30:15.847Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T19:30:15.857Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T19:30:15.876Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T19:30:15.890Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T19:30:15.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T19:30:15.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T19:30:15.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T19:30:15.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T19:30:15.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-26T19:30:15.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T19:30:15.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T19:30:15.977Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T19:30:15.987Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T19:30:16.000Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T19:30:16.011Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T19:30:16.022Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T19:30:16.035Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T19:30:16.052Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-26T19:30:16.065Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-26T19:30:16.081Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T19:30:16.093Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T19:30:16.110Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T19:30:16.120Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T19:30:16.131Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T19:30:16.146Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-187 [Pipeline] echo [2022-10-26T19:30:16.162Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-187 [Pipeline] echo [2022-10-26T19:30:16.176Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-187 [Pipeline] echo [2022-10-26T19:30:16.189Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc21a671bfe8654e12e89bfc20c83851c513c8a0 [Pipeline] echo [2022-10-26T19:30:16.202Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc21a67 [Pipeline] echo [2022-10-26T19:30:16.216Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:30:16.265Z] provisioning config files... [2022-10-26T19:30:16.278Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config9376491997844647347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:30:16.580Z] ---> docker-login.sh [2022-10-26T19:30:16.580Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:30:16.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:16.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:16.841Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:16.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:16.841Z] [2022-10-26T19:30:16.841Z] Login Succeeded [2022-10-26T19:30:16.841Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:30:16.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:17.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:17.101Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:17.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:17.101Z] [2022-10-26T19:30:17.101Z] Login Succeeded [2022-10-26T19:30:17.101Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:30:17.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:17.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:17.101Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:17.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:17.101Z] [2022-10-26T19:30:17.101Z] Login Succeeded [2022-10-26T19:30:17.101Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:30:17.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:17.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:17.362Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:17.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:17.362Z] [2022-10-26T19:30:17.362Z] Login Succeeded [2022-10-26T19:30:17.362Z] docker.io [2022-10-26T19:30:17.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:17.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:17.621Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:17.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:17.621Z] [2022-10-26T19:30:17.621Z] Login Succeeded [2022-10-26T19:30:17.621Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:30:17.628Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T19:30:17.987Z] + git rev-list -1 --merges dc21a671bfe8654e12e89bfc20c83851c513c8a0~1..dc21a671bfe8654e12e89bfc20c83851c513c8a0 [Pipeline] echo [2022-10-26T19:30:18.015Z] -----------> git rev-list -1 --merges dc21a671bfe8654e12e89bfc20c83851c513c8a0~1..dc21a671bfe8654e12e89bfc20c83851c513c8a0 dc21a671bfe8654e12e89bfc20c83851c513c8a0 [false] [Pipeline] sh [2022-10-26T19:30:18.305Z] + git log --format=format:%s -1 dc21a671bfe8654e12e89bfc20c83851c513c8a0 [Pipeline] echo [2022-10-26T19:30:18.321Z] ========================================================= [2022-10-26T19:30:18.321Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T19:30:18.321Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:30:18.655Z] + git log --format=format:%s -1 dc21a671bfe8654e12e89bfc20c83851c513c8a0 [Pipeline] echo [2022-10-26T19:30:18.665Z] [semverPrep] GIT_COMMIT: dc21a671bfe8654e12e89bfc20c83851c513c8a0, Commit Message: fix comments [Pipeline] echo [2022-10-26T19:30:18.676Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T19:30:19.013Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T19:30:19.013Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T19:30:19.013Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T19:30:19.013Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T19:30:19.013Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T19:30:19.013Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T19:30:19.013Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:30:19.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:30:19.359Z] [2022-10-26T19:30:19.359Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:30:19.657Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:30:19.657Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T19:30:19.657Z] b85a868b505f: Pulling fs layer [2022-10-26T19:30:19.657Z] e2be974225ed: Pulling fs layer [2022-10-26T19:30:19.657Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T19:30:19.657Z] 988bab9f4d93: Pulling fs layer [2022-10-26T19:30:19.657Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T19:30:19.657Z] eaf3925da568: Pulling fs layer [2022-10-26T19:30:19.657Z] bab4dde63d76: Pulling fs layer [2022-10-26T19:30:19.657Z] bde34c3a00c8: Pulling fs layer [2022-10-26T19:30:19.657Z] b352a97aabf1: Pulling fs layer [2022-10-26T19:30:19.657Z] 4872d77fe225: Pulling fs layer [2022-10-26T19:30:19.657Z] 5851b861e8e6: Pulling fs layer [2022-10-26T19:30:19.657Z] bab4dde63d76: Waiting [2022-10-26T19:30:19.657Z] bde34c3a00c8: Waiting [2022-10-26T19:30:19.657Z] b352a97aabf1: Waiting [2022-10-26T19:30:19.657Z] 5851b861e8e6: Waiting [2022-10-26T19:30:19.657Z] 988bab9f4d93: Waiting [2022-10-26T19:30:19.657Z] eaf3925da568: Waiting [2022-10-26T19:30:19.657Z] 1469e6f7b9e6: Waiting [2022-10-26T19:30:19.657Z] 4872d77fe225: Waiting [2022-10-26T19:30:19.657Z] e2be974225ed: Verifying Checksum [2022-10-26T19:30:19.657Z] e2be974225ed: Download complete [2022-10-26T19:30:19.657Z] 988bab9f4d93: Verifying Checksum [2022-10-26T19:30:19.657Z] 988bab9f4d93: Download complete [2022-10-26T19:30:19.917Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T19:30:19.917Z] 339a4e72a1f5: Download complete [2022-10-26T19:30:19.917Z] eaf3925da568: Verifying Checksum [2022-10-26T19:30:19.917Z] eaf3925da568: Download complete [2022-10-26T19:30:19.917Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T19:30:19.917Z] 1469e6f7b9e6: Download complete [2022-10-26T19:30:19.917Z] bde34c3a00c8: Verifying Checksum [2022-10-26T19:30:19.917Z] bde34c3a00c8: Download complete [2022-10-26T19:30:19.917Z] b352a97aabf1: Download complete [2022-10-26T19:30:19.917Z] 4872d77fe225: Verifying Checksum [2022-10-26T19:30:19.917Z] 4872d77fe225: Download complete [2022-10-26T19:30:19.917Z] 5851b861e8e6: Download complete [2022-10-26T19:30:20.174Z] b85a868b505f: Download complete [2022-10-26T19:30:20.174Z] bab4dde63d76: Verifying Checksum [2022-10-26T19:30:20.174Z] bab4dde63d76: Download complete [2022-10-26T19:30:21.575Z] b85a868b505f: Pull complete [2022-10-26T19:30:21.575Z] e2be974225ed: Pull complete [2022-10-26T19:30:22.144Z] 339a4e72a1f5: Pull complete [2022-10-26T19:30:22.410Z] 988bab9f4d93: Pull complete [2022-10-26T19:30:22.979Z] 1469e6f7b9e6: Pull complete [2022-10-26T19:30:23.238Z] eaf3925da568: Pull complete [2022-10-26T19:30:25.151Z] bab4dde63d76: Pull complete [2022-10-26T19:30:25.410Z] bde34c3a00c8: Pull complete [2022-10-26T19:30:25.670Z] b352a97aabf1: Pull complete [2022-10-26T19:30:25.928Z] 4872d77fe225: Pull complete [2022-10-26T19:30:26.185Z] 5851b861e8e6: Pull complete [2022-10-26T19:30:26.444Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T19:30:26.444Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:30:26.444Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:30:26.526Z] prd-ubuntu20.04-docker-8c-8g-117251 does not seem to be running inside a container [2022-10-26T19:30:26.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@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-devops/py-git-semver:0.1.4 cat [2022-10-26T19:30:31.147Z] $ docker top 46410fd19763f634af405df804d22d9a91f783e03e95fcb048d6235f09df74db -eo pid,comm [2022-10-26T19:30:31.199Z] 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-10-26T19:30:31.199Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T19:30:31.234Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T19:30:31.234Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T19:30:31.334Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T19:30:31.339Z] $ docker exec 46410fd19763f634af405df804d22d9a91f783e03e95fcb048d6235f09df74db ssh-agent [2022-10-26T19:30:31.440Z] SSH_AUTH_SOCK=/tmp/ssh-pkaFLioTVmmI/agent.32 [2022-10-26T19:30:31.440Z] SSH_AGENT_PID=38 [2022-10-26T19:30:31.445Z] Running ssh-add (command line suppressed) [2022-10-26T19:30:31.550Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_18101253033145746309.key (/w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_18101253033145746309.key) [2022-10-26T19:30:31.566Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T19:30:31.855Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T19:30:31.867Z] $ docker exec --env ******** --env ******** 46410fd19763f634af405df804d22d9a91f783e03e95fcb048d6235f09df74db ssh-agent -k [2022-10-26T19:30:31.974Z] unset SSH_AUTH_SOCK; [2022-10-26T19:30:31.974Z] unset SSH_AGENT_PID; [2022-10-26T19:30:31.974Z] echo Agent pid 38 killed; [2022-10-26T19:30:31.981Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T19:30:32.003Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T19:30:32.003Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T19:30:32.132Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T19:30:32.136Z] $ docker exec 46410fd19763f634af405df804d22d9a91f783e03e95fcb048d6235f09df74db ssh-agent [2022-10-26T19:30:32.254Z] SSH_AUTH_SOCK=/tmp/ssh-QugbS1rJhQJ8/agent.70 [2022-10-26T19:30:32.254Z] SSH_AGENT_PID=76 [2022-10-26T19:30:32.258Z] Running ssh-add (command line suppressed) [2022-10-26T19:30:32.364Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_3544411556755292809.key (/w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_3544411556755292809.key) [2022-10-26T19:30:32.374Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T19:30:32.670Z] + git semver init [2022-10-26T19:30:32.929Z] 2022-10-26 19:30:32,855 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T19:30:32.929Z] 2022-10-26 19:30:32,856 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-187/.semver [2022-10-26T19:30:32.929Z] 2022-10-26 19:30:32,856 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-187/.semver [2022-10-26T19:30:32.929Z] 2022-10-26 19:30:32,856 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-187/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-187, universal_newlines=False, shell=None, istream=None) [2022-10-26T19:30:34.341Z] 2022-10-26 19:30:33,991 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-187/.git/info/exclude [2022-10-26T19:30:34.341Z] 2022-10-26 19:30:33,992 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-187/.semver/PR-187 with force:False [2022-10-26T19:30:34.341Z] 2022-10-26 19:30:33,992 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-187/.semver/PR-187 [2022-10-26T19:30:34.341Z] 2022-10-26 19:30:33,995 [execute] INFO git cat-file --batch-check [2022-10-26T19:30:34.341Z] 2022-10-26 19:30:33,996 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-187/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T19:30:34.341Z] 2022-10-26 19:30:34,000 [execute] INFO git cat-file --batch [2022-10-26T19:30:34.341Z] 2022-10-26 19:30:34,001 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-187/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T19:30:34.341Z] 2022-10-26 19:30:34,006 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-187/.semver/PR-187 [2022-10-26T19:30:34.341Z] 0.0.0 [Pipeline] } [2022-10-26T19:30:34.352Z] $ docker exec --env ******** --env ******** 46410fd19763f634af405df804d22d9a91f783e03e95fcb048d6235f09df74db ssh-agent -k [2022-10-26T19:30:34.447Z] unset SSH_AUTH_SOCK; [2022-10-26T19:30:34.448Z] unset SSH_AGENT_PID; [2022-10-26T19:30:34.448Z] echo Agent pid 76 killed; [2022-10-26T19:30:34.457Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T19:30:34.764Z] + git semver [Pipeline] } [2022-10-26T19:30:35.041Z] $ docker stop --time=1 46410fd19763f634af405df804d22d9a91f783e03e95fcb048d6235f09df74db [2022-10-26T19:30:36.348Z] $ docker rm -f 46410fd19763f634af405df804d22d9a91f783e03e95fcb048d6235f09df74db [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:30:36.683Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T19:30:36.851Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T19:30:36.854Z] [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-10-26T19:30:36.978Z] provisioning config files... [2022-10-26T19:30:36.988Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config10587492484293316801tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:30:37.281Z] ---> docker-login.sh [2022-10-26T19:30:37.281Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:30:37.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:37.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:37.281Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:37.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:37.281Z] [2022-10-26T19:30:37.281Z] Login Succeeded [2022-10-26T19:30:37.281Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:30:37.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:37.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:37.281Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:37.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:37.281Z] [2022-10-26T19:30:37.281Z] Login Succeeded [2022-10-26T19:30:37.281Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:30:37.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:37.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:37.544Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:37.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:37.544Z] [2022-10-26T19:30:37.544Z] Login Succeeded [2022-10-26T19:30:37.544Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:30:37.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:37.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:37.544Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:37.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:37.544Z] [2022-10-26T19:30:37.544Z] Login Succeeded [2022-10-26T19:30:37.544Z] docker.io [2022-10-26T19:30:37.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:30:38.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:30:38.062Z] Configure a credential helper to remove this warning. See [2022-10-26T19:30:38.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:30:38.062Z] [2022-10-26T19:30:38.062Z] Login Succeeded [2022-10-26T19:30:38.062Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:30:38.071Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T19:30:38.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:30:38.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:30:38.156Z] ========================================================= [2022-10-26T19:30:38.156Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T19:30:38.156Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:30:38.504Z] + 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-10-26T19:30:38.504Z] Sending build context to Docker daemon 22.31MB [2022-10-26T19:30:38.504Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:30:38.504Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-26T19:30:38.787Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T19:30:38.787Z] 213ec9aee27d: Pulling fs layer [2022-10-26T19:30:38.787Z] 4583459ba037: Pulling fs layer [2022-10-26T19:30:38.787Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T19:30:38.787Z] 53926ce57604: Pulling fs layer [2022-10-26T19:30:38.787Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T19:30:38.787Z] 30f14e443154: Pulling fs layer [2022-10-26T19:30:38.787Z] 801331c1e519: Pulling fs layer [2022-10-26T19:30:38.787Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T19:30:38.787Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T19:30:38.787Z] 30f14e443154: Waiting [2022-10-26T19:30:38.787Z] 801331c1e519: Waiting [2022-10-26T19:30:38.787Z] 99cc6dd402b0: Waiting [2022-10-26T19:30:38.787Z] 7d9ed39f4882: Waiting [2022-10-26T19:30:38.787Z] 53926ce57604: Waiting [2022-10-26T19:30:38.787Z] 21b2b0c7a3f4: Waiting [2022-10-26T19:30:38.787Z] 4583459ba037: Verifying Checksum [2022-10-26T19:30:38.787Z] 4583459ba037: Download complete [2022-10-26T19:30:38.787Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T19:30:38.787Z] 93c1e223e6f2: Download complete [2022-10-26T19:30:38.787Z] 21b2b0c7a3f4: Download complete [2022-10-26T19:30:38.787Z] 30f14e443154: Verifying Checksum [2022-10-26T19:30:38.787Z] 30f14e443154: Download complete [2022-10-26T19:30:39.051Z] 213ec9aee27d: Verifying Checksum [2022-10-26T19:30:39.051Z] 801331c1e519: Verifying Checksum [2022-10-26T19:30:39.051Z] 801331c1e519: Download complete [2022-10-26T19:30:39.315Z] 213ec9aee27d: Pull complete [2022-10-26T19:30:39.315Z] 4583459ba037: Pull complete [2022-10-26T19:30:39.583Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T19:30:39.583Z] 7d9ed39f4882: Download complete [2022-10-26T19:30:39.583Z] 93c1e223e6f2: Pull complete [2022-10-26T19:30:39.583Z] 53926ce57604: Verifying Checksum [2022-10-26T19:30:39.583Z] 53926ce57604: Download complete [2022-10-26T19:30:39.842Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T19:30:39.842Z] 99cc6dd402b0: Download complete [2022-10-26T19:30:44.042Z] 53926ce57604: Pull complete [2022-10-26T19:30:44.302Z] 21b2b0c7a3f4: Pull complete [2022-10-26T19:30:44.561Z] 30f14e443154: Pull complete [2022-10-26T19:30:44.821Z] 801331c1e519: Pull complete [2022-10-26T19:30:47.344Z] 99cc6dd402b0: Pull complete [2022-10-26T19:30:48.277Z] 7d9ed39f4882: Pull complete [2022-10-26T19:30:48.535Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T19:30:48.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T19:30:48.794Z] ---> 1dedd983c030 [2022-10-26T19:30:48.794Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:30:51.939Z] Still waiting to schedule task [2022-10-26T19:30:51.939Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:30:58.810Z] ---> Running in 9c9eba902959 [2022-10-26T19:30:59.067Z] Removing intermediate container 9c9eba902959 [2022-10-26T19:30:59.067Z] ---> d9021b1e2940 [2022-10-26T19:30:59.067Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:30:59.633Z] ---> Running in 1a11ce759922 [2022-10-26T19:30:59.891Z] Removing intermediate container 1a11ce759922 [2022-10-26T19:30:59.891Z] ---> 807b2d0d50dc [2022-10-26T19:30:59.891Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:31:00.459Z] ---> Running in 186c8b4d8204 [2022-10-26T19:31:00.717Z] Removing intermediate container 186c8b4d8204 [2022-10-26T19:31:00.717Z] ---> afcb6495eb92 [2022-10-26T19:31:00.717Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:31:00.717Z] ---> Running in d045961b9d89 [2022-10-26T19:31:00.991Z] Removing intermediate container d045961b9d89 [2022-10-26T19:31:00.991Z] ---> efc515e93015 [2022-10-26T19:31:00.991Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-10-26T19:31:00.991Z] ---> Running in 8f8108c3d93f [2022-10-26T19:31:00.991Z] Removing intermediate container 8f8108c3d93f [2022-10-26T19:31:00.991Z] ---> 56e1d3d841d7 [2022-10-26T19:31:00.991Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:31:01.249Z] ---> Running in 7fe6a9c5160f [2022-10-26T19:31:01.249Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:31:01.508Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:31:01.765Z] OK: 211 MiB in 51 packages [2022-10-26T19:31:02.025Z] Removing intermediate container 7fe6a9c5160f [2022-10-26T19:31:02.025Z] ---> 0ca0d7ccb21a [2022-10-26T19:31:02.025Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-10-26T19:31:02.025Z] ---> Running in 0fd3e9ef80aa [2022-10-26T19:31:02.285Z] Removing intermediate container 0fd3e9ef80aa [2022-10-26T19:31:02.285Z] ---> fa32a0dfd02b [2022-10-26T19:31:02.285Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-26T19:31:02.285Z] ---> f1884953ca2f [2022-10-26T19:31:02.285Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:31:02.285Z] ---> Running in b037e378780c [2022-10-26T19:31:41.018Z] Removing intermediate container b037e378780c [2022-10-26T19:31:41.018Z] ---> 541e03b555a6 [2022-10-26T19:31:41.018Z] Step 12/13 : COPY . . [2022-10-26T19:31:41.018Z] ---> c398f7134b98 [2022-10-26T19:31:41.018Z] Step 13/13 : RUN ${MAKE} [2022-10-26T19:31:41.018Z] ---> Running in 99a400f9a724 [2022-10-26T19:31:41.018Z] noop [2022-10-26T19:31:41.018Z] Removing intermediate container 99a400f9a724 [2022-10-26T19:31:41.018Z] ---> 223aadef18b6 [2022-10-26T19:31:41.019Z] Successfully built 223aadef18b6 [2022-10-26T19:31:41.019Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:31:41.322Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T19:31:41.322Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:31:41.387Z] prd-ubuntu20.04-docker-8c-8g-117251 does not seem to be running inside a container [2022-10-26T19:31:41.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T19:31:41.782Z] $ docker top 4b094db4752147ed2e9a5b9a967a091ab864aa1f90eb5951309f4281132a7018 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:31:42.116Z] + go version [2022-10-26T19:31:42.116Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T19:31:42.133Z] $ docker stop --time=1 4b094db4752147ed2e9a5b9a967a091ab864aa1f90eb5951309f4281132a7018 [2022-10-26T19:31:43.416Z] $ docker rm -f 4b094db4752147ed2e9a5b9a967a091ab864aa1f90eb5951309f4281132a7018 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:31:43.808Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T19:31:43.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:31:43.878Z] prd-ubuntu20.04-docker-8c-8g-117251 does not seem to be running inside a container [2022-10-26T19:31:43.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T19:31:44.289Z] $ docker top dbd21d0c1fa11966d12ff94169552c0c0059cec4a64d87e5c92645a32bb10e73 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:31:44.629Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-187 [Pipeline] fileExists [Pipeline] sh [2022-10-26T19:31:44.929Z] + make test [2022-10-26T19:31:44.929Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T19:31:45.189Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-26T19:31:57.401Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-26T19:31:57.659Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.028s coverage: 28.2% of statements [2022-10-26T19:31:57.659Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-26T19:31:57.659Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.563s coverage: 86.5% of statements [2022-10-26T19:32:05.768Z] 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-10-26T19:32:05.768Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T19:32:09.049Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T19:32:09.050Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T19:32:09.050Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T19:32:09.318Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T19:32:09.340Z] $ docker stop --time=1 dbd21d0c1fa11966d12ff94169552c0c0059cec4a64d87e5c92645a32bb10e73 [2022-10-26T19:32:12.233Z] $ docker rm -f dbd21d0c1fa11966d12ff94169552c0c0059cec4a64d87e5c92645a32bb10e73 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:32:12.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T19:32:12.710Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T19:32:13.138Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T19:32:13.419Z] + ls -al . [2022-10-26T19:32:13.419Z] total 244 [2022-10-26T19:32:13.419Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 19:31 . [2022-10-26T19:32:13.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:30 .. [2022-10-26T19:32:13.419Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:31 .git [2022-10-26T19:32:13.419Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:30 .github [2022-10-26T19:32:13.419Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 26 19:30 .gitignore [2022-10-26T19:32:13.419Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 19:30 .golangci.yml [2022-10-26T19:32:13.419Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 19:30 .semver [2022-10-26T19:32:13.419Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 26 19:30 Attribution.txt [2022-10-26T19:32:13.419Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 26 19:30 CHANGELOG.md [2022-10-26T19:32:13.419Z] -rw-rw-r-- 1 jenkins jenkins 1637 Oct 26 19:30 Dockerfile [2022-10-26T19:32:13.419Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:30 GOVERNANCE.md [2022-10-26T19:32:13.419Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 26 19:30 Jenkinsfile [2022-10-26T19:32:13.419Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 19:30 LICENSE [2022-10-26T19:32:13.419Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 26 19:30 Makefile [2022-10-26T19:32:13.419Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 19:30 OWNERS.md [2022-10-26T19:32:13.419Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 26 19:30 README.md [2022-10-26T19:32:13.419Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 19:30 VERSION [2022-10-26T19:32:13.419Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:30 bin [2022-10-26T19:32:13.419Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:30 cmd [2022-10-26T19:32:13.419Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 26 19:31 coverage.out [2022-10-26T19:32:13.419Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 19:30 doc [2022-10-26T19:32:13.419Z] -rw-rw-r-- 1 jenkins jenkins 3736 Oct 26 19:30 go.mod [2022-10-26T19:32:13.419Z] -rw-rw-r-- 1 jenkins jenkins 46203 Oct 26 19:30 go.sum [2022-10-26T19:32:13.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:30 internal [2022-10-26T19:32:13.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:30 snap [2022-10-26T19:32:13.419Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 19:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:32:13.827Z] + 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=dc21a671bfe8654e12e89bfc20c83851c513c8a0 --label arch=amd64 --label version=0.0.0 . [2022-10-26T19:32:13.827Z] Sending build context to Docker daemon 22.39MB [2022-10-26T19:32:13.827Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:32:13.827Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T19:32:13.827Z] ---> 223aadef18b6 [2022-10-26T19:32:13.827Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:32:14.086Z] ---> Running in 89de856c2754 [2022-10-26T19:32:14.086Z] Removing intermediate container 89de856c2754 [2022-10-26T19:32:14.086Z] ---> f68a40cef10c [2022-10-26T19:32:14.086Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:32:14.343Z] ---> Running in ba553fb31745 [2022-10-26T19:32:14.343Z] Removing intermediate container ba553fb31745 [2022-10-26T19:32:14.343Z] ---> 2945ab5aa6be [2022-10-26T19:32:14.343Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:32:14.343Z] ---> Running in efee0a2ff74c [2022-10-26T19:32:14.343Z] Removing intermediate container efee0a2ff74c [2022-10-26T19:32:14.343Z] ---> 008658b06712 [2022-10-26T19:32:14.343Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:32:14.343Z] ---> Running in 23b17759651c [2022-10-26T19:32:14.601Z] Removing intermediate container 23b17759651c [2022-10-26T19:32:14.601Z] ---> b903d37fc26c [2022-10-26T19:32:14.601Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-10-26T19:32:14.601Z] ---> Running in d65116b5ab32 [2022-10-26T19:32:14.601Z] Removing intermediate container d65116b5ab32 [2022-10-26T19:32:14.601Z] ---> e4ff76ec99c5 [2022-10-26T19:32:14.601Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:32:14.601Z] ---> Running in b9b60cc18eb1 [2022-10-26T19:32:14.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:32:14.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:32:15.118Z] OK: 211 MiB in 51 packages [2022-10-26T19:32:15.687Z] Removing intermediate container b9b60cc18eb1 [2022-10-26T19:32:15.687Z] ---> df3d3d3363a4 [2022-10-26T19:32:15.687Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-10-26T19:32:15.687Z] ---> Running in 32ec4791202c [2022-10-26T19:32:15.687Z] Removing intermediate container 32ec4791202c [2022-10-26T19:32:15.687Z] ---> 6b8f42367645 [2022-10-26T19:32:15.687Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-26T19:32:15.945Z] ---> 8f77bf6491b3 [2022-10-26T19:32:15.945Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:32:15.945Z] ---> Running in 52097cca6e2d [2022-10-26T19:32:16.891Z] Removing intermediate container 52097cca6e2d [2022-10-26T19:32:16.891Z] ---> e96152bf2be2 [2022-10-26T19:32:16.891Z] Step 12/26 : COPY . . [2022-10-26T19:32:17.875Z] ---> 06023da6805f [2022-10-26T19:32:17.875Z] Step 13/26 : RUN ${MAKE} [2022-10-26T19:32:17.875Z] ---> Running in d9a626f3140a [2022-10-26T19:32:18.136Z] 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-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-26T19:32:44.681Z] Removing intermediate container d9a626f3140a [2022-10-26T19:32:44.681Z] ---> 52785415d7b5 [2022-10-26T19:32:44.681Z] Step 14/26 : FROM alpine:3.16 [2022-10-26T19:32:44.681Z] 3.16: Pulling from library/alpine [2022-10-26T19:32:44.681Z] 213ec9aee27d: Already exists [2022-10-26T19:32:44.681Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T19:32:44.681Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T19:32:44.681Z] ---> 9c6f07244728 [2022-10-26T19:32:44.681Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-26T19:32:44.681Z] ---> Running in 9e7f08871e90 [2022-10-26T19:32:44.681Z] Removing intermediate container 9e7f08871e90 [2022-10-26T19:32:44.681Z] ---> 6502b373a5bf [2022-10-26T19:32:44.681Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T19:32:44.681Z] ---> Running in f1a48d7fc9ac [2022-10-26T19:32:44.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:32:44.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:32:45.210Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T19:32:45.210Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T19:32:45.210Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T19:32:45.210Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T19:32:45.210Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T19:32:45.210Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T19:32:45.210Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:32:45.210Z] OK: 8 MiB in 20 packages [2022-10-26T19:32:45.779Z] Removing intermediate container f1a48d7fc9ac [2022-10-26T19:32:45.779Z] ---> a8f0fbf4edd4 [2022-10-26T19:32:45.779Z] Step 17/26 : WORKDIR / [2022-10-26T19:32:45.779Z] ---> Running in 5868e1cb89b8 [2022-10-26T19:32:45.779Z] Removing intermediate container 5868e1cb89b8 [2022-10-26T19:32:45.779Z] ---> feac5fcb1e8b [2022-10-26T19:32:45.779Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-26T19:32:46.715Z] ---> a13e29204a7e [2022-10-26T19:32:46.715Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-26T19:32:46.715Z] ---> 977c60a14ddd [2022-10-26T19:32:46.715Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-26T19:32:46.973Z] ---> c596158710c4 [2022-10-26T19:32:46.973Z] Step 21/26 : EXPOSE 59984 [2022-10-26T19:32:46.973Z] ---> Running in aea00f2bb9c1 [2022-10-26T19:32:46.973Z] Removing intermediate container aea00f2bb9c1 [2022-10-26T19:32:46.973Z] ---> e79e34566909 [2022-10-26T19:32:46.973Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-26T19:32:46.973Z] ---> Running in 538a0406a59f [2022-10-26T19:32:47.231Z] Removing intermediate container 538a0406a59f [2022-10-26T19:32:47.231Z] ---> 3c2b0b091a47 [2022-10-26T19:32:47.231Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T19:32:47.231Z] ---> Running in 82e556578599 [2022-10-26T19:32:47.231Z] Removing intermediate container 82e556578599 [2022-10-26T19:32:47.231Z] ---> ba45a4c541cb [2022-10-26T19:32:47.231Z] Step 24/26 : LABEL arch=amd64 [2022-10-26T19:32:47.231Z] ---> Running in a81d379f911c [2022-10-26T19:32:47.490Z] Removing intermediate container a81d379f911c [2022-10-26T19:32:47.490Z] ---> 621c80366f52 [2022-10-26T19:32:47.490Z] Step 25/26 : LABEL git_sha=dc21a671bfe8654e12e89bfc20c83851c513c8a0 [2022-10-26T19:32:47.490Z] ---> Running in b5b5cad9e5a9 [2022-10-26T19:32:47.490Z] Removing intermediate container b5b5cad9e5a9 [2022-10-26T19:32:47.490Z] ---> d30603b3f3da [2022-10-26T19:32:47.490Z] Step 26/26 : LABEL version=0.0.0 [2022-10-26T19:32:47.490Z] ---> Running in ac609aa79df1 [2022-10-26T19:32:47.749Z] Removing intermediate container ac609aa79df1 [2022-10-26T19:32:47.749Z] ---> 3893018497a4 [2022-10-26T19:32:47.749Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T19:32:47.749Z] Successfully built 3893018497a4 [2022-10-26T19:32:47.749Z] 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-10-26T19:32:48.180Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:32:48.180Z] [2022-10-26T19:32:48.180Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:32:48.476Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:32:48.477Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T19:32:48.477Z] 5eb5b503b376: Pulling fs layer [2022-10-26T19:32:48.477Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T19:32:48.477Z] ec43610c2a17: Pulling fs layer [2022-10-26T19:32:48.477Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T19:32:48.477Z] 33b1e0a273af: Pulling fs layer [2022-10-26T19:32:48.477Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T19:32:48.477Z] 2f39f015ded8: Pulling fs layer [2022-10-26T19:32:48.477Z] 3a2ae6a8a46f: Waiting [2022-10-26T19:32:48.477Z] 33b1e0a273af: Waiting [2022-10-26T19:32:48.477Z] 5d3b04190fa2: Waiting [2022-10-26T19:32:48.477Z] 2f39f015ded8: Waiting [2022-10-26T19:32:48.477Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T19:32:48.477Z] 5c69ac0246d0: Download complete [2022-10-26T19:32:48.477Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T19:32:48.477Z] 3a2ae6a8a46f: Download complete [2022-10-26T19:32:48.477Z] 33b1e0a273af: Verifying Checksum [2022-10-26T19:32:48.477Z] 33b1e0a273af: Download complete [2022-10-26T19:32:48.477Z] ec43610c2a17: Verifying Checksum [2022-10-26T19:32:48.477Z] ec43610c2a17: Download complete [2022-10-26T19:32:48.736Z] 5d3b04190fa2: Download complete [2022-10-26T19:32:48.736Z] 5eb5b503b376: Verifying Checksum [2022-10-26T19:32:48.736Z] 5eb5b503b376: Download complete [2022-10-26T19:32:50.111Z] 5eb5b503b376: Pull complete [2022-10-26T19:32:50.111Z] 5c69ac0246d0: Pull complete [2022-10-26T19:32:50.678Z] ec43610c2a17: Pull complete [2022-10-26T19:32:50.678Z] 3a2ae6a8a46f: Pull complete [2022-10-26T19:32:50.935Z] 33b1e0a273af: Pull complete [2022-10-26T19:32:50.935Z] 5d3b04190fa2: Pull complete [2022-10-26T19:32:56.213Z] 2f39f015ded8: Pull complete [2022-10-26T19:32:56.213Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T19:32:56.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:32:56.213Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:32:56.286Z] prd-ubuntu20.04-docker-8c-8g-117251 does not seem to be running inside a container [2022-10-26T19:32:56.329Z] $ 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-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T19:33:00.725Z] $ docker top d6cf106aee10824873cd24a4d339b6c0c11dbffe7a884d4cfb0fb4a36242aa2e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:33:01.078Z] ---> job-cost.sh [2022-10-26T19:33:01.078Z] lf-activate-venv: SKIPPING [2022-10-26T19:33:01.078Z] INFO: No Stack... [2022-10-26T19:33:01.643Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T19:33:01.900Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T19:33:02.187Z] + cat /w/workspace/undry_device-onvif-camera_PR-187/archives/cost.csv [2022-10-26T19:33:02.187Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T19:33:02.200Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-187-4-stack-cost] [2022-10-26T19:33:02.209Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-4-stack-cost] did not exist. Created. [2022-10-26T19:33:02.209Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-187-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T19:33:02.510Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T19:33:02.542Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T19:33:02.549Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T19:33:02.575Z] $ docker stop --time=1 d6cf106aee10824873cd24a4d339b6c0c11dbffe7a884d4cfb0fb4a36242aa2e [2022-10-26T19:33:04.021Z] $ docker rm -f d6cf106aee10824873cd24a4d339b6c0c11dbffe7a884d4cfb0fb4a36242aa2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T19:37:48.095Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117267 in /w/workspace/undry_device-onvif-camera_PR-187 [Pipeline] { [Pipeline] ws [2022-10-26T19:37:48.110Z] Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout [2022-10-26T19:37:48.160Z] The recommended git tool is: git [2022-10-26T19:37:55.507Z] using credential edgex-jenkins-ssh [2022-10-26T19:37:55.533Z] Cloning the remote Git repository [2022-10-26T19:37:55.591Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T19:37:55.680Z] > git init /w/workspace/device-onvif-camera/4 # timeout=10 [2022-10-26T19:37:55.862Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T19:37:55.864Z] > git --version # timeout=10 [2022-10-26T19:37:55.889Z] > git --version # 'git version 2.25.1' [2022-10-26T19:37:55.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:37:55.952Z] Verifying host key using known hosts file [2022-10-26T19:37:56.197Z] 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-10-26T19:37:56.212Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T19:37:57.830Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-26T19:37:57.857Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T19:37:59.602Z] Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit dc21a671bfe8654e12e89bfc20c83851c513c8a0 [2022-10-26T19:38:00.026Z] Merge succeeded, producing dc21a671bfe8654e12e89bfc20c83851c513c8a0 [2022-10-26T19:38:00.027Z] Checking out Revision dc21a671bfe8654e12e89bfc20c83851c513c8a0 (PR-187) [2022-10-26T19:37:58.838Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-26T19:37:58.889Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T19:37:58.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:37:58.897Z] Verifying host key using known hosts file [2022-10-26T19:37:58.906Z] 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-10-26T19:37:58.919Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T19:37:59.623Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T19:37:59.641Z] > git checkout -f dc21a671bfe8654e12e89bfc20c83851c513c8a0 # timeout=10 [2022-10-26T19:37:59.911Z] > git remote # timeout=10 [2022-10-26T19:37:59.934Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T19:37:59.953Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:37:59.959Z] Verifying host key using known hosts file [2022-10-26T19:37:59.964Z] 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-10-26T19:37:59.976Z] > git merge 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 [2022-10-26T19:38:00.006Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T19:38:00.035Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T19:38:00.055Z] > git checkout -f dc21a671bfe8654e12e89bfc20c83851c513c8a0 # timeout=10 [2022-10-26T19:38:03.884Z] Commit message: "fix comments" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:38:04.734Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T19:38:04.734Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T19:38:04.734Z] Dload Upload Total Spent Left Speed [2022-10-26T19:38:04.734Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 178k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2022-10-26T19:38:05.599Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T19:38:05.946Z] + sudo+ tee /etc/docker/daemon.new [2022-10-26T19:38:05.946Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T19:38:05.946Z] { [2022-10-26T19:38:05.946Z] "registry-mirrors": [ [2022-10-26T19:38:05.946Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T19:38:05.946Z] ], [2022-10-26T19:38:05.946Z] "bip": "10.250.0.254/24", [2022-10-26T19:38:05.946Z] "hosts": [ [2022-10-26T19:38:05.946Z] "tcp://0.0.0.0:5555", [2022-10-26T19:38:05.946Z] "unix:///var/run/docker.sock" [2022-10-26T19:38:05.946Z] ], [2022-10-26T19:38:05.946Z] "mtu": 1458, [2022-10-26T19:38:05.946Z] "selinux-enabled": true, [2022-10-26T19:38:05.946Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T19:38:05.946Z] } [Pipeline] sh [2022-10-26T19:38:06.284Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T19:38:06.620Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:38:24.991Z] provisioning config files... [2022-10-26T19:38:25.035Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config3320843723245774827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:38:25.452Z] ---> docker-login.sh [2022-10-26T19:38:25.452Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:38:26.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:38:26.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:38:26.738Z] Configure a credential helper to remove this warning. See [2022-10-26T19:38:26.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:38:26.738Z] [2022-10-26T19:38:26.738Z] Login Succeeded [2022-10-26T19:38:26.738Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:38:27.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:38:28.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:38:28.506Z] Configure a credential helper to remove this warning. See [2022-10-26T19:38:28.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:38:28.506Z] [2022-10-26T19:38:28.506Z] Login Succeeded [2022-10-26T19:38:28.506Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:38:28.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:38:28.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:38:28.782Z] Configure a credential helper to remove this warning. See [2022-10-26T19:38:28.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:38:28.782Z] [2022-10-26T19:38:28.782Z] Login Succeeded [2022-10-26T19:38:28.782Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:38:29.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:38:29.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:38:29.325Z] Configure a credential helper to remove this warning. See [2022-10-26T19:38:29.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:38:29.326Z] [2022-10-26T19:38:29.326Z] Login Succeeded [2022-10-26T19:38:29.326Z] docker.io [2022-10-26T19:38:29.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:38:29.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:38:29.871Z] Configure a credential helper to remove this warning. See [2022-10-26T19:38:29.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:38:29.871Z] [2022-10-26T19:38:29.871Z] Login Succeeded [2022-10-26T19:38:29.871Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:38:29.887Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T19:38:30.106Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:38:30.117Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:38:30.124Z] ========================================================= [2022-10-26T19:38:30.124Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T19:38:30.124Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:38:30.488Z] + 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-10-26T19:38:31.093Z] Sending build context to Docker daemon 15.23MB [2022-10-26T19:38:31.093Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:38:31.093Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-26T19:38:31.363Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T19:38:31.363Z] 9b18e9b68314: Pulling fs layer [2022-10-26T19:38:31.363Z] d32db5db7311: Pulling fs layer [2022-10-26T19:38:31.363Z] d0c4b47475fc: Pulling fs layer [2022-10-26T19:38:31.363Z] 5831b945b038: Pulling fs layer [2022-10-26T19:38:31.363Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T19:38:31.363Z] e10730c5d714: Pulling fs layer [2022-10-26T19:38:31.363Z] 5dd5c2283517: Pulling fs layer [2022-10-26T19:38:31.363Z] d5ac0230b979: Pulling fs layer [2022-10-26T19:38:31.363Z] 86bbec2aaacd: Waiting [2022-10-26T19:38:31.363Z] 5831b945b038: Waiting [2022-10-26T19:38:31.363Z] e10730c5d714: Waiting [2022-10-26T19:38:31.363Z] d5ac0230b979: Waiting [2022-10-26T19:38:31.363Z] 5dd5c2283517: Waiting [2022-10-26T19:38:31.636Z] d0c4b47475fc: Download complete [2022-10-26T19:38:31.636Z] d32db5db7311: Verifying Checksum [2022-10-26T19:38:31.636Z] d32db5db7311: Download complete [2022-10-26T19:38:31.636Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T19:38:31.636Z] 86bbec2aaacd: Download complete [2022-10-26T19:38:31.636Z] e10730c5d714: Verifying Checksum [2022-10-26T19:38:31.636Z] e10730c5d714: Download complete [2022-10-26T19:38:31.636Z] 9b18e9b68314: Verifying Checksum [2022-10-26T19:38:31.636Z] 9b18e9b68314: Download complete [2022-10-26T19:38:32.619Z] 9b18e9b68314: Pull complete [2022-10-26T19:38:32.893Z] d5ac0230b979: Verifying Checksum [2022-10-26T19:38:32.893Z] d5ac0230b979: Download complete [2022-10-26T19:38:33.185Z] d32db5db7311: Pull complete [2022-10-26T19:38:33.796Z] d0c4b47475fc: Pull complete [2022-10-26T19:38:34.074Z] 5dd5c2283517: Verifying Checksum [2022-10-26T19:38:34.074Z] 5dd5c2283517: Download complete [2022-10-26T19:38:34.668Z] 5831b945b038: Verifying Checksum [2022-10-26T19:38:34.668Z] 5831b945b038: Download complete [2022-10-26T19:38:47.154Z] 5831b945b038: Pull complete [2022-10-26T19:38:47.427Z] 86bbec2aaacd: Pull complete [2022-10-26T19:38:47.699Z] e10730c5d714: Pull complete [2022-10-26T19:38:56.018Z] 5dd5c2283517: Pull complete [2022-10-26T19:38:57.452Z] d5ac0230b979: Pull complete [2022-10-26T19:38:57.452Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T19:38:57.452Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T19:38:57.452Z] ---> 59b3b1a385d4 [2022-10-26T19:38:57.452Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:39:00.067Z] ---> Running in 7b47e9b747a4 [2022-10-26T19:39:00.067Z] Removing intermediate container 7b47e9b747a4 [2022-10-26T19:39:00.067Z] ---> 76506ff1b222 [2022-10-26T19:39:00.067Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:39:00.067Z] ---> Running in 78dd0ddeb1ea [2022-10-26T19:39:00.663Z] Removing intermediate container 78dd0ddeb1ea [2022-10-26T19:39:00.663Z] ---> b7f87014a571 [2022-10-26T19:39:00.663Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:39:00.663Z] ---> Running in 0202c93d19d7 [2022-10-26T19:39:00.935Z] Removing intermediate container 0202c93d19d7 [2022-10-26T19:39:00.935Z] ---> 87abed55da6f [2022-10-26T19:39:00.935Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:39:00.935Z] ---> Running in f3f635bd429d [2022-10-26T19:39:01.529Z] Removing intermediate container f3f635bd429d [2022-10-26T19:39:01.529Z] ---> e173a93ed0bf [2022-10-26T19:39:01.529Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-10-26T19:39:01.529Z] ---> Running in f10e9370e595 [2022-10-26T19:39:01.800Z] Removing intermediate container f10e9370e595 [2022-10-26T19:39:01.800Z] ---> b5dacd14c0fe [2022-10-26T19:39:01.800Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:39:02.073Z] ---> Running in e549ed1eabab [2022-10-26T19:39:03.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:39:03.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:39:04.465Z] OK: 221 MiB in 51 packages [2022-10-26T19:39:05.461Z] Removing intermediate container e549ed1eabab [2022-10-26T19:39:05.461Z] ---> 00f949af789f [2022-10-26T19:39:05.461Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-10-26T19:39:05.732Z] ---> Running in feb5117a100f [2022-10-26T19:39:06.002Z] Removing intermediate container feb5117a100f [2022-10-26T19:39:06.002Z] ---> 457fa9d434bf [2022-10-26T19:39:06.002Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-26T19:39:06.592Z] ---> 010345a5f2e4 [2022-10-26T19:39:06.592Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:39:06.861Z] ---> Running in c7e1ae31e8cb [2022-10-26T19:40:14.852Z] Removing intermediate container c7e1ae31e8cb [2022-10-26T19:40:14.852Z] ---> 38fcd39b3f57 [2022-10-26T19:40:14.852Z] Step 12/13 : COPY . . [2022-10-26T19:40:14.852Z] ---> 16c43c955f01 [2022-10-26T19:40:14.852Z] Step 13/13 : RUN ${MAKE} [2022-10-26T19:40:14.852Z] ---> Running in 01a190d2ee1b [2022-10-26T19:40:14.852Z] noop [2022-10-26T19:40:14.852Z] Removing intermediate container 01a190d2ee1b [2022-10-26T19:40:14.852Z] ---> caaedc438ff0 [2022-10-26T19:40:14.852Z] Successfully built caaedc438ff0 [2022-10-26T19:40:14.852Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:40:15.211Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T19:40:15.211Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:40:15.426Z] prd-ubuntu20.04-docker-arm64-4c-16g-117267 does not seem to be running inside a container [2022-10-26T19:40:15.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T19:40:16.951Z] $ docker top bc5c3ddd84d5268be4fc29101d9b195417d3b145a3c958a9975c07d307adf207 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:40:17.857Z] + go version [2022-10-26T19:40:17.857Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T19:40:17.883Z] $ docker stop --time=1 bc5c3ddd84d5268be4fc29101d9b195417d3b145a3c958a9975c07d307adf207 [2022-10-26T19:40:19.615Z] $ docker rm -f bc5c3ddd84d5268be4fc29101d9b195417d3b145a3c958a9975c07d307adf207 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:40:20.214Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T19:40:20.214Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:40:20.426Z] prd-ubuntu20.04-docker-arm64-4c-16g-117267 does not seem to be running inside a container [2022-10-26T19:40:20.518Z] $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T19:40:21.967Z] $ docker top 5f4457dd1b0ce8081c549408efec047f4932156d5d8e7bdd5e444273e1f3a5a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:40:22.849Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh [2022-10-26T19:40:23.518Z] + make test [2022-10-26T19:40:23.518Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T19:40:25.494Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-26T19:42:32.359Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-26T19:42:32.634Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.207s coverage: 28.2% of statements [2022-10-26T19:42:32.634Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-26T19:42:54.760Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.426s coverage: 86.5% of statements [2022-10-26T19:42:54.760Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T19:42:54.760Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T19:43:21.568Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T19:43:21.568Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T19:43:21.568Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T19:43:21.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T19:43:21.608Z] $ docker stop --time=1 5f4457dd1b0ce8081c549408efec047f4932156d5d8e7bdd5e444273e1f3a5a3 [2022-10-26T19:43:23.507Z] $ docker rm -f 5f4457dd1b0ce8081c549408efec047f4932156d5d8e7bdd5e444273e1f3a5a3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:43:24.575Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T19:43:24.599Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T19:43:25.227Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:43:25.635Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T19:43:25.971Z] + ls -al . [2022-10-26T19:43:25.971Z] total 240 [2022-10-26T19:43:25.971Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 19:40 . [2022-10-26T19:43:25.971Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:37 .. [2022-10-26T19:43:25.971Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:38 .git [2022-10-26T19:43:25.971Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:37 .github [2022-10-26T19:43:25.971Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 26 19:37 .gitignore [2022-10-26T19:43:25.971Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 19:37 .golangci.yml [2022-10-26T19:43:25.971Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 26 19:37 Attribution.txt [2022-10-26T19:43:25.971Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 26 19:37 CHANGELOG.md [2022-10-26T19:43:25.971Z] -rw-rw-r-- 1 jenkins jenkins 1637 Oct 26 19:37 Dockerfile [2022-10-26T19:43:25.971Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:37 GOVERNANCE.md [2022-10-26T19:43:25.971Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 26 19:37 Jenkinsfile [2022-10-26T19:43:25.971Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 19:37 LICENSE [2022-10-26T19:43:25.971Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 26 19:37 Makefile [2022-10-26T19:43:25.971Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 19:37 OWNERS.md [2022-10-26T19:43:25.971Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 26 19:37 README.md [2022-10-26T19:43:25.971Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 19:30 VERSION [2022-10-26T19:43:25.971Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:37 bin [2022-10-26T19:43:25.971Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:37 cmd [2022-10-26T19:43:25.971Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 26 19:42 coverage.out [2022-10-26T19:43:25.971Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 19:37 doc [2022-10-26T19:43:25.971Z] -rw-rw-r-- 1 jenkins jenkins 3736 Oct 26 19:37 go.mod [2022-10-26T19:43:25.971Z] -rw-rw-r-- 1 jenkins jenkins 46203 Oct 26 19:37 go.sum [2022-10-26T19:43:25.971Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:37 internal [2022-10-26T19:43:25.971Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:37 snap [2022-10-26T19:43:25.971Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 19:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:43:26.321Z] + 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=dc21a671bfe8654e12e89bfc20c83851c513c8a0 --label arch=arm64 --label version=0.0.0 . [2022-10-26T19:43:26.913Z] Sending build context to Docker daemon 15.31MB [2022-10-26T19:43:26.913Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:43:26.913Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T19:43:26.913Z] ---> caaedc438ff0 [2022-10-26T19:43:26.913Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:43:27.181Z] ---> Running in c6e309b5cac7 [2022-10-26T19:43:27.451Z] Removing intermediate container c6e309b5cac7 [2022-10-26T19:43:27.451Z] ---> 234092b5671e [2022-10-26T19:43:27.451Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:43:27.451Z] ---> Running in 3cb05f5a68b1 [2022-10-26T19:43:27.729Z] Removing intermediate container 3cb05f5a68b1 [2022-10-26T19:43:27.729Z] ---> e4d798f28efb [2022-10-26T19:43:27.729Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:43:27.998Z] ---> Running in 3998714f74e6 [2022-10-26T19:43:28.267Z] Removing intermediate container 3998714f74e6 [2022-10-26T19:43:28.267Z] ---> d75c700e86f2 [2022-10-26T19:43:28.267Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:43:28.267Z] ---> Running in a96b2f49fbf3 [2022-10-26T19:43:28.858Z] Removing intermediate container a96b2f49fbf3 [2022-10-26T19:43:28.858Z] ---> 6b315ba76d7a [2022-10-26T19:43:28.858Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-10-26T19:43:28.858Z] ---> Running in e03747f353c0 [2022-10-26T19:43:29.131Z] Removing intermediate container e03747f353c0 [2022-10-26T19:43:29.131Z] ---> b49d0572f303 [2022-10-26T19:43:29.131Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:43:29.131Z] ---> Running in e2790ad45a0a [2022-10-26T19:43:30.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:43:30.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:43:32.047Z] OK: 221 MiB in 51 packages [2022-10-26T19:43:33.065Z] Removing intermediate container e2790ad45a0a [2022-10-26T19:43:33.066Z] ---> 101ea3835aee [2022-10-26T19:43:33.066Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-10-26T19:43:33.066Z] ---> Running in 2d2772a3a912 [2022-10-26T19:43:33.367Z] Removing intermediate container 2d2772a3a912 [2022-10-26T19:43:33.367Z] ---> 1d18e421f6c7 [2022-10-26T19:43:33.367Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-26T19:43:33.971Z] ---> 5e01a60a225e [2022-10-26T19:43:33.971Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:43:33.971Z] ---> Running in 5c0b8af47ae0 [2022-10-26T19:43:36.607Z] Removing intermediate container 5c0b8af47ae0 [2022-10-26T19:43:36.607Z] ---> dccc3ba7e377 [2022-10-26T19:43:36.607Z] Step 12/26 : COPY . . [2022-10-26T19:43:38.572Z] ---> 3d0113372f78 [2022-10-26T19:43:38.572Z] Step 13/26 : RUN ${MAKE} [2022-10-26T19:43:38.572Z] ---> Running in 98ed82594b5a [2022-10-26T19:43:39.539Z] 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-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-26T19:46:31.339Z] Removing intermediate container 98ed82594b5a [2022-10-26T19:46:31.339Z] ---> c251e4218dee [2022-10-26T19:46:31.339Z] Step 14/26 : FROM alpine:3.16 [2022-10-26T19:46:31.339Z] 3.16: Pulling from library/alpine [2022-10-26T19:46:31.339Z] 9b18e9b68314: Already exists [2022-10-26T19:46:31.339Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T19:46:31.339Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T19:46:31.339Z] ---> a6215f271958 [2022-10-26T19:46:31.339Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-26T19:46:31.339Z] ---> Running in d8c1a41fe4e6 [2022-10-26T19:46:31.339Z] Removing intermediate container d8c1a41fe4e6 [2022-10-26T19:46:31.339Z] ---> 94dd54bf2639 [2022-10-26T19:46:31.339Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T19:46:31.339Z] ---> Running in 830b44076b94 [2022-10-26T19:46:31.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:46:31.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:46:31.339Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T19:46:31.339Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T19:46:31.339Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T19:46:31.339Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T19:46:31.339Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T19:46:31.339Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T19:46:31.339Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:46:31.339Z] OK: 8 MiB in 20 packages [2022-10-26T19:46:31.339Z] Removing intermediate container 830b44076b94 [2022-10-26T19:46:31.339Z] ---> 1f6692d5500c [2022-10-26T19:46:31.339Z] Step 17/26 : WORKDIR / [2022-10-26T19:46:31.339Z] ---> Running in 662bb6c48fa7 [2022-10-26T19:46:31.339Z] Removing intermediate container 662bb6c48fa7 [2022-10-26T19:46:31.339Z] ---> 2190f106a105 [2022-10-26T19:46:31.339Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-26T19:46:31.339Z] ---> 8991b3013950 [2022-10-26T19:46:31.339Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-26T19:46:31.339Z] ---> 8598a007c916 [2022-10-26T19:46:31.339Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-26T19:46:31.339Z] ---> 014270bddce4 [2022-10-26T19:46:31.339Z] Step 21/26 : EXPOSE 59984 [2022-10-26T19:46:31.339Z] ---> Running in de00c799e9a6 [2022-10-26T19:46:31.339Z] Removing intermediate container de00c799e9a6 [2022-10-26T19:46:31.339Z] ---> c9b14008f801 [2022-10-26T19:46:31.339Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-26T19:46:31.339Z] ---> Running in a8c397e26c2b [2022-10-26T19:46:31.339Z] Removing intermediate container a8c397e26c2b [2022-10-26T19:46:31.339Z] ---> a68528d10891 [2022-10-26T19:46:31.339Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T19:46:31.339Z] ---> Running in 633558cb49c3 [2022-10-26T19:46:31.339Z] Removing intermediate container 633558cb49c3 [2022-10-26T19:46:31.339Z] ---> 82bab626694e [2022-10-26T19:46:31.339Z] Step 24/26 : LABEL arch=arm64 [2022-10-26T19:46:31.339Z] ---> Running in 0f230c0e3359 [2022-10-26T19:46:31.339Z] Removing intermediate container 0f230c0e3359 [2022-10-26T19:46:31.339Z] ---> 1e1aae8b36a0 [2022-10-26T19:46:31.339Z] Step 25/26 : LABEL git_sha=dc21a671bfe8654e12e89bfc20c83851c513c8a0 [2022-10-26T19:46:31.339Z] ---> Running in bcb942bf6a13 [2022-10-26T19:46:31.339Z] Removing intermediate container bcb942bf6a13 [2022-10-26T19:46:31.339Z] ---> 3d59c4577f91 [2022-10-26T19:46:31.339Z] Step 26/26 : LABEL version=0.0.0 [2022-10-26T19:46:31.339Z] ---> Running in f4d228686adf [2022-10-26T19:46:31.339Z] Removing intermediate container f4d228686adf [2022-10-26T19:46:31.339Z] ---> 4a8acc25b548 [2022-10-26T19:46:31.339Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T19:46:31.339Z] Successfully built 4a8acc25b548 [2022-10-26T19:46:31.339Z] 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-10-26T19:46:31.740Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:46:31.740Z] [2022-10-26T19:46:31.740Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:46:32.072Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:46:32.072Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T19:46:32.072Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T19:46:32.072Z] 04944245beec: Pulling fs layer [2022-10-26T19:46:32.072Z] 699f458cf7ca: Pulling fs layer [2022-10-26T19:46:32.072Z] 765212b225bb: Pulling fs layer [2022-10-26T19:46:32.072Z] f23df028b6ca: Pulling fs layer [2022-10-26T19:46:32.072Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T19:46:32.072Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T19:46:32.072Z] f23df028b6ca: Waiting [2022-10-26T19:46:32.072Z] d65c8cfc05b1: Waiting [2022-10-26T19:46:32.072Z] 2437ff75d9bd: Waiting [2022-10-26T19:46:32.072Z] 765212b225bb: Waiting [2022-10-26T19:46:32.350Z] 04944245beec: Verifying Checksum [2022-10-26T19:46:32.350Z] 04944245beec: Download complete [2022-10-26T19:46:32.350Z] 765212b225bb: Verifying Checksum [2022-10-26T19:46:32.350Z] 765212b225bb: Download complete [2022-10-26T19:46:32.350Z] f23df028b6ca: Verifying Checksum [2022-10-26T19:46:32.350Z] f23df028b6ca: Download complete [2022-10-26T19:46:32.350Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T19:46:32.350Z] d65c8cfc05b1: Download complete [2022-10-26T19:46:32.619Z] 699f458cf7ca: Verifying Checksum [2022-10-26T19:46:32.619Z] 699f458cf7ca: Download complete [2022-10-26T19:46:32.886Z] 8998bd30e6a1: Download complete [2022-10-26T19:46:35.470Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T19:46:35.470Z] 2437ff75d9bd: Download complete [2022-10-26T19:46:36.433Z] 8998bd30e6a1: Pull complete [2022-10-26T19:46:37.014Z] 04944245beec: Pull complete [2022-10-26T19:46:38.419Z] 699f458cf7ca: Pull complete [2022-10-26T19:46:38.419Z] 765212b225bb: Pull complete [2022-10-26T19:46:39.002Z] f23df028b6ca: Pull complete [2022-10-26T19:46:39.269Z] d65c8cfc05b1: Pull complete [2022-10-26T19:46:51.583Z] 2437ff75d9bd: Pull complete [2022-10-26T19:46:51.583Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T19:46:51.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:46:51.583Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:46:51.770Z] prd-ubuntu20.04-docker-arm64-4c-16g-117267 does not seem to be running inside a container [2022-10-26T19:46:51.845Z] $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T19:46:54.797Z] $ docker top 082781120ac5df9657dfd484af7b30bbce9af05139a7147638920022270d4703 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:46:55.664Z] ---> job-cost.sh [2022-10-26T19:46:55.664Z] lf-activate-venv: SKIPPING [2022-10-26T19:46:55.664Z] INFO: No Stack... [2022-10-26T19:46:56.249Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T19:46:56.832Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T19:46:57.476Z] + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [2022-10-26T19:46:57.477Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T19:46:57.551Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-187-4-stack-cost] [2022-10-26T19:46:57.559Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-4-stack-cost] did not exist. Created. [2022-10-26T19:46:57.559Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-187-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T19:46:57.934Z] /w/workspace/device-onvif-camera/4@tmp/durable-921f832f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T19:46:58.279Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T19:46:58.568Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T19:46:58.631Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T19:46:58.638Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T19:46:58.657Z] $ docker stop --time=1 082781120ac5df9657dfd484af7b30bbce9af05139a7147638920022270d4703 [2022-10-26T19:47:00.143Z] $ docker rm -f 082781120ac5df9657dfd484af7b30bbce9af05139a7147638920022270d4703 [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-10-26T19:47:00.483Z] provisioning config files... [2022-10-26T19:47:00.490Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config226128930903435859tmp [Pipeline] { [Pipeline] sh [2022-10-26T19:47:00.780Z] + set +x [2022-10-26T19:47:00.780Z] + curl -s https://codecov.io/bash [2022-10-26T19:47:00.780Z] + bash -s -- [2022-10-26T19:47:00.780Z] [2022-10-26T19:47:00.780Z] _____ _ [2022-10-26T19:47:00.780Z] / ____| | | [2022-10-26T19:47:00.780Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T19:47:00.780Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T19:47:00.780Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T19:47:00.780Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T19:47:00.780Z] Bash-1.0.6 [2022-10-26T19:47:00.780Z] [2022-10-26T19:47:00.780Z] [2022-10-26T19:47:00.780Z] ==> git version 2.25.1 found [2022-10-26T19:47:00.780Z] ==> 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-10-26T19:47:00.780Z] Release-Date: 2020-01-08 [2022-10-26T19:47:00.780Z] 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-10-26T19:47:00.780Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T19:47:00.780Z] ==> Jenkins CI detected. [2022-10-26T19:47:00.780Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-187 [2022-10-26T19:47:00.780Z] project root: . [2022-10-26T19:47:00.780Z] --> token set from env [2022-10-26T19:47:00.780Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T19:47:00.780Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T19:47:00.780Z] ==> Python coveragepy not found [2022-10-26T19:47:00.780Z] ==> Searching for coverage reports in: [2022-10-26T19:47:00.780Z] + . [2022-10-26T19:47:00.780Z] -> Found 1 reports [2022-10-26T19:47:00.780Z] ==> Detecting git/mercurial file structure [2022-10-26T19:47:00.780Z] ==> Reading reports [2022-10-26T19:47:00.780Z] + ./coverage.out bytes=78636 [2022-10-26T19:47:00.780Z] ==> Appending adjustments [2022-10-26T19:47:00.780Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T19:47:01.039Z] + Found adjustments [2022-10-26T19:47:01.039Z] ==> Gzipping contents [2022-10-26T19:47:01.039Z] 12K /tmp/codecov.Dyqlpt.gz [2022-10-26T19:47:01.039Z] ==> Uploading reports [2022-10-26T19:47:01.039Z] url: https://codecov.io [2022-10-26T19:47:01.039Z] query: branch=PR-187&commit=dc21a671bfe8654e12e89bfc20c83851c513c8a0&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-187%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=187&job=&cmd_args= [2022-10-26T19:47:01.039Z] -> Pinging Codecov [2022-10-26T19:47:01.039Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-187&commit=dc21a671bfe8654e12e89bfc20c83851c513c8a0&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-187%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=187&job=&cmd_args= [2022-10-26T19:47:01.298Z] -> Uploading to [2022-10-26T19:47:01.298Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/F29A59C45E3A92E06B3E522C9905F8EF/dc21a671bfe8654e12e89bfc20c83851c513c8a0/1284713a-066a-4227-bfcc-011552c85ab3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T194701Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=852b9f814dbcf7875e0c355045a380e501d66901827bff9914a0bf98bc9915ad [2022-10-26T19:47:01.298Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T19:47:01.299Z] Dload Upload Total Spent Left Speed [2022-10-26T19:47:01.557Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10768 0 0 100 10768 0 46214 --:--:-- --:--:-- --:--:-- 46214 [2022-10-26T19:47:01.557Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/dc21a671bfe8654e12e89bfc20c83851c513c8a0 [Pipeline] } [2022-10-26T19:47:01.564Z] 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-10-26T19:47:02.208Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-187/archives ] [2022-10-26T19:47:02.208Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-187/archives [2022-10-26T19:47:02.208Z] total 16 [2022-10-26T19:47:02.208Z] drwxr-xr-x 3 root root 4096 Oct 26 19:33 . [2022-10-26T19:47:02.208Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 19:33 .. [2022-10-26T19:47:02.208Z] drwxr-xr-x 2 root root 4096 Oct 26 19:33 cost [2022-10-26T19:47:02.208Z] -rw-r--r-- 1 root root 91 Oct 26 19:33 cost.csv [2022-10-26T19:47:02.208Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-187/archives [2022-10-26T19:47:02.208Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-187/archives [2022-10-26T19:47:02.208Z] total 16 [2022-10-26T19:47:02.208Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 19:33 . [2022-10-26T19:47:02.208Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 19:33 .. [2022-10-26T19:47:02.208Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 19:33 cost [2022-10-26T19:47:02.208Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 26 19:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:47:02.498Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:47:03.363Z] ---> package-listing.sh [2022-10-26T19:47:03.363Z] ++ facter osfamily [2022-10-26T19:47:03.363Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T19:47:03.622Z] + OS_FAMILY=debian [2022-10-26T19:47:03.622Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-187 [2022-10-26T19:47:03.622Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T19:47:03.622Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T19:47:03.622Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T19:47:03.622Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T19:47:03.622Z] + '[' /w/workspace/undry_device-onvif-camera_PR-187 ']' [2022-10-26T19:47:03.622Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T19:47:03.622Z] + case "${OS_FAMILY}" in [2022-10-26T19:47:03.622Z] + dpkg -l [2022-10-26T19:47:03.622Z] + grep '^ii' [2022-10-26T19:47:03.622Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T19:47:03.622Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T19:47:03.622Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T19:47:03.622Z] + '[' /w/workspace/undry_device-onvif-camera_PR-187 ']' [2022-10-26T19:47:03.622Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-187/archives/ [2022-10-26T19:47:03.622Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-187/archives/ [Pipeline] echo [2022-10-26T19:47:03.632Z] 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-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T19:47:03.967Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:47:04.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:47:04.525Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:47:04.600Z] prd-ubuntu20.04-docker-8c-8g-117251 does not seem to be running inside a container [2022-10-26T19:47:04.651Z] $ 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-187/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-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T19:47:04.889Z] $ docker top cfd72ebc18467b8be4750c71a90c73babaa5a90b1dbe1a39f198c8430ae84e0a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:47:05.215Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T19:47:05.499Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T19:47:05.781Z] + ls /var/log/sa-host [2022-10-26T19:47:05.782Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:47:05.876Z] provisioning config files... [2022-10-26T19:47:05.883Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config11705791576258567718tmp [Pipeline] { [Pipeline] echo [2022-10-26T19:47:05.898Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:47:06.177Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T19:47:06.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:47:06.509Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T19:47:06.517Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:47:06.799Z] ---> sudo-logs.sh [2022-10-26T19:47:06.799Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T19:47:06.821Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:47:07.098Z] ---> job-cost.sh [2022-10-26T19:47:07.098Z] lf-activate-venv: SKIPPING [2022-10-26T19:47:07.098Z] DEBUG: total: 0.2199999988079071 [2022-10-26T19:47:07.098Z] INFO: Retrieving Stack Cost... [2022-10-26T19:47:07.357Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T19:47:07.925Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T19:47:07.936Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:47:08.215Z] ---> logs-deploy.sh [2022-10-26T19:47:08.215Z] lf-activate-venv: SKIPPING [2022-10-26T19:47:08.215Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-187/4 [2022-10-26T19:47:08.215Z] INFO: archiving workspace using pattern(s): [2022-10-26T19:47:09.148Z] Archives upload complete. [2022-10-26T19:47:09.148Z] INFO: archiving logs to Nexus