Pull request #187 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 68a981fa1763c207823ac86b4113d2db4c49b852 rather than 35544757918fb5e6750a9220cfbf52472578b9d4 Obtained Jenkinsfile from 68a981fa1763c207823ac86b4113d2db4c49b852 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-ssh12344285184966482556.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17279126383955693065.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13396522400280592707.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2692996601602745041.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-187/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-187/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6168316848216490425.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-117288 in /w/workspace/undry_device-onvif-camera_PR-187 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-187 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 68a981fa1763c207823ac86b4113d2db4c49b852 into PR head commit 35544757918fb5e6750a9220cfbf52472578b9d4 Merge succeeded, producing 804310eae489f55c59c183e292d3ce289b1d6892 Checking out Revision 804310eae489f55c59c183e292d3ce289b1d6892 (PR-187) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35544757918fb5e6750a9220cfbf52472578b9d4 # 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 68a981fa1763c207823ac86b4113d2db4c49b852 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 804310eae489f55c59c183e292d3ce289b1d6892 # timeout=10 Commit message: "Merge commit '68a981fa1763c207823ac86b4113d2db4c49b852' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T20:10:36.986Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T20:10:37.046Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T20:10:37.059Z] ========================================================= [2022-10-26T20:10:37.059Z] EdgeX Global Pipelines Version Info [2022-10-26T20:10:37.059Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk dc21a671bfe8654e12e89bfc20c83851c513c8a0 # timeout=10 [2022-10-26T20:10:38.176Z] ------------------- [2022-10-26T20:10:38.176Z] stable info: [2022-10-26T20:10:38.176Z] ------------------- [2022-10-26T20:10:38.176Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T20:10:38.176Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:10:38.176Z] Message: update stable to v1.0.243 [2022-10-26T20:10:38.436Z] ------------------- [2022-10-26T20:10:38.436Z] experimental info: [2022-10-26T20:10:38.436Z] ------------------- [2022-10-26T20:10:38.436Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T20:10:38.436Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:10:38.436Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T20:10:38.582Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-26T20:10:38.590Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-26T20:10:38.602Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T20:10:38.612Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T20:10:38.620Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T20:10:38.628Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T20:10:38.636Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T20:10:38.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T20:10:38.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T20:10:38.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T20:10:38.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T20:10:38.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-26T20:10:38.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T20:10:38.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T20:10:38.728Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:10:38.737Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:10:38.747Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:10:38.758Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:10:38.770Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T20:10:38.788Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T20:10:38.800Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-26T20:10:38.809Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-26T20:10:38.821Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T20:10:38.831Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T20:10:38.845Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T20:10:38.856Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T20:10:38.866Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T20:10:38.876Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-187 [Pipeline] echo [2022-10-26T20:10:38.889Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-187 [Pipeline] echo [2022-10-26T20:10:38.900Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-187 [Pipeline] echo [2022-10-26T20:10:38.910Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 804310eae489f55c59c183e292d3ce289b1d6892 [Pipeline] echo [2022-10-26T20:10:38.926Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 804310e [Pipeline] echo [2022-10-26T20:10:38.937Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:10:38.976Z] provisioning config files... [2022-10-26T20:10:38.988Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config4668582886687633824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:10:39.281Z] ---> docker-login.sh [2022-10-26T20:10:39.281Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:10:39.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:39.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:39.541Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:39.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:39.541Z] [2022-10-26T20:10:39.541Z] Login Succeeded [2022-10-26T20:10:39.541Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:10:39.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:39.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:39.806Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:39.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:39.806Z] [2022-10-26T20:10:39.806Z] Login Succeeded [2022-10-26T20:10:39.806Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:10:39.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:39.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:39.806Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:39.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:39.806Z] [2022-10-26T20:10:39.806Z] Login Succeeded [2022-10-26T20:10:39.806Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:10:39.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:39.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:39.806Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:39.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:39.806Z] [2022-10-26T20:10:39.806Z] Login Succeeded [2022-10-26T20:10:39.806Z] docker.io [2022-10-26T20:10:40.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:40.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:40.324Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:40.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:40.324Z] [2022-10-26T20:10:40.324Z] Login Succeeded [2022-10-26T20:10:40.324Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:10:40.340Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T20:10:40.689Z] + git rev-list -1 --merges 804310eae489f55c59c183e292d3ce289b1d6892~1..804310eae489f55c59c183e292d3ce289b1d6892 [Pipeline] echo [2022-10-26T20:10:40.723Z] -----------> git rev-list -1 --merges 804310eae489f55c59c183e292d3ce289b1d6892~1..804310eae489f55c59c183e292d3ce289b1d6892 804310eae489f55c59c183e292d3ce289b1d6892 [2022-10-26T20:10:40.723Z] 804310eae489f55c59c183e292d3ce289b1d6892 [false] [Pipeline] sh [2022-10-26T20:10:41.009Z] + git log --format=format:%s -1 804310eae489f55c59c183e292d3ce289b1d6892 [Pipeline] echo [2022-10-26T20:10:41.022Z] ========================================================= [2022-10-26T20:10:41.022Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T20:10:41.022Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:10:41.342Z] + git log --format=format:%s -1 804310eae489f55c59c183e292d3ce289b1d6892 [Pipeline] echo [2022-10-26T20:10:41.353Z] [semverPrep] GIT_COMMIT: 804310eae489f55c59c183e292d3ce289b1d6892, Commit Message: Merge commit '68a981fa1763c207823ac86b4113d2db4c49b852' into HEAD [Pipeline] echo [2022-10-26T20:10:41.363Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T20:10:41.714Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:10:41.714Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T20:10:41.714Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T20:10:41.714Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T20:10:41.714Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T20:10:41.714Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T20:10:41.714Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:10:42.060Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:10:42.060Z] [2022-10-26T20:10:42.060Z] 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-26T20:10:42.360Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:10:42.360Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T20:10:42.360Z] b85a868b505f: Pulling fs layer [2022-10-26T20:10:42.360Z] e2be974225ed: Pulling fs layer [2022-10-26T20:10:42.360Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T20:10:42.360Z] 988bab9f4d93: Pulling fs layer [2022-10-26T20:10:42.360Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T20:10:42.360Z] eaf3925da568: Pulling fs layer [2022-10-26T20:10:42.360Z] bab4dde63d76: Pulling fs layer [2022-10-26T20:10:42.360Z] bde34c3a00c8: Pulling fs layer [2022-10-26T20:10:42.360Z] b352a97aabf1: Pulling fs layer [2022-10-26T20:10:42.360Z] 4872d77fe225: Pulling fs layer [2022-10-26T20:10:42.360Z] 5851b861e8e6: Pulling fs layer [2022-10-26T20:10:42.360Z] bab4dde63d76: Waiting [2022-10-26T20:10:42.360Z] bde34c3a00c8: Waiting [2022-10-26T20:10:42.360Z] b352a97aabf1: Waiting [2022-10-26T20:10:42.360Z] 4872d77fe225: Waiting [2022-10-26T20:10:42.360Z] 5851b861e8e6: Waiting [2022-10-26T20:10:42.360Z] 988bab9f4d93: Waiting [2022-10-26T20:10:42.360Z] 1469e6f7b9e6: Waiting [2022-10-26T20:10:42.360Z] eaf3925da568: Waiting [2022-10-26T20:10:42.360Z] e2be974225ed: Download complete [2022-10-26T20:10:42.360Z] 988bab9f4d93: Verifying Checksum [2022-10-26T20:10:42.360Z] 988bab9f4d93: Download complete [2022-10-26T20:10:42.622Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T20:10:42.622Z] 1469e6f7b9e6: Download complete [2022-10-26T20:10:42.622Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T20:10:42.622Z] 339a4e72a1f5: Download complete [2022-10-26T20:10:42.622Z] eaf3925da568: Download complete [2022-10-26T20:10:42.622Z] bde34c3a00c8: Download complete [2022-10-26T20:10:42.622Z] b352a97aabf1: Verifying Checksum [2022-10-26T20:10:42.622Z] b352a97aabf1: Download complete [2022-10-26T20:10:42.622Z] 4872d77fe225: Verifying Checksum [2022-10-26T20:10:42.622Z] 4872d77fe225: Download complete [2022-10-26T20:10:42.622Z] 5851b861e8e6: Verifying Checksum [2022-10-26T20:10:42.622Z] 5851b861e8e6: Download complete [2022-10-26T20:10:42.622Z] b85a868b505f: Download complete [2022-10-26T20:10:43.191Z] bab4dde63d76: Download complete [2022-10-26T20:10:44.130Z] b85a868b505f: Pull complete [2022-10-26T20:10:44.130Z] e2be974225ed: Pull complete [2022-10-26T20:10:44.697Z] 339a4e72a1f5: Pull complete [2022-10-26T20:10:44.697Z] 988bab9f4d93: Pull complete [2022-10-26T20:10:44.958Z] 1469e6f7b9e6: Pull complete [2022-10-26T20:10:44.958Z] eaf3925da568: Pull complete [2022-10-26T20:10:46.880Z] bab4dde63d76: Pull complete [2022-10-26T20:10:47.139Z] bde34c3a00c8: Pull complete [2022-10-26T20:10:47.140Z] b352a97aabf1: Pull complete [2022-10-26T20:10:47.403Z] 4872d77fe225: Pull complete [2022-10-26T20:10:47.403Z] 5851b861e8e6: Pull complete [2022-10-26T20:10:47.403Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T20:10:47.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:10:47.403Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:10:47.488Z] prd-ubuntu20.04-docker-8c-8g-117288 does not seem to be running inside a container [2022-10-26T20:10:47.513Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-26T20:10:48.952Z] $ docker top e8e0ddc9428e8db32caae62f13c7538657b89a5499a35239a20bc4c5dccdb8c7 -eo pid,comm [2022-10-26T20:10:49.017Z] 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-26T20:10:49.017Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:10:49.053Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:10:49.053Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:10:49.208Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:10:49.207Z] $ docker exec e8e0ddc9428e8db32caae62f13c7538657b89a5499a35239a20bc4c5dccdb8c7 ssh-agent [2022-10-26T20:10:49.342Z] SSH_AUTH_SOCK=/tmp/ssh-wpZcaj9CC8NB/agent.32 [2022-10-26T20:10:49.342Z] SSH_AGENT_PID=38 [2022-10-26T20:10:49.365Z] Running ssh-add (command line suppressed) [2022-10-26T20:10:49.471Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_1370943742751052649.key (/w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_1370943742751052649.key) [2022-10-26T20:10:49.497Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:10:49.785Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T20:10:49.795Z] $ docker exec --env ******** --env ******** e8e0ddc9428e8db32caae62f13c7538657b89a5499a35239a20bc4c5dccdb8c7 ssh-agent -k [2022-10-26T20:10:49.884Z] unset SSH_AUTH_SOCK; [2022-10-26T20:10:49.884Z] unset SSH_AGENT_PID; [2022-10-26T20:10:49.884Z] echo Agent pid 38 killed; [2022-10-26T20:10:49.904Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T20:10:49.927Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:10:49.927Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:10:50.029Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:10:50.028Z] $ docker exec e8e0ddc9428e8db32caae62f13c7538657b89a5499a35239a20bc4c5dccdb8c7 ssh-agent [2022-10-26T20:10:50.131Z] SSH_AUTH_SOCK=/tmp/ssh-6VGlN5kcr8h4/agent.71 [2022-10-26T20:10:50.131Z] SSH_AGENT_PID=77 [2022-10-26T20:10:50.141Z] Running ssh-add (command line suppressed) [2022-10-26T20:10:50.236Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_6743021037872237007.key (/w/workspace/undry_device-onvif-camera_PR-187@tmp/private_key_6743021037872237007.key) [2022-10-26T20:10:50.252Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:10:50.551Z] + git semver init [2022-10-26T20:10:50.810Z] 2022-10-26 20:10:50,732 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T20:10:50.810Z] 2022-10-26 20:10:50,733 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-187/.semver [2022-10-26T20:10:50.810Z] 2022-10-26 20:10:50,733 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-187/.semver [2022-10-26T20:10:50.810Z] 2022-10-26 20:10:50,734 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-187/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-187, universal_newlines=False, shell=None, istream=None) [2022-10-26T20:10:52.195Z] 2022-10-26 20:10:51,793 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-187/.git/info/exclude [2022-10-26T20:10:52.195Z] 2022-10-26 20:10:51,793 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-187/.semver/PR-187 with force:False [2022-10-26T20:10:52.195Z] 2022-10-26 20:10:51,793 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-187/.semver/PR-187 [2022-10-26T20:10:52.195Z] 2022-10-26 20:10:51,798 [execute] INFO git cat-file --batch-check [2022-10-26T20:10:52.195Z] 2022-10-26 20:10:51,798 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-187/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T20:10:52.195Z] 2022-10-26 20:10:51,804 [execute] INFO git cat-file --batch [2022-10-26T20:10:52.195Z] 2022-10-26 20:10:51,805 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-187/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T20:10:52.195Z] 2022-10-26 20:10:51,809 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-187/.semver/PR-187 [2022-10-26T20:10:52.195Z] 0.0.0 [Pipeline] } [2022-10-26T20:10:52.200Z] $ docker exec --env ******** --env ******** e8e0ddc9428e8db32caae62f13c7538657b89a5499a35239a20bc4c5dccdb8c7 ssh-agent -k [2022-10-26T20:10:52.291Z] unset SSH_AUTH_SOCK; [2022-10-26T20:10:52.291Z] unset SSH_AGENT_PID; [2022-10-26T20:10:52.291Z] echo Agent pid 77 killed; [2022-10-26T20:10:52.303Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:10:52.598Z] + git semver [Pipeline] } [2022-10-26T20:10:52.866Z] $ docker stop --time=1 e8e0ddc9428e8db32caae62f13c7538657b89a5499a35239a20bc4c5dccdb8c7 [2022-10-26T20:10:54.177Z] $ docker rm -f e8e0ddc9428e8db32caae62f13c7538657b89a5499a35239a20bc4c5dccdb8c7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:10:54.518Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T20:10:54.817Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T20:10:54.819Z] [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-26T20:10:54.945Z] provisioning config files... [2022-10-26T20:10:54.969Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config13609359361444331897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:10:55.308Z] ---> docker-login.sh [2022-10-26T20:10:55.309Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:10:55.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:55.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:55.309Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:55.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:55.309Z] [2022-10-26T20:10:55.309Z] Login Succeeded [2022-10-26T20:10:55.309Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:10:55.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:55.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:55.570Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:55.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:55.570Z] [2022-10-26T20:10:55.570Z] Login Succeeded [2022-10-26T20:10:55.570Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:10:55.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:55.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:55.570Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:55.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:55.570Z] [2022-10-26T20:10:55.570Z] Login Succeeded [2022-10-26T20:10:55.570Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:10:55.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:55.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:55.570Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:55.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:55.570Z] [2022-10-26T20:10:55.570Z] Login Succeeded [2022-10-26T20:10:55.570Z] docker.io [2022-10-26T20:10:55.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:56.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:56.088Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:56.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:56.088Z] [2022-10-26T20:10:56.088Z] Login Succeeded [2022-10-26T20:10:56.088Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:10:56.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:10:56.150Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:10:56.164Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:10:56.172Z] ========================================================= [2022-10-26T20:10:56.172Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T20:10:56.172Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:10:56.471Z] + 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-26T20:10:56.472Z] Sending build context to Docker daemon 27.48MB [2022-10-26T20:10:56.472Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:10:56.472Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-26T20:10:56.735Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T20:10:56.735Z] 213ec9aee27d: Pulling fs layer [2022-10-26T20:10:56.735Z] 4583459ba037: Pulling fs layer [2022-10-26T20:10:56.735Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T20:10:56.735Z] 53926ce57604: Pulling fs layer [2022-10-26T20:10:56.735Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T20:10:56.735Z] 30f14e443154: Pulling fs layer [2022-10-26T20:10:56.735Z] 801331c1e519: Pulling fs layer [2022-10-26T20:10:56.735Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T20:10:56.735Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T20:10:56.735Z] 21b2b0c7a3f4: Waiting [2022-10-26T20:10:56.735Z] 99cc6dd402b0: Waiting [2022-10-26T20:10:56.735Z] 53926ce57604: Waiting [2022-10-26T20:10:56.735Z] 7d9ed39f4882: Waiting [2022-10-26T20:10:56.735Z] 801331c1e519: Waiting [2022-10-26T20:10:56.735Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T20:10:56.735Z] 93c1e223e6f2: Download complete [2022-10-26T20:10:56.735Z] 4583459ba037: Download complete [2022-10-26T20:10:56.735Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T20:10:56.735Z] 21b2b0c7a3f4: Download complete [2022-10-26T20:10:56.735Z] 213ec9aee27d: Download complete [2022-10-26T20:10:56.735Z] 801331c1e519: Download complete [2022-10-26T20:10:57.003Z] 213ec9aee27d: Pull complete [2022-10-26T20:10:57.003Z] 4583459ba037: Pull complete [2022-10-26T20:10:57.003Z] 93c1e223e6f2: Pull complete [2022-10-26T20:10:57.280Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T20:10:57.280Z] 7d9ed39f4882: Download complete [2022-10-26T20:10:57.544Z] 53926ce57604: Verifying Checksum [2022-10-26T20:10:57.544Z] 53926ce57604: Download complete [2022-10-26T20:10:57.544Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T20:11:01.736Z] 53926ce57604: Pull complete [2022-10-26T20:11:01.736Z] 21b2b0c7a3f4: Pull complete [2022-10-26T20:11:01.736Z] 30f14e443154: Pull complete [2022-10-26T20:11:01.736Z] 801331c1e519: Pull complete [2022-10-26T20:11:03.631Z] 99cc6dd402b0: Pull complete [2022-10-26T20:11:04.568Z] 7d9ed39f4882: Pull complete [2022-10-26T20:11:04.568Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T20:11:04.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T20:11:04.568Z] ---> 1dedd983c030 [2022-10-26T20:11:04.568Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:11:07.101Z] ---> Running in b54fbc02afc1 [2022-10-26T20:11:07.101Z] Removing intermediate container b54fbc02afc1 [2022-10-26T20:11:07.101Z] ---> 24e78836a486 [2022-10-26T20:11:07.101Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:11:07.101Z] ---> Running in 1a5f74f2ff7a [2022-10-26T20:11:07.359Z] Removing intermediate container 1a5f74f2ff7a [2022-10-26T20:11:07.359Z] ---> a205207703ae [2022-10-26T20:11:07.359Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:11:07.359Z] ---> Running in b5d6636286dd [2022-10-26T20:11:07.359Z] Removing intermediate container b5d6636286dd [2022-10-26T20:11:07.359Z] ---> 8042da9d5ee5 [2022-10-26T20:11:07.359Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:11:07.359Z] ---> Running in 84a642c74c58 [2022-10-26T20:11:07.618Z] Removing intermediate container 84a642c74c58 [2022-10-26T20:11:07.618Z] ---> f59d8e9877f3 [2022-10-26T20:11:07.618Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-10-26T20:11:07.618Z] ---> Running in 0dc8c12bf72f [2022-10-26T20:11:07.618Z] Removing intermediate container 0dc8c12bf72f [2022-10-26T20:11:07.618Z] ---> 1233bb70c2bd [2022-10-26T20:11:07.618Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:11:07.618Z] ---> Running in bf790e438cc6 [2022-10-26T20:11:08.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:11:08.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:11:09.019Z] OK: 211 MiB in 51 packages [2022-10-26T20:11:09.276Z] Removing intermediate container bf790e438cc6 [2022-10-26T20:11:09.276Z] ---> 55bd1f71c70c [2022-10-26T20:11:09.276Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-10-26T20:11:09.276Z] ---> Running in ad70510673ee [2022-10-26T20:11:09.276Z] Removing intermediate container ad70510673ee [2022-10-26T20:11:09.276Z] ---> 5668b924a592 [2022-10-26T20:11:09.276Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-26T20:11:09.535Z] ---> 6a31356c3246 [2022-10-26T20:11:09.535Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:11:09.535Z] ---> Running in 5c189b3bfbd2 [2022-10-26T20:11:09.903Z] Still waiting to schedule task [2022-10-26T20:11:09.903Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T20:11:27.642Z] Removing intermediate container 5c189b3bfbd2 [2022-10-26T20:11:27.642Z] ---> c74a14a015d3 [2022-10-26T20:11:27.642Z] Step 12/13 : COPY . . [2022-10-26T20:11:27.642Z] ---> d452f087da72 [2022-10-26T20:11:27.642Z] Step 13/13 : RUN ${MAKE} [2022-10-26T20:11:27.642Z] ---> Running in 58b2a59085f5 [2022-10-26T20:11:27.899Z] noop [2022-10-26T20:11:28.157Z] Removing intermediate container 58b2a59085f5 [2022-10-26T20:11:28.157Z] ---> 7e435eee3522 [2022-10-26T20:11:28.157Z] Successfully built 7e435eee3522 [2022-10-26T20:11:28.157Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:11:28.467Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:11:28.467Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:11:28.529Z] prd-ubuntu20.04-docker-8c-8g-117288 does not seem to be running inside a container [2022-10-26T20:11:28.555Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T20:11:28.914Z] $ docker top df28feb4eb938e67fa5a66cceeb14e154e0741577da1afb921be61e7c2d9cbd5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:11:29.251Z] + go version [2022-10-26T20:11:29.251Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T20:11:29.259Z] $ docker stop --time=1 df28feb4eb938e67fa5a66cceeb14e154e0741577da1afb921be61e7c2d9cbd5 [2022-10-26T20:11:30.573Z] $ docker rm -f df28feb4eb938e67fa5a66cceeb14e154e0741577da1afb921be61e7c2d9cbd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:11:31.004Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:11:31.004Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:11:31.065Z] prd-ubuntu20.04-docker-8c-8g-117288 does not seem to be running inside a container [2022-10-26T20:11:31.096Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T20:11:31.419Z] $ docker top c296966ee51466694b238773e8656b41b67fbadd59c50f1648636037346b1df2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:11:31.762Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-187 [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:11:32.055Z] + make test [2022-10-26T20:11:32.055Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T20:11:32.314Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-26T20:11:42.284Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-26T20:11:43.224Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.029s coverage: 28.2% of statements [2022-10-26T20:11:43.224Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-26T20:11:43.224Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.290s coverage: 86.5% of statements [2022-10-26T20:11:49.783Z] 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-26T20:11:49.783Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:11:53.062Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:11:53.062Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:11:53.062Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:11:53.074Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:11:53.083Z] $ docker stop --time=1 c296966ee51466694b238773e8656b41b67fbadd59c50f1648636037346b1df2 [2022-10-26T20:11:54.949Z] $ docker rm -f c296966ee51466694b238773e8656b41b67fbadd59c50f1648636037346b1df2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:11:55.403Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:11:55.450Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T20:11:55.850Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:11:56.135Z] + ls -al . [2022-10-26T20:11:56.135Z] total 244 [2022-10-26T20:11:56.135Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:11 . [2022-10-26T20:11:56.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:10 .. [2022-10-26T20:11:56.135Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:11 .git [2022-10-26T20:11:56.135Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:10 .github [2022-10-26T20:11:56.135Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 26 20:10 .gitignore [2022-10-26T20:11:56.135Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 20:10 .golangci.yml [2022-10-26T20:11:56.135Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:10 .semver [2022-10-26T20:11:56.135Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 26 20:10 Attribution.txt [2022-10-26T20:11:56.135Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 26 20:10 CHANGELOG.md [2022-10-26T20:11:56.135Z] -rw-rw-r-- 1 jenkins jenkins 1637 Oct 26 20:10 Dockerfile [2022-10-26T20:11:56.135Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:10 GOVERNANCE.md [2022-10-26T20:11:56.135Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 26 20:10 Jenkinsfile [2022-10-26T20:11:56.135Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 20:10 LICENSE [2022-10-26T20:11:56.135Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 26 20:10 Makefile [2022-10-26T20:11:56.135Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 20:10 OWNERS.md [2022-10-26T20:11:56.135Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 26 20:10 README.md [2022-10-26T20:11:56.135Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:10 VERSION [2022-10-26T20:11:56.135Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:10 bin [2022-10-26T20:11:56.135Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:10 cmd [2022-10-26T20:11:56.135Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 26 20:11 coverage.out [2022-10-26T20:11:56.135Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 20:10 doc [2022-10-26T20:11:56.135Z] -rw-rw-r-- 1 jenkins jenkins 3736 Oct 26 20:10 go.mod [2022-10-26T20:11:56.135Z] -rw-rw-r-- 1 jenkins jenkins 46203 Oct 26 20:10 go.sum [2022-10-26T20:11:56.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:10 internal [2022-10-26T20:11:56.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:10 snap [2022-10-26T20:11:56.135Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 20:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:11:56.441Z] + 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=804310eae489f55c59c183e292d3ce289b1d6892 --label arch=amd64 --label version=0.0.0 . [2022-10-26T20:11:56.441Z] Sending build context to Docker daemon 27.56MB [2022-10-26T20:11:56.441Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:11:56.441Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T20:11:56.441Z] ---> 7e435eee3522 [2022-10-26T20:11:56.441Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:11:56.699Z] ---> Running in 515c0d3023e0 [2022-10-26T20:11:56.959Z] Removing intermediate container 515c0d3023e0 [2022-10-26T20:11:56.959Z] ---> 10972371a9ae [2022-10-26T20:11:56.959Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:11:56.959Z] ---> Running in aedb5f6a9ee7 [2022-10-26T20:11:56.959Z] Removing intermediate container aedb5f6a9ee7 [2022-10-26T20:11:56.959Z] ---> 67ea4fa0ffb1 [2022-10-26T20:11:56.959Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:11:56.959Z] ---> Running in 07bbc2f91b6d [2022-10-26T20:11:57.217Z] Removing intermediate container 07bbc2f91b6d [2022-10-26T20:11:57.217Z] ---> c2d62d53f5d9 [2022-10-26T20:11:57.217Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:11:57.217Z] ---> Running in 84bea4ea2e08 [2022-10-26T20:11:57.217Z] Removing intermediate container 84bea4ea2e08 [2022-10-26T20:11:57.217Z] ---> 05e2af12306e [2022-10-26T20:11:57.217Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-10-26T20:11:57.217Z] ---> Running in 795534b21d99 [2022-10-26T20:11:57.476Z] Removing intermediate container 795534b21d99 [2022-10-26T20:11:57.476Z] ---> b43796cf828c [2022-10-26T20:11:57.476Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:11:57.476Z] ---> Running in 48a8bd65ac87 [2022-10-26T20:11:57.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:11:57.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:11:57.993Z] OK: 211 MiB in 51 packages [2022-10-26T20:11:58.252Z] Removing intermediate container 48a8bd65ac87 [2022-10-26T20:11:58.252Z] ---> dde14de4a6a1 [2022-10-26T20:11:58.252Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-10-26T20:11:58.252Z] ---> Running in d7a58382bf6b [2022-10-26T20:11:58.511Z] Removing intermediate container d7a58382bf6b [2022-10-26T20:11:58.511Z] ---> 27e18e31da92 [2022-10-26T20:11:58.511Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-26T20:11:58.511Z] ---> df9b3a44b272 [2022-10-26T20:11:58.511Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:11:58.511Z] ---> Running in 4bbc6e323242 [2022-10-26T20:11:59.445Z] Removing intermediate container 4bbc6e323242 [2022-10-26T20:11:59.445Z] ---> c434a3d4b44b [2022-10-26T20:11:59.445Z] Step 12/26 : COPY . . [2022-10-26T20:12:00.010Z] ---> 5dfde71e7a86 [2022-10-26T20:12:00.010Z] Step 13/26 : RUN ${MAKE} [2022-10-26T20:12:00.010Z] ---> Running in 5fb454d80a97 [2022-10-26T20:12:00.269Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-26T20:12:22.181Z] Removing intermediate container 5fb454d80a97 [2022-10-26T20:12:22.181Z] ---> 22958a5deaf5 [2022-10-26T20:12:22.181Z] Step 14/26 : FROM alpine:3.16 [2022-10-26T20:12:22.181Z] 3.16: Pulling from library/alpine [2022-10-26T20:12:22.181Z] 213ec9aee27d: Already exists [2022-10-26T20:12:22.181Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T20:12:22.181Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T20:12:22.181Z] ---> 9c6f07244728 [2022-10-26T20:12:22.181Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-26T20:12:22.181Z] ---> Running in 820f68f4257b [2022-10-26T20:12:22.181Z] Removing intermediate container 820f68f4257b [2022-10-26T20:12:22.181Z] ---> 4be6d56ad2de [2022-10-26T20:12:22.181Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:12:22.181Z] ---> Running in c9bd3fb7ff42 [2022-10-26T20:12:22.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:12:22.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:12:22.181Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:12:22.181Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T20:12:22.181Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:12:22.181Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T20:12:22.181Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:12:22.181Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:12:22.181Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:12:22.181Z] OK: 8 MiB in 20 packages [2022-10-26T20:12:22.181Z] Removing intermediate container c9bd3fb7ff42 [2022-10-26T20:12:22.181Z] ---> b82a845449d8 [2022-10-26T20:12:22.181Z] Step 17/26 : WORKDIR / [2022-10-26T20:12:22.181Z] ---> Running in e05a27b75e8f [2022-10-26T20:12:22.181Z] Removing intermediate container e05a27b75e8f [2022-10-26T20:12:22.181Z] ---> 26a86ba1bf54 [2022-10-26T20:12:22.181Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-26T20:12:22.181Z] ---> 9d6ecbb8fa99 [2022-10-26T20:12:22.181Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-26T20:12:22.181Z] ---> ef7d3c8d8ccc [2022-10-26T20:12:22.181Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-26T20:12:22.181Z] ---> a6cce56c409f [2022-10-26T20:12:22.181Z] Step 21/26 : EXPOSE 59984 [2022-10-26T20:12:22.181Z] ---> Running in 1a505f1e45c1 [2022-10-26T20:12:22.181Z] Removing intermediate container 1a505f1e45c1 [2022-10-26T20:12:22.181Z] ---> 5d5a8b966164 [2022-10-26T20:12:22.181Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-26T20:12:22.440Z] ---> Running in 673690c437f3 [2022-10-26T20:12:22.440Z] Removing intermediate container 673690c437f3 [2022-10-26T20:12:22.440Z] ---> dd177fca628d [2022-10-26T20:12:22.440Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T20:12:22.440Z] ---> Running in 52cf0f6dd358 [2022-10-26T20:12:22.440Z] Removing intermediate container 52cf0f6dd358 [2022-10-26T20:12:22.440Z] ---> 11aa53fa5aab [2022-10-26T20:12:22.440Z] Step 24/26 : LABEL arch=amd64 [2022-10-26T20:12:22.697Z] ---> Running in a09f5bf428b9 [2022-10-26T20:12:22.697Z] Removing intermediate container a09f5bf428b9 [2022-10-26T20:12:22.697Z] ---> 628f31c0ef3c [2022-10-26T20:12:22.697Z] Step 25/26 : LABEL git_sha=804310eae489f55c59c183e292d3ce289b1d6892 [2022-10-26T20:12:22.697Z] ---> Running in 30a5018f43a1 [2022-10-26T20:12:22.697Z] Removing intermediate container 30a5018f43a1 [2022-10-26T20:12:22.697Z] ---> dd50042fdc73 [2022-10-26T20:12:22.697Z] Step 26/26 : LABEL version=0.0.0 [2022-10-26T20:12:22.697Z] ---> Running in 16ff8c9e39fc [2022-10-26T20:12:22.954Z] Removing intermediate container 16ff8c9e39fc [2022-10-26T20:12:22.954Z] ---> dc9db5dc0976 [2022-10-26T20:12:22.954Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:12:22.954Z] Successfully built dc9db5dc0976 [2022-10-26T20:12:22.954Z] 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-26T20:12:23.344Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:12:23.344Z] [2022-10-26T20:12:23.344Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:12:23.639Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:12:23.639Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T20:12:23.639Z] 5eb5b503b376: Pulling fs layer [2022-10-26T20:12:23.639Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T20:12:23.639Z] ec43610c2a17: Pulling fs layer [2022-10-26T20:12:23.639Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T20:12:23.639Z] 33b1e0a273af: Pulling fs layer [2022-10-26T20:12:23.639Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T20:12:23.639Z] 2f39f015ded8: Pulling fs layer [2022-10-26T20:12:23.639Z] 3a2ae6a8a46f: Waiting [2022-10-26T20:12:23.639Z] 2f39f015ded8: Waiting [2022-10-26T20:12:23.639Z] 33b1e0a273af: Waiting [2022-10-26T20:12:23.639Z] 5d3b04190fa2: Waiting [2022-10-26T20:12:23.639Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T20:12:23.639Z] 5c69ac0246d0: Download complete [2022-10-26T20:12:23.639Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T20:12:23.639Z] 3a2ae6a8a46f: Download complete [2022-10-26T20:12:23.639Z] 33b1e0a273af: Verifying Checksum [2022-10-26T20:12:23.639Z] 33b1e0a273af: Download complete [2022-10-26T20:12:23.899Z] ec43610c2a17: Verifying Checksum [2022-10-26T20:12:23.899Z] ec43610c2a17: Download complete [2022-10-26T20:12:23.899Z] 5d3b04190fa2: Download complete [2022-10-26T20:12:23.899Z] 5eb5b503b376: Download complete [2022-10-26T20:12:24.463Z] 2f39f015ded8: Download complete [2022-10-26T20:12:25.027Z] 5eb5b503b376: Pull complete [2022-10-26T20:12:25.027Z] 5c69ac0246d0: Pull complete [2022-10-26T20:12:25.593Z] ec43610c2a17: Pull complete [2022-10-26T20:12:25.593Z] 3a2ae6a8a46f: Pull complete [2022-10-26T20:12:25.593Z] 33b1e0a273af: Pull complete [2022-10-26T20:12:25.851Z] 5d3b04190fa2: Pull complete [2022-10-26T20:12:30.032Z] 2f39f015ded8: Pull complete [2022-10-26T20:12:30.032Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T20:12:30.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:12:30.032Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:12:30.103Z] prd-ubuntu20.04-docker-8c-8g-117288 does not seem to be running inside a container [2022-10-26T20:12:30.131Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T20:12:31.839Z] $ docker top a6aad5e4d6db109ad7c50223801cbfd61ce12603b324692b43a38116e608e257 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:12:32.202Z] ---> job-cost.sh [2022-10-26T20:12:32.202Z] lf-activate-venv: SKIPPING [2022-10-26T20:12:32.202Z] INFO: No Stack... [2022-10-26T20:12:32.460Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:12:32.722Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:12:33.002Z] + cat /w/workspace/undry_device-onvif-camera_PR-187/archives/cost.csv [2022-10-26T20:12:33.002Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:12:33.013Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-187-5-stack-cost] [2022-10-26T20:12:33.025Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-5-stack-cost] did not exist. Created. [2022-10-26T20:12:33.025Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-187-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:12:33.317Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T20:12:33.348Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:12:33.359Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:12:33.373Z] $ docker stop --time=1 a6aad5e4d6db109ad7c50223801cbfd61ce12603b324692b43a38116e608e257 [2022-10-26T20:12:34.536Z] $ docker rm -f a6aad5e4d6db109ad7c50223801cbfd61ce12603b324692b43a38116e608e257 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T20:14:11.240Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117295 in /w/workspace/undry_device-onvif-camera_PR-187 [Pipeline] { [Pipeline] ws [2022-10-26T20:14:11.252Z] Running in /w/workspace/device-onvif-camera/5 [Pipeline] { [Pipeline] checkout [2022-10-26T20:14:11.305Z] The recommended git tool is: git [2022-10-26T20:14:20.786Z] using credential edgex-jenkins-ssh [2022-10-26T20:14:20.807Z] Cloning the remote Git repository [2022-10-26T20:14:20.880Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T20:14:20.980Z] > git init /w/workspace/device-onvif-camera/5 # timeout=10 [2022-10-26T20:14:21.187Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T20:14:21.189Z] > git --version # timeout=10 [2022-10-26T20:14:21.221Z] > git --version # 'git version 2.25.1' [2022-10-26T20:14:21.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:14:21.279Z] Verifying host key using known hosts file [2022-10-26T20:14:21.550Z] 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-26T20:14:21.566Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:14:23.246Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-26T20:14:23.284Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:14:24.401Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-26T20:14:24.460Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T20:14:24.461Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:14:24.467Z] Verifying host key using known hosts file [2022-10-26T20:14:24.475Z] 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-26T20:14:24.490Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T20:14:25.199Z] Merging remotes/origin/main commit 68a981fa1763c207823ac86b4113d2db4c49b852 into PR head commit 35544757918fb5e6750a9220cfbf52472578b9d4 [2022-10-26T20:14:26.361Z] Merge succeeded, producing 3c984fb0a28221987c0a986d0544639d2b52dd4b [2022-10-26T20:14:26.362Z] Checking out Revision 3c984fb0a28221987c0a986d0544639d2b52dd4b (PR-187) [2022-10-26T20:14:25.220Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T20:14:25.250Z] > git checkout -f 35544757918fb5e6750a9220cfbf52472578b9d4 # timeout=10 [2022-10-26T20:14:25.542Z] > git remote # timeout=10 [2022-10-26T20:14:25.566Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T20:14:25.605Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:14:25.611Z] Verifying host key using known hosts file [2022-10-26T20:14:25.619Z] 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-26T20:14:25.634Z] > git merge 68a981fa1763c207823ac86b4113d2db4c49b852 # timeout=10 [2022-10-26T20:14:26.331Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T20:14:26.366Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T20:14:26.384Z] > git checkout -f 3c984fb0a28221987c0a986d0544639d2b52dd4b # timeout=10 [2022-10-26T20:14:29.913Z] Commit message: "Merge commit '68a981fa1763c207823ac86b4113d2db4c49b852' into HEAD" [2022-10-26T20:14:29.944Z] First time build. Skipping changelog. [2022-10-26T20:14:29.918Z] > git rev-list --no-walk dc21a671bfe8654e12e89bfc20c83851c513c8a0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:14:30.952Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T20:14:30.952Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:14:30.952Z] Dload Upload Total Spent Left Speed [2022-10-26T20:14:30.952Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 198k 0 --:--:-- --:--:-- --:--:-- 201k [Pipeline] sh [2022-10-26T20:14:31.687Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T20:14:32.094Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T20:14:32.094Z] + sudo tee /etc/docker/daemon.new [2022-10-26T20:14:32.094Z] { [2022-10-26T20:14:32.094Z] "registry-mirrors": [ [2022-10-26T20:14:32.094Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T20:14:32.094Z] ], [2022-10-26T20:14:32.094Z] "bip": "10.250.0.254/24", [2022-10-26T20:14:32.094Z] "hosts": [ [2022-10-26T20:14:32.094Z] "tcp://0.0.0.0:5555", [2022-10-26T20:14:32.094Z] "unix:///var/run/docker.sock" [2022-10-26T20:14:32.094Z] ], [2022-10-26T20:14:32.094Z] "mtu": 1458, [2022-10-26T20:14:32.094Z] "selinux-enabled": true, [2022-10-26T20:14:32.094Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T20:14:32.094Z] } [Pipeline] sh [2022-10-26T20:14:32.434Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T20:14:32.771Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:14:51.083Z] provisioning config files... [2022-10-26T20:14:51.117Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/5@tmp/config12163616387261301949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:14:51.485Z] ---> docker-login.sh [2022-10-26T20:14:51.485Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:14:52.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:14:52.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:14:52.081Z] Configure a credential helper to remove this warning. See [2022-10-26T20:14:52.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:14:52.081Z] [2022-10-26T20:14:52.081Z] Login Succeeded [2022-10-26T20:14:52.081Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:14:52.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:14:52.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:14:52.627Z] Configure a credential helper to remove this warning. See [2022-10-26T20:14:52.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:14:52.627Z] [2022-10-26T20:14:52.627Z] Login Succeeded [2022-10-26T20:14:52.627Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:14:52.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:14:52.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:14:52.904Z] Configure a credential helper to remove this warning. See [2022-10-26T20:14:52.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:14:52.904Z] [2022-10-26T20:14:52.904Z] Login Succeeded [2022-10-26T20:14:52.904Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:14:53.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:14:53.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:14:53.451Z] Configure a credential helper to remove this warning. See [2022-10-26T20:14:53.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:14:53.451Z] [2022-10-26T20:14:53.451Z] Login Succeeded [2022-10-26T20:14:53.451Z] docker.io [2022-10-26T20:14:53.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:14:53.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:14:53.994Z] Configure a credential helper to remove this warning. See [2022-10-26T20:14:53.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:14:53.994Z] [2022-10-26T20:14:53.994Z] Login Succeeded [2022-10-26T20:14:54.266Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:14:54.281Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:14:54.471Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:14:54.486Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:14:54.495Z] ========================================================= [2022-10-26T20:14:54.495Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T20:14:54.495Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:14:54.845Z] + 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-26T20:14:55.450Z] Sending build context to Docker daemon 20.4MB [2022-10-26T20:14:55.450Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:14:55.450Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-26T20:14:55.722Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T20:14:55.722Z] 9b18e9b68314: Pulling fs layer [2022-10-26T20:14:55.722Z] d32db5db7311: Pulling fs layer [2022-10-26T20:14:55.722Z] d0c4b47475fc: Pulling fs layer [2022-10-26T20:14:55.722Z] 5831b945b038: Pulling fs layer [2022-10-26T20:14:55.722Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T20:14:55.722Z] e10730c5d714: Pulling fs layer [2022-10-26T20:14:55.722Z] 5dd5c2283517: Pulling fs layer [2022-10-26T20:14:55.722Z] d5ac0230b979: Pulling fs layer [2022-10-26T20:14:55.722Z] 5831b945b038: Waiting [2022-10-26T20:14:55.722Z] 86bbec2aaacd: Waiting [2022-10-26T20:14:55.722Z] e10730c5d714: Waiting [2022-10-26T20:14:55.722Z] 5dd5c2283517: Waiting [2022-10-26T20:14:55.722Z] d5ac0230b979: Waiting [2022-10-26T20:14:55.722Z] d0c4b47475fc: Verifying Checksum [2022-10-26T20:14:55.722Z] d0c4b47475fc: Download complete [2022-10-26T20:14:55.722Z] d32db5db7311: Verifying Checksum [2022-10-26T20:14:55.722Z] d32db5db7311: Download complete [2022-10-26T20:14:55.722Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T20:14:55.722Z] 86bbec2aaacd: Download complete [2022-10-26T20:14:55.722Z] e10730c5d714: Verifying Checksum [2022-10-26T20:14:55.722Z] e10730c5d714: Download complete [2022-10-26T20:14:55.995Z] 9b18e9b68314: Download complete [2022-10-26T20:14:56.972Z] 9b18e9b68314: Pull complete [2022-10-26T20:14:56.972Z] d5ac0230b979: Verifying Checksum [2022-10-26T20:14:56.972Z] d5ac0230b979: Download complete [2022-10-26T20:14:57.566Z] d32db5db7311: Pull complete [2022-10-26T20:14:57.838Z] d0c4b47475fc: Pull complete [2022-10-26T20:14:58.118Z] 5dd5c2283517: Verifying Checksum [2022-10-26T20:14:58.118Z] 5dd5c2283517: Download complete [2022-10-26T20:14:58.710Z] 5831b945b038: Verifying Checksum [2022-10-26T20:14:58.710Z] 5831b945b038: Download complete [2022-10-26T20:15:11.063Z] 5831b945b038: Pull complete [2022-10-26T20:15:11.063Z] 86bbec2aaacd: Pull complete [2022-10-26T20:15:11.063Z] e10730c5d714: Pull complete [2022-10-26T20:15:16.445Z] 5dd5c2283517: Pull complete [2022-10-26T20:15:17.423Z] d5ac0230b979: Pull complete [2022-10-26T20:15:17.423Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T20:15:17.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T20:15:17.423Z] ---> 59b3b1a385d4 [2022-10-26T20:15:17.423Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:15:20.033Z] ---> Running in 96a40865d706 [2022-10-26T20:15:20.033Z] Removing intermediate container 96a40865d706 [2022-10-26T20:15:20.033Z] ---> 9fac11088670 [2022-10-26T20:15:20.033Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:15:20.033Z] ---> Running in 88fa17e7aeee [2022-10-26T20:15:20.303Z] Removing intermediate container 88fa17e7aeee [2022-10-26T20:15:20.303Z] ---> 90fcdda6f5eb [2022-10-26T20:15:20.303Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:15:20.577Z] ---> Running in 8dd8d5547451 [2022-10-26T20:15:20.851Z] Removing intermediate container 8dd8d5547451 [2022-10-26T20:15:20.851Z] ---> 1bcc414106b3 [2022-10-26T20:15:20.851Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:15:20.851Z] ---> Running in 442e2df065bf [2022-10-26T20:15:21.442Z] Removing intermediate container 442e2df065bf [2022-10-26T20:15:21.442Z] ---> c35053f6b29d [2022-10-26T20:15:21.442Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-10-26T20:15:21.442Z] ---> Running in 2fe05fcce0da [2022-10-26T20:15:21.714Z] Removing intermediate container 2fe05fcce0da [2022-10-26T20:15:21.714Z] ---> ad62d16aa89c [2022-10-26T20:15:21.714Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:15:21.985Z] ---> Running in 527cc1209c97 [2022-10-26T20:15:24.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:15:24.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:15:25.567Z] OK: 221 MiB in 51 packages [2022-10-26T20:15:26.545Z] Removing intermediate container 527cc1209c97 [2022-10-26T20:15:26.545Z] ---> 6475669dbcaa [2022-10-26T20:15:26.545Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-10-26T20:15:26.817Z] ---> Running in c6fd173a8c4a [2022-10-26T20:15:27.090Z] Removing intermediate container c6fd173a8c4a [2022-10-26T20:15:27.090Z] ---> 58c5a0aa23dd [2022-10-26T20:15:27.090Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-26T20:15:27.700Z] ---> b63481745296 [2022-10-26T20:15:27.700Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:15:27.700Z] ---> Running in f0cf6deb2043 [2022-10-26T20:16:24.156Z] Removing intermediate container f0cf6deb2043 [2022-10-26T20:16:24.156Z] ---> b3b427356bf8 [2022-10-26T20:16:24.156Z] Step 12/13 : COPY . . [2022-10-26T20:16:24.761Z] ---> cd0949638e33 [2022-10-26T20:16:24.761Z] Step 13/13 : RUN ${MAKE} [2022-10-26T20:16:25.035Z] ---> Running in ea51b6f3f7ba [2022-10-26T20:16:26.017Z] noop [2022-10-26T20:16:26.610Z] Removing intermediate container ea51b6f3f7ba [2022-10-26T20:16:26.610Z] ---> fa026e3ea32e [2022-10-26T20:16:26.880Z] Successfully built fa026e3ea32e [2022-10-26T20:16:26.880Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:16:27.251Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:16:27.251Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:16:27.458Z] prd-ubuntu20.04-docker-arm64-4c-16g-117295 does not seem to be running inside a container [2022-10-26T20:16:27.534Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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-26T20:16:28.809Z] $ docker top 906c149006a810149d0f628c0438c0529ad3fb2d3f1cc16f264da9bad08f4339 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:16:29.679Z] + go version [2022-10-26T20:16:29.679Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T20:16:29.697Z] $ docker stop --time=1 906c149006a810149d0f628c0438c0529ad3fb2d3f1cc16f264da9bad08f4339 [2022-10-26T20:16:31.379Z] $ docker rm -f 906c149006a810149d0f628c0438c0529ad3fb2d3f1cc16f264da9bad08f4339 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:16:31.950Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:16:31.950Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:16:32.136Z] prd-ubuntu20.04-docker-arm64-4c-16g-117295 does not seem to be running inside a container [2022-10-26T20:16:32.205Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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-26T20:16:33.463Z] $ docker top 21dd7bebb1524a083ba6bbeeb869075fd5159bc1935b8935258cc32b2fc21f14 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:16:34.312Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/5 [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:16:34.976Z] + make test [2022-10-26T20:16:34.976Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T20:16:36.931Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-26T20:18:28.688Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-26T20:18:34.048Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.218s coverage: 28.2% of statements [2022-10-26T20:18:34.048Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-26T20:18:49.084Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.371s coverage: 86.5% of statements [2022-10-26T20:18:49.084Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T20:18:49.084Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:19:21.366Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:19:21.366Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:19:21.366Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:19:21.384Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:19:21.390Z] $ docker stop --time=1 21dd7bebb1524a083ba6bbeeb869075fd5159bc1935b8935258cc32b2fc21f14 [2022-10-26T20:19:23.230Z] $ docker rm -f 21dd7bebb1524a083ba6bbeeb869075fd5159bc1935b8935258cc32b2fc21f14 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:19:24.317Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:19:24.333Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T20:19:24.954Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:19:25.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:19:25.657Z] + ls -al . [2022-10-26T20:19:25.657Z] total 240 [2022-10-26T20:19:25.657Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:16 . [2022-10-26T20:19:25.657Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:14 .. [2022-10-26T20:19:25.657Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:14 .git [2022-10-26T20:19:25.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:14 .github [2022-10-26T20:19:25.657Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 26 20:14 .gitignore [2022-10-26T20:19:25.657Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 20:14 .golangci.yml [2022-10-26T20:19:25.657Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 26 20:14 Attribution.txt [2022-10-26T20:19:25.657Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 26 20:14 CHANGELOG.md [2022-10-26T20:19:25.657Z] -rw-rw-r-- 1 jenkins jenkins 1637 Oct 26 20:14 Dockerfile [2022-10-26T20:19:25.657Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:14 GOVERNANCE.md [2022-10-26T20:19:25.657Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 26 20:14 Jenkinsfile [2022-10-26T20:19:25.657Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 20:14 LICENSE [2022-10-26T20:19:25.657Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 26 20:14 Makefile [2022-10-26T20:19:25.657Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 20:14 OWNERS.md [2022-10-26T20:19:25.657Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 26 20:14 README.md [2022-10-26T20:19:25.657Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:10 VERSION [2022-10-26T20:19:25.657Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:14 bin [2022-10-26T20:19:25.657Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:14 cmd [2022-10-26T20:19:25.657Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 26 20:18 coverage.out [2022-10-26T20:19:25.657Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 20:14 doc [2022-10-26T20:19:25.657Z] -rw-rw-r-- 1 jenkins jenkins 3736 Oct 26 20:14 go.mod [2022-10-26T20:19:25.657Z] -rw-rw-r-- 1 jenkins jenkins 46203 Oct 26 20:14 go.sum [2022-10-26T20:19:25.657Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:14 internal [2022-10-26T20:19:25.657Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:14 snap [2022-10-26T20:19:25.657Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 20:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:19:26.006Z] + 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=3c984fb0a28221987c0a986d0544639d2b52dd4b --label arch=arm64 --label version=0.0.0 . [2022-10-26T20:19:26.594Z] Sending build context to Docker daemon 20.47MB [2022-10-26T20:19:26.594Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:19:26.594Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T20:19:26.594Z] ---> fa026e3ea32e [2022-10-26T20:19:26.594Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:19:26.862Z] ---> Running in 8c445d942381 [2022-10-26T20:19:27.131Z] Removing intermediate container 8c445d942381 [2022-10-26T20:19:27.131Z] ---> 93a900768f49 [2022-10-26T20:19:27.131Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:19:27.131Z] ---> Running in 94add4caffb8 [2022-10-26T20:19:27.718Z] Removing intermediate container 94add4caffb8 [2022-10-26T20:19:27.718Z] ---> 0a56dfa87266 [2022-10-26T20:19:27.718Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:19:27.718Z] ---> Running in 5bde1be018a7 [2022-10-26T20:19:27.985Z] Removing intermediate container 5bde1be018a7 [2022-10-26T20:19:27.985Z] ---> 42a9aeaf97e7 [2022-10-26T20:19:27.985Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:19:27.985Z] ---> Running in 7c01bdc701d0 [2022-10-26T20:19:28.255Z] Removing intermediate container 7c01bdc701d0 [2022-10-26T20:19:28.255Z] ---> 9dcff05a83af [2022-10-26T20:19:28.255Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-10-26T20:19:28.573Z] ---> Running in 0cf0d32fd6b0 [2022-10-26T20:19:28.863Z] Removing intermediate container 0cf0d32fd6b0 [2022-10-26T20:19:28.864Z] ---> 294571deaa0f [2022-10-26T20:19:28.864Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:19:28.864Z] ---> Running in e8b95dfffe92 [2022-10-26T20:19:30.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:19:30.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:19:31.672Z] OK: 221 MiB in 51 packages [2022-10-26T20:19:32.739Z] Removing intermediate container e8b95dfffe92 [2022-10-26T20:19:32.739Z] ---> d7bfe0a6772d [2022-10-26T20:19:32.739Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-10-26T20:19:33.007Z] ---> Running in 1c05799ed966 [2022-10-26T20:19:33.280Z] Removing intermediate container 1c05799ed966 [2022-10-26T20:19:33.280Z] ---> 112b4215afdb [2022-10-26T20:19:33.280Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-26T20:19:33.872Z] ---> 1e79b2e70b68 [2022-10-26T20:19:33.872Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:19:33.872Z] ---> Running in 2b8ed499053d [2022-10-26T20:19:36.470Z] Removing intermediate container 2b8ed499053d [2022-10-26T20:19:36.470Z] ---> 2f1673499c14 [2022-10-26T20:19:36.470Z] Step 12/26 : COPY . . [2022-10-26T20:19:38.428Z] ---> 133b1f81cbb9 [2022-10-26T20:19:38.428Z] Step 13/26 : RUN ${MAKE} [2022-10-26T20:19:38.428Z] ---> Running in b55dce02947b [2022-10-26T20:19:39.424Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-26T20:22:31.413Z] Removing intermediate container b55dce02947b [2022-10-26T20:22:31.413Z] ---> 6279802c8a85 [2022-10-26T20:22:31.413Z] Step 14/26 : FROM alpine:3.16 [2022-10-26T20:22:31.413Z] 3.16: Pulling from library/alpine [2022-10-26T20:22:31.413Z] 9b18e9b68314: Already exists [2022-10-26T20:22:31.413Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T20:22:31.413Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T20:22:31.413Z] ---> a6215f271958 [2022-10-26T20:22:31.413Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-26T20:22:31.413Z] ---> Running in fa3e734877e6 [2022-10-26T20:22:31.413Z] Removing intermediate container fa3e734877e6 [2022-10-26T20:22:31.413Z] ---> d30cbdc80710 [2022-10-26T20:22:31.413Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:22:31.413Z] ---> Running in 245d163b2ba7 [2022-10-26T20:22:31.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:22:31.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:22:31.414Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:22:31.414Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T20:22:31.414Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:22:31.414Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T20:22:31.414Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:22:31.414Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:22:31.414Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:22:31.414Z] OK: 8 MiB in 20 packages [2022-10-26T20:22:31.414Z] Removing intermediate container 245d163b2ba7 [2022-10-26T20:22:31.414Z] ---> fb9880bbebef [2022-10-26T20:22:31.414Z] Step 17/26 : WORKDIR / [2022-10-26T20:22:31.414Z] ---> Running in ad3ee6995b29 [2022-10-26T20:22:31.414Z] Removing intermediate container ad3ee6995b29 [2022-10-26T20:22:31.414Z] ---> c526af2815fa [2022-10-26T20:22:31.414Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-26T20:22:31.414Z] ---> cc26986ab3f2 [2022-10-26T20:22:31.414Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-26T20:22:31.683Z] ---> f0cd53cadfd8 [2022-10-26T20:22:31.683Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-26T20:22:32.270Z] ---> 9e7fd04d0048 [2022-10-26T20:22:32.270Z] Step 21/26 : EXPOSE 59984 [2022-10-26T20:22:32.270Z] ---> Running in 104e450e68ba [2022-10-26T20:22:32.542Z] Removing intermediate container 104e450e68ba [2022-10-26T20:22:32.542Z] ---> 124a579ac7b6 [2022-10-26T20:22:32.542Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-26T20:22:32.814Z] ---> Running in 7a8e3e9b9580 [2022-10-26T20:22:33.083Z] Removing intermediate container 7a8e3e9b9580 [2022-10-26T20:22:33.083Z] ---> b48754735b3e [2022-10-26T20:22:33.083Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T20:22:33.083Z] ---> Running in 6f7cd6f7016d [2022-10-26T20:22:33.357Z] Removing intermediate container 6f7cd6f7016d [2022-10-26T20:22:33.357Z] ---> 753ef00a9959 [2022-10-26T20:22:33.357Z] Step 24/26 : LABEL arch=arm64 [2022-10-26T20:22:33.627Z] ---> Running in 464b44345ebf [2022-10-26T20:22:33.897Z] Removing intermediate container 464b44345ebf [2022-10-26T20:22:33.897Z] ---> d6573be94027 [2022-10-26T20:22:33.897Z] Step 25/26 : LABEL git_sha=3c984fb0a28221987c0a986d0544639d2b52dd4b [2022-10-26T20:22:33.897Z] ---> Running in 9fd4788812ec [2022-10-26T20:22:34.372Z] Removing intermediate container 9fd4788812ec [2022-10-26T20:22:34.372Z] ---> de38cc76da74 [2022-10-26T20:22:34.372Z] Step 26/26 : LABEL version=0.0.0 [2022-10-26T20:22:34.372Z] ---> Running in b8d49f2c1755 [2022-10-26T20:22:34.642Z] Removing intermediate container b8d49f2c1755 [2022-10-26T20:22:34.642Z] ---> 1463ab438db2 [2022-10-26T20:22:34.642Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:22:34.642Z] Successfully built 1463ab438db2 [2022-10-26T20:22:34.642Z] 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-26T20:22:35.397Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:22:35.397Z] [2022-10-26T20:22:35.397Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:22:35.738Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:22:36.005Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T20:22:36.005Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T20:22:36.005Z] 04944245beec: Pulling fs layer [2022-10-26T20:22:36.005Z] 699f458cf7ca: Pulling fs layer [2022-10-26T20:22:36.005Z] 765212b225bb: Pulling fs layer [2022-10-26T20:22:36.005Z] f23df028b6ca: Pulling fs layer [2022-10-26T20:22:36.005Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T20:22:36.005Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T20:22:36.005Z] f23df028b6ca: Waiting [2022-10-26T20:22:36.005Z] d65c8cfc05b1: Waiting [2022-10-26T20:22:36.005Z] 2437ff75d9bd: Waiting [2022-10-26T20:22:36.005Z] 765212b225bb: Waiting [2022-10-26T20:22:36.005Z] 04944245beec: Verifying Checksum [2022-10-26T20:22:36.005Z] 04944245beec: Download complete [2022-10-26T20:22:36.005Z] 765212b225bb: Verifying Checksum [2022-10-26T20:22:36.005Z] 765212b225bb: Download complete [2022-10-26T20:22:36.005Z] f23df028b6ca: Verifying Checksum [2022-10-26T20:22:36.005Z] f23df028b6ca: Download complete [2022-10-26T20:22:36.272Z] d65c8cfc05b1: Download complete [2022-10-26T20:22:36.272Z] 699f458cf7ca: Verifying Checksum [2022-10-26T20:22:36.272Z] 699f458cf7ca: Download complete [2022-10-26T20:22:36.540Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T20:22:36.540Z] 8998bd30e6a1: Download complete [2022-10-26T20:22:39.131Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T20:22:39.131Z] 2437ff75d9bd: Download complete [2022-10-26T20:22:40.544Z] 8998bd30e6a1: Pull complete [2022-10-26T20:22:41.129Z] 04944245beec: Pull complete [2022-10-26T20:22:42.545Z] 699f458cf7ca: Pull complete [2022-10-26T20:22:42.545Z] 765212b225bb: Pull complete [2022-10-26T20:22:43.506Z] f23df028b6ca: Pull complete [2022-10-26T20:22:43.775Z] d65c8cfc05b1: Pull complete [2022-10-26T20:22:58.778Z] 2437ff75d9bd: Pull complete [2022-10-26T20:22:58.778Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T20:22:58.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:22:58.778Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:22:59.009Z] prd-ubuntu20.04-docker-arm64-4c-16g-117295 does not seem to be running inside a container [2022-10-26T20:22:59.090Z] $ 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/5 -v /w/workspace/device-onvif-camera/5:/w/workspace/device-onvif-camera/5:rw,z -v /w/workspace/device-onvif-camera/5@tmp:/w/workspace/device-onvif-camera/5@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-26T20:23:02.096Z] $ docker top 03511d1ba3d85a9392c1ad44c0e48fd51df4fa01c5c79f338b60ce2af3d8a10f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:02.985Z] ---> job-cost.sh [2022-10-26T20:23:02.985Z] lf-activate-venv: SKIPPING [2022-10-26T20:23:02.985Z] INFO: No Stack... [2022-10-26T20:23:03.568Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T20:23:04.156Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:23:04.802Z] + cat /w/workspace/device-onvif-camera/5/archives/cost.csv [2022-10-26T20:23:04.802Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:23:04.837Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-187-5-stack-cost] [2022-10-26T20:23:04.843Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-5-stack-cost] did not exist. Created. [2022-10-26T20:23:04.843Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-187-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:23:05.499Z] /w/workspace/device-onvif-camera/5@tmp/durable-f64f2ee2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T20:23:06.150Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T20:23:06.166Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T20:23:06.240Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:23:06.246Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-187-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:23:06.258Z] $ docker stop --time=1 03511d1ba3d85a9392c1ad44c0e48fd51df4fa01c5c79f338b60ce2af3d8a10f [2022-10-26T20:23:07.782Z] $ docker rm -f 03511d1ba3d85a9392c1ad44c0e48fd51df4fa01c5c79f338b60ce2af3d8a10f [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-26T20:23:08.152Z] provisioning config files... [2022-10-26T20:23:08.159Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config5612498470635686144tmp [Pipeline] { [Pipeline] sh [2022-10-26T20:23:08.454Z] + set +x [2022-10-26T20:23:08.454Z] + + curlbash -s -s https://codecov.io/bash -- [2022-10-26T20:23:08.454Z] [2022-10-26T20:23:08.454Z] [2022-10-26T20:23:08.454Z] _____ _ [2022-10-26T20:23:08.454Z] / ____| | | [2022-10-26T20:23:08.454Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T20:23:08.454Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T20:23:08.454Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T20:23:08.454Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T20:23:08.454Z] Bash-1.0.6 [2022-10-26T20:23:08.454Z] [2022-10-26T20:23:08.454Z] [2022-10-26T20:23:08.454Z] ==> git version 2.25.1 found [2022-10-26T20:23:08.454Z] ==> 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-26T20:23:08.454Z] Release-Date: 2020-01-08 [2022-10-26T20:23:08.454Z] 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-26T20:23:08.454Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T20:23:08.454Z] ==> Jenkins CI detected. [2022-10-26T20:23:08.454Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-187 [2022-10-26T20:23:08.454Z] project root: . [2022-10-26T20:23:08.454Z] --> token set from env [2022-10-26T20:23:08.454Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T20:23:08.454Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T20:23:08.454Z] ==> Python coveragepy not found [2022-10-26T20:23:08.454Z] ==> Searching for coverage reports in: [2022-10-26T20:23:08.454Z] + . [2022-10-26T20:23:08.454Z] -> Found 1 reports [2022-10-26T20:23:08.454Z] ==> Detecting git/mercurial file structure [2022-10-26T20:23:08.454Z] ==> Reading reports [2022-10-26T20:23:08.454Z] + ./coverage.out bytes=78636 [2022-10-26T20:23:08.454Z] ==> Appending adjustments [2022-10-26T20:23:08.454Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T20:23:08.713Z] + Found adjustments [2022-10-26T20:23:08.713Z] ==> Gzipping contents [2022-10-26T20:23:08.713Z] 12K /tmp/codecov.evkqfv.gz [2022-10-26T20:23:08.713Z] ==> Uploading reports [2022-10-26T20:23:08.713Z] url: https://codecov.io [2022-10-26T20:23:08.714Z] query: branch=PR-187&commit=804310eae489f55c59c183e292d3ce289b1d6892&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-187%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=187&job=&cmd_args= [2022-10-26T20:23:08.714Z] -> Pinging Codecov [2022-10-26T20:23:08.714Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-187&commit=804310eae489f55c59c183e292d3ce289b1d6892&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-187%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=187&job=&cmd_args= [2022-10-26T20:23:08.972Z] -> Uploading to [2022-10-26T20:23:08.972Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/F29A59C45E3A92E06B3E522C9905F8EF/804310eae489f55c59c183e292d3ce289b1d6892/d4a1741b-3428-48b6-b116-09aaf75ab122.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T202308Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e43c975ec6c7ae8e33092e517792bfd7c4de81006bce1ac08ce0b5578dfbda89 [2022-10-26T20:23:08.972Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:23:08.972Z] Dload Upload Total Spent Left Speed [2022-10-26T20:23:09.231Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10780 0 0 100 10780 0 43821 --:--:-- --:--:-- --:--:-- 43821 [2022-10-26T20:23:09.231Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/804310eae489f55c59c183e292d3ce289b1d6892 [Pipeline] } [2022-10-26T20:23:09.237Z] 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-26T20:23:09.888Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-187/archives ] [2022-10-26T20:23:09.888Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-187/archives [2022-10-26T20:23:09.888Z] total 16 [2022-10-26T20:23:09.888Z] drwxr-xr-x 3 root root 4096 Oct 26 20:12 . [2022-10-26T20:23:09.888Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:12 .. [2022-10-26T20:23:09.888Z] drwxr-xr-x 2 root root 4096 Oct 26 20:12 cost [2022-10-26T20:23:09.888Z] -rw-r--r-- 1 root root 91 Oct 26 20:12 cost.csv [2022-10-26T20:23:09.888Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-187/archives [2022-10-26T20:23:09.888Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-187/archives [2022-10-26T20:23:09.888Z] total 16 [2022-10-26T20:23:09.888Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:12 . [2022-10-26T20:23:09.888Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:12 .. [2022-10-26T20:23:09.888Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:12 cost [2022-10-26T20:23:09.888Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 26 20:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:10.178Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:11.036Z] ---> package-listing.sh [2022-10-26T20:23:11.036Z] ++ facter osfamily [2022-10-26T20:23:11.036Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T20:23:11.036Z] + OS_FAMILY=debian [2022-10-26T20:23:11.036Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-187 [2022-10-26T20:23:11.036Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T20:23:11.036Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T20:23:11.036Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T20:23:11.036Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T20:23:11.036Z] + '[' /w/workspace/undry_device-onvif-camera_PR-187 ']' [2022-10-26T20:23:11.036Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T20:23:11.036Z] + case "${OS_FAMILY}" in [2022-10-26T20:23:11.036Z] + dpkg -l [2022-10-26T20:23:11.036Z] + grep '^ii' [2022-10-26T20:23:11.294Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T20:23:11.294Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T20:23:11.294Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T20:23:11.294Z] + '[' /w/workspace/undry_device-onvif-camera_PR-187 ']' [2022-10-26T20:23:11.294Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-187/archives/ [2022-10-26T20:23:11.294Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-187/archives/ [Pipeline] echo [2022-10-26T20:23:11.302Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T20:23:11.586Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:23:12.151Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:23:12.151Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:23:12.217Z] prd-ubuntu20.04-docker-8c-8g-117288 does not seem to be running inside a container [2022-10-26T20:23:12.247Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-187 -v /w/workspace/undry_device-onvif-camera_PR-187:/w/workspace/undry_device-onvif-camera_PR-187:rw,z -v /w/workspace/undry_device-onvif-camera_PR-187@tmp:/w/workspace/undry_device-onvif-camera_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T20:23:12.466Z] $ docker top e386726a95be86a2e01cb7b64718deb14da0f816db39ddd7f619377e89644dda -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:23:12.816Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T20:23:13.098Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T20:23:13.380Z] + ls /var/log/sa-host [2022-10-26T20:23:13.380Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:23:13.450Z] provisioning config files... [2022-10-26T20:23:13.456Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-187@tmp/config9154377464951943972tmp [Pipeline] { [Pipeline] echo [2022-10-26T20:23:13.470Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:13.752Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T20:23:13.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:14.071Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T20:23:14.079Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:14.364Z] ---> sudo-logs.sh [2022-10-26T20:23:14.364Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T20:23:14.389Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:14.673Z] ---> job-cost.sh [2022-10-26T20:23:14.673Z] lf-activate-venv: SKIPPING [2022-10-26T20:23:14.673Z] DEBUG: total: 0.2199999988079071 [2022-10-26T20:23:14.673Z] INFO: Retrieving Stack Cost... [2022-10-26T20:23:14.932Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:23:15.501Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T20:23:15.512Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:23:15.796Z] ---> logs-deploy.sh [2022-10-26T20:23:15.797Z] lf-activate-venv: SKIPPING [2022-10-26T20:23:15.797Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-187/5 [2022-10-26T20:23:15.797Z] INFO: archiving workspace using pattern(s): [2022-10-26T20:23:16.739Z] Archives upload complete. [2022-10-26T20:23:16.739Z] INFO: archiving logs to Nexus