Branch indexing 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 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-ssh16844674080676944726.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh16596804261718362237.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-125/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-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh994486202225700534.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh6493406304030861801.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-125/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-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4755733128471534661.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-7023 in /w/workspace/undry_device-onvif-camera_PR-125 [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-125 # 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/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 Checking out Revision 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 (PR-125) > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # 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 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 # timeout=10 Commit message: "Merge commit '22d74d2547d10604d43a59f451f2f1d479f6a1f2' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-04T02:13:27.054Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-04T02:13:27.096Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-04T02:13:27.109Z] ========================================================= [2022-10-04T02:13:27.109Z] EdgeX Global Pipelines Version Info [2022-10-04T02:13:27.109Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-04T02:13:27.820Z] ------------------- [2022-10-04T02:13:27.820Z] stable info: [2022-10-04T02:13:27.820Z] ------------------- [2022-10-04T02:13:27.820Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-04T02:13:27.820Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-04T02:13:27.820Z] Message: update stable to v1.0.239 > git rev-list --no-walk ac48df99d62d077e86580b837722976113dedc64 # timeout=10 [2022-10-04T02:13:28.397Z] ------------------- [2022-10-04T02:13:28.397Z] experimental info: [2022-10-04T02:13:28.397Z] ------------------- [2022-10-04T02:13:28.397Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-04T02:13:28.397Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-04T02:13:28.397Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-04T02:13:28.602Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-04T02:13:28.616Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-04T02:13:28.627Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-04T02:13:28.639Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-04T02:13:28.658Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-04T02:13:28.673Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-04T02:13:28.684Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-04T02:13:28.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-04T02:13:28.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-04T02:13:28.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-04T02:13:28.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-04T02:13:28.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-04T02:13:28.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-04T02:13:28.770Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-04T02:13:28.782Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-04T02:13:28.794Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-04T02:13:28.807Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-04T02:13:28.818Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-04T02:13:28.829Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-04T02:13:28.841Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-04T02:13:28.852Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-04T02:13:28.863Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-04T02:13:28.874Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-04T02:13:28.887Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-04T02:13:28.898Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-04T02:13:28.910Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-04T02:13:28.926Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-04T02:13:28.938Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-10-04T02:13:28.945Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-10-04T02:13:28.953Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-10-04T02:13:28.961Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 [Pipeline] echo [2022-10-04T02:13:28.969Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8d41d5f [Pipeline] echo [2022-10-04T02:13:28.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-04T02:13:29.019Z] provisioning config files... [2022-10-04T02:13:29.033Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config10333927974671410779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T02:13:29.339Z] ---> docker-login.sh [2022-10-04T02:13:29.339Z] nexus3.edgexfoundry.org:10001 [2022-10-04T02:13:29.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T02:13:29.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T02:13:29.860Z] Configure a credential helper to remove this warning. See [2022-10-04T02:13:29.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T02:13:29.860Z] [2022-10-04T02:13:29.860Z] Login Succeeded [2022-10-04T02:13:29.860Z] nexus3.edgexfoundry.org:10002 [2022-10-04T02:13:29.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T02:13:29.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T02:13:29.860Z] Configure a credential helper to remove this warning. See [2022-10-04T02:13:29.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T02:13:29.860Z] [2022-10-04T02:13:29.860Z] Login Succeeded [2022-10-04T02:13:29.860Z] nexus3.edgexfoundry.org:10003 [2022-10-04T02:13:30.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T02:13:30.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T02:13:30.120Z] Configure a credential helper to remove this warning. See [2022-10-04T02:13:30.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T02:13:30.120Z] [2022-10-04T02:13:30.120Z] Login Succeeded [2022-10-04T02:13:30.120Z] nexus3.edgexfoundry.org:10004 [2022-10-04T02:13:30.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T02:13:30.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T02:13:30.120Z] Configure a credential helper to remove this warning. See [2022-10-04T02:13:30.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T02:13:30.120Z] [2022-10-04T02:13:30.120Z] Login Succeeded [2022-10-04T02:13:30.120Z] docker.io [2022-10-04T02:13:30.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T02:13:30.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T02:13:30.640Z] Configure a credential helper to remove this warning. See [2022-10-04T02:13:30.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T02:13:30.640Z] [2022-10-04T02:13:30.640Z] Login Succeeded [2022-10-04T02:13:30.640Z] ---> docker-login.sh ends [Pipeline] } [2022-10-04T02:13:30.647Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-04T02:13:31.071Z] + git rev-list -1 --merges 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850~1..8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 [Pipeline] echo [2022-10-04T02:13:31.103Z] -----------> git rev-list -1 --merges 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850~1..8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 [2022-10-04T02:13:31.103Z] 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 [false] [Pipeline] sh [2022-10-04T02:13:31.392Z] + git log --format=format:%s -1 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 [Pipeline] echo [2022-10-04T02:13:31.408Z] ========================================================= [2022-10-04T02:13:31.408Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-04T02:13:31.408Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-04T02:13:31.775Z] + git log --format=format:%s -1 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 [Pipeline] echo [2022-10-04T02:13:31.790Z] [semverPrep] GIT_COMMIT: 8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850, Commit Message: Merge commit '22d74d2547d10604d43a59f451f2f1d479f6a1f2' into HEAD [Pipeline] echo [2022-10-04T02:13:31.800Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-04T02:13:32.172Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-04T02:13:32.172Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-04T02:13:32.172Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-04T02:13:32.172Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-04T02:13:32.172Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-04T02:13:32.172Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-04T02:13:32.172Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T02:13:32.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-04T02:13:32.585Z] [2022-10-04T02:13:32.585Z] 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-04T02:13:32.891Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-04T02:13:32.891Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-04T02:13:32.891Z] b85a868b505f: Pulling fs layer [2022-10-04T02:13:32.891Z] e2be974225ed: Pulling fs layer [2022-10-04T02:13:32.891Z] 339a4e72a1f5: Pulling fs layer [2022-10-04T02:13:32.891Z] 988bab9f4d93: Pulling fs layer [2022-10-04T02:13:32.891Z] 1469e6f7b9e6: Pulling fs layer [2022-10-04T02:13:32.891Z] eaf3925da568: Pulling fs layer [2022-10-04T02:13:32.891Z] bab4dde63d76: Pulling fs layer [2022-10-04T02:13:32.891Z] bde34c3a00c8: Pulling fs layer [2022-10-04T02:13:32.891Z] b352a97aabf1: Pulling fs layer [2022-10-04T02:13:32.891Z] 4872d77fe225: Pulling fs layer [2022-10-04T02:13:32.891Z] 5851b861e8e6: Pulling fs layer [2022-10-04T02:13:32.891Z] 1469e6f7b9e6: Waiting [2022-10-04T02:13:32.891Z] eaf3925da568: Waiting [2022-10-04T02:13:32.891Z] bab4dde63d76: Waiting [2022-10-04T02:13:32.891Z] bde34c3a00c8: Waiting [2022-10-04T02:13:32.891Z] b352a97aabf1: Waiting [2022-10-04T02:13:32.891Z] 4872d77fe225: Waiting [2022-10-04T02:13:32.891Z] 5851b861e8e6: Waiting [2022-10-04T02:13:32.891Z] 988bab9f4d93: Waiting [2022-10-04T02:13:32.892Z] e2be974225ed: Verifying Checksum [2022-10-04T02:13:32.892Z] e2be974225ed: Download complete [2022-10-04T02:13:32.892Z] 988bab9f4d93: Download complete [2022-10-04T02:13:33.153Z] 339a4e72a1f5: Verifying Checksum [2022-10-04T02:13:33.153Z] 339a4e72a1f5: Download complete [2022-10-04T02:13:33.153Z] 1469e6f7b9e6: Verifying Checksum [2022-10-04T02:13:33.153Z] 1469e6f7b9e6: Download complete [2022-10-04T02:13:33.153Z] eaf3925da568: Download complete [2022-10-04T02:13:33.153Z] bde34c3a00c8: Verifying Checksum [2022-10-04T02:13:33.153Z] bde34c3a00c8: Download complete [2022-10-04T02:13:33.153Z] b352a97aabf1: Download complete [2022-10-04T02:13:33.153Z] 4872d77fe225: Verifying Checksum [2022-10-04T02:13:33.153Z] 4872d77fe225: Download complete [2022-10-04T02:13:33.153Z] 5851b861e8e6: Verifying Checksum [2022-10-04T02:13:33.153Z] 5851b861e8e6: Download complete [2022-10-04T02:13:33.153Z] b85a868b505f: Verifying Checksum [2022-10-04T02:13:33.153Z] b85a868b505f: Download complete [2022-10-04T02:13:33.413Z] bab4dde63d76: Verifying Checksum [2022-10-04T02:13:33.413Z] bab4dde63d76: Download complete [2022-10-04T02:13:34.792Z] b85a868b505f: Pull complete [2022-10-04T02:13:34.792Z] e2be974225ed: Pull complete [2022-10-04T02:13:35.363Z] 339a4e72a1f5: Pull complete [2022-10-04T02:13:35.363Z] 988bab9f4d93: Pull complete [2022-10-04T02:13:35.623Z] 1469e6f7b9e6: Pull complete [2022-10-04T02:13:35.623Z] eaf3925da568: Pull complete [2022-10-04T02:13:37.527Z] bab4dde63d76: Pull complete [2022-10-04T02:13:37.527Z] bde34c3a00c8: Pull complete [2022-10-04T02:13:37.786Z] b352a97aabf1: Pull complete [2022-10-04T02:13:37.786Z] 4872d77fe225: Pull complete [2022-10-04T02:13:37.786Z] 5851b861e8e6: Pull complete [2022-10-04T02:13:37.786Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-04T02:13:37.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-04T02:13:37.786Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T02:13:37.871Z] prd-ubuntu20.04-docker-8c-8g-7023 does not seem to be running inside a container [2022-10-04T02:13:37.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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-04T02:13:40.495Z] $ docker top 6199bb8c787f86eae76803e2b46e615ed24a8fc2d638ed9f863751919604cbdd -eo pid,comm [2022-10-04T02:13:40.557Z] 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-04T02:13:40.557Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-04T02:13:40.591Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-04T02:13:40.591Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-04T02:13:40.713Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-04T02:13:40.719Z] $ docker exec 6199bb8c787f86eae76803e2b46e615ed24a8fc2d638ed9f863751919604cbdd ssh-agent [2022-10-04T02:13:40.833Z] SSH_AUTH_SOCK=/tmp/ssh-zXgRbwcPb0S5/agent.32 [2022-10-04T02:13:40.833Z] SSH_AGENT_PID=38 [2022-10-04T02:13:40.841Z] Running ssh-add (command line suppressed) [2022-10-04T02:13:40.949Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4991355089785764589.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4991355089785764589.key) [2022-10-04T02:13:40.959Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-04T02:13:41.253Z] + git tag --points-at HEAD [Pipeline] } [2022-10-04T02:13:41.274Z] $ docker exec --env ******** --env ******** 6199bb8c787f86eae76803e2b46e615ed24a8fc2d638ed9f863751919604cbdd ssh-agent -k [2022-10-04T02:13:41.385Z] unset SSH_AUTH_SOCK; [2022-10-04T02:13:41.385Z] unset SSH_AGENT_PID; [2022-10-04T02:13:41.386Z] echo Agent pid 38 killed; [2022-10-04T02:13:41.395Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-04T02:13:41.424Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-04T02:13:41.424Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-04T02:13:41.531Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-04T02:13:41.537Z] $ docker exec 6199bb8c787f86eae76803e2b46e615ed24a8fc2d638ed9f863751919604cbdd ssh-agent [2022-10-04T02:13:41.657Z] SSH_AUTH_SOCK=/tmp/ssh-FbNYKkcByksR/agent.70 [2022-10-04T02:13:41.657Z] SSH_AGENT_PID=76 [2022-10-04T02:13:41.663Z] Running ssh-add (command line suppressed) [2022-10-04T02:13:41.777Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_7314822792440318415.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_7314822792440318415.key) [2022-10-04T02:13:41.790Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-04T02:13:42.078Z] + git semver init [2022-10-04T02:13:42.338Z] 2022-10-04 02:13:42,271 [run_init] DEBUG init version:0.0.0 force:False [2022-10-04T02:13:42.338Z] 2022-10-04 02:13:42,272 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-10-04T02:13:42.338Z] 2022-10-04 02:13:42,273 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-10-04T02:13:42.338Z] 2022-10-04 02:13:42,273 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) [2022-10-04T02:13:43.277Z] 2022-10-04 02:13:43,268 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-10-04T02:13:43.278Z] 2022-10-04 02:13:43,269 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False [2022-10-04T02:13:43.278Z] 2022-10-04 02:13:43,269 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-10-04T02:13:43.278Z] 2022-10-04 02:13:43,273 [execute] INFO git cat-file --batch-check [2022-10-04T02:13:43.278Z] 2022-10-04 02:13:43,274 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-10-04T02:13:43.537Z] 2022-10-04 02:13:43,281 [execute] INFO git cat-file --batch [2022-10-04T02:13:43.537Z] 2022-10-04 02:13:43,281 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-10-04T02:13:43.537Z] 2022-10-04 02:13:43,288 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-10-04T02:13:43.537Z] 0.0.0 [Pipeline] } [2022-10-04T02:13:43.551Z] $ docker exec --env ******** --env ******** 6199bb8c787f86eae76803e2b46e615ed24a8fc2d638ed9f863751919604cbdd ssh-agent -k [2022-10-04T02:13:43.654Z] unset SSH_AUTH_SOCK; [2022-10-04T02:13:43.655Z] unset SSH_AGENT_PID; [2022-10-04T02:13:43.655Z] echo Agent pid 76 killed; [2022-10-04T02:13:43.664Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-04T02:13:43.961Z] + git semver [Pipeline] } [2022-10-04T02:13:44.234Z] $ docker stop --time=1 6199bb8c787f86eae76803e2b46e615ed24a8fc2d638ed9f863751919604cbdd [2022-10-04T02:13:45.541Z] $ docker rm -f 6199bb8c787f86eae76803e2b46e615ed24a8fc2d638ed9f863751919604cbdd [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-04T02:13:45.884Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-04T02:13:46.066Z] Stashed 1 file(s) [Pipeline] echo [2022-10-04T02:13:46.069Z] [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-04T02:13:46.226Z] provisioning config files... [2022-10-04T02:13:46.236Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config1286813083457471108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T02:13:46.533Z] ---> docker-login.sh [2022-10-04T02:13:46.533Z] nexus3.edgexfoundry.org:10001 [2022-10-04T02:13:46.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T02:13:46.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T02:13:46.533Z] Configure a credential helper to remove this warning. See [2022-10-04T02:13:46.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T02:13:46.533Z] [2022-10-04T02:13:46.533Z] Login Succeeded [2022-10-04T02:13:46.533Z] nexus3.edgexfoundry.org:10002 [2022-10-04T02:13:46.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T02:13:46.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T02:13:46.533Z] Configure a credential helper to remove this warning. See [2022-10-04T02:13:46.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T02:13:46.534Z] [2022-10-04T02:13:46.534Z] Login Succeeded [2022-10-04T02:13:46.534Z] nexus3.edgexfoundry.org:10003 [2022-10-04T02:13:46.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T02:13:46.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T02:13:46.793Z] Configure a credential helper to remove this warning. See [2022-10-04T02:13:46.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T02:13:46.793Z] [2022-10-04T02:13:46.793Z] Login Succeeded [2022-10-04T02:13:46.793Z] nexus3.edgexfoundry.org:10004 [2022-10-04T02:13:46.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T02:13:46.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T02:13:46.793Z] Configure a credential helper to remove this warning. See [2022-10-04T02:13:46.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T02:13:46.793Z] [2022-10-04T02:13:46.793Z] Login Succeeded [2022-10-04T02:13:46.793Z] docker.io [2022-10-04T02:13:47.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T02:13:47.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T02:13:47.312Z] Configure a credential helper to remove this warning. See [2022-10-04T02:13:47.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T02:13:47.312Z] [2022-10-04T02:13:47.312Z] Login Succeeded [2022-10-04T02:13:47.312Z] ---> docker-login.sh ends [Pipeline] } [2022-10-04T02:13:47.322Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-04T02:13:47.384Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T02:13:47.397Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T02:13:47.405Z] ========================================================= [2022-10-04T02:13:47.405Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-04T02:13:47.405Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T02:13:47.716Z] + 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-04T02:13:47.717Z] Sending build context to Docker daemon 20.79MB [2022-10-04T02:13:47.717Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T02:13:47.717Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-04T02:13:47.977Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-04T02:13:47.977Z] 2408cc74d12b: Pulling fs layer [2022-10-04T02:13:47.977Z] ea60b727a1ce: Pulling fs layer [2022-10-04T02:13:47.977Z] 30c4a7721957: Pulling fs layer [2022-10-04T02:13:47.977Z] 370296b7ddb6: Pulling fs layer [2022-10-04T02:13:47.977Z] 7c6cee850709: Pulling fs layer [2022-10-04T02:13:47.977Z] aa9baa53a306: Pulling fs layer [2022-10-04T02:13:47.977Z] 8b309c321861: Pulling fs layer [2022-10-04T02:13:47.977Z] d8d76fd02f46: Pulling fs layer [2022-10-04T02:13:47.977Z] fa31f396de31: Pulling fs layer [2022-10-04T02:13:47.977Z] 8b309c321861: Waiting [2022-10-04T02:13:47.977Z] aa9baa53a306: Waiting [2022-10-04T02:13:47.977Z] 370296b7ddb6: Waiting [2022-10-04T02:13:47.977Z] 7c6cee850709: Waiting [2022-10-04T02:13:47.977Z] d8d76fd02f46: Waiting [2022-10-04T02:13:47.977Z] fa31f396de31: Waiting [2022-10-04T02:13:47.977Z] 30c4a7721957: Verifying Checksum [2022-10-04T02:13:47.977Z] 30c4a7721957: Download complete [2022-10-04T02:13:47.977Z] ea60b727a1ce: Verifying Checksum [2022-10-04T02:13:47.977Z] ea60b727a1ce: Download complete [2022-10-04T02:13:47.977Z] 7c6cee850709: Verifying Checksum [2022-10-04T02:13:47.977Z] 7c6cee850709: Download complete [2022-10-04T02:13:47.977Z] 2408cc74d12b: Verifying Checksum [2022-10-04T02:13:47.977Z] 2408cc74d12b: Download complete [2022-10-04T02:13:47.977Z] 8b309c321861: Download complete [2022-10-04T02:13:48.240Z] 2408cc74d12b: Pull complete [2022-10-04T02:13:48.240Z] ea60b727a1ce: Pull complete [2022-10-04T02:13:48.240Z] 30c4a7721957: Pull complete [2022-10-04T02:13:48.810Z] fa31f396de31: Verifying Checksum [2022-10-04T02:13:48.810Z] fa31f396de31: Download complete [2022-10-04T02:13:48.810Z] 370296b7ddb6: Verifying Checksum [2022-10-04T02:13:48.810Z] 370296b7ddb6: Download complete [2022-10-04T02:13:48.810Z] d8d76fd02f46: Download complete [2022-10-04T02:13:52.993Z] 370296b7ddb6: Pull complete [2022-10-04T02:13:52.993Z] 7c6cee850709: Pull complete [2022-10-04T02:13:52.993Z] aa9baa53a306: Pull complete [2022-10-04T02:13:52.993Z] 8b309c321861: Pull complete [2022-10-04T02:13:54.894Z] d8d76fd02f46: Pull complete [2022-10-04T02:13:55.867Z] fa31f396de31: Pull complete [2022-10-04T02:13:55.867Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-04T02:13:55.867Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-04T02:13:55.867Z] ---> cef68f9685f8 [2022-10-04T02:13:55.867Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-04T02:14:00.144Z] ---> Running in 14cb868c5378 [2022-10-04T02:14:00.144Z] Removing intermediate container 14cb868c5378 [2022-10-04T02:14:00.145Z] ---> c3a0ac317bd1 [2022-10-04T02:14:00.145Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-04T02:14:00.145Z] ---> Running in 9937e907cafe [2022-10-04T02:14:00.405Z] Removing intermediate container 9937e907cafe [2022-10-04T02:14:00.405Z] ---> ca3912bdaccc [2022-10-04T02:14:00.405Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-04T02:14:00.405Z] ---> Running in 6dc6037aac45 [2022-10-04T02:14:00.405Z] Removing intermediate container 6dc6037aac45 [2022-10-04T02:14:00.405Z] ---> dbed813a8d7e [2022-10-04T02:14:00.405Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-04T02:14:00.664Z] ---> Running in 51043781f239 [2022-10-04T02:14:00.664Z] Removing intermediate container 51043781f239 [2022-10-04T02:14:00.664Z] ---> a674b2b27854 [2022-10-04T02:14:00.664Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-04T02:14:00.664Z] ---> Running in 766e49135d71 [2022-10-04T02:14:00.664Z] Removing intermediate container 766e49135d71 [2022-10-04T02:14:00.664Z] ---> e022584d3a0c [2022-10-04T02:14:00.664Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T02:14:00.664Z] ---> Running in a84cf9351876 [2022-10-04T02:14:01.193Z] Still waiting to schedule task [2022-10-04T02:14:01.193Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-04T02:14:01.233Z] Removing intermediate container a84cf9351876 [2022-10-04T02:14:01.233Z] ---> d75ac8e5385f [2022-10-04T02:14:01.233Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-04T02:14:01.233Z] ---> Running in 6aeb7605edf7 [2022-10-04T02:14:01.801Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-04T02:14:02.371Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-04T02:14:02.939Z] OK: 211 MiB in 51 packages [2022-10-04T02:14:03.199Z] Removing intermediate container 6aeb7605edf7 [2022-10-04T02:14:03.199Z] ---> bf484bb342d2 [2022-10-04T02:14:03.199Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-04T02:14:03.199Z] ---> Running in d1963779e9ec [2022-10-04T02:14:03.199Z] Removing intermediate container d1963779e9ec [2022-10-04T02:14:03.199Z] ---> c501a091ccb4 [2022-10-04T02:14:03.199Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-04T02:14:03.458Z] ---> b5fedbda33b9 [2022-10-04T02:14:03.458Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T02:14:03.458Z] ---> Running in 9ec6b5dbb19d [2022-10-04T02:14:30.080Z] Removing intermediate container 9ec6b5dbb19d [2022-10-04T02:14:30.080Z] ---> 52de37279947 [2022-10-04T02:14:30.080Z] Step 13/14 : COPY . . [2022-10-04T02:14:30.650Z] ---> 271f75821576 [2022-10-04T02:14:30.650Z] Step 14/14 : RUN ${MAKE} [2022-10-04T02:14:30.909Z] ---> Running in d8a42e794424 [2022-10-04T02:14:31.169Z] noop [2022-10-04T02:14:31.736Z] Removing intermediate container d8a42e794424 [2022-10-04T02:14:31.736Z] ---> 7b68ea0439a1 [2022-10-04T02:14:31.736Z] Successfully built 7b68ea0439a1 [2022-10-04T02:14:31.736Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T02:14:32.047Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-04T02:14:32.047Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T02:14:32.125Z] prd-ubuntu20.04-docker-8c-8g-7023 does not seem to be running inside a container [2022-10-04T02:14:32.164Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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-04T02:14:32.920Z] $ docker top 5f437b505e904bd4ecaca87f1306c65dbad7eb1fea0a25f7b2ec7bfcb6241a3d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T02:14:33.260Z] + go version [2022-10-04T02:14:33.260Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-04T02:14:33.272Z] $ docker stop --time=1 5f437b505e904bd4ecaca87f1306c65dbad7eb1fea0a25f7b2ec7bfcb6241a3d [2022-10-04T02:14:34.581Z] $ docker rm -f 5f437b505e904bd4ecaca87f1306c65dbad7eb1fea0a25f7b2ec7bfcb6241a3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T02:14:34.973Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-04T02:14:34.973Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T02:14:35.039Z] prd-ubuntu20.04-docker-8c-8g-7023 does not seem to be running inside a container [2022-10-04T02:14:35.070Z] $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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-04T02:14:35.376Z] $ docker top 723456f887253c2cf80964776c96b563fc15f41facd09714a48ca2797c060ea5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T02:14:35.716Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-10-04T02:14:36.008Z] + make test [2022-10-04T02:14:36.008Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-04T02:14:36.267Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-04T02:14:48.754Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-04T02:14:49.012Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.043s coverage: 28.2% of statements [2022-10-04T02:14:49.012Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-04T02:14:49.012Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.328s coverage: 86.5% of statements [2022-10-04T02:14:57.120Z] 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-04T02:14:57.120Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-04T02:15:00.724Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-04T02:15:00.724Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-04T02:15:00.724Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-04T02:15:00.995Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-04T02:15:01.010Z] $ docker stop --time=1 723456f887253c2cf80964776c96b563fc15f41facd09714a48ca2797c060ea5 [2022-10-04T02:15:03.752Z] $ docker rm -f 723456f887253c2cf80964776c96b563fc15f41facd09714a48ca2797c060ea5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-04T02:15:04.196Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-04T02:15:04.247Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-04T02:15:04.732Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-04T02:15:05.020Z] + ls -al . [2022-10-04T02:15:05.020Z] total 236 [2022-10-04T02:15:05.020Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 02:14 . [2022-10-04T02:15:05.020Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 02:13 .. [2022-10-04T02:15:05.020Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 02:14 .git [2022-10-04T02:15:05.020Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:13 .github [2022-10-04T02:15:05.020Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 4 02:13 .gitignore [2022-10-04T02:15:05.020Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 02:13 .golangci.yml [2022-10-04T02:15:05.020Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 02:13 .semver [2022-10-04T02:15:05.020Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 4 02:13 Attribution.txt [2022-10-04T02:15:05.020Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 4 02:13 CHANGELOG.md [2022-10-04T02:15:05.020Z] -rw-rw-r-- 1 jenkins jenkins 1799 Oct 4 02:13 Dockerfile [2022-10-04T02:15:05.020Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 02:13 GOVERNANCE.md [2022-10-04T02:15:05.020Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 4 02:13 Jenkinsfile [2022-10-04T02:15:05.020Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 4 02:13 LICENSE [2022-10-04T02:15:05.020Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 4 02:13 Makefile [2022-10-04T02:15:05.020Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 4 02:13 OWNERS.md [2022-10-04T02:15:05.020Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 4 02:13 README.md [2022-10-04T02:15:05.020Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 02:13 VERSION [2022-10-04T02:15:05.020Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 02:13 bin [2022-10-04T02:15:05.020Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:13 cmd [2022-10-04T02:15:05.020Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 4 02:14 coverage.out [2022-10-04T02:15:05.020Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 02:13 doc [2022-10-04T02:15:05.020Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 4 02:13 go.mod [2022-10-04T02:15:05.020Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 4 02:13 go.sum [2022-10-04T02:15:05.020Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 02:13 internal [2022-10-04T02:15:05.020Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 02:13 snap [2022-10-04T02:15:05.020Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 4 02:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T02:15:05.329Z] + 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=8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 --label arch=amd64 --label version=0.0.0 . [2022-10-04T02:15:05.329Z] Sending build context to Docker daemon 20.87MB [2022-10-04T02:15:05.329Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T02:15:05.329Z] Step 2/28 : FROM ${BASE} AS builder [2022-10-04T02:15:05.329Z] ---> 7b68ea0439a1 [2022-10-04T02:15:05.329Z] Step 3/28 : ARG ADD_BUILD_TAGS="" [2022-10-04T02:15:05.588Z] ---> Running in 41d0708b9bd1 [2022-10-04T02:15:05.846Z] Removing intermediate container 41d0708b9bd1 [2022-10-04T02:15:05.846Z] ---> d6332d920e93 [2022-10-04T02:15:05.846Z] Step 4/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-04T02:15:05.846Z] ---> Running in f9f70e05f43c [2022-10-04T02:15:05.846Z] Removing intermediate container f9f70e05f43c [2022-10-04T02:15:05.846Z] ---> 13cd849a6c88 [2022-10-04T02:15:05.846Z] Step 5/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-04T02:15:05.846Z] ---> Running in 5f625683bf27 [2022-10-04T02:15:05.846Z] Removing intermediate container 5f625683bf27 [2022-10-04T02:15:05.846Z] ---> 8ddb9940be13 [2022-10-04T02:15:05.846Z] Step 6/28 : ARG ALPINE_PKG_EXTRA="" [2022-10-04T02:15:06.105Z] ---> Running in c0139686f536 [2022-10-04T02:15:06.105Z] Removing intermediate container c0139686f536 [2022-10-04T02:15:06.105Z] ---> dcac81c29fd1 [2022-10-04T02:15:06.105Z] Step 7/28 : LABEL Name=edgex-device-onvif-camera [2022-10-04T02:15:06.105Z] ---> Running in cf6ddcaedc8b [2022-10-04T02:15:06.105Z] Removing intermediate container cf6ddcaedc8b [2022-10-04T02:15:06.105Z] ---> daffe9e17ebd [2022-10-04T02:15:06.105Z] Step 8/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T02:15:06.367Z] ---> Running in 04bdfe19b6cc [2022-10-04T02:15:06.933Z] Removing intermediate container 04bdfe19b6cc [2022-10-04T02:15:06.933Z] ---> 7601c4d2b63f [2022-10-04T02:15:06.933Z] Step 9/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-04T02:15:06.933Z] ---> Running in 5327b2709236 [2022-10-04T02:15:07.191Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-04T02:15:08.128Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-04T02:15:08.386Z] OK: 211 MiB in 51 packages [2022-10-04T02:15:08.645Z] Removing intermediate container 5327b2709236 [2022-10-04T02:15:08.645Z] ---> e5a7ca92e1ce [2022-10-04T02:15:08.645Z] Step 10/28 : WORKDIR /device-onvif-camera [2022-10-04T02:15:08.645Z] ---> Running in 9e49848d24de [2022-10-04T02:15:08.645Z] Removing intermediate container 9e49848d24de [2022-10-04T02:15:08.645Z] ---> 1ed2798ee4de [2022-10-04T02:15:08.645Z] Step 11/28 : COPY go.mod vendor* ./ [2022-10-04T02:15:08.903Z] ---> 208ad81ffcd8 [2022-10-04T02:15:08.904Z] Step 12/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T02:15:08.904Z] ---> Running in d22a918034df [2022-10-04T02:15:09.628Z] Removing intermediate container d22a918034df [2022-10-04T02:15:09.628Z] ---> f6f103a1c20b [2022-10-04T02:15:09.628Z] Step 13/28 : COPY . . [2022-10-04T02:15:10.197Z] ---> 1f685eceadd0 [2022-10-04T02:15:10.197Z] Step 14/28 : RUN ${MAKE} [2022-10-04T02:15:10.197Z] ---> Running in c042adf90ea3 [2022-10-04T02:15:10.457Z] 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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-04T02:15:37.367Z] Removing intermediate container c042adf90ea3 [2022-10-04T02:15:37.367Z] ---> d6fcf65ea2e4 [2022-10-04T02:15:37.367Z] Step 15/28 : FROM alpine:3.16 [2022-10-04T02:15:37.367Z] 3.16: Pulling from library/alpine [2022-10-04T02:15:37.367Z] 213ec9aee27d: Pulling fs layer [2022-10-04T02:15:37.367Z] 213ec9aee27d: Verifying Checksum [2022-10-04T02:15:37.367Z] 213ec9aee27d: Download complete [2022-10-04T02:15:37.367Z] 213ec9aee27d: Pull complete [2022-10-04T02:15:37.367Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-04T02:15:37.367Z] Status: Downloaded newer image for alpine:3.16 [2022-10-04T02:15:37.367Z] ---> 9c6f07244728 [2022-10-04T02:15:37.367Z] Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-04T02:15:37.367Z] ---> Running in c4ab347aab84 [2022-10-04T02:15:37.367Z] Removing intermediate container c4ab347aab84 [2022-10-04T02:15:37.367Z] ---> c11255b3a009 [2022-10-04T02:15:37.367Z] Step 17/28 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-10-04T02:15:37.367Z] ---> Running in 9ad3aec9bb3d [2022-10-04T02:15:37.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-04T02:15:37.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-04T02:15:37.367Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-04T02:15:37.367Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-04T02:15:37.367Z] (3/21) Installing readline (8.1.2-r0) [2022-10-04T02:15:37.367Z] (4/21) Installing bash (5.1.16-r2) [2022-10-04T02:15:37.367Z] Executing bash-5.1.16-r2.post-install [2022-10-04T02:15:37.367Z] (5/21) Installing ca-certificates (20220614-r0) [2022-10-04T02:15:37.367Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-10-04T02:15:37.367Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-10-04T02:15:37.367Z] (8/21) Installing libcurl (7.83.1-r3) [2022-10-04T02:15:37.367Z] (9/21) Installing curl (7.83.1-r3) [2022-10-04T02:15:37.367Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-10-04T02:15:37.367Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-10-04T02:15:37.367Z] (12/21) Installing jq (1.6-r1) [2022-10-04T02:15:37.367Z] (13/21) Installing popt (1.18-r0) [2022-10-04T02:15:37.367Z] (14/21) Installing pcre (8.45-r2) [2022-10-04T02:15:37.367Z] (15/21) Installing slang (2.3.2-r0) [2022-10-04T02:15:37.367Z] (16/21) Installing newt (0.52.21-r2) [2022-10-04T02:15:37.367Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-10-04T02:15:37.367Z] (18/21) Installing libsodium (1.0.18-r0) [2022-10-04T02:15:37.367Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-04T02:15:37.367Z] (20/21) Installing libzmq (4.3.4-r0) [2022-10-04T02:15:37.367Z] (21/21) Installing zeromq (4.3.4-r0) [2022-10-04T02:15:37.367Z] Executing busybox-1.35.0-r17.trigger [2022-10-04T02:15:37.367Z] Executing ca-certificates-20220614-r0.trigger [2022-10-04T02:15:37.367Z] OK: 17 MiB in 35 packages [2022-10-04T02:15:37.367Z] Removing intermediate container 9ad3aec9bb3d [2022-10-04T02:15:37.367Z] ---> aad3f4289326 [2022-10-04T02:15:37.367Z] Step 18/28 : WORKDIR / [2022-10-04T02:15:37.367Z] ---> Running in fa0c388f2389 [2022-10-04T02:15:37.367Z] Removing intermediate container fa0c388f2389 [2022-10-04T02:15:37.367Z] ---> ebbde5d499d1 [2022-10-04T02:15:37.367Z] Step 19/28 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-04T02:15:37.936Z] ---> 5cd253483421 [2022-10-04T02:15:37.936Z] Step 20/28 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-04T02:15:37.936Z] ---> 1d14bb09d28f [2022-10-04T02:15:37.936Z] Step 21/28 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-04T02:15:38.212Z] ---> 1e86d93030d4 [2022-10-04T02:15:38.212Z] Step 22/28 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-10-04T02:15:38.212Z] ---> 5b59288311d0 [2022-10-04T02:15:38.212Z] Step 23/28 : EXPOSE 59984 [2022-10-04T02:15:38.212Z] ---> Running in 07a6d6ef5180 [2022-10-04T02:15:38.212Z] Removing intermediate container 07a6d6ef5180 [2022-10-04T02:15:38.212Z] ---> 5f72474ee12c [2022-10-04T02:15:38.212Z] Step 24/28 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-04T02:15:38.471Z] ---> Running in f5b41d71c932 [2022-10-04T02:15:38.471Z] Removing intermediate container f5b41d71c932 [2022-10-04T02:15:38.471Z] ---> 60ae4d06dc5b [2022-10-04T02:15:38.471Z] Step 25/28 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-04T02:15:38.471Z] ---> Running in 44b0c36b8626 [2022-10-04T02:15:38.471Z] Removing intermediate container 44b0c36b8626 [2022-10-04T02:15:38.471Z] ---> 44eed801d7f3 [2022-10-04T02:15:38.471Z] Step 26/28 : LABEL arch=amd64 [2022-10-04T02:15:38.471Z] ---> Running in 05dbbf06a0b6 [2022-10-04T02:15:38.730Z] Removing intermediate container 05dbbf06a0b6 [2022-10-04T02:15:38.730Z] ---> dfc45b7bd787 [2022-10-04T02:15:38.730Z] Step 27/28 : LABEL git_sha=8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 [2022-10-04T02:15:38.730Z] ---> Running in 244b844875f8 [2022-10-04T02:15:38.730Z] Removing intermediate container 244b844875f8 [2022-10-04T02:15:38.730Z] ---> 91357c9a373d [2022-10-04T02:15:38.730Z] Step 28/28 : LABEL version=0.0.0 [2022-10-04T02:15:38.730Z] ---> Running in 20e9891b805c [2022-10-04T02:15:38.988Z] Removing intermediate container 20e9891b805c [2022-10-04T02:15:38.988Z] ---> 0fb904aae709 [2022-10-04T02:15:38.988Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-04T02:15:38.988Z] Successfully built 0fb904aae709 [2022-10-04T02:15:38.988Z] 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-04T02:15:39.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T02:15:39.404Z] [2022-10-04T02:15:39.404Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T02:15:39.700Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T02:15:39.700Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-04T02:15:39.700Z] 5eb5b503b376: Pulling fs layer [2022-10-04T02:15:39.700Z] 5c69ac0246d0: Pulling fs layer [2022-10-04T02:15:39.700Z] ec43610c2a17: Pulling fs layer [2022-10-04T02:15:39.700Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-04T02:15:39.700Z] 33b1e0a273af: Pulling fs layer [2022-10-04T02:15:39.700Z] 5d3b04190fa2: Pulling fs layer [2022-10-04T02:15:39.700Z] 2f39f015ded8: Pulling fs layer [2022-10-04T02:15:39.700Z] 33b1e0a273af: Waiting [2022-10-04T02:15:39.700Z] 5d3b04190fa2: Waiting [2022-10-04T02:15:39.700Z] 2f39f015ded8: Waiting [2022-10-04T02:15:39.700Z] 3a2ae6a8a46f: Waiting [2022-10-04T02:15:39.700Z] 5c69ac0246d0: Download complete [2022-10-04T02:15:39.700Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-04T02:15:39.700Z] 3a2ae6a8a46f: Download complete [2022-10-04T02:15:39.959Z] 33b1e0a273af: Verifying Checksum [2022-10-04T02:15:39.959Z] 33b1e0a273af: Download complete [2022-10-04T02:15:39.959Z] ec43610c2a17: Verifying Checksum [2022-10-04T02:15:39.959Z] ec43610c2a17: Download complete [2022-10-04T02:15:39.959Z] 5d3b04190fa2: Verifying Checksum [2022-10-04T02:15:39.959Z] 5d3b04190fa2: Download complete [2022-10-04T02:15:39.959Z] 5eb5b503b376: Verifying Checksum [2022-10-04T02:15:39.959Z] 5eb5b503b376: Download complete [2022-10-04T02:15:40.525Z] 2f39f015ded8: Download complete [2022-10-04T02:15:41.092Z] 5eb5b503b376: Pull complete [2022-10-04T02:15:41.351Z] 5c69ac0246d0: Pull complete [2022-10-04T02:15:41.917Z] ec43610c2a17: Pull complete [2022-10-04T02:15:41.917Z] 3a2ae6a8a46f: Pull complete [2022-10-04T02:15:42.175Z] 33b1e0a273af: Pull complete [2022-10-04T02:15:42.434Z] 5d3b04190fa2: Pull complete [2022-10-04T02:15:46.620Z] 2f39f015ded8: Pull complete [2022-10-04T02:15:46.620Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-04T02:15:46.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T02:15:46.620Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T02:15:46.687Z] prd-ubuntu20.04-docker-8c-8g-7023 does not seem to be running inside a container [2022-10-04T02:15:46.721Z] $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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-04T02:15:51.256Z] $ docker top e2edbaae76443f2fdb55da2ba9fdf5ea9f50597a1dc704189f67f5dc9d69319e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T02:15:51.649Z] ---> job-cost.sh [2022-10-04T02:15:51.649Z] lf-activate-venv: SKIPPING [2022-10-04T02:15:51.649Z] INFO: No Stack... [2022-10-04T02:15:51.909Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-04T02:15:52.477Z] INFO: Archiving Costs [Pipeline] sh [2022-10-04T02:15:52.765Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-10-04T02:15:52.765Z] + cut -d, -f6 [Pipeline] lock [2022-10-04T02:15:52.779Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-18-stack-cost] [2022-10-04T02:15:52.787Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-18-stack-cost] did not exist. Created. [2022-10-04T02:15:52.787Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-04T02:15:53.103Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-04T02:15:53.127Z] Stashed 1 file(s) [Pipeline] } [2022-10-04T02:15:53.133Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-04T02:15:53.153Z] $ docker stop --time=1 e2edbaae76443f2fdb55da2ba9fdf5ea9f50597a1dc704189f67f5dc9d69319e [2022-10-04T02:15:54.375Z] $ docker rm -f e2edbaae76443f2fdb55da2ba9fdf5ea9f50597a1dc704189f67f5dc9d69319e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-04T02:18:39.805Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7024 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-10-04T02:18:39.817Z] Running in /w/workspace/device-onvif-camera/18 [Pipeline] { [Pipeline] checkout [2022-10-04T02:18:39.855Z] The recommended git tool is: git [2022-10-04T02:18:44.863Z] using credential edgex-jenkins-ssh [2022-10-04T02:18:44.884Z] Cloning the remote Git repository [2022-10-04T02:18:44.927Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-04T02:18:45.011Z] > git init /w/workspace/device-onvif-camera/18 # timeout=10 [2022-10-04T02:18:45.174Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-04T02:18:45.175Z] > git --version # timeout=10 [2022-10-04T02:18:45.192Z] > git --version # 'git version 2.25.1' [2022-10-04T02:18:45.194Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-04T02:18:45.242Z] Verifying host key using known hosts file [2022-10-04T02:18:45.432Z] 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-04T02:18:45.444Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-04T02:18:46.677Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-04T02:18:46.701Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-04T02:18:48.252Z] Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-10-04T02:18:47.568Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-04T02:18:47.617Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-04T02:18:47.618Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-04T02:18:47.624Z] Verifying host key using known hosts file [2022-10-04T02:18:47.631Z] 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-04T02:18:47.642Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-04T02:18:48.267Z] > git config core.sparsecheckout # timeout=10 [2022-10-04T02:18:48.295Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-10-04T02:18:48.524Z] > git remote # timeout=10 [2022-10-04T02:18:48.556Z] > git config --get remote.origin.url # timeout=10 [2022-10-04T02:18:48.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-04T02:18:48.575Z] Verifying host key using known hosts file [2022-10-04T02:18:48.579Z] 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-04T02:18:48.589Z] > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 [2022-10-04T02:18:49.048Z] Merge succeeded, producing 89e5d6900a6dbc2cb88b7befb9a63728dacdb8c8 [2022-10-04T02:18:49.048Z] Checking out Revision 89e5d6900a6dbc2cb88b7befb9a63728dacdb8c8 (PR-125) [2022-10-04T02:18:49.021Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-04T02:18:49.053Z] > git config core.sparsecheckout # timeout=10 [2022-10-04T02:18:49.069Z] > git checkout -f 89e5d6900a6dbc2cb88b7befb9a63728dacdb8c8 # timeout=10 [2022-10-04T02:18:52.737Z] Commit message: "Merge commit '22d74d2547d10604d43a59f451f2f1d479f6a1f2' into HEAD" [2022-10-04T02:18:52.767Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-04T02:18:52.744Z] > git rev-list --no-walk ac48df99d62d077e86580b837722976113dedc64 # timeout=10 [2022-10-04T02:18:53.566Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-04T02:18:53.566Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-04T02:18:53.566Z] Dload Upload Total Spent Left Speed [2022-10-04T02:18:53.566Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 64625 0 --:--:-- --:--:-- --:--:-- 64625 [Pipeline] sh [2022-10-04T02:18:54.323Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-04T02:18:54.639Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-04T02:18:54.639Z] + sudo tee /etc/docker/daemon.new [2022-10-04T02:18:54.639Z] { [2022-10-04T02:18:54.639Z] "registry-mirrors": [ [2022-10-04T02:18:54.639Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-04T02:18:54.639Z] ], [2022-10-04T02:18:54.639Z] "bip": "10.250.0.254/24", [2022-10-04T02:18:54.639Z] "hosts": [ [2022-10-04T02:18:54.639Z] "tcp://0.0.0.0:5555", [2022-10-04T02:18:54.639Z] "unix:///var/run/docker.sock" [2022-10-04T02:18:54.639Z] ], [2022-10-04T02:18:54.639Z] "mtu": 1458, [2022-10-04T02:18:54.639Z] "selinux-enabled": true, [2022-10-04T02:18:54.639Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-04T02:18:54.639Z] } [Pipeline] sh [2022-10-04T02:18:54.957Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-04T02:18:55.285Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-04T02:19:13.550Z] provisioning config files... [2022-10-04T02:19:13.577Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/18@tmp/config2843981001766905584tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T02:19:13.920Z] ---> docker-login.sh [2022-10-04T02:19:13.920Z] nexus3.edgexfoundry.org:10001 [2022-10-04T02:19:14.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T02:19:14.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T02:19:14.459Z] Configure a credential helper to remove this warning. See [2022-10-04T02:19:14.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T02:19:14.459Z] [2022-10-04T02:19:14.459Z] Login Succeeded [2022-10-04T02:19:14.730Z] nexus3.edgexfoundry.org:10002 [2022-10-04T02:19:14.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T02:19:15.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T02:19:15.002Z] Configure a credential helper to remove this warning. See [2022-10-04T02:19:15.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T02:19:15.002Z] [2022-10-04T02:19:15.002Z] Login Succeeded [2022-10-04T02:19:15.002Z] nexus3.edgexfoundry.org:10003 [2022-10-04T02:19:15.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T02:19:15.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T02:19:15.271Z] Configure a credential helper to remove this warning. See [2022-10-04T02:19:15.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T02:19:15.271Z] [2022-10-04T02:19:15.271Z] Login Succeeded [2022-10-04T02:19:15.271Z] nexus3.edgexfoundry.org:10004 [2022-10-04T02:19:15.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T02:19:15.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T02:19:15.539Z] Configure a credential helper to remove this warning. See [2022-10-04T02:19:15.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T02:19:15.539Z] [2022-10-04T02:19:15.539Z] Login Succeeded [2022-10-04T02:19:15.539Z] docker.io [2022-10-04T02:19:15.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-04T02:19:16.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-04T02:19:16.077Z] Configure a credential helper to remove this warning. See [2022-10-04T02:19:16.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-04T02:19:16.077Z] [2022-10-04T02:19:16.077Z] Login Succeeded [2022-10-04T02:19:16.345Z] ---> docker-login.sh ends [Pipeline] } [2022-10-04T02:19:16.358Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-04T02:19:16.518Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T02:19:16.528Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-04T02:19:16.536Z] ========================================================= [2022-10-04T02:19:16.536Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-04T02:19:16.536Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T02:19:16.876Z] + 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-04T02:19:17.154Z] Sending build context to Docker daemon 14.21MB [2022-10-04T02:19:17.419Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T02:19:17.419Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-04T02:19:17.419Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-04T02:19:17.419Z] b3c136eddcbf: Pulling fs layer [2022-10-04T02:19:17.419Z] c0a3192eca97: Pulling fs layer [2022-10-04T02:19:17.419Z] a050256f5b6f: Pulling fs layer [2022-10-04T02:19:17.419Z] 656be50a0ddc: Pulling fs layer [2022-10-04T02:19:17.419Z] 2bbca73fdf42: Pulling fs layer [2022-10-04T02:19:17.419Z] f607e4fc86c3: Pulling fs layer [2022-10-04T02:19:17.419Z] 4d572c569a2c: Pulling fs layer [2022-10-04T02:19:17.419Z] fcf976331f73: Pulling fs layer [2022-10-04T02:19:17.419Z] f607e4fc86c3: Waiting [2022-10-04T02:19:17.419Z] 656be50a0ddc: Waiting [2022-10-04T02:19:17.419Z] 2bbca73fdf42: Waiting [2022-10-04T02:19:17.419Z] fcf976331f73: Waiting [2022-10-04T02:19:17.419Z] 4d572c569a2c: Waiting [2022-10-04T02:19:17.419Z] a050256f5b6f: Verifying Checksum [2022-10-04T02:19:17.419Z] a050256f5b6f: Download complete [2022-10-04T02:19:17.419Z] c0a3192eca97: Verifying Checksum [2022-10-04T02:19:17.419Z] c0a3192eca97: Download complete [2022-10-04T02:19:17.419Z] 2bbca73fdf42: Verifying Checksum [2022-10-04T02:19:17.419Z] 2bbca73fdf42: Download complete [2022-10-04T02:19:17.419Z] f607e4fc86c3: Verifying Checksum [2022-10-04T02:19:17.419Z] f607e4fc86c3: Download complete [2022-10-04T02:19:17.688Z] b3c136eddcbf: Verifying Checksum [2022-10-04T02:19:18.277Z] b3c136eddcbf: Pull complete [2022-10-04T02:19:18.544Z] fcf976331f73: Verifying Checksum [2022-10-04T02:19:18.544Z] fcf976331f73: Download complete [2022-10-04T02:19:18.812Z] c0a3192eca97: Pull complete [2022-10-04T02:19:19.079Z] a050256f5b6f: Pull complete [2022-10-04T02:19:19.668Z] 4d572c569a2c: Verifying Checksum [2022-10-04T02:19:19.668Z] 4d572c569a2c: Download complete [2022-10-04T02:19:20.256Z] 656be50a0ddc: Verifying Checksum [2022-10-04T02:19:20.256Z] 656be50a0ddc: Download complete [2022-10-04T02:19:32.592Z] 656be50a0ddc: Pull complete [2022-10-04T02:19:32.592Z] 2bbca73fdf42: Pull complete [2022-10-04T02:19:32.592Z] f607e4fc86c3: Pull complete [2022-10-04T02:19:37.943Z] 4d572c569a2c: Pull complete [2022-10-04T02:19:38.909Z] fcf976331f73: Pull complete [2022-10-04T02:19:38.909Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-04T02:19:38.909Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-04T02:19:38.909Z] ---> 3970a7415f9e [2022-10-04T02:19:38.909Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-04T02:19:40.858Z] ---> Running in 25e103da3273 [2022-10-04T02:19:41.127Z] Removing intermediate container 25e103da3273 [2022-10-04T02:19:41.127Z] ---> f755796ee597 [2022-10-04T02:19:41.127Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-04T02:19:41.127Z] ---> Running in 73c842aaef9c [2022-10-04T02:19:41.396Z] Removing intermediate container 73c842aaef9c [2022-10-04T02:19:41.396Z] ---> f73caa27d0f5 [2022-10-04T02:19:41.396Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-04T02:19:41.663Z] ---> Running in e7578b747cd5 [2022-10-04T02:19:41.929Z] Removing intermediate container e7578b747cd5 [2022-10-04T02:19:41.929Z] ---> dfdfa8cb9d91 [2022-10-04T02:19:41.929Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-04T02:19:41.929Z] ---> Running in 51a19db70780 [2022-10-04T02:19:42.195Z] Removing intermediate container 51a19db70780 [2022-10-04T02:19:42.195Z] ---> eb9952655fbf [2022-10-04T02:19:42.195Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-04T02:19:42.195Z] ---> Running in ce28d38b6e20 [2022-10-04T02:19:42.779Z] Removing intermediate container ce28d38b6e20 [2022-10-04T02:19:42.779Z] ---> 0fbba0b51068 [2022-10-04T02:19:42.779Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T02:19:42.779Z] ---> Running in e5bf5b367b8a [2022-10-04T02:19:44.716Z] Removing intermediate container e5bf5b367b8a [2022-10-04T02:19:44.716Z] ---> ce2775caba05 [2022-10-04T02:19:44.716Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-04T02:19:44.716Z] ---> Running in bb7576b5d1e5 [2022-10-04T02:19:45.296Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-04T02:19:46.255Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-04T02:19:47.217Z] OK: 221 MiB in 51 packages [2022-10-04T02:19:48.175Z] Removing intermediate container bb7576b5d1e5 [2022-10-04T02:19:48.175Z] ---> 80beb5e934c0 [2022-10-04T02:19:48.175Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-04T02:19:48.175Z] ---> Running in af75d29f6223 [2022-10-04T02:19:48.442Z] Removing intermediate container af75d29f6223 [2022-10-04T02:19:48.442Z] ---> 4e056881719f [2022-10-04T02:19:48.442Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-04T02:19:49.024Z] ---> f8ffcddd643e [2022-10-04T02:19:49.024Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T02:19:49.024Z] ---> Running in 5dbfbf60ce1a [2022-10-04T02:20:45.451Z] Removing intermediate container 5dbfbf60ce1a [2022-10-04T02:20:45.451Z] ---> 2d780d0e80e1 [2022-10-04T02:20:45.451Z] Step 13/14 : COPY . . [2022-10-04T02:20:45.451Z] ---> 40ad0d5b506a [2022-10-04T02:20:45.451Z] Step 14/14 : RUN ${MAKE} [2022-10-04T02:20:45.451Z] ---> Running in 2c016824129f [2022-10-04T02:20:45.451Z] noop [2022-10-04T02:20:45.451Z] Removing intermediate container 2c016824129f [2022-10-04T02:20:45.451Z] ---> db5652c1f01e [2022-10-04T02:20:45.451Z] Successfully built db5652c1f01e [2022-10-04T02:20:45.451Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T02:20:45.805Z] + docker inspect -f . ci-base-image-arm64 [2022-10-04T02:20:45.805Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T02:20:45.988Z] prd-ubuntu20.04-docker-arm64-4c-16g-7024 does not seem to be running inside a container [2022-10-04T02:20:46.056Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@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-04T02:20:47.273Z] $ docker top ecbe94d7eebf4016b1288a5e6cf69760a0ccb1118b3cfa587e170549a4039bc4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T02:20:48.112Z] + go version [2022-10-04T02:20:48.113Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-04T02:20:48.135Z] $ docker stop --time=1 ecbe94d7eebf4016b1288a5e6cf69760a0ccb1118b3cfa587e170549a4039bc4 [2022-10-04T02:20:49.761Z] $ docker rm -f ecbe94d7eebf4016b1288a5e6cf69760a0ccb1118b3cfa587e170549a4039bc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T02:20:50.314Z] + docker inspect -f . ci-base-image-arm64 [2022-10-04T02:20:50.315Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T02:20:50.493Z] prd-ubuntu20.04-docker-arm64-4c-16g-7024 does not seem to be running inside a container [2022-10-04T02:20:50.565Z] $ 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/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@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-04T02:20:51.788Z] $ docker top 55ce1659471f0385b11004619d5597994efd8a86fd06667b84e15905f48dcac9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T02:20:52.618Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/18 [Pipeline] fileExists [Pipeline] sh [2022-10-04T02:20:52.955Z] + make test [2022-10-04T02:20:53.225Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-04T02:20:55.181Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-04T02:22:31.891Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-04T02:22:32.476Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.207s coverage: 28.2% of statements [2022-10-04T02:22:32.476Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-04T02:22:50.721Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.370s coverage: 86.5% of statements [2022-10-04T02:22:50.721Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-04T02:22:50.721Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-04T02:23:22.957Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-04T02:23:22.957Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-04T02:23:22.957Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-04T02:23:22.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-04T02:23:22.997Z] $ docker stop --time=1 55ce1659471f0385b11004619d5597994efd8a86fd06667b84e15905f48dcac9 [2022-10-04T02:23:25.061Z] $ docker rm -f 55ce1659471f0385b11004619d5597994efd8a86fd06667b84e15905f48dcac9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-04T02:23:26.120Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-04T02:23:26.143Z] Warning: overwriting stash ‘coverage-report’ [2022-10-04T02:23:26.808Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-04T02:23:27.220Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-04T02:23:27.545Z] + ls -al . [2022-10-04T02:23:27.545Z] total 232 [2022-10-04T02:23:27.545Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 02:20 . [2022-10-04T02:23:27.545Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 02:18 .. [2022-10-04T02:23:27.545Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 02:18 .git [2022-10-04T02:23:27.545Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:18 .github [2022-10-04T02:23:27.545Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 4 02:18 .gitignore [2022-10-04T02:23:27.545Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 02:18 .golangci.yml [2022-10-04T02:23:27.545Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 4 02:18 Attribution.txt [2022-10-04T02:23:27.545Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 4 02:18 CHANGELOG.md [2022-10-04T02:23:27.545Z] -rw-rw-r-- 1 jenkins jenkins 1799 Oct 4 02:18 Dockerfile [2022-10-04T02:23:27.545Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 02:18 GOVERNANCE.md [2022-10-04T02:23:27.545Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 4 02:18 Jenkinsfile [2022-10-04T02:23:27.545Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 4 02:18 LICENSE [2022-10-04T02:23:27.545Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 4 02:18 Makefile [2022-10-04T02:23:27.545Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 4 02:18 OWNERS.md [2022-10-04T02:23:27.545Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 4 02:18 README.md [2022-10-04T02:23:27.545Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 02:13 VERSION [2022-10-04T02:23:27.545Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 02:18 bin [2022-10-04T02:23:27.545Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 02:18 cmd [2022-10-04T02:23:27.545Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 4 02:22 coverage.out [2022-10-04T02:23:27.545Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 02:18 doc [2022-10-04T02:23:27.545Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 4 02:18 go.mod [2022-10-04T02:23:27.545Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 4 02:18 go.sum [2022-10-04T02:23:27.545Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 02:18 internal [2022-10-04T02:23:27.545Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 02:18 snap [2022-10-04T02:23:27.545Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 4 02:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T02:23:27.896Z] + 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=89e5d6900a6dbc2cb88b7befb9a63728dacdb8c8 --label arch=arm64 --label version=0.0.0 . [2022-10-04T02:23:29.315Z] Sending build context to Docker daemon 14.29MB [2022-10-04T02:23:29.590Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-10-04T02:23:29.590Z] Step 2/28 : FROM ${BASE} AS builder [2022-10-04T02:23:29.590Z] ---> db5652c1f01e [2022-10-04T02:23:29.590Z] Step 3/28 : ARG ADD_BUILD_TAGS="" [2022-10-04T02:23:29.590Z] ---> Running in 5b7c5d632808 [2022-10-04T02:23:29.871Z] Removing intermediate container 5b7c5d632808 [2022-10-04T02:23:29.871Z] ---> fa87fb6b1cac [2022-10-04T02:23:29.871Z] Step 4/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-04T02:23:30.139Z] ---> Running in 5aba3fba45ec [2022-10-04T02:23:30.410Z] Removing intermediate container 5aba3fba45ec [2022-10-04T02:23:30.410Z] ---> e5b56e7d1bbf [2022-10-04T02:23:30.410Z] Step 5/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-04T02:23:30.410Z] ---> Running in 6c1d76bccd05 [2022-10-04T02:23:30.680Z] Removing intermediate container 6c1d76bccd05 [2022-10-04T02:23:30.680Z] ---> 442fd92f5f3a [2022-10-04T02:23:30.680Z] Step 6/28 : ARG ALPINE_PKG_EXTRA="" [2022-10-04T02:23:30.959Z] ---> Running in f0cc619c8e15 [2022-10-04T02:23:31.229Z] Removing intermediate container f0cc619c8e15 [2022-10-04T02:23:31.229Z] ---> 42f3c4433363 [2022-10-04T02:23:31.229Z] Step 7/28 : LABEL Name=edgex-device-onvif-camera [2022-10-04T02:23:31.229Z] ---> Running in 9785527da304 [2022-10-04T02:23:31.498Z] Removing intermediate container 9785527da304 [2022-10-04T02:23:31.498Z] ---> c1a777b5a36a [2022-10-04T02:23:31.498Z] Step 8/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-04T02:23:31.769Z] ---> Running in 026032fd85fb [2022-10-04T02:23:33.729Z] Removing intermediate container 026032fd85fb [2022-10-04T02:23:33.729Z] ---> 7a5cabfe7469 [2022-10-04T02:23:33.729Z] Step 9/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-04T02:23:33.729Z] ---> Running in 14e64fea033f [2022-10-04T02:23:34.694Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-04T02:23:35.793Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-04T02:23:36.401Z] OK: 221 MiB in 51 packages [2022-10-04T02:23:37.398Z] Removing intermediate container 14e64fea033f [2022-10-04T02:23:37.398Z] ---> 02fedcb97ce6 [2022-10-04T02:23:37.398Z] Step 10/28 : WORKDIR /device-onvif-camera [2022-10-04T02:23:37.693Z] ---> Running in 06314d579b07 [2022-10-04T02:23:37.975Z] Removing intermediate container 06314d579b07 [2022-10-04T02:23:37.975Z] ---> ca6105999e0a [2022-10-04T02:23:37.975Z] Step 11/28 : COPY go.mod vendor* ./ [2022-10-04T02:23:38.587Z] ---> f38e3a092293 [2022-10-04T02:23:38.587Z] Step 12/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-04T02:23:38.587Z] ---> Running in d46ac660ce09 [2022-10-04T02:23:41.193Z] Removing intermediate container d46ac660ce09 [2022-10-04T02:23:41.193Z] ---> 6af97a8fa539 [2022-10-04T02:23:41.193Z] Step 13/28 : COPY . . [2022-10-04T02:23:43.788Z] ---> ef0e4f1acaa8 [2022-10-04T02:23:43.788Z] Step 14/28 : RUN ${MAKE} [2022-10-04T02:23:43.788Z] ---> Running in 71cc7db98395 [2022-10-04T02:23:45.205Z] 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.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-04T02:26:21.956Z] Removing intermediate container 71cc7db98395 [2022-10-04T02:26:21.956Z] ---> b189cf345c81 [2022-10-04T02:26:21.956Z] Step 15/28 : FROM alpine:3.16 [2022-10-04T02:26:21.956Z] 3.16: Pulling from library/alpine [2022-10-04T02:26:21.956Z] 9b18e9b68314: Pulling fs layer [2022-10-04T02:26:21.956Z] 9b18e9b68314: Verifying Checksum [2022-10-04T02:26:21.956Z] 9b18e9b68314: Download complete [2022-10-04T02:26:21.956Z] 9b18e9b68314: Pull complete [2022-10-04T02:26:21.956Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-04T02:26:21.956Z] Status: Downloaded newer image for alpine:3.16 [2022-10-04T02:26:21.956Z] ---> a6215f271958 [2022-10-04T02:26:21.956Z] Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-04T02:26:21.956Z] ---> Running in f9499d257bca [2022-10-04T02:26:21.957Z] Removing intermediate container f9499d257bca [2022-10-04T02:26:21.957Z] ---> 4d4863f8c706 [2022-10-04T02:26:21.957Z] Step 17/28 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-10-04T02:26:21.957Z] ---> Running in 21d665c9d082 [2022-10-04T02:26:21.957Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-04T02:26:21.957Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-04T02:26:21.957Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-04T02:26:21.957Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-04T02:26:21.957Z] (3/21) Installing readline (8.1.2-r0) [2022-10-04T02:26:21.957Z] (4/21) Installing bash (5.1.16-r2) [2022-10-04T02:26:21.957Z] Executing bash-5.1.16-r2.post-install [2022-10-04T02:26:21.957Z] (5/21) Installing ca-certificates (20220614-r0) [2022-10-04T02:26:21.957Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-10-04T02:26:21.957Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-10-04T02:26:21.957Z] (8/21) Installing libcurl (7.83.1-r3) [2022-10-04T02:26:21.957Z] (9/21) Installing curl (7.83.1-r3) [2022-10-04T02:26:21.957Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-10-04T02:26:21.957Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-10-04T02:26:21.957Z] (12/21) Installing jq (1.6-r1) [2022-10-04T02:26:21.957Z] (13/21) Installing popt (1.18-r0) [2022-10-04T02:26:21.957Z] (14/21) Installing pcre (8.45-r2) [2022-10-04T02:26:21.957Z] (15/21) Installing slang (2.3.2-r0) [2022-10-04T02:26:21.957Z] (16/21) Installing newt (0.52.21-r2) [2022-10-04T02:26:21.957Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-10-04T02:26:21.957Z] (18/21) Installing libsodium (1.0.18-r0) [2022-10-04T02:26:21.957Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-04T02:26:21.957Z] (20/21) Installing libzmq (4.3.4-r0) [2022-10-04T02:26:21.957Z] (21/21) Installing zeromq (4.3.4-r0) [2022-10-04T02:26:21.957Z] Executing busybox-1.35.0-r17.trigger [2022-10-04T02:26:21.957Z] Executing ca-certificates-20220614-r0.trigger [2022-10-04T02:26:21.957Z] OK: 16 MiB in 35 packages [2022-10-04T02:26:21.957Z] Removing intermediate container 21d665c9d082 [2022-10-04T02:26:21.957Z] ---> 43cc5b2faeba [2022-10-04T02:26:21.957Z] Step 18/28 : WORKDIR / [2022-10-04T02:26:21.957Z] ---> Running in a07f7b698250 [2022-10-04T02:26:21.957Z] Removing intermediate container a07f7b698250 [2022-10-04T02:26:21.957Z] ---> 961b0785f00f [2022-10-04T02:26:21.957Z] Step 19/28 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-04T02:26:21.957Z] ---> 7dfd7eeaf427 [2022-10-04T02:26:21.957Z] Step 20/28 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-04T02:26:21.957Z] ---> 13db9c5f46c5 [2022-10-04T02:26:21.957Z] Step 21/28 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-04T02:26:21.957Z] ---> b9f4c1d68a73 [2022-10-04T02:26:21.957Z] Step 22/28 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-10-04T02:26:21.957Z] ---> b9533a460ca2 [2022-10-04T02:26:21.957Z] Step 23/28 : EXPOSE 59984 [2022-10-04T02:26:21.957Z] ---> Running in 8728a330b89e [2022-10-04T02:26:21.957Z] Removing intermediate container 8728a330b89e [2022-10-04T02:26:21.957Z] ---> a05cdbce479e [2022-10-04T02:26:21.957Z] Step 24/28 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-04T02:26:21.957Z] ---> Running in 4793cb1dea30 [2022-10-04T02:26:21.957Z] Removing intermediate container 4793cb1dea30 [2022-10-04T02:26:21.957Z] ---> 3e76b92ce2b2 [2022-10-04T02:26:21.957Z] Step 25/28 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-04T02:26:21.957Z] ---> Running in fa4cf5b475eb [2022-10-04T02:26:21.957Z] Removing intermediate container fa4cf5b475eb [2022-10-04T02:26:21.957Z] ---> bd2c1f47918e [2022-10-04T02:26:21.957Z] Step 26/28 : LABEL arch=arm64 [2022-10-04T02:26:21.957Z] ---> Running in 6007edd84c3e [2022-10-04T02:26:21.957Z] Removing intermediate container 6007edd84c3e [2022-10-04T02:26:21.957Z] ---> 7049996049bb [2022-10-04T02:26:21.957Z] Step 27/28 : LABEL git_sha=89e5d6900a6dbc2cb88b7befb9a63728dacdb8c8 [2022-10-04T02:26:21.957Z] ---> Running in 33703213e904 [2022-10-04T02:26:21.957Z] Removing intermediate container 33703213e904 [2022-10-04T02:26:21.957Z] ---> 4999f688c1c8 [2022-10-04T02:26:21.957Z] Step 28/28 : LABEL version=0.0.0 [2022-10-04T02:26:21.957Z] ---> Running in 2813c65f971c [2022-10-04T02:26:21.957Z] Removing intermediate container 2813c65f971c [2022-10-04T02:26:21.957Z] ---> 652c0cdfb32d [2022-10-04T02:26:21.957Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-04T02:26:21.957Z] Successfully built 652c0cdfb32d [2022-10-04T02:26:21.957Z] 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-04T02:26:22.378Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-04T02:26:22.378Z] [2022-10-04T02:26:22.378Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T02:26:22.695Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-04T02:26:22.695Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-04T02:26:22.695Z] 8998bd30e6a1: Pulling fs layer [2022-10-04T02:26:22.695Z] 04944245beec: Pulling fs layer [2022-10-04T02:26:22.695Z] 699f458cf7ca: Pulling fs layer [2022-10-04T02:26:22.695Z] 765212b225bb: Pulling fs layer [2022-10-04T02:26:22.695Z] f23df028b6ca: Pulling fs layer [2022-10-04T02:26:22.695Z] d65c8cfc05b1: Pulling fs layer [2022-10-04T02:26:22.695Z] 2437ff75d9bd: Pulling fs layer [2022-10-04T02:26:22.695Z] d65c8cfc05b1: Waiting [2022-10-04T02:26:22.695Z] f23df028b6ca: Waiting [2022-10-04T02:26:22.695Z] 2437ff75d9bd: Waiting [2022-10-04T02:26:22.695Z] 765212b225bb: Waiting [2022-10-04T02:26:22.964Z] 04944245beec: Verifying Checksum [2022-10-04T02:26:22.964Z] 04944245beec: Download complete [2022-10-04T02:26:22.964Z] 765212b225bb: Verifying Checksum [2022-10-04T02:26:22.964Z] 765212b225bb: Download complete [2022-10-04T02:26:22.964Z] f23df028b6ca: Verifying Checksum [2022-10-04T02:26:22.964Z] f23df028b6ca: Download complete [2022-10-04T02:26:22.964Z] d65c8cfc05b1: Verifying Checksum [2022-10-04T02:26:22.964Z] d65c8cfc05b1: Download complete [2022-10-04T02:26:23.232Z] 699f458cf7ca: Verifying Checksum [2022-10-04T02:26:23.232Z] 699f458cf7ca: Download complete [2022-10-04T02:26:23.500Z] 8998bd30e6a1: Verifying Checksum [2022-10-04T02:26:23.500Z] 8998bd30e6a1: Download complete [2022-10-04T02:26:26.074Z] 2437ff75d9bd: Verifying Checksum [2022-10-04T02:26:26.074Z] 2437ff75d9bd: Download complete [2022-10-04T02:26:27.480Z] 8998bd30e6a1: Pull complete [2022-10-04T02:26:28.065Z] 04944245beec: Pull complete [2022-10-04T02:26:29.024Z] 699f458cf7ca: Pull complete [2022-10-04T02:26:29.291Z] 765212b225bb: Pull complete [2022-10-04T02:26:30.249Z] f23df028b6ca: Pull complete [2022-10-04T02:26:30.249Z] d65c8cfc05b1: Pull complete [2022-10-04T02:26:45.230Z] 2437ff75d9bd: Pull complete [2022-10-04T02:26:45.230Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-04T02:26:45.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-04T02:26:45.230Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T02:26:45.390Z] prd-ubuntu20.04-docker-arm64-4c-16g-7024 does not seem to be running inside a container [2022-10-04T02:26:45.451Z] $ 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/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@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-04T02:26:47.967Z] $ docker top 1a7d53eff25ee73b3baba7edf987ce4a45fe1e5fe6ef8a7270416db68932d1f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-04T02:26:48.787Z] ---> job-cost.sh [2022-10-04T02:26:48.787Z] lf-activate-venv: SKIPPING [2022-10-04T02:26:48.787Z] INFO: No Stack... [2022-10-04T02:26:49.056Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-04T02:26:50.011Z] INFO: Archiving Costs [Pipeline] sh [2022-10-04T02:26:50.330Z] + cat /w/workspace/device-onvif-camera/18/archives/cost.csv [2022-10-04T02:26:50.330Z] + cut -d, -f6 [Pipeline] lock [2022-10-04T02:26:50.388Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-18-stack-cost] [2022-10-04T02:26:50.394Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-18-stack-cost] did not exist. Created. [2022-10-04T02:26:50.394Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-04T02:26:50.727Z] /w/workspace/device-onvif-camera/18@tmp/durable-d06b0ad2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-04T02:26:51.061Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-04T02:26:51.085Z] Warning: overwriting stash ‘stack-cost’ [2022-10-04T02:26:51.140Z] Stashed 1 file(s) [Pipeline] } [2022-10-04T02:26:51.149Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-04T02:26:51.169Z] $ docker stop --time=1 1a7d53eff25ee73b3baba7edf987ce4a45fe1e5fe6ef8a7270416db68932d1f7 [2022-10-04T02:26:52.654Z] $ docker rm -f 1a7d53eff25ee73b3baba7edf987ce4a45fe1e5fe6ef8a7270416db68932d1f7 [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-04T02:26:53.084Z] provisioning config files... [2022-10-04T02:26:53.091Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config9572391321406776408tmp [Pipeline] { [Pipeline] sh [2022-10-04T02:26:53.381Z] + set +x [2022-10-04T02:26:53.381Z] + + curl -s https://codecov.io/bash [2022-10-04T02:26:53.381Z] bash -s -- [2022-10-04T02:26:53.381Z] [2022-10-04T02:26:53.381Z] _____ _ [2022-10-04T02:26:53.381Z] / ____| | | [2022-10-04T02:26:53.381Z] | | ___ __| | ___ ___ _____ __ [2022-10-04T02:26:53.381Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-04T02:26:53.381Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-04T02:26:53.381Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-04T02:26:53.381Z] Bash-1.0.6 [2022-10-04T02:26:53.381Z] [2022-10-04T02:26:53.381Z] [2022-10-04T02:26:53.381Z] ==> git version 2.25.1 found [2022-10-04T02:26:53.381Z] ==> 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-04T02:26:53.381Z] Release-Date: 2020-01-08 [2022-10-04T02:26:53.381Z] 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-04T02:26:53.381Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-04T02:26:53.381Z] ==> Jenkins CI detected. [2022-10-04T02:26:53.381Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-10-04T02:26:53.381Z] project root: . [2022-10-04T02:26:53.381Z] --> token set from env [2022-10-04T02:26:53.381Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-04T02:26:53.381Z] ==> Running gcov in . (disable via -X gcov) [2022-10-04T02:26:53.381Z] ==> Python coveragepy not found [2022-10-04T02:26:53.381Z] ==> Searching for coverage reports in: [2022-10-04T02:26:53.381Z] + . [2022-10-04T02:26:53.381Z] -> Found 1 reports [2022-10-04T02:26:53.381Z] ==> Detecting git/mercurial file structure [2022-10-04T02:26:53.641Z] ==> Reading reports [2022-10-04T02:26:53.641Z] + ./coverage.out bytes=78461 [2022-10-04T02:26:53.641Z] ==> Appending adjustments [2022-10-04T02:26:53.641Z] https://docs.codecov.io/docs/fixing-reports [2022-10-04T02:26:53.641Z] + Found adjustments [2022-10-04T02:26:53.641Z] ==> Gzipping contents [2022-10-04T02:26:53.641Z] 12K /tmp/codecov.ufzGWm.gz [2022-10-04T02:26:53.641Z] ==> Uploading reports [2022-10-04T02:26:53.641Z] url: https://codecov.io [2022-10-04T02:26:53.641Z] query: branch=PR-125&commit=8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-10-04T02:26:53.641Z] -> Pinging Codecov [2022-10-04T02:26:53.641Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-10-04T02:26:53.902Z] -> Uploading to [2022-10-04T02:26:53.902Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-04/F29A59C45E3A92E06B3E522C9905F8EF/8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850/1503d8b7-f0d5-44b5-8c79-8a3b392a947e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221004T022653Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b3b691f618147f1d7feb1ba4129917d070816bd12f293024e98be402c42ce649 [2022-10-04T02:26:53.902Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-04T02:26:53.902Z] Dload Upload Total Spent Left Speed [2022-10-04T02:26:54.162Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10729 0 0 100 10729 0 43613 --:--:-- --:--:-- --:--:-- 43613 [2022-10-04T02:26:54.162Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/8d41d5fbbc13489f4a12832dc8c16bc2e9d4e850 [Pipeline] } [2022-10-04T02:26:54.170Z] 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-04T02:26:54.941Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-10-04T02:26:54.941Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-10-04T02:26:54.941Z] total 16 [2022-10-04T02:26:54.941Z] drwxr-xr-x 3 root root 4096 Oct 4 02:15 . [2022-10-04T02:26:54.941Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 02:15 .. [2022-10-04T02:26:54.941Z] drwxr-xr-x 2 root root 4096 Oct 4 02:15 cost [2022-10-04T02:26:54.941Z] -rw-r--r-- 1 root root 92 Oct 4 02:15 cost.csv [2022-10-04T02:26:54.941Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-10-04T02:26:54.941Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-10-04T02:26:54.941Z] total 16 [2022-10-04T02:26:54.941Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 02:15 . [2022-10-04T02:26:54.941Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 02:15 .. [2022-10-04T02:26:54.941Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 02:15 cost [2022-10-04T02:26:54.941Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 4 02:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-04T02:26:55.243Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T02:26:56.112Z] ---> package-listing.sh [2022-10-04T02:26:56.113Z] ++ facter osfamily [2022-10-04T02:26:56.113Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-04T02:26:56.372Z] + OS_FAMILY=debian [2022-10-04T02:26:56.372Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-10-04T02:26:56.372Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-04T02:26:56.372Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-04T02:26:56.372Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-04T02:26:56.372Z] + PACKAGES=/tmp/packages_start.txt [2022-10-04T02:26:56.372Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-10-04T02:26:56.372Z] + PACKAGES=/tmp/packages_end.txt [2022-10-04T02:26:56.372Z] + case "${OS_FAMILY}" in [2022-10-04T02:26:56.372Z] + dpkg -l [2022-10-04T02:26:56.372Z] + grep '^ii' [2022-10-04T02:26:56.372Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-04T02:26:56.372Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-04T02:26:56.372Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-04T02:26:56.372Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-10-04T02:26:56.372Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-10-04T02:26:56.372Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo [2022-10-04T02:26:56.384Z] 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-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-04T02:26:56.671Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-04T02:26:57.235Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-04T02:26:57.235Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-04T02:26:57.304Z] prd-ubuntu20.04-docker-8c-8g-7023 does not seem to be running inside a container [2022-10-04T02:26:57.337Z] $ 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-125/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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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-04T02:26:57.691Z] $ docker top 98f6ea234a4fad11c4378d7b63245fad2b58b68df587c0b971ebbe6c333b5fbf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-04T02:26:58.043Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-04T02:26:58.329Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-04T02:26:58.618Z] + ls /var/log/sa-host [2022-10-04T02:26:58.618Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-04T02:26:58.689Z] provisioning config files... [2022-10-04T02:26:58.696Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config1456995478037693708tmp [Pipeline] { [Pipeline] echo [2022-10-04T02:26:58.711Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T02:26:58.989Z] ---> create-netrc.sh [Pipeline] } [2022-10-04T02:26:58.995Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-04T02:26:59.314Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-04T02:26:59.321Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T02:26:59.605Z] ---> sudo-logs.sh [2022-10-04T02:26:59.605Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-04T02:26:59.631Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T02:26:59.909Z] ---> job-cost.sh [2022-10-04T02:26:59.909Z] lf-activate-venv: SKIPPING [2022-10-04T02:26:59.909Z] DEBUG: total: 0.2199999988079071 [2022-10-04T02:26:59.909Z] INFO: Retrieving Stack Cost... [2022-10-04T02:27:00.168Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-04T02:27:00.736Z] INFO: Archiving Costs [Pipeline] echo [2022-10-04T02:27:00.747Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-04T02:27:01.029Z] ---> logs-deploy.sh [2022-10-04T02:27:01.029Z] lf-activate-venv: SKIPPING [2022-10-04T02:27:01.029Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/18 [2022-10-04T02:27:01.029Z] INFO: archiving workspace using pattern(s): [2022-10-04T02:27:01.962Z] Archives upload complete. [2022-10-04T02:27:01.962Z] INFO: archiving logs to Nexus