Pull request #172 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 edgego for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than ca837fe545fbfa1313c6f31ccf1912afdfef5133 Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2865029601982935972.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16297662848830366597.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/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-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15914387216091485514.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh420716045186077688.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-172/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-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5761837216525855607.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-7333 in /w/workspace/undry_device-onvif-camera_PR-172 [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-172 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit ca837fe545fbfa1313c6f31ccf1912afdfef5133 Merge succeeded, producing ca837fe545fbfa1313c6f31ccf1912afdfef5133 Checking out Revision ca837fe545fbfa1313c6f31ccf1912afdfef5133 (PR-172) > git config core.sparsecheckout # timeout=10 > git checkout -f ca837fe545fbfa1313c6f31ccf1912afdfef5133 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca837fe545fbfa1313c6f31ccf1912afdfef5133 # timeout=10 Commit message: "fix discovery mode netscan when using docker-compose" > git rev-list --no-walk 026a5af62424d9ee60e0109aa6467f6d6cde16fe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-07T11:12:25.699Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-07T11:12:25.755Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-07T11:12:25.769Z] ========================================================= [2022-10-07T11:12:25.769Z] EdgeX Global Pipelines Version Info [2022-10-07T11:12:25.769Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:12:26.506Z] ------------------- [2022-10-07T11:12:26.506Z] stable info: [2022-10-07T11:12:26.506Z] ------------------- [2022-10-07T11:12:26.506Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-07T11:12:26.506Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-07T11:12:26.506Z] Message: update stable to v1.0.239 [2022-10-07T11:12:27.077Z] ------------------- [2022-10-07T11:12:27.077Z] experimental info: [2022-10-07T11:12:27.077Z] ------------------- [2022-10-07T11:12:27.077Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-07T11:12:27.077Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-07T11:12:27.077Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-07T11:12:27.227Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-07T11:12:27.242Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-07T11:12:27.254Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-07T11:12:27.267Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-07T11:12:27.278Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-07T11:12:27.289Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-07T11:12:27.304Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-07T11:12:27.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-07T11:12:27.341Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-07T11:12:27.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-07T11:12:27.374Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-07T11:12:27.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-07T11:12:27.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-07T11:12:27.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-07T11:12:27.426Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-07T11:12:27.437Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-07T11:12:27.451Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-07T11:12:27.466Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-07T11:12:27.480Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-07T11:12:27.491Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-07T11:12:27.503Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-07T11:12:27.516Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-07T11:12:27.525Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-07T11:12:27.536Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-07T11:12:27.547Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-07T11:12:27.561Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-07T11:12:27.571Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-07T11:12:27.582Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo [2022-10-07T11:12:27.596Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo [2022-10-07T11:12:27.607Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo [2022-10-07T11:12:27.618Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca837fe545fbfa1313c6f31ccf1912afdfef5133 [Pipeline] echo [2022-10-07T11:12:27.631Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca837fe [Pipeline] echo [2022-10-07T11:12:27.643Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T11:12:27.695Z] provisioning config files... [2022-10-07T11:12:27.709Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config9532711049742784974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:12:28.009Z] ---> docker-login.sh [2022-10-07T11:12:28.010Z] nexus3.edgexfoundry.org:10001 [2022-10-07T11:12:28.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:12:28.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:12:28.270Z] Configure a credential helper to remove this warning. See [2022-10-07T11:12:28.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:12:28.270Z] [2022-10-07T11:12:28.270Z] Login Succeeded [2022-10-07T11:12:28.270Z] nexus3.edgexfoundry.org:10002 [2022-10-07T11:12:28.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:12:28.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:12:28.270Z] Configure a credential helper to remove this warning. See [2022-10-07T11:12:28.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:12:28.270Z] [2022-10-07T11:12:28.270Z] Login Succeeded [2022-10-07T11:12:28.270Z] nexus3.edgexfoundry.org:10003 [2022-10-07T11:12:28.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:12:28.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:12:28.530Z] Configure a credential helper to remove this warning. See [2022-10-07T11:12:28.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:12:28.530Z] [2022-10-07T11:12:28.530Z] Login Succeeded [2022-10-07T11:12:28.530Z] nexus3.edgexfoundry.org:10004 [2022-10-07T11:12:28.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:12:28.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:12:28.530Z] Configure a credential helper to remove this warning. See [2022-10-07T11:12:28.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:12:28.530Z] [2022-10-07T11:12:28.530Z] Login Succeeded [2022-10-07T11:12:28.530Z] docker.io [2022-10-07T11:12:28.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:12:29.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:12:29.050Z] Configure a credential helper to remove this warning. See [2022-10-07T11:12:29.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:12:29.050Z] [2022-10-07T11:12:29.050Z] Login Succeeded [2022-10-07T11:12:29.050Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T11:12:29.059Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-07T11:12:29.439Z] + git rev-list -1 --merges ca837fe545fbfa1313c6f31ccf1912afdfef5133~1..ca837fe545fbfa1313c6f31ccf1912afdfef5133 [Pipeline] echo [2022-10-07T11:12:29.473Z] -----------> git rev-list -1 --merges ca837fe545fbfa1313c6f31ccf1912afdfef5133~1..ca837fe545fbfa1313c6f31ccf1912afdfef5133 ca837fe545fbfa1313c6f31ccf1912afdfef5133 [false] [Pipeline] sh [2022-10-07T11:12:29.762Z] + git log --format=format:%s -1 ca837fe545fbfa1313c6f31ccf1912afdfef5133 [Pipeline] echo [2022-10-07T11:12:29.777Z] ========================================================= [2022-10-07T11:12:29.777Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-07T11:12:29.777Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T11:12:30.107Z] + git log --format=format:%s -1 ca837fe545fbfa1313c6f31ccf1912afdfef5133 [Pipeline] echo [2022-10-07T11:12:30.118Z] [semverPrep] GIT_COMMIT: ca837fe545fbfa1313c6f31ccf1912afdfef5133, Commit Message: fix discovery mode netscan when using docker-compose [Pipeline] echo [2022-10-07T11:12:30.129Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-07T11:12:30.570Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-07T11:12:30.570Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-07T11:12:30.570Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-07T11:12:30.570Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-07T11:12:30.570Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-07T11:12:30.570Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-07T11:12:30.570Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:12:30.981Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T11:12:30.981Z] [2022-10-07T11:12:30.981Z] 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-07T11:12:31.339Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T11:12:31.339Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-07T11:12:31.339Z] b85a868b505f: Pulling fs layer [2022-10-07T11:12:31.339Z] e2be974225ed: Pulling fs layer [2022-10-07T11:12:31.339Z] 339a4e72a1f5: Pulling fs layer [2022-10-07T11:12:31.339Z] 988bab9f4d93: Pulling fs layer [2022-10-07T11:12:31.339Z] 1469e6f7b9e6: Pulling fs layer [2022-10-07T11:12:31.339Z] eaf3925da568: Pulling fs layer [2022-10-07T11:12:31.339Z] bab4dde63d76: Pulling fs layer [2022-10-07T11:12:31.339Z] 988bab9f4d93: Waiting [2022-10-07T11:12:31.339Z] 1469e6f7b9e6: Waiting [2022-10-07T11:12:31.339Z] eaf3925da568: Waiting [2022-10-07T11:12:31.339Z] bde34c3a00c8: Pulling fs layer [2022-10-07T11:12:31.339Z] b352a97aabf1: Pulling fs layer [2022-10-07T11:12:31.339Z] 4872d77fe225: Pulling fs layer [2022-10-07T11:12:31.339Z] bab4dde63d76: Waiting [2022-10-07T11:12:31.339Z] 5851b861e8e6: Pulling fs layer [2022-10-07T11:12:31.339Z] bde34c3a00c8: Waiting [2022-10-07T11:12:31.339Z] 4872d77fe225: Waiting [2022-10-07T11:12:31.339Z] 5851b861e8e6: Waiting [2022-10-07T11:12:31.339Z] b352a97aabf1: Waiting [2022-10-07T11:12:31.339Z] e2be974225ed: Verifying Checksum [2022-10-07T11:12:31.339Z] e2be974225ed: Download complete [2022-10-07T11:12:31.339Z] 988bab9f4d93: Verifying Checksum [2022-10-07T11:12:31.339Z] 988bab9f4d93: Download complete [2022-10-07T11:12:31.598Z] 1469e6f7b9e6: Verifying Checksum [2022-10-07T11:12:31.598Z] 1469e6f7b9e6: Download complete [2022-10-07T11:12:31.598Z] eaf3925da568: Verifying Checksum [2022-10-07T11:12:31.598Z] eaf3925da568: Download complete [2022-10-07T11:12:31.598Z] 339a4e72a1f5: Verifying Checksum [2022-10-07T11:12:31.598Z] 339a4e72a1f5: Download complete [2022-10-07T11:12:31.598Z] bde34c3a00c8: Verifying Checksum [2022-10-07T11:12:31.598Z] bde34c3a00c8: Download complete [2022-10-07T11:12:31.598Z] b352a97aabf1: Verifying Checksum [2022-10-07T11:12:31.598Z] b352a97aabf1: Download complete [2022-10-07T11:12:31.598Z] 4872d77fe225: Verifying Checksum [2022-10-07T11:12:31.598Z] 4872d77fe225: Download complete [2022-10-07T11:12:31.598Z] 5851b861e8e6: Download complete [2022-10-07T11:12:31.598Z] b85a868b505f: Verifying Checksum [2022-10-07T11:12:31.598Z] b85a868b505f: Download complete [2022-10-07T11:12:31.856Z] bab4dde63d76: Verifying Checksum [2022-10-07T11:12:31.856Z] bab4dde63d76: Download complete [2022-10-07T11:12:32.793Z] b85a868b505f: Pull complete [2022-10-07T11:12:33.051Z] e2be974225ed: Pull complete [2022-10-07T11:12:33.310Z] 339a4e72a1f5: Pull complete [2022-10-07T11:12:33.569Z] 988bab9f4d93: Pull complete [2022-10-07T11:12:33.829Z] 1469e6f7b9e6: Pull complete [2022-10-07T11:12:33.829Z] eaf3925da568: Pull complete [2022-10-07T11:12:35.731Z] bab4dde63d76: Pull complete [2022-10-07T11:12:35.731Z] bde34c3a00c8: Pull complete [2022-10-07T11:12:35.731Z] b352a97aabf1: Pull complete [2022-10-07T11:12:35.731Z] 4872d77fe225: Pull complete [2022-10-07T11:12:35.991Z] 5851b861e8e6: Pull complete [2022-10-07T11:12:35.991Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-07T11:12:35.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T11:12:35.991Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T11:12:36.081Z] prd-ubuntu20.04-docker-8c-8g-7333 does not seem to be running inside a container [2022-10-07T11:12:36.131Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-07T11:12:38.503Z] $ docker top ab7a935569df6a390b5561b832779a664b5ee931b5e18262d33652ee37869436 -eo pid,comm [2022-10-07T11:12:38.564Z] 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-07T11:12:38.564Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-07T11:12:38.600Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-07T11:12:38.600Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-07T11:12:38.722Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-07T11:12:38.723Z] $ docker exec ab7a935569df6a390b5561b832779a664b5ee931b5e18262d33652ee37869436 ssh-agent [2022-10-07T11:12:38.838Z] SSH_AUTH_SOCK=/tmp/ssh-elzs7eZ914uL/agent.32 [2022-10-07T11:12:38.838Z] SSH_AGENT_PID=38 [2022-10-07T11:12:38.845Z] Running ssh-add (command line suppressed) [2022-10-07T11:12:38.955Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_2210829697891155407.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_2210829697891155407.key) [2022-10-07T11:12:38.971Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-07T11:12:39.257Z] + git tag --points-at HEAD [Pipeline] } [2022-10-07T11:12:39.267Z] $ docker exec --env ******** --env ******** ab7a935569df6a390b5561b832779a664b5ee931b5e18262d33652ee37869436 ssh-agent -k [2022-10-07T11:12:39.381Z] unset SSH_AUTH_SOCK; [2022-10-07T11:12:39.382Z] unset SSH_AGENT_PID; [2022-10-07T11:12:39.382Z] echo Agent pid 38 killed; [2022-10-07T11:12:39.394Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-07T11:12:39.415Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-07T11:12:39.415Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-07T11:12:39.541Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-07T11:12:39.542Z] $ docker exec ab7a935569df6a390b5561b832779a664b5ee931b5e18262d33652ee37869436 ssh-agent [2022-10-07T11:12:39.669Z] SSH_AUTH_SOCK=/tmp/ssh-Rifd67TXaweS/agent.71 [2022-10-07T11:12:39.669Z] SSH_AGENT_PID=77 [2022-10-07T11:12:39.673Z] Running ssh-add (command line suppressed) [2022-10-07T11:12:39.776Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_13121089386478749187.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_13121089386478749187.key) [2022-10-07T11:12:39.791Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-07T11:12:40.074Z] + git semver init [2022-10-07T11:12:40.333Z] 2022-10-07 11:12:40,270 [run_init] DEBUG init version:0.0.0 force:False [2022-10-07T11:12:40.333Z] 2022-10-07 11:12:40,271 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-07T11:12:40.333Z] 2022-10-07 11:12:40,272 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-07T11:12:40.333Z] 2022-10-07 11:12:40,272 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-172/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-172, universal_newlines=False, shell=None, istream=None) [2022-10-07T11:12:41.268Z] 2022-10-07 11:12:41,241 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude [2022-10-07T11:12:41.268Z] 2022-10-07 11:12:41,242 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 with force:False [2022-10-07T11:12:41.268Z] 2022-10-07 11:12:41,242 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-07T11:12:41.268Z] 2022-10-07 11:12:41,246 [execute] INFO git cat-file --batch-check [2022-10-07T11:12:41.268Z] 2022-10-07 11:12:41,247 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) [2022-10-07T11:12:41.268Z] 2022-10-07 11:12:41,253 [execute] INFO git cat-file --batch [2022-10-07T11:12:41.268Z] 2022-10-07 11:12:41,253 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) [2022-10-07T11:12:41.268Z] 2022-10-07 11:12:41,258 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-07T11:12:41.268Z] 0.0.0 [Pipeline] } [2022-10-07T11:12:41.536Z] $ docker exec --env ******** --env ******** ab7a935569df6a390b5561b832779a664b5ee931b5e18262d33652ee37869436 ssh-agent -k [2022-10-07T11:12:41.631Z] unset SSH_AUTH_SOCK; [2022-10-07T11:12:41.632Z] unset SSH_AGENT_PID; [2022-10-07T11:12:41.632Z] echo Agent pid 77 killed; [2022-10-07T11:12:41.641Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-07T11:12:41.938Z] + git semver [Pipeline] } [2022-10-07T11:12:42.208Z] $ docker stop --time=1 ab7a935569df6a390b5561b832779a664b5ee931b5e18262d33652ee37869436 [2022-10-07T11:12:43.494Z] $ docker rm -f ab7a935569df6a390b5561b832779a664b5ee931b5e18262d33652ee37869436 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T11:12:43.825Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-07T11:12:43.986Z] Stashed 1 file(s) [Pipeline] echo [2022-10-07T11:12:43.988Z] [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-07T11:12:44.122Z] provisioning config files... [2022-10-07T11:12:44.132Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config8735157603833734053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:12:44.422Z] ---> docker-login.sh [2022-10-07T11:12:44.422Z] nexus3.edgexfoundry.org:10001 [2022-10-07T11:12:44.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:12:44.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:12:44.422Z] Configure a credential helper to remove this warning. See [2022-10-07T11:12:44.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:12:44.422Z] [2022-10-07T11:12:44.422Z] Login Succeeded [2022-10-07T11:12:44.422Z] nexus3.edgexfoundry.org:10002 [2022-10-07T11:12:44.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:12:44.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:12:44.422Z] Configure a credential helper to remove this warning. See [2022-10-07T11:12:44.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:12:44.422Z] [2022-10-07T11:12:44.422Z] Login Succeeded [2022-10-07T11:12:44.422Z] nexus3.edgexfoundry.org:10003 [2022-10-07T11:12:44.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:12:44.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:12:44.680Z] Configure a credential helper to remove this warning. See [2022-10-07T11:12:44.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:12:44.680Z] [2022-10-07T11:12:44.680Z] Login Succeeded [2022-10-07T11:12:44.680Z] nexus3.edgexfoundry.org:10004 [2022-10-07T11:12:44.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:12:44.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:12:44.680Z] Configure a credential helper to remove this warning. See [2022-10-07T11:12:44.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:12:44.680Z] [2022-10-07T11:12:44.680Z] Login Succeeded [2022-10-07T11:12:44.680Z] docker.io [2022-10-07T11:12:44.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:12:45.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:12:45.196Z] Configure a credential helper to remove this warning. See [2022-10-07T11:12:45.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:12:45.196Z] [2022-10-07T11:12:45.196Z] Login Succeeded [2022-10-07T11:12:45.196Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T11:12:45.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-07T11:12:45.262Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T11:12:45.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T11:12:45.285Z] ========================================================= [2022-10-07T11:12:45.285Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-07T11:12:45.285Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:12:45.606Z] + 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-07T11:12:45.606Z] Sending build context to Docker daemon 21.06MB [2022-10-07T11:12:45.606Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T11:12:45.606Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-07T11:12:45.865Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-07T11:12:45.865Z] 2408cc74d12b: Pulling fs layer [2022-10-07T11:12:45.865Z] ea60b727a1ce: Pulling fs layer [2022-10-07T11:12:45.865Z] 30c4a7721957: Pulling fs layer [2022-10-07T11:12:45.865Z] 370296b7ddb6: Pulling fs layer [2022-10-07T11:12:45.865Z] 7c6cee850709: Pulling fs layer [2022-10-07T11:12:45.865Z] 370296b7ddb6: Waiting [2022-10-07T11:12:45.865Z] aa9baa53a306: Pulling fs layer [2022-10-07T11:12:45.865Z] 8b309c321861: Pulling fs layer [2022-10-07T11:12:45.865Z] 7c6cee850709: Waiting [2022-10-07T11:12:45.865Z] aa9baa53a306: Waiting [2022-10-07T11:12:45.865Z] d8d76fd02f46: Pulling fs layer [2022-10-07T11:12:45.865Z] 8b309c321861: Waiting [2022-10-07T11:12:45.865Z] fa31f396de31: Pulling fs layer [2022-10-07T11:12:45.865Z] fa31f396de31: Waiting [2022-10-07T11:12:45.865Z] 30c4a7721957: Download complete [2022-10-07T11:12:45.865Z] ea60b727a1ce: Verifying Checksum [2022-10-07T11:12:45.865Z] ea60b727a1ce: Download complete [2022-10-07T11:12:45.865Z] 7c6cee850709: Verifying Checksum [2022-10-07T11:12:45.865Z] 7c6cee850709: Download complete [2022-10-07T11:12:45.865Z] aa9baa53a306: Download complete [2022-10-07T11:12:45.865Z] 2408cc74d12b: Verifying Checksum [2022-10-07T11:12:45.865Z] 2408cc74d12b: Download complete [2022-10-07T11:12:45.865Z] 8b309c321861: Download complete [2022-10-07T11:12:45.865Z] 2408cc74d12b: Pull complete [2022-10-07T11:12:46.131Z] ea60b727a1ce: Pull complete [2022-10-07T11:12:46.131Z] 30c4a7721957: Pull complete [2022-10-07T11:12:46.401Z] d8d76fd02f46: Verifying Checksum [2022-10-07T11:12:46.401Z] d8d76fd02f46: Download complete [2022-10-07T11:12:46.401Z] fa31f396de31: Verifying Checksum [2022-10-07T11:12:46.401Z] fa31f396de31: Download complete [2022-10-07T11:12:46.661Z] 370296b7ddb6: Verifying Checksum [2022-10-07T11:12:46.661Z] 370296b7ddb6: Download complete [2022-10-07T11:12:50.845Z] 370296b7ddb6: Pull complete [2022-10-07T11:12:50.845Z] 7c6cee850709: Pull complete [2022-10-07T11:12:50.845Z] aa9baa53a306: Pull complete [2022-10-07T11:12:50.845Z] 8b309c321861: Pull complete [2022-10-07T11:12:52.745Z] d8d76fd02f46: Pull complete [2022-10-07T11:12:53.311Z] fa31f396de31: Pull complete [2022-10-07T11:12:53.311Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-07T11:12:53.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-07T11:12:53.311Z] ---> cef68f9685f8 [2022-10-07T11:12:53.311Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-07T11:12:57.503Z] ---> Running in f0c0d60daa17 [2022-10-07T11:12:57.503Z] Removing intermediate container f0c0d60daa17 [2022-10-07T11:12:57.503Z] ---> 3717a7511b57 [2022-10-07T11:12:57.503Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T11:12:57.503Z] ---> Running in 2eca0b7e202f [2022-10-07T11:12:57.503Z] Removing intermediate container 2eca0b7e202f [2022-10-07T11:12:57.503Z] ---> de2cafe0ed4a [2022-10-07T11:12:57.503Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T11:12:57.503Z] ---> Running in 298bc86b664c [2022-10-07T11:12:57.503Z] Removing intermediate container 298bc86b664c [2022-10-07T11:12:57.503Z] ---> 0a158772d399 [2022-10-07T11:12:57.503Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T11:12:57.503Z] ---> Running in 728214d95736 [2022-10-07T11:12:57.503Z] Removing intermediate container 728214d95736 [2022-10-07T11:12:57.503Z] ---> 54852c908299 [2022-10-07T11:12:57.503Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-07T11:12:57.503Z] ---> Running in 1bcd2153c01d [2022-10-07T11:12:57.762Z] Removing intermediate container 1bcd2153c01d [2022-10-07T11:12:57.762Z] ---> 899972b79be0 [2022-10-07T11:12:57.762Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T11:12:57.762Z] ---> Running in b0716f4c89ae [2022-10-07T11:12:58.332Z] Removing intermediate container b0716f4c89ae [2022-10-07T11:12:58.332Z] ---> 6078fa59a938 [2022-10-07T11:12:58.332Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T11:12:58.332Z] ---> Running in 3d644e4d095e [2022-10-07T11:12:58.591Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T11:12:59.084Z] Still waiting to schedule task [2022-10-07T11:12:59.084Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-07T11:12:59.530Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T11:12:59.791Z] OK: 211 MiB in 51 packages [2022-10-07T11:13:00.075Z] Removing intermediate container 3d644e4d095e [2022-10-07T11:13:00.075Z] ---> a10b3d338fa4 [2022-10-07T11:13:00.075Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-07T11:13:00.338Z] ---> Running in 6f6e2e35ccc7 [2022-10-07T11:13:00.338Z] Removing intermediate container 6f6e2e35ccc7 [2022-10-07T11:13:00.338Z] ---> 1836a4384cb5 [2022-10-07T11:13:00.338Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-07T11:13:00.598Z] ---> 636ca8e4befa [2022-10-07T11:13:00.598Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T11:13:00.598Z] ---> Running in 47d546d2750e [2022-10-07T11:13:18.852Z] Removing intermediate container 47d546d2750e [2022-10-07T11:13:18.852Z] ---> 8f60fbbf626f [2022-10-07T11:13:18.852Z] Step 13/14 : COPY . . [2022-10-07T11:13:19.111Z] ---> 2dc48f307adb [2022-10-07T11:13:19.111Z] Step 14/14 : RUN ${MAKE} [2022-10-07T11:13:19.111Z] ---> Running in 7c2051c80d26 [2022-10-07T11:13:19.679Z] noop [2022-10-07T11:13:19.679Z] Removing intermediate container 7c2051c80d26 [2022-10-07T11:13:19.679Z] ---> b1a27ca0711f [2022-10-07T11:13:19.679Z] Successfully built b1a27ca0711f [2022-10-07T11:13:19.679Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:13:19.989Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-07T11:13:19.989Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T11:13:20.052Z] prd-ubuntu20.04-docker-8c-8g-7333 does not seem to be running inside a container [2022-10-07T11:13:20.081Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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 ******** ci-base-image-x86_64 cat [2022-10-07T11:13:20.441Z] $ docker top 657683d9881839c595aaddd33fb7462c90808074c0eb0c1f17cef15a021a4c20 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T11:13:20.781Z] + go version [2022-10-07T11:13:20.781Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-07T11:13:20.795Z] $ docker stop --time=1 657683d9881839c595aaddd33fb7462c90808074c0eb0c1f17cef15a021a4c20 [2022-10-07T11:13:22.065Z] $ docker rm -f 657683d9881839c595aaddd33fb7462c90808074c0eb0c1f17cef15a021a4c20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:13:22.459Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-07T11:13:22.459Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T11:13:22.537Z] prd-ubuntu20.04-docker-8c-8g-7333 does not seem to be running inside a container [2022-10-07T11:13:22.567Z] $ 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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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 ******** ci-base-image-x86_64 cat [2022-10-07T11:13:22.921Z] $ docker top 2a1e7bd3ede69ff0c907dad93492f597168ce93f8465b1403c144ae728eed5be -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T11:13:23.264Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh [2022-10-07T11:13:23.557Z] + make test [2022-10-07T11:13:23.558Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-07T11:13:23.814Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-07T11:13:36.011Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-07T11:13:36.270Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.042s coverage: 28.2% of statements [2022-10-07T11:13:36.270Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-07T11:13:36.270Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.431s coverage: 86.5% of statements [2022-10-07T11:13:44.383Z] 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-07T11:13:44.383Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-07T11:13:48.565Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-07T11:13:48.565Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-07T11:13:48.565Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-07T11:13:48.576Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-07T11:13:48.592Z] $ docker stop --time=1 2a1e7bd3ede69ff0c907dad93492f597168ce93f8465b1403c144ae728eed5be [2022-10-07T11:13:51.001Z] $ docker rm -f 2a1e7bd3ede69ff0c907dad93492f597168ce93f8465b1403c144ae728eed5be [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T11:13:51.430Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-07T11:13:51.480Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-07T11:13:52.054Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-07T11:13:52.334Z] + ls -al . [2022-10-07T11:13:52.334Z] total 236 [2022-10-07T11:13:52.334Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 11:13 . [2022-10-07T11:13:52.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 11:12 .. [2022-10-07T11:13:52.334Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 11:13 .git [2022-10-07T11:13:52.334Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 11:12 .github [2022-10-07T11:13:52.334Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 7 11:12 .gitignore [2022-10-07T11:13:52.334Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 7 11:12 .golangci.yml [2022-10-07T11:13:52.334Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 11:12 .semver [2022-10-07T11:13:52.334Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 7 11:12 Attribution.txt [2022-10-07T11:13:52.334Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 7 11:12 CHANGELOG.md [2022-10-07T11:13:52.334Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 7 11:12 Dockerfile [2022-10-07T11:13:52.334Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 11:12 GOVERNANCE.md [2022-10-07T11:13:52.334Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 7 11:12 Jenkinsfile [2022-10-07T11:13:52.334Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 11:12 LICENSE [2022-10-07T11:13:52.334Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 7 11:12 Makefile [2022-10-07T11:13:52.334Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 7 11:12 OWNERS.md [2022-10-07T11:13:52.334Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 7 11:12 README.md [2022-10-07T11:13:52.334Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 11:12 VERSION [2022-10-07T11:13:52.334Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 11:12 bin [2022-10-07T11:13:52.334Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 11:12 cmd [2022-10-07T11:13:52.334Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 7 11:13 coverage.out [2022-10-07T11:13:52.334Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 11:12 doc [2022-10-07T11:13:52.334Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 7 11:12 go.mod [2022-10-07T11:13:52.334Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 7 11:12 go.sum [2022-10-07T11:13:52.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 11:12 internal [2022-10-07T11:13:52.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 11:12 snap [2022-10-07T11:13:52.334Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 7 11:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:13:52.632Z] + 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=ca837fe545fbfa1313c6f31ccf1912afdfef5133 --label arch=amd64 --label version=0.0.0 . [2022-10-07T11:13:52.632Z] Sending build context to Docker daemon 21.13MB [2022-10-07T11:13:52.632Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T11:13:52.632Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-07T11:13:52.632Z] ---> b1a27ca0711f [2022-10-07T11:13:52.632Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-07T11:13:52.891Z] ---> Running in 26a03119698e [2022-10-07T11:13:52.891Z] Removing intermediate container 26a03119698e [2022-10-07T11:13:52.891Z] ---> 0fad7a2ff10f [2022-10-07T11:13:52.891Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T11:13:52.891Z] ---> Running in e7843026550f [2022-10-07T11:13:53.150Z] Removing intermediate container e7843026550f [2022-10-07T11:13:53.150Z] ---> db6389eb801b [2022-10-07T11:13:53.150Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T11:13:53.150Z] ---> Running in d8fe2cd2af4e [2022-10-07T11:13:53.150Z] Removing intermediate container d8fe2cd2af4e [2022-10-07T11:13:53.150Z] ---> c55af901eb41 [2022-10-07T11:13:53.150Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T11:13:53.150Z] ---> Running in 6c7be9f4b96f [2022-10-07T11:13:53.150Z] Removing intermediate container 6c7be9f4b96f [2022-10-07T11:13:53.150Z] ---> 5180707bbd9a [2022-10-07T11:13:53.150Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-07T11:13:53.409Z] ---> Running in 2714d7583210 [2022-10-07T11:13:53.409Z] Removing intermediate container 2714d7583210 [2022-10-07T11:13:53.409Z] ---> 19826c11eb55 [2022-10-07T11:13:53.409Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T11:13:53.409Z] ---> Running in 7204de66a63a [2022-10-07T11:13:53.977Z] Removing intermediate container 7204de66a63a [2022-10-07T11:13:53.977Z] ---> c1101f367c50 [2022-10-07T11:13:53.977Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T11:13:53.977Z] ---> Running in 261732002b31 [2022-10-07T11:13:54.236Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T11:13:55.171Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T11:13:55.433Z] OK: 211 MiB in 51 packages [2022-10-07T11:13:55.692Z] Removing intermediate container 261732002b31 [2022-10-07T11:13:55.692Z] ---> 90f375d29c6f [2022-10-07T11:13:55.692Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-07T11:13:55.692Z] ---> Running in 7596a39bf797 [2022-10-07T11:13:55.951Z] Removing intermediate container 7596a39bf797 [2022-10-07T11:13:55.951Z] ---> 2868c3c265e2 [2022-10-07T11:13:55.951Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-07T11:13:55.951Z] ---> bd78a7b19dab [2022-10-07T11:13:55.951Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T11:13:55.951Z] ---> Running in 047fc9712c8e [2022-10-07T11:13:56.518Z] Removing intermediate container 047fc9712c8e [2022-10-07T11:13:56.518Z] ---> a80b0d08f285 [2022-10-07T11:13:56.518Z] Step 13/27 : COPY . . [2022-10-07T11:13:57.454Z] ---> 20aac4af38f0 [2022-10-07T11:13:57.454Z] Step 14/27 : RUN ${MAKE} [2022-10-07T11:13:57.454Z] ---> Running in 34be31e38f55 [2022-10-07T11:13:57.713Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-07T11:14:24.278Z] Removing intermediate container 34be31e38f55 [2022-10-07T11:14:24.278Z] ---> 9a1157c3d080 [2022-10-07T11:14:24.278Z] Step 15/27 : FROM alpine:3.16 [2022-10-07T11:14:24.278Z] 3.16: Pulling from library/alpine [2022-10-07T11:14:24.278Z] 213ec9aee27d: Pulling fs layer [2022-10-07T11:14:24.278Z] 213ec9aee27d: Download complete [2022-10-07T11:14:24.278Z] 213ec9aee27d: Pull complete [2022-10-07T11:14:24.278Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-07T11:14:24.278Z] Status: Downloaded newer image for alpine:3.16 [2022-10-07T11:14:24.278Z] ---> 9c6f07244728 [2022-10-07T11:14:24.278Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-07T11:14:24.278Z] ---> Running in dc22d4250b0c [2022-10-07T11:14:24.278Z] Removing intermediate container dc22d4250b0c [2022-10-07T11:14:24.278Z] ---> 8d0dfdd714b8 [2022-10-07T11:14:24.278Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-07T11:14:24.278Z] ---> Running in 892906ed006e [2022-10-07T11:14:24.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T11:14:24.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T11:14:24.278Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-07T11:14:24.278Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-07T11:14:24.278Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-07T11:14:24.278Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-07T11:14:24.278Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-07T11:14:24.278Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-07T11:14:24.278Z] Executing busybox-1.35.0-r17.trigger [2022-10-07T11:14:24.278Z] OK: 8 MiB in 20 packages [2022-10-07T11:14:24.278Z] Removing intermediate container 892906ed006e [2022-10-07T11:14:24.278Z] ---> 961894a21da6 [2022-10-07T11:14:24.278Z] Step 18/27 : WORKDIR / [2022-10-07T11:14:24.278Z] ---> Running in 4aea9e19bac2 [2022-10-07T11:14:24.278Z] Removing intermediate container 4aea9e19bac2 [2022-10-07T11:14:24.278Z] ---> 55fbb79fbf65 [2022-10-07T11:14:24.278Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-07T11:14:24.278Z] ---> 7bf101754427 [2022-10-07T11:14:24.278Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-07T11:14:24.538Z] ---> 16d081e40115 [2022-10-07T11:14:24.538Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-07T11:14:24.538Z] ---> 42af661bd528 [2022-10-07T11:14:24.538Z] Step 22/27 : EXPOSE 59984 [2022-10-07T11:14:24.538Z] ---> Running in 6d9969ce1f24 [2022-10-07T11:14:24.799Z] Removing intermediate container 6d9969ce1f24 [2022-10-07T11:14:24.799Z] ---> 4244dd595303 [2022-10-07T11:14:24.799Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-07T11:14:24.799Z] ---> Running in 6579e21bf83b [2022-10-07T11:14:24.799Z] Removing intermediate container 6579e21bf83b [2022-10-07T11:14:24.799Z] ---> 92a971277d87 [2022-10-07T11:14:24.799Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-07T11:14:24.799Z] ---> Running in a007232cfb97 [2022-10-07T11:14:24.799Z] Removing intermediate container a007232cfb97 [2022-10-07T11:14:24.799Z] ---> 0e400952d832 [2022-10-07T11:14:24.799Z] Step 25/27 : LABEL arch=amd64 [2022-10-07T11:14:24.799Z] ---> Running in 288aa309e51c [2022-10-07T11:14:25.058Z] Removing intermediate container 288aa309e51c [2022-10-07T11:14:25.058Z] ---> 741985ade3b2 [2022-10-07T11:14:25.058Z] Step 26/27 : LABEL git_sha=ca837fe545fbfa1313c6f31ccf1912afdfef5133 [2022-10-07T11:14:25.058Z] ---> Running in e6b2ff8d26ae [2022-10-07T11:14:25.058Z] Removing intermediate container e6b2ff8d26ae [2022-10-07T11:14:25.058Z] ---> f74c2819101d [2022-10-07T11:14:25.058Z] Step 27/27 : LABEL version=0.0.0 [2022-10-07T11:14:25.058Z] ---> Running in 66890fe9f218 [2022-10-07T11:14:25.058Z] Removing intermediate container 66890fe9f218 [2022-10-07T11:14:25.058Z] ---> f6c2ce5d7abb [2022-10-07T11:14:25.058Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-07T11:14:25.317Z] Successfully built f6c2ce5d7abb [2022-10-07T11:14:25.317Z] 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-07T11:14:25.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T11:14:25.742Z] [2022-10-07T11:14:25.742Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:14:26.038Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T11:14:26.038Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-07T11:14:26.038Z] 5eb5b503b376: Pulling fs layer [2022-10-07T11:14:26.038Z] 5c69ac0246d0: Pulling fs layer [2022-10-07T11:14:26.038Z] ec43610c2a17: Pulling fs layer [2022-10-07T11:14:26.038Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-07T11:14:26.038Z] 33b1e0a273af: Pulling fs layer [2022-10-07T11:14:26.038Z] 5d3b04190fa2: Pulling fs layer [2022-10-07T11:14:26.038Z] 2f39f015ded8: Pulling fs layer [2022-10-07T11:14:26.038Z] 3a2ae6a8a46f: Waiting [2022-10-07T11:14:26.038Z] 33b1e0a273af: Waiting [2022-10-07T11:14:26.038Z] 5d3b04190fa2: Waiting [2022-10-07T11:14:26.038Z] 2f39f015ded8: Waiting [2022-10-07T11:14:26.038Z] 5c69ac0246d0: Download complete [2022-10-07T11:14:26.038Z] 3a2ae6a8a46f: Download complete [2022-10-07T11:14:26.300Z] ec43610c2a17: Verifying Checksum [2022-10-07T11:14:26.300Z] ec43610c2a17: Download complete [2022-10-07T11:14:26.300Z] 33b1e0a273af: Verifying Checksum [2022-10-07T11:14:26.300Z] 33b1e0a273af: Download complete [2022-10-07T11:14:26.300Z] 5d3b04190fa2: Verifying Checksum [2022-10-07T11:14:26.300Z] 5d3b04190fa2: Download complete [2022-10-07T11:14:26.300Z] 5eb5b503b376: Verifying Checksum [2022-10-07T11:14:26.300Z] 5eb5b503b376: Download complete [2022-10-07T11:14:26.870Z] 2f39f015ded8: Verifying Checksum [2022-10-07T11:14:26.870Z] 2f39f015ded8: Download complete [2022-10-07T11:14:27.437Z] 5eb5b503b376: Pull complete [2022-10-07T11:14:27.695Z] 5c69ac0246d0: Pull complete [2022-10-07T11:14:28.263Z] ec43610c2a17: Pull complete [2022-10-07T11:14:28.263Z] 3a2ae6a8a46f: Pull complete [2022-10-07T11:14:28.521Z] 33b1e0a273af: Pull complete [2022-10-07T11:14:28.521Z] 5d3b04190fa2: Pull complete [2022-10-07T11:14:33.838Z] 2f39f015ded8: Pull complete [2022-10-07T11:14:33.838Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-07T11:14:33.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T11:14:33.838Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T11:14:33.926Z] prd-ubuntu20.04-docker-8c-8g-7333 does not seem to be running inside a container [2022-10-07T11:14:33.954Z] $ 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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-07T11:14:37.040Z] $ docker top 56c742756902c815e0f34b9fb07f3b0514b2f0fa4bc26bd30ef6d25251a244e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:14:37.430Z] ---> job-cost.sh [2022-10-07T11:14:37.430Z] lf-activate-venv: SKIPPING [2022-10-07T11:14:37.430Z] INFO: No Stack... [2022-10-07T11:14:37.689Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-07T11:14:37.946Z] INFO: Archiving Costs [Pipeline] sh [2022-10-07T11:14:38.233Z] + cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv [2022-10-07T11:14:38.233Z] + cut -d, -f6 [Pipeline] lock [2022-10-07T11:14:38.245Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-13-stack-cost] [2022-10-07T11:14:38.255Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-13-stack-cost] did not exist. Created. [2022-10-07T11:14:38.255Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-07T11:14:38.557Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-07T11:14:38.580Z] Stashed 1 file(s) [Pipeline] } [2022-10-07T11:14:38.586Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-13-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-07T11:14:38.608Z] $ docker stop --time=1 56c742756902c815e0f34b9fb07f3b0514b2f0fa4bc26bd30ef6d25251a244e0 [2022-10-07T11:14:39.765Z] $ docker rm -f 56c742756902c815e0f34b9fb07f3b0514b2f0fa4bc26bd30ef6d25251a244e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-07T11:16:58.658Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7334 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws [2022-10-07T11:16:58.670Z] Running in /w/workspace/device-onvif-camera/13 [Pipeline] { [Pipeline] checkout [2022-10-07T11:16:58.706Z] The recommended git tool is: git [2022-10-07T11:17:03.737Z] using credential edgex-jenkins-ssh [2022-10-07T11:17:03.751Z] Cloning the remote Git repository [2022-10-07T11:17:03.802Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-07T11:17:03.875Z] > git init /w/workspace/device-onvif-camera/13 # timeout=10 [2022-10-07T11:17:04.016Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-07T11:17:04.017Z] > git --version # timeout=10 [2022-10-07T11:17:04.038Z] > git --version # 'git version 2.25.1' [2022-10-07T11:17:04.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T11:17:04.087Z] Verifying host key using known hosts file [2022-10-07T11:17:04.292Z] 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-07T11:17:04.306Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-07T11:17:05.556Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-07T11:17:05.577Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-07T11:17:07.127Z] Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit ca837fe545fbfa1313c6f31ccf1912afdfef5133 [2022-10-07T11:17:07.468Z] Merge succeeded, producing ca837fe545fbfa1313c6f31ccf1912afdfef5133 [2022-10-07T11:17:07.469Z] Checking out Revision ca837fe545fbfa1313c6f31ccf1912afdfef5133 (PR-172) [2022-10-07T11:17:06.374Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-07T11:17:06.419Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-07T11:17:06.420Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T11:17:06.425Z] Verifying host key using known hosts file [2022-10-07T11:17:06.432Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-07T11:17:06.446Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-07T11:17:07.145Z] > git config core.sparsecheckout # timeout=10 [2022-10-07T11:17:07.162Z] > git checkout -f ca837fe545fbfa1313c6f31ccf1912afdfef5133 # timeout=10 [2022-10-07T11:17:07.374Z] > git remote # timeout=10 [2022-10-07T11:17:07.391Z] > git config --get remote.origin.url # timeout=10 [2022-10-07T11:17:07.414Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T11:17:07.419Z] Verifying host key using known hosts file [2022-10-07T11:17:07.422Z] 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-07T11:17:07.431Z] > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 [2022-10-07T11:17:07.454Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-07T11:17:07.476Z] > git config core.sparsecheckout # timeout=10 [2022-10-07T11:17:07.489Z] > git checkout -f ca837fe545fbfa1313c6f31ccf1912afdfef5133 # timeout=10 [2022-10-07T11:17:11.172Z] Commit message: "fix discovery mode netscan when using docker-compose" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T11:17:11.963Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-07T11:17:11.963Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-07T11:17:11.963Z] Dload Upload Total Spent Left Speed [2022-10-07T11:17:11.963Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90014 0 --:--:-- --:--:-- --:--:-- 90661 [Pipeline] sh [2022-10-07T11:17:12.648Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-07T11:17:12.996Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-07T11:17:12.996Z] + sudo tee /etc/docker/daemon.new [2022-10-07T11:17:12.996Z] { [2022-10-07T11:17:12.996Z] "registry-mirrors": [ [2022-10-07T11:17:12.996Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-07T11:17:12.996Z] ], [2022-10-07T11:17:12.996Z] "bip": "10.250.0.254/24", [2022-10-07T11:17:12.996Z] "hosts": [ [2022-10-07T11:17:12.996Z] "tcp://0.0.0.0:5555", [2022-10-07T11:17:12.996Z] "unix:///var/run/docker.sock" [2022-10-07T11:17:12.996Z] ], [2022-10-07T11:17:12.996Z] "mtu": 1458, [2022-10-07T11:17:12.996Z] "selinux-enabled": true, [2022-10-07T11:17:12.996Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-07T11:17:12.996Z] } [Pipeline] sh [2022-10-07T11:17:13.318Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-07T11:17:13.644Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T11:17:31.910Z] provisioning config files... [2022-10-07T11:17:31.936Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/13@tmp/config12938549939927165284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:17:32.284Z] ---> docker-login.sh [2022-10-07T11:17:32.284Z] nexus3.edgexfoundry.org:10001 [2022-10-07T11:17:32.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:17:32.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:17:32.829Z] Configure a credential helper to remove this warning. See [2022-10-07T11:17:32.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:17:32.829Z] [2022-10-07T11:17:32.829Z] Login Succeeded [2022-10-07T11:17:33.099Z] nexus3.edgexfoundry.org:10002 [2022-10-07T11:17:33.099Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:17:33.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:17:33.372Z] Configure a credential helper to remove this warning. See [2022-10-07T11:17:33.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:17:33.372Z] [2022-10-07T11:17:33.372Z] Login Succeeded [2022-10-07T11:17:33.372Z] nexus3.edgexfoundry.org:10003 [2022-10-07T11:17:33.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:17:33.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:17:33.642Z] Configure a credential helper to remove this warning. See [2022-10-07T11:17:33.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:17:33.642Z] [2022-10-07T11:17:33.642Z] Login Succeeded [2022-10-07T11:17:33.642Z] nexus3.edgexfoundry.org:10004 [2022-10-07T11:17:33.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:17:34.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:17:34.184Z] Configure a credential helper to remove this warning. See [2022-10-07T11:17:34.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:17:34.184Z] [2022-10-07T11:17:34.184Z] Login Succeeded [2022-10-07T11:17:34.184Z] docker.io [2022-10-07T11:17:34.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T11:17:34.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T11:17:34.770Z] Configure a credential helper to remove this warning. See [2022-10-07T11:17:34.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T11:17:34.770Z] [2022-10-07T11:17:34.770Z] Login Succeeded [2022-10-07T11:17:34.770Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T11:17:34.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-07T11:17:34.929Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T11:17:34.939Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T11:17:34.945Z] ========================================================= [2022-10-07T11:17:34.945Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-07T11:17:34.945Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:17:35.274Z] + 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-07T11:17:35.864Z] Sending build context to Docker daemon 14.48MB [2022-10-07T11:17:35.864Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T11:17:35.864Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-07T11:17:35.864Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-07T11:17:35.864Z] b3c136eddcbf: Pulling fs layer [2022-10-07T11:17:35.864Z] c0a3192eca97: Pulling fs layer [2022-10-07T11:17:35.864Z] a050256f5b6f: Pulling fs layer [2022-10-07T11:17:35.864Z] 656be50a0ddc: Pulling fs layer [2022-10-07T11:17:35.864Z] 2bbca73fdf42: Pulling fs layer [2022-10-07T11:17:35.864Z] f607e4fc86c3: Pulling fs layer [2022-10-07T11:17:35.864Z] 4d572c569a2c: Pulling fs layer [2022-10-07T11:17:35.864Z] fcf976331f73: Pulling fs layer [2022-10-07T11:17:35.864Z] 656be50a0ddc: Waiting [2022-10-07T11:17:35.864Z] 2bbca73fdf42: Waiting [2022-10-07T11:17:35.864Z] f607e4fc86c3: Waiting [2022-10-07T11:17:35.864Z] 4d572c569a2c: Waiting [2022-10-07T11:17:35.864Z] fcf976331f73: Waiting [2022-10-07T11:17:35.864Z] a050256f5b6f: Download complete [2022-10-07T11:17:36.135Z] c0a3192eca97: Verifying Checksum [2022-10-07T11:17:36.135Z] c0a3192eca97: Download complete [2022-10-07T11:17:36.135Z] 2bbca73fdf42: Verifying Checksum [2022-10-07T11:17:36.135Z] 2bbca73fdf42: Download complete [2022-10-07T11:17:36.135Z] f607e4fc86c3: Verifying Checksum [2022-10-07T11:17:36.135Z] f607e4fc86c3: Download complete [2022-10-07T11:17:36.135Z] b3c136eddcbf: Download complete [2022-10-07T11:17:37.104Z] b3c136eddcbf: Pull complete [2022-10-07T11:17:37.104Z] fcf976331f73: Verifying Checksum [2022-10-07T11:17:37.104Z] fcf976331f73: Download complete [2022-10-07T11:17:37.375Z] c0a3192eca97: Pull complete [2022-10-07T11:17:37.649Z] a050256f5b6f: Pull complete [2022-10-07T11:17:38.246Z] 4d572c569a2c: Download complete [2022-10-07T11:17:38.833Z] 656be50a0ddc: Verifying Checksum [2022-10-07T11:17:38.833Z] 656be50a0ddc: Download complete [2022-10-07T11:17:51.158Z] 656be50a0ddc: Pull complete [2022-10-07T11:17:51.158Z] 2bbca73fdf42: Pull complete [2022-10-07T11:17:51.158Z] f607e4fc86c3: Pull complete [2022-10-07T11:17:57.834Z] 4d572c569a2c: Pull complete [2022-10-07T11:17:59.251Z] fcf976331f73: Pull complete [2022-10-07T11:17:59.251Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-07T11:17:59.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-07T11:17:59.251Z] ---> 3970a7415f9e [2022-10-07T11:17:59.251Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-07T11:18:01.202Z] ---> Running in 4b6770ad1c26 [2022-10-07T11:18:01.202Z] Removing intermediate container 4b6770ad1c26 [2022-10-07T11:18:01.202Z] ---> 25c1a8786939 [2022-10-07T11:18:01.202Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T11:18:01.202Z] ---> Running in deb378b31276 [2022-10-07T11:18:01.469Z] Removing intermediate container deb378b31276 [2022-10-07T11:18:01.469Z] ---> 58afa4ae19b9 [2022-10-07T11:18:01.469Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T11:18:01.738Z] ---> Running in 409d46d9268f [2022-10-07T11:18:02.006Z] Removing intermediate container 409d46d9268f [2022-10-07T11:18:02.006Z] ---> 7e393d6026c7 [2022-10-07T11:18:02.006Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T11:18:02.006Z] ---> Running in 7b77acd46025 [2022-10-07T11:18:02.274Z] Removing intermediate container 7b77acd46025 [2022-10-07T11:18:02.274Z] ---> 323cf8d9f82c [2022-10-07T11:18:02.274Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-07T11:18:02.274Z] ---> Running in 436f7fc7e754 [2022-10-07T11:18:02.857Z] Removing intermediate container 436f7fc7e754 [2022-10-07T11:18:02.857Z] ---> 265e6f9ce2ce [2022-10-07T11:18:02.857Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T11:18:02.857Z] ---> Running in 227d7d445e2f [2022-10-07T11:18:04.803Z] Removing intermediate container 227d7d445e2f [2022-10-07T11:18:04.803Z] ---> f1341ef01997 [2022-10-07T11:18:04.803Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T11:18:04.803Z] ---> Running in 33b73fdf221a [2022-10-07T11:18:05.387Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T11:18:06.356Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T11:18:07.318Z] OK: 221 MiB in 51 packages [2022-10-07T11:18:07.907Z] Removing intermediate container 33b73fdf221a [2022-10-07T11:18:07.907Z] ---> 001473679eaa [2022-10-07T11:18:07.907Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-07T11:18:08.176Z] ---> Running in bc343e152c24 [2022-10-07T11:18:08.448Z] Removing intermediate container bc343e152c24 [2022-10-07T11:18:08.448Z] ---> a79bc76f1c6f [2022-10-07T11:18:08.448Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-07T11:18:09.034Z] ---> 8b845e76f39c [2022-10-07T11:18:09.034Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T11:18:09.034Z] ---> Running in 45cbdd70416b [2022-10-07T11:19:05.439Z] Removing intermediate container 45cbdd70416b [2022-10-07T11:19:05.439Z] ---> e4c53e5477a3 [2022-10-07T11:19:05.439Z] Step 13/14 : COPY . . [2022-10-07T11:19:05.439Z] ---> 880818a9ce39 [2022-10-07T11:19:05.439Z] Step 14/14 : RUN ${MAKE} [2022-10-07T11:19:05.439Z] ---> Running in a329f334ef8c [2022-10-07T11:19:05.439Z] noop [2022-10-07T11:19:05.439Z] Removing intermediate container a329f334ef8c [2022-10-07T11:19:05.439Z] ---> f5a9c7c1db18 [2022-10-07T11:19:05.439Z] Successfully built f5a9c7c1db18 [2022-10-07T11:19:05.439Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:19:05.779Z] + docker inspect -f . ci-base-image-arm64 [2022-10-07T11:19:05.779Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T11:19:05.950Z] prd-ubuntu20.04-docker-arm64-4c-16g-7334 does not seem to be running inside a container [2022-10-07T11:19:06.014Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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 ******** ci-base-image-arm64 cat [2022-10-07T11:19:07.187Z] $ docker top 43e210376e629735ed412d5824598d1555bf8ec1c34fb1fcfe5fddd146f6391b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T11:19:08.007Z] + go version [2022-10-07T11:19:08.007Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-07T11:19:08.026Z] $ docker stop --time=1 43e210376e629735ed412d5824598d1555bf8ec1c34fb1fcfe5fddd146f6391b [2022-10-07T11:19:09.618Z] $ docker rm -f 43e210376e629735ed412d5824598d1555bf8ec1c34fb1fcfe5fddd146f6391b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:19:10.155Z] + docker inspect -f . ci-base-image-arm64 [2022-10-07T11:19:10.155Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T11:19:10.316Z] prd-ubuntu20.04-docker-arm64-4c-16g-7334 does not seem to be running inside a container [2022-10-07T11:19:10.375Z] $ 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/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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 ******** ci-base-image-arm64 cat [2022-10-07T11:19:11.498Z] $ docker top a4fb5116561474cd04b1b3fe85c9a7000cc385ebe834673850aefecb7c605755 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T11:19:11.999Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/13 [Pipeline] fileExists [Pipeline] sh [2022-10-07T11:19:12.324Z] + make test [2022-10-07T11:19:12.324Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-07T11:19:14.276Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-07T11:20:50.944Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-07T11:20:50.944Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.185s coverage: 28.2% of statements [2022-10-07T11:20:50.944Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-07T11:21:09.187Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.991s coverage: 86.5% of statements [2022-10-07T11:21:09.187Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-07T11:21:09.187Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-07T11:21:35.913Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-07T11:21:35.913Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-07T11:21:35.913Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-07T11:21:35.933Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-07T11:21:35.947Z] $ docker stop --time=1 a4fb5116561474cd04b1b3fe85c9a7000cc385ebe834673850aefecb7c605755 [2022-10-07T11:21:37.910Z] $ docker rm -f a4fb5116561474cd04b1b3fe85c9a7000cc385ebe834673850aefecb7c605755 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T11:21:38.896Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-07T11:21:38.922Z] Warning: overwriting stash ‘coverage-report’ [2022-10-07T11:21:39.409Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T11:21:39.763Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-07T11:21:40.081Z] + ls -al . [2022-10-07T11:21:40.081Z] total 232 [2022-10-07T11:21:40.081Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 11:19 . [2022-10-07T11:21:40.081Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 11:17 .. [2022-10-07T11:21:40.081Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 11:17 .git [2022-10-07T11:21:40.081Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 11:17 .github [2022-10-07T11:21:40.081Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 7 11:17 .gitignore [2022-10-07T11:21:40.081Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 7 11:17 .golangci.yml [2022-10-07T11:21:40.081Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 7 11:17 Attribution.txt [2022-10-07T11:21:40.081Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 7 11:17 CHANGELOG.md [2022-10-07T11:21:40.081Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 7 11:17 Dockerfile [2022-10-07T11:21:40.081Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 11:17 GOVERNANCE.md [2022-10-07T11:21:40.081Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 7 11:17 Jenkinsfile [2022-10-07T11:21:40.081Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 11:17 LICENSE [2022-10-07T11:21:40.081Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 7 11:17 Makefile [2022-10-07T11:21:40.081Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 7 11:17 OWNERS.md [2022-10-07T11:21:40.081Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 7 11:17 README.md [2022-10-07T11:21:40.081Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 11:12 VERSION [2022-10-07T11:21:40.081Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 11:17 bin [2022-10-07T11:21:40.081Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 11:17 cmd [2022-10-07T11:21:40.081Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 7 11:21 coverage.out [2022-10-07T11:21:40.081Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 11:17 doc [2022-10-07T11:21:40.081Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 7 11:17 go.mod [2022-10-07T11:21:40.081Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 7 11:17 go.sum [2022-10-07T11:21:40.081Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 11:17 internal [2022-10-07T11:21:40.081Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 11:17 snap [2022-10-07T11:21:40.081Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 7 11:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:21:40.424Z] + 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=ca837fe545fbfa1313c6f31ccf1912afdfef5133 --label arch=arm64 --label version=0.0.0 . [2022-10-07T11:21:41.006Z] Sending build context to Docker daemon 14.56MB [2022-10-07T11:21:41.006Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T11:21:41.006Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-07T11:21:41.006Z] ---> f5a9c7c1db18 [2022-10-07T11:21:41.006Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-07T11:21:41.273Z] ---> Running in 97ce29e263f5 [2022-10-07T11:21:41.543Z] Removing intermediate container 97ce29e263f5 [2022-10-07T11:21:41.543Z] ---> c5c560db5b45 [2022-10-07T11:21:41.543Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T11:21:41.820Z] ---> Running in 69071a430eed [2022-10-07T11:21:42.097Z] Removing intermediate container 69071a430eed [2022-10-07T11:21:42.097Z] ---> 9a6eecb21603 [2022-10-07T11:21:42.097Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T11:21:42.097Z] ---> Running in 7a4f68c10121 [2022-10-07T11:21:42.365Z] Removing intermediate container 7a4f68c10121 [2022-10-07T11:21:42.365Z] ---> 965627bb0da0 [2022-10-07T11:21:42.365Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T11:21:42.365Z] ---> Running in 8c997237f337 [2022-10-07T11:21:42.972Z] Removing intermediate container 8c997237f337 [2022-10-07T11:21:42.972Z] ---> d3fac9d735fa [2022-10-07T11:21:42.972Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-07T11:21:42.972Z] ---> Running in 5b0736a39843 [2022-10-07T11:21:43.243Z] Removing intermediate container 5b0736a39843 [2022-10-07T11:21:43.243Z] ---> 4edba73e6631 [2022-10-07T11:21:43.243Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T11:21:43.516Z] ---> Running in c91e67ee8ae8 [2022-10-07T11:21:45.461Z] Removing intermediate container c91e67ee8ae8 [2022-10-07T11:21:45.461Z] ---> 8ef91d299d16 [2022-10-07T11:21:45.461Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T11:21:45.461Z] ---> Running in 9290e1dc92e8 [2022-10-07T11:21:46.043Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T11:21:47.152Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T11:21:48.133Z] OK: 221 MiB in 51 packages [2022-10-07T11:21:49.125Z] Removing intermediate container 9290e1dc92e8 [2022-10-07T11:21:49.125Z] ---> 7fc277ae80a5 [2022-10-07T11:21:49.125Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-07T11:21:49.125Z] ---> Running in a2d8092559b1 [2022-10-07T11:21:49.400Z] Removing intermediate container a2d8092559b1 [2022-10-07T11:21:49.400Z] ---> 33a0543f3e9c [2022-10-07T11:21:49.400Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-07T11:21:51.386Z] ---> 4ef278ed34d6 [2022-10-07T11:21:51.386Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T11:21:51.386Z] ---> Running in 8ddddf6f415c [2022-10-07T11:21:53.342Z] Removing intermediate container 8ddddf6f415c [2022-10-07T11:21:53.342Z] ---> 50186c81bd94 [2022-10-07T11:21:53.342Z] Step 13/27 : COPY . . [2022-10-07T11:21:55.306Z] ---> ddcccb1d51f3 [2022-10-07T11:21:55.306Z] Step 14/27 : RUN ${MAKE} [2022-10-07T11:21:55.579Z] ---> Running in c1b560463a21 [2022-10-07T11:21:56.545Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-07T11:24:33.319Z] Removing intermediate container c1b560463a21 [2022-10-07T11:24:33.319Z] ---> 57256ab0a80c [2022-10-07T11:24:33.319Z] Step 15/27 : FROM alpine:3.16 [2022-10-07T11:24:33.319Z] 3.16: Pulling from library/alpine [2022-10-07T11:24:33.319Z] 9b18e9b68314: Pulling fs layer [2022-10-07T11:24:33.319Z] 9b18e9b68314: Verifying Checksum [2022-10-07T11:24:33.319Z] 9b18e9b68314: Download complete [2022-10-07T11:24:33.319Z] 9b18e9b68314: Pull complete [2022-10-07T11:24:33.319Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-07T11:24:33.319Z] Status: Downloaded newer image for alpine:3.16 [2022-10-07T11:24:33.319Z] ---> a6215f271958 [2022-10-07T11:24:33.319Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-07T11:24:33.319Z] ---> Running in 933752a06016 [2022-10-07T11:24:33.319Z] Removing intermediate container 933752a06016 [2022-10-07T11:24:33.319Z] ---> 07ca431d2f25 [2022-10-07T11:24:33.319Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-07T11:24:33.319Z] ---> Running in e47394b174a2 [2022-10-07T11:24:33.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T11:24:33.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T11:24:33.319Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-07T11:24:33.319Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-07T11:24:33.319Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-07T11:24:33.319Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-07T11:24:33.319Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-07T11:24:33.319Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-07T11:24:33.319Z] Executing busybox-1.35.0-r17.trigger [2022-10-07T11:24:33.319Z] OK: 8 MiB in 20 packages [2022-10-07T11:24:33.319Z] Removing intermediate container e47394b174a2 [2022-10-07T11:24:33.319Z] ---> 606247006ba1 [2022-10-07T11:24:33.319Z] Step 18/27 : WORKDIR / [2022-10-07T11:24:33.319Z] ---> Running in 2c7ce3db53b9 [2022-10-07T11:24:33.319Z] Removing intermediate container 2c7ce3db53b9 [2022-10-07T11:24:33.319Z] ---> 4d7f4f19c455 [2022-10-07T11:24:33.319Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-07T11:24:33.319Z] ---> b4af3223a7cc [2022-10-07T11:24:33.319Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-07T11:24:33.319Z] ---> bd53840e909f [2022-10-07T11:24:33.319Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-07T11:24:33.319Z] ---> 70288b9b7788 [2022-10-07T11:24:33.319Z] Step 22/27 : EXPOSE 59984 [2022-10-07T11:24:33.319Z] ---> Running in 419af031346d [2022-10-07T11:24:33.319Z] Removing intermediate container 419af031346d [2022-10-07T11:24:33.319Z] ---> 7d9eae8bbb9e [2022-10-07T11:24:33.319Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-07T11:24:33.319Z] ---> Running in 5b0b9759e153 [2022-10-07T11:24:33.319Z] Removing intermediate container 5b0b9759e153 [2022-10-07T11:24:33.319Z] ---> edb671b3d049 [2022-10-07T11:24:33.319Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-07T11:24:33.319Z] ---> Running in aeb488f134ea [2022-10-07T11:24:33.319Z] Removing intermediate container aeb488f134ea [2022-10-07T11:24:33.319Z] ---> 2824aaa7673b [2022-10-07T11:24:33.319Z] Step 25/27 : LABEL arch=arm64 [2022-10-07T11:24:33.319Z] ---> Running in 64cb93d6a316 [2022-10-07T11:24:33.319Z] Removing intermediate container 64cb93d6a316 [2022-10-07T11:24:33.319Z] ---> 4edfdd522720 [2022-10-07T11:24:33.319Z] Step 26/27 : LABEL git_sha=ca837fe545fbfa1313c6f31ccf1912afdfef5133 [2022-10-07T11:24:33.319Z] ---> Running in 9da62d022843 [2022-10-07T11:24:33.319Z] Removing intermediate container 9da62d022843 [2022-10-07T11:24:33.319Z] ---> 2808b1600903 [2022-10-07T11:24:33.319Z] Step 27/27 : LABEL version=0.0.0 [2022-10-07T11:24:33.319Z] ---> Running in 74f0d2715b67 [2022-10-07T11:24:33.319Z] Removing intermediate container 74f0d2715b67 [2022-10-07T11:24:33.319Z] ---> 89ee28cd0ca9 [2022-10-07T11:24:33.319Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-07T11:24:33.319Z] Successfully built 89ee28cd0ca9 [2022-10-07T11:24:33.319Z] 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-07T11:24:33.773Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T11:24:33.773Z] [2022-10-07T11:24:33.773Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:24:34.112Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T11:24:34.112Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-07T11:24:34.112Z] 8998bd30e6a1: Pulling fs layer [2022-10-07T11:24:34.112Z] 04944245beec: Pulling fs layer [2022-10-07T11:24:34.112Z] 699f458cf7ca: Pulling fs layer [2022-10-07T11:24:34.112Z] 765212b225bb: Pulling fs layer [2022-10-07T11:24:34.112Z] f23df028b6ca: Pulling fs layer [2022-10-07T11:24:34.112Z] d65c8cfc05b1: Pulling fs layer [2022-10-07T11:24:34.112Z] 2437ff75d9bd: Pulling fs layer [2022-10-07T11:24:34.112Z] f23df028b6ca: Waiting [2022-10-07T11:24:34.112Z] d65c8cfc05b1: Waiting [2022-10-07T11:24:34.112Z] 765212b225bb: Waiting [2022-10-07T11:24:34.112Z] 2437ff75d9bd: Waiting [2022-10-07T11:24:34.394Z] 04944245beec: Verifying Checksum [2022-10-07T11:24:34.394Z] 04944245beec: Download complete [2022-10-07T11:24:34.394Z] 765212b225bb: Download complete [2022-10-07T11:24:34.394Z] f23df028b6ca: Verifying Checksum [2022-10-07T11:24:34.394Z] f23df028b6ca: Download complete [2022-10-07T11:24:34.394Z] d65c8cfc05b1: Verifying Checksum [2022-10-07T11:24:34.394Z] d65c8cfc05b1: Download complete [2022-10-07T11:24:34.394Z] 699f458cf7ca: Verifying Checksum [2022-10-07T11:24:34.394Z] 699f458cf7ca: Download complete [2022-10-07T11:24:34.985Z] 8998bd30e6a1: Verifying Checksum [2022-10-07T11:24:34.985Z] 8998bd30e6a1: Download complete [2022-10-07T11:24:37.580Z] 2437ff75d9bd: Verifying Checksum [2022-10-07T11:24:37.580Z] 2437ff75d9bd: Download complete [2022-10-07T11:24:38.989Z] 8998bd30e6a1: Pull complete [2022-10-07T11:24:39.256Z] 04944245beec: Pull complete [2022-10-07T11:24:40.666Z] 699f458cf7ca: Pull complete [2022-10-07T11:24:40.933Z] 765212b225bb: Pull complete [2022-10-07T11:24:41.520Z] f23df028b6ca: Pull complete [2022-10-07T11:24:41.788Z] d65c8cfc05b1: Pull complete [2022-10-07T11:24:56.807Z] 2437ff75d9bd: Pull complete [2022-10-07T11:24:56.807Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-07T11:24:56.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T11:24:56.807Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T11:24:56.977Z] prd-ubuntu20.04-docker-arm64-4c-16g-7334 does not seem to be running inside a container [2022-10-07T11:24:57.033Z] $ 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/13 -v /w/workspace/device-onvif-camera/13:/w/workspace/device-onvif-camera/13:rw,z -v /w/workspace/device-onvif-camera/13@tmp:/w/workspace/device-onvif-camera/13@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-07T11:24:59.692Z] $ docker top e89f8a692c36f231f42a393344b789f70c13b8ea5154ecaeaa9ef2cc3a2d43e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:25:00.532Z] ---> job-cost.sh [2022-10-07T11:25:00.532Z] lf-activate-venv: SKIPPING [2022-10-07T11:25:00.532Z] INFO: No Stack... [2022-10-07T11:25:01.114Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-07T11:25:01.696Z] INFO: Archiving Costs [Pipeline] sh [2022-10-07T11:25:02.015Z] + + cutcat -d, /w/workspace/device-onvif-camera/13/archives/cost.csv -f6 [2022-10-07T11:25:02.015Z] [Pipeline] lock [2022-10-07T11:25:02.049Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-13-stack-cost] [2022-10-07T11:25:02.054Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-13-stack-cost] did not exist. Created. [2022-10-07T11:25:02.054Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-07T11:25:02.394Z] /w/workspace/device-onvif-camera/13@tmp/durable-440c591f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-07T11:25:02.733Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-07T11:25:02.756Z] Warning: overwriting stash ‘stack-cost’ [2022-10-07T11:25:02.809Z] Stashed 1 file(s) [Pipeline] } [2022-10-07T11:25:02.816Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-13-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-07T11:25:02.828Z] $ docker stop --time=1 e89f8a692c36f231f42a393344b789f70c13b8ea5154ecaeaa9ef2cc3a2d43e9 [2022-10-07T11:25:04.305Z] $ docker rm -f e89f8a692c36f231f42a393344b789f70c13b8ea5154ecaeaa9ef2cc3a2d43e9 [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-07T11:25:04.665Z] provisioning config files... [2022-10-07T11:25:04.671Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config10990533237694702524tmp [Pipeline] { [Pipeline] sh [2022-10-07T11:25:04.964Z] + set +x [2022-10-07T11:25:04.965Z] + + bash -s --curl [2022-10-07T11:25:04.965Z] -s https://codecov.io/bash [2022-10-07T11:25:04.965Z] [2022-10-07T11:25:04.965Z] _____ _ [2022-10-07T11:25:04.965Z] / ____| | | [2022-10-07T11:25:04.965Z] | | ___ __| | ___ ___ _____ __ [2022-10-07T11:25:04.965Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-07T11:25:04.965Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-07T11:25:04.965Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-07T11:25:04.965Z] Bash-1.0.6 [2022-10-07T11:25:04.965Z] [2022-10-07T11:25:04.965Z] [2022-10-07T11:25:04.965Z] ==> git version 2.25.1 found [2022-10-07T11:25:04.965Z] ==> 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-07T11:25:04.965Z] Release-Date: 2020-01-08 [2022-10-07T11:25:04.965Z] 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-07T11:25:04.965Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-07T11:25:04.965Z] ==> Jenkins CI detected. [2022-10-07T11:25:04.965Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-172 [2022-10-07T11:25:04.965Z] project root: . [2022-10-07T11:25:04.965Z] --> token set from env [2022-10-07T11:25:04.965Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-07T11:25:04.965Z] ==> Running gcov in . (disable via -X gcov) [2022-10-07T11:25:04.965Z] ==> Python coveragepy not found [2022-10-07T11:25:04.965Z] ==> Searching for coverage reports in: [2022-10-07T11:25:04.965Z] + . [2022-10-07T11:25:04.965Z] -> Found 1 reports [2022-10-07T11:25:04.965Z] ==> Detecting git/mercurial file structure [2022-10-07T11:25:04.965Z] ==> Reading reports [2022-10-07T11:25:04.965Z] + ./coverage.out bytes=78636 [2022-10-07T11:25:04.965Z] ==> Appending adjustments [2022-10-07T11:25:04.965Z] https://docs.codecov.io/docs/fixing-reports [2022-10-07T11:25:05.224Z] + Found adjustments [2022-10-07T11:25:05.224Z] ==> Gzipping contents [2022-10-07T11:25:05.224Z] 12K /tmp/codecov.FMS88X.gz [2022-10-07T11:25:05.224Z] ==> Uploading reports [2022-10-07T11:25:05.224Z] url: https://codecov.io [2022-10-07T11:25:05.225Z] query: branch=PR-172&commit=ca837fe545fbfa1313c6f31ccf1912afdfef5133&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= [2022-10-07T11:25:05.225Z] -> Pinging Codecov [2022-10-07T11:25:05.225Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-172&commit=ca837fe545fbfa1313c6f31ccf1912afdfef5133&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= [2022-10-07T11:25:05.793Z] -> Uploading to [2022-10-07T11:25:05.793Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-07/F29A59C45E3A92E06B3E522C9905F8EF/ca837fe545fbfa1313c6f31ccf1912afdfef5133/cddb88f0-9eac-46b9-8b85-64d5670f9ed4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221007T112505Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d21a51874029c6c6ed3a94b0d1ad1bed776aebfdd8ec036e830f9c87eb2a471d [2022-10-07T11:25:05.793Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-07T11:25:05.793Z] Dload Upload Total Spent Left Speed [2022-10-07T11:25:05.793Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10743 0 0 100 10743 0 42295 --:--:-- --:--:-- --:--:-- 42129 [2022-10-07T11:25:05.793Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ca837fe545fbfa1313c6f31ccf1912afdfef5133 [Pipeline] } [2022-10-07T11:25:05.800Z] 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-07T11:25:06.495Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] [2022-10-07T11:25:06.495Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-07T11:25:06.495Z] total 16 [2022-10-07T11:25:06.495Z] drwxr-xr-x 3 root root 4096 Oct 7 11:14 . [2022-10-07T11:25:06.495Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 11:14 .. [2022-10-07T11:25:06.495Z] drwxr-xr-x 2 root root 4096 Oct 7 11:14 cost [2022-10-07T11:25:06.495Z] -rw-r--r-- 1 root root 92 Oct 7 11:14 cost.csv [2022-10-07T11:25:06.495Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-07T11:25:06.495Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-07T11:25:06.495Z] total 16 [2022-10-07T11:25:06.495Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 11:14 . [2022-10-07T11:25:06.495Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 11:14 .. [2022-10-07T11:25:06.495Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 11:14 cost [2022-10-07T11:25:06.495Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 7 11:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:25:06.787Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:25:07.648Z] ---> package-listing.sh [2022-10-07T11:25:07.648Z] ++ facter osfamily [2022-10-07T11:25:07.648Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-07T11:25:07.907Z] + OS_FAMILY=debian [2022-10-07T11:25:07.907Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-172 [2022-10-07T11:25:07.907Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-07T11:25:07.907Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-07T11:25:07.907Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-07T11:25:07.907Z] + PACKAGES=/tmp/packages_start.txt [2022-10-07T11:25:07.907Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-07T11:25:07.907Z] + PACKAGES=/tmp/packages_end.txt [2022-10-07T11:25:07.907Z] + case "${OS_FAMILY}" in [2022-10-07T11:25:07.907Z] + dpkg -l [2022-10-07T11:25:07.907Z] + grep '^ii' [2022-10-07T11:25:07.907Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-07T11:25:07.907Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-07T11:25:07.907Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-07T11:25:07.907Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-07T11:25:07.907Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ [2022-10-07T11:25:07.907Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-172/archives/ [Pipeline] echo [2022-10-07T11:25:07.918Z] 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-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-07T11:25:08.198Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T11:25:08.762Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T11:25:08.763Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T11:25:08.834Z] prd-ubuntu20.04-docker-8c-8g-7333 does not seem to be running inside a container [2022-10-07T11:25:08.870Z] $ 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-172/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-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-07T11:25:09.070Z] $ docker top 6e67537bb52e00c93d236bb757bdda4724c5098f25685ef520e25c2dc843645c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T11:25:09.420Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-07T11:25:09.708Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-07T11:25:09.994Z] + ls /var/log/sa-host [2022-10-07T11:25:09.994Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T11:25:10.138Z] provisioning config files... [2022-10-07T11:25:10.147Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config2586326522059683569tmp [Pipeline] { [Pipeline] echo [2022-10-07T11:25:10.161Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:25:10.445Z] ---> create-netrc.sh [Pipeline] } [2022-10-07T11:25:10.452Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:25:10.788Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-07T11:25:10.796Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:25:11.081Z] ---> sudo-logs.sh [2022-10-07T11:25:11.081Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-07T11:25:11.107Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:25:11.391Z] ---> job-cost.sh [2022-10-07T11:25:11.391Z] lf-activate-venv: SKIPPING [2022-10-07T11:25:11.391Z] DEBUG: total: 0.2199999988079071 [2022-10-07T11:25:11.391Z] INFO: Retrieving Stack Cost... [2022-10-07T11:25:11.960Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-07T11:25:12.219Z] INFO: Archiving Costs [Pipeline] echo [2022-10-07T11:25:12.231Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T11:25:12.515Z] ---> logs-deploy.sh [2022-10-07T11:25:12.515Z] lf-activate-venv: SKIPPING [2022-10-07T11:25:12.515Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/13 [2022-10-07T11:25:12.515Z] INFO: archiving workspace using pattern(s): [2022-10-07T11:25:13.451Z] Archives upload complete. [2022-10-07T11:25:13.711Z] INFO: archiving logs to Nexus