Pull request #152 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 87f15e26a71a8026a682f6867a4ab9a3284585c9 rather than 93dadf11464e800d463b181b6237fc617ac7c8d5 Obtained Jenkinsfile from 87f15e26a71a8026a682f6867a4ab9a3284585c9 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-ssh11430689143189749450.key > 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-ssh13700010685147870447.key > 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-152/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-152/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1828146988271465097.key > 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-ssh12578142447126627446.key > 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-152/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-152/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10673637229918061873.key > 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 ‘prd-ubuntu20.04-docker-8c-8g-24372’ Running on prd-ubuntu20.04-docker-8c-8g-24376 in /w/workspace/undry_device-onvif-camera_PR-152 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-152 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 87f15e26a71a8026a682f6867a4ab9a3284585c9 into PR head commit 93dadf11464e800d463b181b6237fc617ac7c8d5 Merge succeeded, producing 93dadf11464e800d463b181b6237fc617ac7c8d5 Checking out Revision 93dadf11464e800d463b181b6237fc617ac7c8d5 (PR-152) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/152/head:refs/remotes/origin/PR-152 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93dadf11464e800d463b181b6237fc617ac7c8d5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 87f15e26a71a8026a682f6867a4ab9a3284585c9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93dadf11464e800d463b181b6237fc617ac7c8d5 # timeout=10 Commit message: "test: remove commented out tests" > git rev-list --no-walk 4795e94ad7b1ac7851ac2e8e46d9244cebf3d564 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-02T00:11:13.390Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-02T00:11:13.461Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-02T00:11:13.478Z] ========================================================= [2022-09-02T00:11:13.478Z] EdgeX Global Pipelines Version Info [2022-09-02T00:11:13.478Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:11:14.242Z] ------------------- [2022-09-02T00:11:14.242Z] stable info: [2022-09-02T00:11:14.242Z] ------------------- [2022-09-02T00:11:14.242Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-02T00:11:14.242Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-02T00:11:14.242Z] Message: update stable to v1.0.239 [2022-09-02T00:11:15.186Z] ------------------- [2022-09-02T00:11:15.186Z] experimental info: [2022-09-02T00:11:15.186Z] ------------------- [2022-09-02T00:11:15.186Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-02T00:11:15.186Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-02T00:11:15.186Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-02T00:11:15.376Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-02T00:11:15.391Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-02T00:11:15.411Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-02T00:11:15.428Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-02T00:11:15.446Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-02T00:11:15.459Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-02T00:11:15.473Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-02T00:11:15.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-02T00:11:15.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-02T00:11:15.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-02T00:11:15.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-02T00:11:15.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-02T00:11:15.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-02T00:11:15.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-02T00:11:15.600Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-02T00:11:15.617Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-02T00:11:15.636Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-02T00:11:15.650Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-02T00:11:15.667Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-02T00:11:15.681Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-02T00:11:15.695Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-02T00:11:15.710Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-02T00:11:15.722Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-02T00:11:15.737Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-02T00:11:15.751Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-02T00:11:15.768Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-02T00:11:15.788Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-02T00:11:15.806Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-152 [Pipeline] echo [2022-09-02T00:11:15.830Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-152 [Pipeline] echo [2022-09-02T00:11:15.844Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-152 [Pipeline] echo [2022-09-02T00:11:15.863Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93dadf11464e800d463b181b6237fc617ac7c8d5 [Pipeline] echo [2022-09-02T00:11:15.882Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 93dadf1 [Pipeline] echo [2022-09-02T00:11:15.907Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-02T00:11:15.967Z] provisioning config files... [2022-09-02T00:11:15.989Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config1918359065084699863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:11:16.297Z] ---> docker-login.sh [2022-09-02T00:11:16.297Z] nexus3.edgexfoundry.org:10001 [2022-09-02T00:11:16.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:11:16.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:11:16.557Z] Configure a credential helper to remove this warning. See [2022-09-02T00:11:16.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:11:16.557Z] [2022-09-02T00:11:16.557Z] Login Succeeded [2022-09-02T00:11:16.557Z] nexus3.edgexfoundry.org:10002 [2022-09-02T00:11:16.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:11:16.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:11:16.819Z] Configure a credential helper to remove this warning. See [2022-09-02T00:11:16.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:11:16.819Z] [2022-09-02T00:11:16.819Z] Login Succeeded [2022-09-02T00:11:16.819Z] nexus3.edgexfoundry.org:10003 [2022-09-02T00:11:16.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:11:16.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:11:16.819Z] Configure a credential helper to remove this warning. See [2022-09-02T00:11:16.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:11:16.819Z] [2022-09-02T00:11:16.819Z] Login Succeeded [2022-09-02T00:11:16.819Z] nexus3.edgexfoundry.org:10004 [2022-09-02T00:11:16.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:11:17.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:11:17.081Z] Configure a credential helper to remove this warning. See [2022-09-02T00:11:17.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:11:17.081Z] [2022-09-02T00:11:17.081Z] Login Succeeded [2022-09-02T00:11:17.081Z] docker.io [2022-09-02T00:11:17.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:11:17.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:11:17.343Z] Configure a credential helper to remove this warning. See [2022-09-02T00:11:17.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:11:17.343Z] [2022-09-02T00:11:17.343Z] Login Succeeded [2022-09-02T00:11:17.343Z] ---> docker-login.sh ends [Pipeline] } [2022-09-02T00:11:17.352Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-02T00:11:17.740Z] + git rev-list -1 --merges 93dadf11464e800d463b181b6237fc617ac7c8d5~1..93dadf11464e800d463b181b6237fc617ac7c8d5 [Pipeline] echo [2022-09-02T00:11:17.759Z] -----------> git rev-list -1 --merges 93dadf11464e800d463b181b6237fc617ac7c8d5~1..93dadf11464e800d463b181b6237fc617ac7c8d5 93dadf11464e800d463b181b6237fc617ac7c8d5 [false] [Pipeline] sh [2022-09-02T00:11:18.056Z] + git log --format=format:%s -1 93dadf11464e800d463b181b6237fc617ac7c8d5 [Pipeline] echo [2022-09-02T00:11:18.073Z] ========================================================= [2022-09-02T00:11:18.073Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-02T00:11:18.073Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-02T00:11:18.425Z] + git log --format=format:%s -1 93dadf11464e800d463b181b6237fc617ac7c8d5 [Pipeline] echo [2022-09-02T00:11:18.438Z] [semverPrep] GIT_COMMIT: 93dadf11464e800d463b181b6237fc617ac7c8d5, Commit Message: test: remove commented out tests [Pipeline] echo [2022-09-02T00:11:18.450Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-02T00:11:18.801Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-02T00:11:18.801Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-02T00:11:18.801Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-02T00:11:18.801Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-02T00:11:18.801Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-02T00:11:18.801Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-02T00:11:18.801Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:11:19.176Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-02T00:11:19.176Z] [2022-09-02T00:11:19.176Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:11:19.478Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-02T00:11:19.478Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-02T00:11:19.478Z] b85a868b505f: Pulling fs layer [2022-09-02T00:11:19.478Z] e2be974225ed: Pulling fs layer [2022-09-02T00:11:19.478Z] 339a4e72a1f5: Pulling fs layer [2022-09-02T00:11:19.478Z] 988bab9f4d93: Pulling fs layer [2022-09-02T00:11:19.478Z] 1469e6f7b9e6: Pulling fs layer [2022-09-02T00:11:19.478Z] eaf3925da568: Pulling fs layer [2022-09-02T00:11:19.478Z] bab4dde63d76: Pulling fs layer [2022-09-02T00:11:19.478Z] bde34c3a00c8: Pulling fs layer [2022-09-02T00:11:19.478Z] b352a97aabf1: Pulling fs layer [2022-09-02T00:11:19.478Z] 4872d77fe225: Pulling fs layer [2022-09-02T00:11:19.478Z] 5851b861e8e6: Pulling fs layer [2022-09-02T00:11:19.478Z] 988bab9f4d93: Waiting [2022-09-02T00:11:19.478Z] 1469e6f7b9e6: Waiting [2022-09-02T00:11:19.478Z] eaf3925da568: Waiting [2022-09-02T00:11:19.478Z] 4872d77fe225: Waiting [2022-09-02T00:11:19.478Z] bab4dde63d76: Waiting [2022-09-02T00:11:19.478Z] bde34c3a00c8: Waiting [2022-09-02T00:11:19.478Z] 5851b861e8e6: Waiting [2022-09-02T00:11:19.478Z] e2be974225ed: Verifying Checksum [2022-09-02T00:11:19.478Z] e2be974225ed: Download complete [2022-09-02T00:11:19.478Z] 988bab9f4d93: Verifying Checksum [2022-09-02T00:11:19.478Z] 988bab9f4d93: Download complete [2022-09-02T00:11:19.478Z] 1469e6f7b9e6: Verifying Checksum [2022-09-02T00:11:19.478Z] 1469e6f7b9e6: Download complete [2022-09-02T00:11:19.736Z] eaf3925da568: Verifying Checksum [2022-09-02T00:11:19.736Z] eaf3925da568: Download complete [2022-09-02T00:11:19.737Z] 339a4e72a1f5: Verifying Checksum [2022-09-02T00:11:19.737Z] 339a4e72a1f5: Download complete [2022-09-02T00:11:19.737Z] bde34c3a00c8: Verifying Checksum [2022-09-02T00:11:19.737Z] bde34c3a00c8: Download complete [2022-09-02T00:11:19.737Z] b352a97aabf1: Verifying Checksum [2022-09-02T00:11:19.737Z] b352a97aabf1: Download complete [2022-09-02T00:11:19.737Z] 4872d77fe225: Verifying Checksum [2022-09-02T00:11:19.737Z] 4872d77fe225: Download complete [2022-09-02T00:11:19.737Z] 5851b861e8e6: Verifying Checksum [2022-09-02T00:11:19.737Z] 5851b861e8e6: Download complete [2022-09-02T00:11:19.737Z] b85a868b505f: Verifying Checksum [2022-09-02T00:11:19.737Z] b85a868b505f: Download complete [2022-09-02T00:11:19.995Z] bab4dde63d76: Verifying Checksum [2022-09-02T00:11:19.995Z] bab4dde63d76: Download complete [2022-09-02T00:11:21.378Z] b85a868b505f: Pull complete [2022-09-02T00:11:21.378Z] e2be974225ed: Pull complete [2022-09-02T00:11:21.946Z] 339a4e72a1f5: Pull complete [2022-09-02T00:11:21.946Z] 988bab9f4d93: Pull complete [2022-09-02T00:11:22.205Z] 1469e6f7b9e6: Pull complete [2022-09-02T00:11:22.205Z] eaf3925da568: Pull complete [2022-09-02T00:11:24.113Z] bab4dde63d76: Pull complete [2022-09-02T00:11:24.113Z] bde34c3a00c8: Pull complete [2022-09-02T00:11:24.373Z] b352a97aabf1: Pull complete [2022-09-02T00:11:24.373Z] 4872d77fe225: Pull complete [2022-09-02T00:11:24.373Z] 5851b861e8e6: Pull complete [2022-09-02T00:11:24.373Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-02T00:11:24.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-02T00:11:24.373Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T00:11:24.474Z] prd-ubuntu20.04-docker-8c-8g-24376 does not seem to be running inside a container [2022-09-02T00:11:24.525Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-02T00:11:27.195Z] $ docker top ecc343e651cc3cfa832e2a66daa95fca93892cad23a33d0f89c143361b7dbf9d -eo pid,comm [2022-09-02T00:11:27.258Z] 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-09-02T00:11:27.258Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-02T00:11:27.298Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-02T00:11:27.298Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-02T00:11:27.434Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-02T00:11:27.442Z] $ docker exec ecc343e651cc3cfa832e2a66daa95fca93892cad23a33d0f89c143361b7dbf9d ssh-agent [2022-09-02T00:11:27.555Z] SSH_AUTH_SOCK=/tmp/ssh-1RGnajb0jyyo/agent.33 [2022-09-02T00:11:27.555Z] SSH_AGENT_PID=40 [2022-09-02T00:11:27.561Z] Running ssh-add (command line suppressed) [2022-09-02T00:11:27.675Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_1953748032058559387.key (/w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_1953748032058559387.key) [2022-09-02T00:11:27.689Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-02T00:11:27.981Z] + git tag --points-at HEAD [Pipeline] } [2022-09-02T00:11:28.000Z] $ docker exec --env ******** --env ******** ecc343e651cc3cfa832e2a66daa95fca93892cad23a33d0f89c143361b7dbf9d ssh-agent -k [2022-09-02T00:11:28.118Z] unset SSH_AUTH_SOCK; [2022-09-02T00:11:28.118Z] unset SSH_AGENT_PID; [2022-09-02T00:11:28.118Z] echo Agent pid 40 killed; [2022-09-02T00:11:28.124Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-02T00:11:28.152Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-02T00:11:28.152Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-02T00:11:28.283Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-02T00:11:28.290Z] $ docker exec ecc343e651cc3cfa832e2a66daa95fca93892cad23a33d0f89c143361b7dbf9d ssh-agent [2022-09-02T00:11:28.414Z] SSH_AUTH_SOCK=/tmp/ssh-iTyTkg2uUB9n/agent.72 [2022-09-02T00:11:28.414Z] SSH_AGENT_PID=79 [2022-09-02T00:11:28.419Z] Running ssh-add (command line suppressed) [2022-09-02T00:11:28.546Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_1019515423256286725.key (/w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_1019515423256286725.key) [2022-09-02T00:11:28.558Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-02T00:11:28.849Z] + git semver init [2022-09-02T00:11:29.110Z] 2022-09-02 00:11:29,062 [run_init] DEBUG init version:0.0.0 force:False [2022-09-02T00:11:29.110Z] 2022-09-02 00:11:29,063 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-152/.semver [2022-09-02T00:11:29.110Z] 2022-09-02 00:11:29,063 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-152/.semver [2022-09-02T00:11:29.110Z] 2022-09-02 00:11:29,064 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-152/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-152, universal_newlines=False, shell=None, istream=None) [2022-09-02T00:11:30.058Z] 2022-09-02 00:11:29,876 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-152/.git/info/exclude [2022-09-02T00:11:30.058Z] 2022-09-02 00:11:29,876 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-152/.semver/PR-152 with force:False [2022-09-02T00:11:30.058Z] 2022-09-02 00:11:29,876 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-152/.semver/PR-152 [2022-09-02T00:11:30.058Z] 2022-09-02 00:11:29,881 [execute] INFO git cat-file --batch-check [2022-09-02T00:11:30.058Z] 2022-09-02 00:11:29,881 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-152/.semver, universal_newlines=False, shell=None, istream=) [2022-09-02T00:11:30.058Z] 2022-09-02 00:11:29,888 [execute] INFO git cat-file --batch [2022-09-02T00:11:30.058Z] 2022-09-02 00:11:29,888 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-152/.semver, universal_newlines=False, shell=None, istream=) [2022-09-02T00:11:30.058Z] 2022-09-02 00:11:29,893 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-152/.semver/PR-152 [2022-09-02T00:11:30.058Z] 0.0.0 [Pipeline] } [2022-09-02T00:11:30.073Z] $ docker exec --env ******** --env ******** ecc343e651cc3cfa832e2a66daa95fca93892cad23a33d0f89c143361b7dbf9d ssh-agent -k [2022-09-02T00:11:30.184Z] unset SSH_AUTH_SOCK; [2022-09-02T00:11:30.185Z] unset SSH_AGENT_PID; [2022-09-02T00:11:30.185Z] echo Agent pid 79 killed; [2022-09-02T00:11:30.193Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-02T00:11:30.515Z] + git semver [Pipeline] } [2022-09-02T00:11:30.794Z] $ docker stop --time=1 ecc343e651cc3cfa832e2a66daa95fca93892cad23a33d0f89c143361b7dbf9d [2022-09-02T00:11:32.122Z] $ docker rm -f ecc343e651cc3cfa832e2a66daa95fca93892cad23a33d0f89c143361b7dbf9d [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-02T00:11:32.477Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-02T00:11:32.751Z] Stashed 1 file(s) [Pipeline] echo [2022-09-02T00:11:32.754Z] [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-09-02T00:11:32.925Z] provisioning config files... [2022-09-02T00:11:32.937Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config805612593108205529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:11:33.240Z] ---> docker-login.sh [2022-09-02T00:11:33.240Z] nexus3.edgexfoundry.org:10001 [2022-09-02T00:11:33.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:11:33.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:11:33.240Z] Configure a credential helper to remove this warning. See [2022-09-02T00:11:33.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:11:33.240Z] [2022-09-02T00:11:33.240Z] Login Succeeded [2022-09-02T00:11:33.240Z] nexus3.edgexfoundry.org:10002 [2022-09-02T00:11:33.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:11:33.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:11:33.501Z] Configure a credential helper to remove this warning. See [2022-09-02T00:11:33.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:11:33.501Z] [2022-09-02T00:11:33.501Z] Login Succeeded [2022-09-02T00:11:33.501Z] nexus3.edgexfoundry.org:10003 [2022-09-02T00:11:33.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:11:33.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:11:33.501Z] Configure a credential helper to remove this warning. See [2022-09-02T00:11:33.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:11:33.501Z] [2022-09-02T00:11:33.501Z] Login Succeeded [2022-09-02T00:11:33.501Z] nexus3.edgexfoundry.org:10004 [2022-09-02T00:11:33.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:11:33.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:11:33.762Z] Configure a credential helper to remove this warning. See [2022-09-02T00:11:33.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:11:33.762Z] [2022-09-02T00:11:33.762Z] Login Succeeded [2022-09-02T00:11:33.762Z] docker.io [2022-09-02T00:11:33.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:11:34.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:11:34.025Z] Configure a credential helper to remove this warning. See [2022-09-02T00:11:34.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:11:34.025Z] [2022-09-02T00:11:34.025Z] Login Succeeded [2022-09-02T00:11:34.025Z] ---> docker-login.sh ends [Pipeline] } [2022-09-02T00:11:34.033Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-02T00:11:34.100Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-02T00:11:34.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-02T00:11:34.122Z] ========================================================= [2022-09-02T00:11:34.122Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-02T00:11:34.122Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:11:34.441Z] + 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-09-02T00:11:34.441Z] Sending build context to Docker daemon 20.67MB [2022-09-02T00:11:34.441Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-02T00:11:34.441Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-02T00:11:34.702Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-02T00:11:34.702Z] 2408cc74d12b: Pulling fs layer [2022-09-02T00:11:34.702Z] ea60b727a1ce: Pulling fs layer [2022-09-02T00:11:34.702Z] 30c4a7721957: Pulling fs layer [2022-09-02T00:11:34.702Z] 370296b7ddb6: Pulling fs layer [2022-09-02T00:11:34.702Z] 7c6cee850709: Pulling fs layer [2022-09-02T00:11:34.702Z] 39a5fcdaea64: Pulling fs layer [2022-09-02T00:11:34.702Z] d94ebbe4e438: Pulling fs layer [2022-09-02T00:11:34.702Z] bcfd1f05c69d: Pulling fs layer [2022-09-02T00:11:34.702Z] 59ccb84bbe0f: Pulling fs layer [2022-09-02T00:11:34.702Z] 370296b7ddb6: Waiting [2022-09-02T00:11:34.702Z] 7c6cee850709: Waiting [2022-09-02T00:11:34.702Z] 39a5fcdaea64: Waiting [2022-09-02T00:11:34.702Z] d94ebbe4e438: Waiting [2022-09-02T00:11:34.702Z] bcfd1f05c69d: Waiting [2022-09-02T00:11:34.702Z] 59ccb84bbe0f: Waiting [2022-09-02T00:11:34.702Z] 30c4a7721957: Verifying Checksum [2022-09-02T00:11:34.702Z] 30c4a7721957: Download complete [2022-09-02T00:11:34.702Z] ea60b727a1ce: Verifying Checksum [2022-09-02T00:11:34.702Z] ea60b727a1ce: Download complete [2022-09-02T00:11:34.702Z] 7c6cee850709: Verifying Checksum [2022-09-02T00:11:34.702Z] 7c6cee850709: Download complete [2022-09-02T00:11:34.702Z] 39a5fcdaea64: Verifying Checksum [2022-09-02T00:11:34.702Z] 39a5fcdaea64: Download complete [2022-09-02T00:11:34.702Z] 2408cc74d12b: Verifying Checksum [2022-09-02T00:11:34.702Z] 2408cc74d12b: Download complete [2022-09-02T00:11:34.702Z] d94ebbe4e438: Download complete [2022-09-02T00:11:34.961Z] 2408cc74d12b: Pull complete [2022-09-02T00:11:34.962Z] ea60b727a1ce: Pull complete [2022-09-02T00:11:35.223Z] 30c4a7721957: Pull complete [2022-09-02T00:11:35.223Z] 59ccb84bbe0f: Download complete [2022-09-02T00:11:35.486Z] bcfd1f05c69d: Verifying Checksum [2022-09-02T00:11:35.486Z] bcfd1f05c69d: Download complete [2022-09-02T00:11:35.746Z] 370296b7ddb6: Verifying Checksum [2022-09-02T00:11:35.746Z] 370296b7ddb6: Download complete [2022-09-02T00:11:39.956Z] 370296b7ddb6: Pull complete [2022-09-02T00:11:39.956Z] 7c6cee850709: Pull complete [2022-09-02T00:11:39.956Z] 39a5fcdaea64: Pull complete [2022-09-02T00:11:39.956Z] d94ebbe4e438: Pull complete [2022-09-02T00:11:41.882Z] bcfd1f05c69d: Pull complete [2022-09-02T00:11:42.911Z] 59ccb84bbe0f: Pull complete [2022-09-02T00:11:42.911Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-02T00:11:42.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-02T00:11:42.911Z] ---> a4fb48ad2a94 [2022-09-02T00:11:42.911Z] Step 3/13 : ARG MAKE="make build" [2022-09-02T00:11:47.118Z] ---> Running in 7a9590dd0d39 [2022-09-02T00:11:47.118Z] Removing intermediate container 7a9590dd0d39 [2022-09-02T00:11:47.118Z] ---> 0380fb466095 [2022-09-02T00:11:47.118Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-02T00:11:47.118Z] ---> Running in df616014cf4a [2022-09-02T00:11:47.118Z] Removing intermediate container df616014cf4a [2022-09-02T00:11:47.118Z] ---> c02757c8501b [2022-09-02T00:11:47.118Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-02T00:11:47.118Z] ---> Running in 1ca08ce421a1 [2022-09-02T00:11:47.118Z] Removing intermediate container 1ca08ce421a1 [2022-09-02T00:11:47.118Z] ---> a487c6fac082 [2022-09-02T00:11:47.118Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-02T00:11:47.118Z] ---> Running in 4cf47bcfdd61 [2022-09-02T00:11:47.379Z] Removing intermediate container 4cf47bcfdd61 [2022-09-02T00:11:47.379Z] ---> b8a9fae6efa4 [2022-09-02T00:11:47.379Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-02T00:11:47.379Z] ---> Running in b5a01d48b5ec [2022-09-02T00:11:47.873Z] Still waiting to schedule task [2022-09-02T00:11:47.874Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24373’ [2022-09-02T00:11:47.948Z] Removing intermediate container b5a01d48b5ec [2022-09-02T00:11:47.948Z] ---> 273de2730844 [2022-09-02T00:11:47.948Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-02T00:11:47.948Z] ---> Running in 4d5c9d6cb899 [2022-09-02T00:11:48.210Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-02T00:11:49.152Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-02T00:11:49.413Z] OK: 211 MiB in 51 packages [2022-09-02T00:11:49.673Z] Removing intermediate container 4d5c9d6cb899 [2022-09-02T00:11:49.673Z] ---> 451f890971c2 [2022-09-02T00:11:49.673Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-02T00:11:49.673Z] ---> Running in e314aeb20bb3 [2022-09-02T00:11:49.673Z] Removing intermediate container e314aeb20bb3 [2022-09-02T00:11:49.673Z] ---> cab345e437ba [2022-09-02T00:11:49.673Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-02T00:11:49.933Z] ---> 30b7cfe8e4cf [2022-09-02T00:11:49.933Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-02T00:11:49.933Z] ---> Running in 58bf863f8aa2 [2022-09-02T00:12:11.913Z] Removing intermediate container 58bf863f8aa2 [2022-09-02T00:12:11.913Z] ---> 5a709c670ecc [2022-09-02T00:12:11.913Z] Step 12/13 : COPY . . [2022-09-02T00:12:12.858Z] ---> ab8a313baae0 [2022-09-02T00:12:12.858Z] Step 13/13 : RUN ${MAKE} [2022-09-02T00:12:12.858Z] ---> Running in 25e01ab88bce [2022-09-02T00:12:12.858Z] noop [2022-09-02T00:12:13.120Z] Removing intermediate container 25e01ab88bce [2022-09-02T00:12:13.120Z] ---> ccda129f3774 [2022-09-02T00:12:13.120Z] Successfully built ccda129f3774 [2022-09-02T00:12:13.120Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:12:13.445Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-02T00:12:13.445Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T00:12:13.533Z] prd-ubuntu20.04-docker-8c-8g-24376 does not seem to be running inside a container [2022-09-02T00:12:13.577Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-02T00:12:13.937Z] $ docker top 0b4b57d075fe87951d8add5377ee11b51a5bdf125ce2f0e329268b9d81c6f52d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-02T00:12:14.287Z] + go version [2022-09-02T00:12:14.287Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-02T00:12:14.305Z] $ docker stop --time=1 0b4b57d075fe87951d8add5377ee11b51a5bdf125ce2f0e329268b9d81c6f52d [2022-09-02T00:12:15.580Z] $ docker rm -f 0b4b57d075fe87951d8add5377ee11b51a5bdf125ce2f0e329268b9d81c6f52d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:12:16.016Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-02T00:12:16.016Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T00:12:16.105Z] prd-ubuntu20.04-docker-8c-8g-24376 does not seem to be running inside a container [2022-09-02T00:12:16.146Z] $ 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-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-02T00:12:16.513Z] $ docker top 890e4094c016da1fc8bc01b11024b42131a9af98f536d951c49d5b41a38fee7c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-02T00:12:16.874Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-152 [Pipeline] fileExists [Pipeline] sh [2022-09-02T00:12:17.177Z] + make test [2022-09-02T00:12:17.178Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-02T00:12:17.438Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-02T00:12:29.656Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-02T00:12:29.656Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.040s coverage: 28.6% of statements [2022-09-02T00:12:29.656Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-02T00:12:29.656Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.510s coverage: 90.5% of statements [2022-09-02T00:12:37.790Z] 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-09-02T00:12:37.790Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-02T00:12:41.177Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-02T00:12:41.177Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-02T00:12:41.177Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-02T00:12:41.447Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-02T00:12:41.461Z] $ docker stop --time=1 890e4094c016da1fc8bc01b11024b42131a9af98f536d951c49d5b41a38fee7c [2022-09-02T00:12:44.277Z] $ docker rm -f 890e4094c016da1fc8bc01b11024b42131a9af98f536d951c49d5b41a38fee7c [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-02T00:12:44.743Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-02T00:12:44.811Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-02T00:12:45.252Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-02T00:12:45.541Z] + ls -al . [2022-09-02T00:12:45.541Z] total 232 [2022-09-02T00:12:45.541Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 2 00:12 . [2022-09-02T00:12:45.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 00:11 .. [2022-09-02T00:12:45.541Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 00:12 .git [2022-09-02T00:12:45.541Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 00:11 .github [2022-09-02T00:12:45.541Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 2 00:11 .gitignore [2022-09-02T00:12:45.541Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 2 00:11 .golangci.yml [2022-09-02T00:12:45.541Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 2 00:11 .semver [2022-09-02T00:12:45.541Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 2 00:11 Attribution.txt [2022-09-02T00:12:45.541Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 2 00:11 CHANGELOG.md [2022-09-02T00:12:45.541Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 2 00:11 Dockerfile [2022-09-02T00:12:45.541Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 2 00:11 GOVERNANCE.md [2022-09-02T00:12:45.541Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 2 00:11 Jenkinsfile [2022-09-02T00:12:45.541Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 2 00:11 LICENSE [2022-09-02T00:12:45.541Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 2 00:11 Makefile [2022-09-02T00:12:45.541Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 2 00:11 OWNERS.md [2022-09-02T00:12:45.541Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 2 00:11 README.md [2022-09-02T00:12:45.541Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 2 00:11 VERSION [2022-09-02T00:12:45.541Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 00:11 bin [2022-09-02T00:12:45.541Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 00:11 cmd [2022-09-02T00:12:45.541Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 2 00:12 coverage.out [2022-09-02T00:12:45.541Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 2 00:11 doc [2022-09-02T00:12:45.541Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 2 00:11 go.mod [2022-09-02T00:12:45.541Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 2 00:11 go.sum [2022-09-02T00:12:45.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 00:11 internal [2022-09-02T00:12:45.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 00:11 snap [2022-09-02T00:12:45.541Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 2 00:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:12:45.867Z] + 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=93dadf11464e800d463b181b6237fc617ac7c8d5 --label arch=amd64 --label version=0.0.0 . [2022-09-02T00:12:45.867Z] Sending build context to Docker daemon 20.75MB [2022-09-02T00:12:45.867Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-02T00:12:45.867Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-02T00:12:45.867Z] ---> ccda129f3774 [2022-09-02T00:12:45.867Z] Step 3/26 : ARG MAKE="make build" [2022-09-02T00:12:46.128Z] ---> Running in 1d51ab307e11 [2022-09-02T00:12:46.128Z] Removing intermediate container 1d51ab307e11 [2022-09-02T00:12:46.128Z] ---> 6c08b64db62b [2022-09-02T00:12:46.128Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-02T00:12:46.128Z] ---> Running in 1d2d39585f96 [2022-09-02T00:12:46.388Z] Removing intermediate container 1d2d39585f96 [2022-09-02T00:12:46.388Z] ---> 147a1d65160c [2022-09-02T00:12:46.388Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-02T00:12:46.388Z] ---> Running in 16502faf3c9f [2022-09-02T00:12:46.388Z] Removing intermediate container 16502faf3c9f [2022-09-02T00:12:46.388Z] ---> 0b0305deaf76 [2022-09-02T00:12:46.388Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-02T00:12:46.388Z] ---> Running in 992a76b79819 [2022-09-02T00:12:46.388Z] Removing intermediate container 992a76b79819 [2022-09-02T00:12:46.388Z] ---> 38afe8a8ba3b [2022-09-02T00:12:46.388Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-02T00:12:46.388Z] ---> Running in 67d0e8fd18fe [2022-09-02T00:12:46.961Z] Removing intermediate container 67d0e8fd18fe [2022-09-02T00:12:46.961Z] ---> feb1e0bb9d8e [2022-09-02T00:12:46.961Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-02T00:12:46.961Z] ---> Running in 9d01e4ba37ff [2022-09-02T00:12:47.221Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-02T00:12:48.162Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-02T00:12:48.424Z] OK: 211 MiB in 51 packages [2022-09-02T00:12:48.996Z] Removing intermediate container 9d01e4ba37ff [2022-09-02T00:12:48.996Z] ---> 4cc7b0fa7f9e [2022-09-02T00:12:48.996Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-02T00:12:48.996Z] ---> Running in 877efacd282b [2022-09-02T00:12:48.996Z] Removing intermediate container 877efacd282b [2022-09-02T00:12:48.996Z] ---> 327249f570bc [2022-09-02T00:12:48.996Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-02T00:12:49.257Z] ---> 62d7fec370fc [2022-09-02T00:12:49.257Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-02T00:12:49.257Z] ---> Running in 48de6485effa [2022-09-02T00:12:49.825Z] Removing intermediate container 48de6485effa [2022-09-02T00:12:49.825Z] ---> 126ae780a956 [2022-09-02T00:12:49.825Z] Step 12/26 : COPY . . [2022-09-02T00:12:50.778Z] ---> b9b14f20a92c [2022-09-02T00:12:50.778Z] Step 13/26 : RUN ${MAKE} [2022-09-02T00:12:50.778Z] ---> Running in 6aaefbb41dbe [2022-09-02T00:12:51.037Z] CGO_ENABLED=1 GO111MODULE=on go build -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.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-02T00:13:13.193Z] Removing intermediate container 6aaefbb41dbe [2022-09-02T00:13:13.193Z] ---> 38e995d2c29f [2022-09-02T00:13:13.193Z] Step 14/26 : FROM alpine:3.16 [2022-09-02T00:13:13.193Z] 3.16: Pulling from library/alpine [2022-09-02T00:13:13.454Z] 213ec9aee27d: Pulling fs layer [2022-09-02T00:13:13.778Z] 213ec9aee27d: Verifying Checksum [2022-09-02T00:13:13.778Z] 213ec9aee27d: Download complete [2022-09-02T00:13:13.778Z] 213ec9aee27d: Pull complete [2022-09-02T00:13:13.778Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-02T00:13:13.778Z] Status: Downloaded newer image for alpine:3.16 [2022-09-02T00:13:13.778Z] ---> 9c6f07244728 [2022-09-02T00:13:13.778Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-02T00:13:14.038Z] ---> Running in 8607c0f565f9 [2022-09-02T00:13:14.038Z] Removing intermediate container 8607c0f565f9 [2022-09-02T00:13:14.038Z] ---> f08a5c75e076 [2022-09-02T00:13:14.038Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-02T00:13:14.038Z] ---> Running in 2dce43813161 [2022-09-02T00:13:14.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-02T00:13:14.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-02T00:13:14.557Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-02T00:13:14.557Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-02T00:13:14.557Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-02T00:13:14.557Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-02T00:13:14.830Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-02T00:13:14.830Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-02T00:13:14.830Z] Executing busybox-1.35.0-r17.trigger [2022-09-02T00:13:14.830Z] OK: 8 MiB in 20 packages [2022-09-02T00:13:15.089Z] Removing intermediate container 2dce43813161 [2022-09-02T00:13:15.089Z] ---> 66ed7763ac44 [2022-09-02T00:13:15.089Z] Step 17/26 : WORKDIR / [2022-09-02T00:13:15.089Z] ---> Running in 67cdb565ebec [2022-09-02T00:13:15.348Z] Removing intermediate container 67cdb565ebec [2022-09-02T00:13:15.349Z] ---> 19ea6f86245a [2022-09-02T00:13:15.349Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-02T00:13:16.303Z] ---> 100bc14383b7 [2022-09-02T00:13:16.303Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-02T00:13:16.303Z] ---> 4d0ac039c341 [2022-09-02T00:13:16.303Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-02T00:13:16.303Z] ---> 4fe76814d61e [2022-09-02T00:13:16.303Z] Step 21/26 : EXPOSE 59984 [2022-09-02T00:13:16.303Z] ---> Running in 29cb587c06dc [2022-09-02T00:13:16.303Z] Removing intermediate container 29cb587c06dc [2022-09-02T00:13:16.303Z] ---> 17084d5f4c04 [2022-09-02T00:13:16.303Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-02T00:13:16.303Z] ---> Running in d1c1887e02d4 [2022-09-02T00:13:16.563Z] Removing intermediate container d1c1887e02d4 [2022-09-02T00:13:16.563Z] ---> 360e10190de2 [2022-09-02T00:13:16.563Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-02T00:13:16.563Z] ---> Running in 263d668ab95b [2022-09-02T00:13:16.563Z] Removing intermediate container 263d668ab95b [2022-09-02T00:13:16.563Z] ---> f7e5d92e186c [2022-09-02T00:13:16.563Z] Step 24/26 : LABEL arch=amd64 [2022-09-02T00:13:16.563Z] ---> Running in 577232a457cc [2022-09-02T00:13:16.563Z] Removing intermediate container 577232a457cc [2022-09-02T00:13:16.563Z] ---> 8554ff6b31da [2022-09-02T00:13:16.563Z] Step 25/26 : LABEL git_sha=93dadf11464e800d463b181b6237fc617ac7c8d5 [2022-09-02T00:13:16.563Z] ---> Running in eb17738b3b94 [2022-09-02T00:13:16.829Z] Removing intermediate container eb17738b3b94 [2022-09-02T00:13:16.829Z] ---> e4a75575b3df [2022-09-02T00:13:16.829Z] Step 26/26 : LABEL version=0.0.0 [2022-09-02T00:13:16.829Z] ---> Running in 43926a41d3b9 [2022-09-02T00:13:16.829Z] Removing intermediate container 43926a41d3b9 [2022-09-02T00:13:16.829Z] ---> 913d8a019894 [2022-09-02T00:13:16.829Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-02T00:13:16.829Z] Successfully built 913d8a019894 [2022-09-02T00:13:16.829Z] 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-09-02T00:13:17.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-02T00:13:17.289Z] [2022-09-02T00:13:17.289Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:13:17.602Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-02T00:13:17.602Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-02T00:13:17.602Z] 5eb5b503b376: Pulling fs layer [2022-09-02T00:13:17.602Z] 5c69ac0246d0: Pulling fs layer [2022-09-02T00:13:17.602Z] ec43610c2a17: Pulling fs layer [2022-09-02T00:13:17.602Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-02T00:13:17.602Z] 33b1e0a273af: Pulling fs layer [2022-09-02T00:13:17.602Z] 5d3b04190fa2: Pulling fs layer [2022-09-02T00:13:17.602Z] 2f39f015ded8: Pulling fs layer [2022-09-02T00:13:17.602Z] 3a2ae6a8a46f: Waiting [2022-09-02T00:13:17.602Z] 33b1e0a273af: Waiting [2022-09-02T00:13:17.602Z] 2f39f015ded8: Waiting [2022-09-02T00:13:17.602Z] 5d3b04190fa2: Waiting [2022-09-02T00:13:17.602Z] 5c69ac0246d0: Verifying Checksum [2022-09-02T00:13:17.602Z] 5c69ac0246d0: Download complete [2022-09-02T00:13:17.602Z] 3a2ae6a8a46f: Download complete [2022-09-02T00:13:17.602Z] 33b1e0a273af: Verifying Checksum [2022-09-02T00:13:17.602Z] 33b1e0a273af: Download complete [2022-09-02T00:13:17.602Z] 5d3b04190fa2: Verifying Checksum [2022-09-02T00:13:17.602Z] 5d3b04190fa2: Download complete [2022-09-02T00:13:17.862Z] ec43610c2a17: Verifying Checksum [2022-09-02T00:13:17.862Z] ec43610c2a17: Download complete [2022-09-02T00:13:17.862Z] 5eb5b503b376: Verifying Checksum [2022-09-02T00:13:17.862Z] 5eb5b503b376: Download complete [2022-09-02T00:13:18.433Z] 2f39f015ded8: Verifying Checksum [2022-09-02T00:13:18.433Z] 2f39f015ded8: Download complete [2022-09-02T00:13:19.001Z] 5eb5b503b376: Pull complete [2022-09-02T00:13:19.260Z] 5c69ac0246d0: Pull complete [2022-09-02T00:13:19.519Z] ec43610c2a17: Pull complete [2022-09-02T00:13:19.778Z] 3a2ae6a8a46f: Pull complete [2022-09-02T00:13:20.037Z] 33b1e0a273af: Pull complete [2022-09-02T00:13:20.037Z] 5d3b04190fa2: Pull complete [2022-09-02T00:13:24.229Z] 2f39f015ded8: Pull complete [2022-09-02T00:13:24.229Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-02T00:13:24.229Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-02T00:13:24.229Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T00:13:24.333Z] prd-ubuntu20.04-docker-8c-8g-24376 does not seem to be running inside a container [2022-09-02T00:13:24.373Z] $ 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-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-02T00:13:28.163Z] $ docker top 0aea5a6731db8de43563bbf3384a66636ad45a97ad1918e18e1f189ca4655cf7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:13:28.572Z] ---> job-cost.sh [2022-09-02T00:13:28.572Z] lf-activate-venv: SKIPPING [2022-09-02T00:13:28.572Z] INFO: No Stack... [2022-09-02T00:13:28.831Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-02T00:13:29.402Z] INFO: Archiving Costs [Pipeline] sh [2022-09-02T00:13:29.698Z] + cat /w/workspace/undry_device-onvif-camera_PR-152/archives/cost.csv [2022-09-02T00:13:29.698Z] + cut -d, -f6 [Pipeline] lock [2022-09-02T00:13:29.712Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-152-2-stack-cost] [2022-09-02T00:13:29.723Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-2-stack-cost] did not exist. Created. [2022-09-02T00:13:29.723Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-152-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-02T00:13:30.032Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-02T00:13:30.069Z] Stashed 1 file(s) [Pipeline] } [2022-09-02T00:13:30.075Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-02T00:13:30.098Z] $ docker stop --time=1 0aea5a6731db8de43563bbf3384a66636ad45a97ad1918e18e1f189ca4655cf7 [2022-09-02T00:13:31.242Z] $ docker rm -f 0aea5a6731db8de43563bbf3384a66636ad45a97ad1918e18e1f189ca4655cf7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-02T00:16:06.935Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24380 in /w/workspace/undry_device-onvif-camera_PR-152 [Pipeline] { [Pipeline] ws [2022-09-02T00:16:06.948Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-09-02T00:16:06.998Z] Selected Git installation does not exist. Using Default [2022-09-02T00:16:06.998Z] The recommended git tool is: NONE [2022-09-02T00:16:14.531Z] using credential edgex-jenkins-ssh [2022-09-02T00:16:14.552Z] Cloning the remote Git repository [2022-09-02T00:16:14.622Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-02T00:16:14.712Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-09-02T00:16:14.823Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-02T00:16:14.824Z] > git --version # timeout=10 [2022-09-02T00:16:14.848Z] > git --version # 'git version 2.25.1' [2022-09-02T00:16:14.850Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-02T00:16:15.013Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-02T00:16:16.224Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-02T00:16:16.249Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-02T00:16:16.288Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-02T00:16:16.326Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-02T00:16:16.327Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-02T00:16:16.345Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/152/head:refs/remotes/origin/PR-152 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-02T00:16:16.884Z] Merging remotes/origin/main commit 87f15e26a71a8026a682f6867a4ab9a3284585c9 into PR head commit 93dadf11464e800d463b181b6237fc617ac7c8d5 [2022-09-02T00:16:17.280Z] Merge succeeded, producing 93dadf11464e800d463b181b6237fc617ac7c8d5 [2022-09-02T00:16:17.281Z] Checking out Revision 93dadf11464e800d463b181b6237fc617ac7c8d5 (PR-152) [2022-09-02T00:16:16.908Z] > git config core.sparsecheckout # timeout=10 [2022-09-02T00:16:16.927Z] > git checkout -f 93dadf11464e800d463b181b6237fc617ac7c8d5 # timeout=10 [2022-09-02T00:16:17.181Z] > git remote # timeout=10 [2022-09-02T00:16:17.203Z] > git config --get remote.origin.url # timeout=10 [2022-09-02T00:16:17.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-02T00:16:17.234Z] > git merge 87f15e26a71a8026a682f6867a4ab9a3284585c9 # timeout=10 [2022-09-02T00:16:17.262Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-02T00:16:17.290Z] > git config core.sparsecheckout # timeout=10 [2022-09-02T00:16:17.309Z] > git checkout -f 93dadf11464e800d463b181b6237fc617ac7c8d5 # timeout=10 [2022-09-02T00:16:21.821Z] Commit message: "test: remove commented out tests" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-02T00:16:22.758Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-02T00:16:22.759Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-02T00:16:22.759Z] Dload Upload Total Spent Left Speed [2022-09-02T00:16:22.759Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 195k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh [2022-09-02T00:16:23.451Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-02T00:16:23.863Z] + sudo tee /etc/docker/daemon.new [2022-09-02T00:16:23.864Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-02T00:16:23.864Z] { [2022-09-02T00:16:23.864Z] "registry-mirrors": [ [2022-09-02T00:16:23.864Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-02T00:16:23.864Z] ], [2022-09-02T00:16:23.864Z] "bip": "10.250.0.254/24", [2022-09-02T00:16:23.864Z] "hosts": [ [2022-09-02T00:16:23.864Z] "tcp://0.0.0.0:5555", [2022-09-02T00:16:23.864Z] "unix:///var/run/docker.sock" [2022-09-02T00:16:23.864Z] ], [2022-09-02T00:16:23.864Z] "mtu": 1458, [2022-09-02T00:16:23.864Z] "selinux-enabled": true, [2022-09-02T00:16:23.864Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-02T00:16:23.864Z] } [Pipeline] sh [2022-09-02T00:16:24.251Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-02T00:16:24.601Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-02T00:16:42.961Z] provisioning config files... [2022-09-02T00:16:42.986Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config2258650437024952808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:16:43.583Z] ---> docker-login.sh [2022-09-02T00:16:43.583Z] nexus3.edgexfoundry.org:10001 [2022-09-02T00:16:44.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:16:44.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:16:44.784Z] Configure a credential helper to remove this warning. See [2022-09-02T00:16:44.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:16:44.784Z] [2022-09-02T00:16:44.784Z] Login Succeeded [2022-09-02T00:16:44.784Z] nexus3.edgexfoundry.org:10002 [2022-09-02T00:16:45.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:16:45.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:16:45.337Z] Configure a credential helper to remove this warning. See [2022-09-02T00:16:45.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:16:45.337Z] [2022-09-02T00:16:45.337Z] Login Succeeded [2022-09-02T00:16:45.337Z] nexus3.edgexfoundry.org:10003 [2022-09-02T00:16:45.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:16:45.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:16:45.614Z] Configure a credential helper to remove this warning. See [2022-09-02T00:16:45.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:16:45.614Z] [2022-09-02T00:16:45.614Z] Login Succeeded [2022-09-02T00:16:45.888Z] nexus3.edgexfoundry.org:10004 [2022-09-02T00:16:46.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:16:46.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:16:46.163Z] Configure a credential helper to remove this warning. See [2022-09-02T00:16:46.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:16:46.163Z] [2022-09-02T00:16:46.163Z] Login Succeeded [2022-09-02T00:16:46.163Z] docker.io [2022-09-02T00:16:46.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:16:47.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:16:47.032Z] Configure a credential helper to remove this warning. See [2022-09-02T00:16:47.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:16:47.032Z] [2022-09-02T00:16:47.032Z] Login Succeeded [2022-09-02T00:16:47.032Z] ---> docker-login.sh ends [Pipeline] } [2022-09-02T00:16:47.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-02T00:16:47.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-02T00:16:47.379Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-02T00:16:47.396Z] ========================================================= [2022-09-02T00:16:47.396Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-02T00:16:47.396Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:16:47.758Z] + 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-09-02T00:16:48.355Z] Sending build context to Docker daemon 14.15MB [2022-09-02T00:16:48.355Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-02T00:16:48.355Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-02T00:16:48.638Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-02T00:16:48.638Z] b3c136eddcbf: Pulling fs layer [2022-09-02T00:16:48.638Z] c0a3192eca97: Pulling fs layer [2022-09-02T00:16:48.638Z] a050256f5b6f: Pulling fs layer [2022-09-02T00:16:48.638Z] 656be50a0ddc: Pulling fs layer [2022-09-02T00:16:48.638Z] 2bbca73fdf42: Pulling fs layer [2022-09-02T00:16:48.638Z] 46d945488cbd: Pulling fs layer [2022-09-02T00:16:48.638Z] 8a5474983e97: Pulling fs layer [2022-09-02T00:16:48.638Z] 329c88fbcd65: Pulling fs layer [2022-09-02T00:16:48.638Z] 2bbca73fdf42: Waiting [2022-09-02T00:16:48.638Z] 46d945488cbd: Waiting [2022-09-02T00:16:48.638Z] 8a5474983e97: Waiting [2022-09-02T00:16:48.638Z] 656be50a0ddc: Waiting [2022-09-02T00:16:48.638Z] 329c88fbcd65: Waiting [2022-09-02T00:16:48.638Z] a050256f5b6f: Verifying Checksum [2022-09-02T00:16:48.638Z] a050256f5b6f: Download complete [2022-09-02T00:16:48.638Z] c0a3192eca97: Download complete [2022-09-02T00:16:48.638Z] 2bbca73fdf42: Verifying Checksum [2022-09-02T00:16:48.638Z] 2bbca73fdf42: Download complete [2022-09-02T00:16:48.638Z] 46d945488cbd: Verifying Checksum [2022-09-02T00:16:48.638Z] 46d945488cbd: Download complete [2022-09-02T00:16:48.638Z] b3c136eddcbf: Verifying Checksum [2022-09-02T00:16:48.638Z] b3c136eddcbf: Download complete [2022-09-02T00:16:49.637Z] b3c136eddcbf: Pull complete [2022-09-02T00:16:49.918Z] 329c88fbcd65: Verifying Checksum [2022-09-02T00:16:49.918Z] 329c88fbcd65: Download complete [2022-09-02T00:16:50.537Z] c0a3192eca97: Pull complete [2022-09-02T00:16:50.818Z] a050256f5b6f: Pull complete [2022-09-02T00:16:51.107Z] 8a5474983e97: Verifying Checksum [2022-09-02T00:16:51.107Z] 8a5474983e97: Download complete [2022-09-02T00:16:51.706Z] 656be50a0ddc: Verifying Checksum [2022-09-02T00:16:51.706Z] 656be50a0ddc: Download complete [2022-09-02T00:17:04.218Z] 656be50a0ddc: Pull complete [2022-09-02T00:17:04.495Z] 2bbca73fdf42: Pull complete [2022-09-02T00:17:04.771Z] 46d945488cbd: Pull complete [2022-09-02T00:17:10.204Z] 8a5474983e97: Pull complete [2022-09-02T00:17:12.183Z] 329c88fbcd65: Pull complete [2022-09-02T00:17:12.183Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-02T00:17:12.183Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-02T00:17:12.183Z] ---> ff4287adb874 [2022-09-02T00:17:12.183Z] Step 3/13 : ARG MAKE="make build" [2022-09-02T00:17:14.174Z] ---> Running in c35e88ed744e [2022-09-02T00:17:15.614Z] Removing intermediate container c35e88ed744e [2022-09-02T00:17:15.615Z] ---> b68ff3b9f431 [2022-09-02T00:17:15.615Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-02T00:17:15.890Z] ---> Running in 1040fec3b187 [2022-09-02T00:17:16.163Z] Removing intermediate container 1040fec3b187 [2022-09-02T00:17:16.163Z] ---> 04395ded7f90 [2022-09-02T00:17:16.163Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-02T00:17:16.163Z] ---> Running in c33c817a89e8 [2022-09-02T00:17:16.440Z] Removing intermediate container c33c817a89e8 [2022-09-02T00:17:16.440Z] ---> 7d19568b4233 [2022-09-02T00:17:16.440Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-02T00:17:16.720Z] ---> Running in 9a12d1e3e369 [2022-09-02T00:17:17.001Z] Removing intermediate container 9a12d1e3e369 [2022-09-02T00:17:17.001Z] ---> e6a67a54e073 [2022-09-02T00:17:17.001Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-02T00:17:17.001Z] ---> Running in b6cab7b1087c [2022-09-02T00:17:18.996Z] Removing intermediate container b6cab7b1087c [2022-09-02T00:17:18.996Z] ---> 257fa8f05a25 [2022-09-02T00:17:18.996Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-02T00:17:18.996Z] ---> Running in 7241f13694c1 [2022-09-02T00:17:20.439Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-02T00:17:21.036Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-02T00:17:22.478Z] OK: 221 MiB in 51 packages [2022-09-02T00:17:23.076Z] Removing intermediate container 7241f13694c1 [2022-09-02T00:17:23.076Z] ---> 8c1176e1751f [2022-09-02T00:17:23.076Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-02T00:17:23.350Z] ---> Running in fcfa99f5d7b1 [2022-09-02T00:17:23.624Z] Removing intermediate container fcfa99f5d7b1 [2022-09-02T00:17:23.624Z] ---> 3dc11ca5a083 [2022-09-02T00:17:23.624Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-02T00:17:24.220Z] ---> 882625647cce [2022-09-02T00:17:24.220Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-02T00:17:24.494Z] ---> Running in e696d5fcf4a7 [2022-09-02T00:18:21.280Z] Removing intermediate container e696d5fcf4a7 [2022-09-02T00:18:21.280Z] ---> 924867904fbc [2022-09-02T00:18:21.280Z] Step 12/13 : COPY . . [2022-09-02T00:18:21.280Z] ---> 44a5418afb0a [2022-09-02T00:18:21.280Z] Step 13/13 : RUN ${MAKE} [2022-09-02T00:18:21.280Z] ---> Running in 8b81fd4e7eba [2022-09-02T00:18:21.280Z] noop [2022-09-02T00:18:21.280Z] Removing intermediate container 8b81fd4e7eba [2022-09-02T00:18:21.280Z] ---> 12d2d62b2569 [2022-09-02T00:18:21.280Z] Successfully built 12d2d62b2569 [2022-09-02T00:18:21.280Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:18:21.656Z] + docker inspect -f . ci-base-image-arm64 [2022-09-02T00:18:21.656Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T00:18:21.920Z] prd-ubuntu20.04-docker-arm64-4c-16g-24380 does not seem to be running inside a container [2022-09-02T00:18:22.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-02T00:18:23.429Z] $ docker top 5d0b67f290c7a5d8100c469ffca0e8406509bbb49e235fc78c27b29ca455fdd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-02T00:18:24.367Z] + go version [2022-09-02T00:18:24.367Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-02T00:18:24.395Z] $ docker stop --time=1 5d0b67f290c7a5d8100c469ffca0e8406509bbb49e235fc78c27b29ca455fdd6 [2022-09-02T00:18:26.095Z] $ docker rm -f 5d0b67f290c7a5d8100c469ffca0e8406509bbb49e235fc78c27b29ca455fdd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:18:26.736Z] + docker inspect -f . ci-base-image-arm64 [2022-09-02T00:18:26.736Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T00:18:27.008Z] prd-ubuntu20.04-docker-arm64-4c-16g-24380 does not seem to be running inside a container [2022-09-02T00:18:27.109Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-02T00:18:28.494Z] $ docker top 29567f228541f104f738b2b20f7017a9c25f5566c34e67b2a7bc93d92461bd53 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-02T00:18:29.422Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-09-02T00:18:30.097Z] + make test [2022-09-02T00:18:30.097Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-02T00:18:32.096Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-02T00:20:08.967Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-02T00:20:15.713Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.216s coverage: 28.6% of statements [2022-09-02T00:20:15.713Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-02T00:20:25.855Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 16.809s coverage: 90.5% of statements [2022-09-02T00:20:25.855Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-02T00:20:25.855Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-02T00:20:52.723Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-02T00:20:52.723Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-02T00:20:52.723Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-02T00:20:52.747Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-02T00:20:52.768Z] $ docker stop --time=1 29567f228541f104f738b2b20f7017a9c25f5566c34e67b2a7bc93d92461bd53 [2022-09-02T00:20:54.616Z] $ docker rm -f 29567f228541f104f738b2b20f7017a9c25f5566c34e67b2a7bc93d92461bd53 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-02T00:20:55.750Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-02T00:20:55.776Z] Warning: overwriting stash ‘coverage-report’ [2022-09-02T00:20:56.451Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-02T00:20:56.868Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-02T00:20:57.216Z] + ls -al . [2022-09-02T00:20:57.216Z] total 228 [2022-09-02T00:20:57.216Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 2 00:18 . [2022-09-02T00:20:57.216Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 00:16 .. [2022-09-02T00:20:57.216Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 00:16 .git [2022-09-02T00:20:57.216Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 00:16 .github [2022-09-02T00:20:57.216Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 2 00:16 .gitignore [2022-09-02T00:20:57.216Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 2 00:16 .golangci.yml [2022-09-02T00:20:57.216Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 2 00:16 Attribution.txt [2022-09-02T00:20:57.216Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 2 00:16 CHANGELOG.md [2022-09-02T00:20:57.216Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 2 00:16 Dockerfile [2022-09-02T00:20:57.216Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 2 00:16 GOVERNANCE.md [2022-09-02T00:20:57.216Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 2 00:16 Jenkinsfile [2022-09-02T00:20:57.216Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 2 00:16 LICENSE [2022-09-02T00:20:57.216Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 2 00:16 Makefile [2022-09-02T00:20:57.216Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 2 00:16 OWNERS.md [2022-09-02T00:20:57.216Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 2 00:16 README.md [2022-09-02T00:20:57.216Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 2 00:11 VERSION [2022-09-02T00:20:57.216Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 00:16 bin [2022-09-02T00:20:57.216Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 00:16 cmd [2022-09-02T00:20:57.216Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 2 00:20 coverage.out [2022-09-02T00:20:57.216Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 2 00:16 doc [2022-09-02T00:20:57.216Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 2 00:16 go.mod [2022-09-02T00:20:57.216Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 2 00:16 go.sum [2022-09-02T00:20:57.216Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 00:16 internal [2022-09-02T00:20:57.216Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 00:16 snap [2022-09-02T00:20:57.216Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 2 00:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:20:57.592Z] + 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=93dadf11464e800d463b181b6237fc617ac7c8d5 --label arch=arm64 --label version=0.0.0 . [2022-09-02T00:20:58.196Z] Sending build context to Docker daemon 14.23MB [2022-09-02T00:20:58.196Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-02T00:20:58.196Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-02T00:20:58.196Z] ---> 12d2d62b2569 [2022-09-02T00:20:58.196Z] Step 3/26 : ARG MAKE="make build" [2022-09-02T00:20:58.475Z] ---> Running in ef66a8caa968 [2022-09-02T00:20:58.755Z] Removing intermediate container ef66a8caa968 [2022-09-02T00:20:58.755Z] ---> cd49c10b3f97 [2022-09-02T00:20:58.755Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-02T00:20:58.755Z] ---> Running in cf81b614d2a4 [2022-09-02T00:20:59.354Z] Removing intermediate container cf81b614d2a4 [2022-09-02T00:20:59.354Z] ---> 8eb9128935d3 [2022-09-02T00:20:59.354Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-02T00:20:59.354Z] ---> Running in 178f3f74136c [2022-09-02T00:20:59.630Z] Removing intermediate container 178f3f74136c [2022-09-02T00:20:59.630Z] ---> 0addc3966f74 [2022-09-02T00:20:59.630Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-02T00:20:59.903Z] ---> Running in 4ef454ffa6d0 [2022-09-02T00:21:00.193Z] Removing intermediate container 4ef454ffa6d0 [2022-09-02T00:21:00.193Z] ---> 2ac1fb82b743 [2022-09-02T00:21:00.193Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-02T00:21:00.193Z] ---> Running in aa0928ce54e7 [2022-09-02T00:21:02.200Z] Removing intermediate container aa0928ce54e7 [2022-09-02T00:21:02.200Z] ---> b0f3e0944998 [2022-09-02T00:21:02.200Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-02T00:21:02.200Z] ---> Running in 17ebea4393de [2022-09-02T00:21:03.640Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-02T00:21:04.629Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-02T00:21:05.621Z] OK: 221 MiB in 51 packages [2022-09-02T00:21:06.605Z] Removing intermediate container 17ebea4393de [2022-09-02T00:21:06.605Z] ---> f5e6f1df7006 [2022-09-02T00:21:06.605Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-02T00:21:06.605Z] ---> Running in 5ac0408a2d00 [2022-09-02T00:21:06.882Z] Removing intermediate container 5ac0408a2d00 [2022-09-02T00:21:06.882Z] ---> 43048cf4444e [2022-09-02T00:21:06.882Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-02T00:21:07.497Z] ---> 9e33fb0db6a1 [2022-09-02T00:21:07.497Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-02T00:21:07.497Z] ---> Running in ab6abeb3f861 [2022-09-02T00:21:10.131Z] Removing intermediate container ab6abeb3f861 [2022-09-02T00:21:10.131Z] ---> 1731a082ee7e [2022-09-02T00:21:10.131Z] Step 12/26 : COPY . . [2022-09-02T00:21:11.578Z] ---> 9c92ffa1886e [2022-09-02T00:21:11.578Z] Step 13/26 : RUN ${MAKE} [2022-09-02T00:21:11.578Z] ---> Running in 2b22979672de [2022-09-02T00:21:12.564Z] CGO_ENABLED=1 GO111MODULE=on go build -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.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-02T00:23:49.564Z] Removing intermediate container 2b22979672de [2022-09-02T00:23:49.564Z] ---> 6e40714331a8 [2022-09-02T00:23:49.564Z] Step 14/26 : FROM alpine:3.16 [2022-09-02T00:23:49.564Z] 3.16: Pulling from library/alpine [2022-09-02T00:23:49.564Z] 9b18e9b68314: Pulling fs layer [2022-09-02T00:23:49.564Z] 9b18e9b68314: Verifying Checksum [2022-09-02T00:23:49.564Z] 9b18e9b68314: Download complete [2022-09-02T00:23:49.564Z] 9b18e9b68314: Pull complete [2022-09-02T00:23:49.564Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-02T00:23:49.564Z] Status: Downloaded newer image for alpine:3.16 [2022-09-02T00:23:49.564Z] ---> a6215f271958 [2022-09-02T00:23:49.564Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-02T00:23:49.564Z] ---> Running in 9f0b97a88acb [2022-09-02T00:23:49.564Z] Removing intermediate container 9f0b97a88acb [2022-09-02T00:23:49.564Z] ---> a35b295505d1 [2022-09-02T00:23:49.564Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-02T00:23:49.564Z] ---> Running in b4cbfd8f66dd [2022-09-02T00:23:49.564Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-02T00:23:49.564Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-02T00:23:49.564Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-02T00:23:49.564Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-02T00:23:49.564Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-02T00:23:49.564Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-02T00:23:49.564Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-02T00:23:49.564Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-02T00:23:49.564Z] Executing busybox-1.35.0-r17.trigger [2022-09-02T00:23:49.564Z] OK: 8 MiB in 20 packages [2022-09-02T00:23:49.564Z] Removing intermediate container b4cbfd8f66dd [2022-09-02T00:23:49.564Z] ---> a0108b0ead0d [2022-09-02T00:23:49.564Z] Step 17/26 : WORKDIR / [2022-09-02T00:23:49.564Z] ---> Running in 74f887d05acc [2022-09-02T00:23:49.839Z] Removing intermediate container 74f887d05acc [2022-09-02T00:23:49.839Z] ---> 80997af35193 [2022-09-02T00:23:49.839Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-02T00:23:51.285Z] ---> 975939765212 [2022-09-02T00:23:51.285Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-02T00:23:52.280Z] ---> 8927437b4494 [2022-09-02T00:23:52.280Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-02T00:23:52.556Z] ---> 5a6542782128 [2022-09-02T00:23:52.556Z] Step 21/26 : EXPOSE 59984 [2022-09-02T00:23:52.834Z] ---> Running in 4413ff4d0fb1 [2022-09-02T00:23:53.107Z] Removing intermediate container 4413ff4d0fb1 [2022-09-02T00:23:53.107Z] ---> 782e493349a1 [2022-09-02T00:23:53.107Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-02T00:23:53.107Z] ---> Running in 9e233f5a37fb [2022-09-02T00:23:53.382Z] Removing intermediate container 9e233f5a37fb [2022-09-02T00:23:53.382Z] ---> 2a6f53db5c0f [2022-09-02T00:23:53.382Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-02T00:23:53.656Z] ---> Running in f39fe78fdee4 [2022-09-02T00:23:53.931Z] Removing intermediate container f39fe78fdee4 [2022-09-02T00:23:53.931Z] ---> c92496220742 [2022-09-02T00:23:53.931Z] Step 24/26 : LABEL arch=arm64 [2022-09-02T00:23:53.931Z] ---> Running in 2f689c30d47a [2022-09-02T00:23:54.212Z] Removing intermediate container 2f689c30d47a [2022-09-02T00:23:54.212Z] ---> e4abda4c6b6d [2022-09-02T00:23:54.212Z] Step 25/26 : LABEL git_sha=93dadf11464e800d463b181b6237fc617ac7c8d5 [2022-09-02T00:23:54.489Z] ---> Running in 9700c929abb3 [2022-09-02T00:23:54.765Z] Removing intermediate container 9700c929abb3 [2022-09-02T00:23:54.765Z] ---> a89dbb8ecbda [2022-09-02T00:23:54.765Z] Step 26/26 : LABEL version=0.0.0 [2022-09-02T00:23:54.765Z] ---> Running in 18254fb2b625 [2022-09-02T00:23:55.041Z] Removing intermediate container 18254fb2b625 [2022-09-02T00:23:55.041Z] ---> 54c01fe5a3dc [2022-09-02T00:23:55.041Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-02T00:23:55.315Z] Successfully built 54c01fe5a3dc [2022-09-02T00:23:55.315Z] 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-09-02T00:23:55.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-02T00:23:55.793Z] [2022-09-02T00:23:55.793Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:23:56.161Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-02T00:23:56.440Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-02T00:23:56.440Z] 8998bd30e6a1: Pulling fs layer [2022-09-02T00:23:56.440Z] 04944245beec: Pulling fs layer [2022-09-02T00:23:56.440Z] 699f458cf7ca: Pulling fs layer [2022-09-02T00:23:56.440Z] 765212b225bb: Pulling fs layer [2022-09-02T00:23:56.440Z] f23df028b6ca: Pulling fs layer [2022-09-02T00:23:56.440Z] d65c8cfc05b1: Pulling fs layer [2022-09-02T00:23:56.440Z] 2437ff75d9bd: Pulling fs layer [2022-09-02T00:23:56.440Z] 765212b225bb: Waiting [2022-09-02T00:23:56.440Z] f23df028b6ca: Waiting [2022-09-02T00:23:56.440Z] d65c8cfc05b1: Waiting [2022-09-02T00:23:56.440Z] 2437ff75d9bd: Waiting [2022-09-02T00:23:56.440Z] 04944245beec: Verifying Checksum [2022-09-02T00:23:56.440Z] 04944245beec: Download complete [2022-09-02T00:23:56.440Z] 765212b225bb: Verifying Checksum [2022-09-02T00:23:56.440Z] 765212b225bb: Download complete [2022-09-02T00:23:56.440Z] f23df028b6ca: Verifying Checksum [2022-09-02T00:23:56.440Z] f23df028b6ca: Download complete [2022-09-02T00:23:56.718Z] d65c8cfc05b1: Verifying Checksum [2022-09-02T00:23:56.718Z] d65c8cfc05b1: Download complete [2022-09-02T00:23:56.718Z] 699f458cf7ca: Verifying Checksum [2022-09-02T00:23:56.718Z] 699f458cf7ca: Download complete [2022-09-02T00:23:56.992Z] 8998bd30e6a1: Verifying Checksum [2022-09-02T00:23:56.992Z] 8998bd30e6a1: Download complete [2022-09-02T00:23:59.638Z] 2437ff75d9bd: Verifying Checksum [2022-09-02T00:23:59.638Z] 2437ff75d9bd: Download complete [2022-09-02T00:24:01.637Z] 8998bd30e6a1: Pull complete [2022-09-02T00:24:02.240Z] 04944245beec: Pull complete [2022-09-02T00:24:03.679Z] 699f458cf7ca: Pull complete [2022-09-02T00:24:03.953Z] 765212b225bb: Pull complete [2022-09-02T00:24:04.937Z] f23df028b6ca: Pull complete [2022-09-02T00:24:05.211Z] d65c8cfc05b1: Pull complete [2022-09-02T00:24:23.547Z] 2437ff75d9bd: Pull complete [2022-09-02T00:24:23.547Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-02T00:24:23.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-02T00:24:23.547Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T00:24:23.823Z] prd-ubuntu20.04-docker-arm64-4c-16g-24380 does not seem to be running inside a container [2022-09-02T00:24:23.926Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-02T00:24:27.015Z] $ docker top da542867fad000d01529916b4272eaa23bcda86bef4a9277ebb27d92c03c4a5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:24:27.988Z] ---> job-cost.sh [2022-09-02T00:24:27.988Z] lf-activate-venv: SKIPPING [2022-09-02T00:24:27.988Z] INFO: No Stack... [2022-09-02T00:24:28.586Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-02T00:24:29.573Z] INFO: Archiving Costs [Pipeline] sh [2022-09-02T00:24:30.272Z] + cut -d, -f6 [2022-09-02T00:24:30.272Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock [2022-09-02T00:24:30.344Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-152-2-stack-cost] [2022-09-02T00:24:30.350Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-2-stack-cost] did not exist. Created. [2022-09-02T00:24:30.350Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-152-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-02T00:24:31.040Z] /w/workspace/device-onvif-camera/2@tmp/durable-60952dff/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-02T00:24:31.756Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-02T00:24:31.787Z] Warning: overwriting stash ‘stack-cost’ [2022-09-02T00:24:31.858Z] Stashed 1 file(s) [Pipeline] } [2022-09-02T00:24:31.867Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-02T00:24:31.899Z] $ docker stop --time=1 da542867fad000d01529916b4272eaa23bcda86bef4a9277ebb27d92c03c4a5a [2022-09-02T00:24:33.450Z] $ docker rm -f da542867fad000d01529916b4272eaa23bcda86bef4a9277ebb27d92c03c4a5a [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-09-02T00:24:33.915Z] provisioning config files... [2022-09-02T00:24:33.923Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config3834510895132522936tmp [Pipeline] { [Pipeline] sh [2022-09-02T00:24:34.221Z] + set +x [2022-09-02T00:24:34.221Z] + + curl -s https://codecov.io/bash [2022-09-02T00:24:34.221Z] bash -s -- [2022-09-02T00:24:34.221Z] [2022-09-02T00:24:34.221Z] _____ _ [2022-09-02T00:24:34.221Z] / ____| | | [2022-09-02T00:24:34.221Z] | | ___ __| | ___ ___ _____ __ [2022-09-02T00:24:34.221Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-02T00:24:34.221Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-02T00:24:34.221Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-02T00:24:34.221Z] Bash-1.0.6 [2022-09-02T00:24:34.221Z] [2022-09-02T00:24:34.221Z] [2022-09-02T00:24:34.221Z] ==> git version 2.25.1 found [2022-09-02T00:24:34.221Z] ==> 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-09-02T00:24:34.221Z] Release-Date: 2020-01-08 [2022-09-02T00:24:34.221Z] 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-09-02T00:24:34.221Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-02T00:24:34.221Z] ==> Jenkins CI detected. [2022-09-02T00:24:34.221Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-152 [2022-09-02T00:24:34.221Z] project root: . [2022-09-02T00:24:34.221Z] --> token set from env [2022-09-02T00:24:34.221Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-02T00:24:34.221Z] ==> Running gcov in . (disable via -X gcov) [2022-09-02T00:24:34.221Z] ==> Python coveragepy not found [2022-09-02T00:24:34.221Z] ==> Searching for coverage reports in: [2022-09-02T00:24:34.221Z] + . [2022-09-02T00:24:34.221Z] -> Found 1 reports [2022-09-02T00:24:34.221Z] ==> Detecting git/mercurial file structure [2022-09-02T00:24:34.221Z] ==> Reading reports [2022-09-02T00:24:34.221Z] + ./coverage.out bytes=77283 [2022-09-02T00:24:34.221Z] ==> Appending adjustments [2022-09-02T00:24:34.221Z] https://docs.codecov.io/docs/fixing-reports [2022-09-02T00:24:34.481Z] + Found adjustments [2022-09-02T00:24:34.481Z] ==> Gzipping contents [2022-09-02T00:24:34.481Z] 12K /tmp/codecov.V4d7As.gz [2022-09-02T00:24:34.481Z] ==> Uploading reports [2022-09-02T00:24:34.481Z] url: https://codecov.io [2022-09-02T00:24:34.481Z] query: branch=PR-152&commit=93dadf11464e800d463b181b6237fc617ac7c8d5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-152%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=152&job=&cmd_args= [2022-09-02T00:24:34.481Z] -> Pinging Codecov [2022-09-02T00:24:34.481Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-152&commit=93dadf11464e800d463b181b6237fc617ac7c8d5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-152%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=152&job=&cmd_args= [2022-09-02T00:24:35.422Z] -> Uploading to [2022-09-02T00:24:35.422Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-02/F29A59C45E3A92E06B3E522C9905F8EF/93dadf11464e800d463b181b6237fc617ac7c8d5/f0e4a694-7f7a-471a-b8c7-bc37d5717364.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220902%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220902T002435Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1c72ae4ba8a2eee48008dbeb8b4b25b932c51b036254c55191d931e937751740 [2022-09-02T00:24:35.422Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-02T00:24:35.422Z] Dload Upload Total Spent Left Speed [2022-09-02T00:24:35.683Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10674 0 0 100 10674 0 41533 --:--:-- --:--:-- --:--:-- 41533 [2022-09-02T00:24:35.683Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/93dadf11464e800d463b181b6237fc617ac7c8d5 [Pipeline] } [2022-09-02T00:24:35.692Z] 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-09-02T00:24:36.389Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-152/archives ] [2022-09-02T00:24:36.389Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-152/archives [2022-09-02T00:24:36.389Z] total 16 [2022-09-02T00:24:36.389Z] drwxr-xr-x 3 root root 4096 Sep 2 00:13 . [2022-09-02T00:24:36.389Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 2 00:13 .. [2022-09-02T00:24:36.389Z] drwxr-xr-x 2 root root 4096 Sep 2 00:13 cost [2022-09-02T00:24:36.389Z] -rw-r--r-- 1 root root 91 Sep 2 00:13 cost.csv [2022-09-02T00:24:36.389Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-152/archives [2022-09-02T00:24:36.389Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-152/archives [2022-09-02T00:24:36.389Z] total 16 [2022-09-02T00:24:36.389Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 2 00:13 . [2022-09-02T00:24:36.389Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 2 00:13 .. [2022-09-02T00:24:36.389Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 2 00:13 cost [2022-09-02T00:24:36.389Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 2 00:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:24:36.682Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:24:37.551Z] ---> package-listing.sh [2022-09-02T00:24:37.551Z] ++ facter osfamily [2022-09-02T00:24:37.551Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-02T00:24:37.811Z] + OS_FAMILY=debian [2022-09-02T00:24:37.811Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-152 [2022-09-02T00:24:37.811Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-02T00:24:37.811Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-02T00:24:37.811Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-02T00:24:37.811Z] + PACKAGES=/tmp/packages_start.txt [2022-09-02T00:24:37.811Z] + '[' /w/workspace/undry_device-onvif-camera_PR-152 ']' [2022-09-02T00:24:37.811Z] + PACKAGES=/tmp/packages_end.txt [2022-09-02T00:24:37.811Z] + case "${OS_FAMILY}" in [2022-09-02T00:24:37.811Z] + dpkg -l [2022-09-02T00:24:37.811Z] + grep '^ii' [2022-09-02T00:24:37.811Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-02T00:24:37.811Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-02T00:24:37.811Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-02T00:24:37.811Z] + '[' /w/workspace/undry_device-onvif-camera_PR-152 ']' [2022-09-02T00:24:37.811Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-152/archives/ [2022-09-02T00:24:37.811Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-152/archives/ [Pipeline] echo [2022-09-02T00:24:37.824Z] 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-152/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-02T00:24:38.109Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:24:38.688Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-02T00:24:38.688Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T00:24:38.768Z] prd-ubuntu20.04-docker-8c-8g-24376 does not seem to be running inside a container [2022-09-02T00:24:38.813Z] $ 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-152/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-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-02T00:24:39.040Z] $ docker top 45815553559db11ebb80e89e4a66102d2ae6c1842fdca361563b895e9dbd42f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-02T00:24:39.399Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-02T00:24:39.691Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-02T00:24:39.982Z] + ls /var/log/sa-host [2022-09-02T00:24:39.982Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-02T00:24:40.062Z] provisioning config files... [2022-09-02T00:24:40.071Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config3769084152257523527tmp [Pipeline] { [Pipeline] echo [2022-09-02T00:24:40.090Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:24:40.374Z] ---> create-netrc.sh [Pipeline] } [2022-09-02T00:24:40.382Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:24:40.718Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-02T00:24:40.728Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:24:41.013Z] ---> sudo-logs.sh [2022-09-02T00:24:41.013Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-02T00:24:41.043Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:24:41.415Z] ---> job-cost.sh [2022-09-02T00:24:41.416Z] lf-activate-venv: SKIPPING [2022-09-02T00:24:41.416Z] DEBUG: total: 0.2199999988079071 [2022-09-02T00:24:41.416Z] INFO: Retrieving Stack Cost... [2022-09-02T00:24:41.706Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-02T00:24:42.277Z] INFO: Archiving Costs [Pipeline] echo [2022-09-02T00:24:42.291Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:24:42.579Z] ---> logs-deploy.sh [2022-09-02T00:24:42.579Z] lf-activate-venv: SKIPPING [2022-09-02T00:24:42.579Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-152/2 [2022-09-02T00:24:42.579Z] INFO: archiving workspace using pattern(s): [2022-09-02T00:24:43.523Z] Archives upload complete. [2022-09-02T00:24:43.782Z] INFO: archiving logs to Nexus [2022-09-02T00:24:44.353Z] ---> uname -a: [2022-09-02T00:24:44.353Z] Linux prd-ubuntu20-04-docker-8c-8g-24376 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-09-02T00:24:44.353Z] [2022-09-02T00:24:44.353Z] [2022-09-02T00:24:44.353Z] ---> lscpu: [2022-09-02T00:24:44.354Z] Architecture: x86_64 [2022-09-02T00:24:44.354Z] CPU op-mode(s): 32-bit, 64-bit [2022-09-02T00:24:44.354Z] Byte Order: Little Endian [2022-09-02T00:24:44.354Z] Address sizes: 40 bits physical, 48 bits virtual [2022-09-02T00:24:44.354Z] CPU(s): 8 [2022-09-02T00:24:44.354Z] On-line CPU(s) list: 0-7 [2022-09-02T00:24:44.354Z] Thread(s) per core: 1 [2022-09-02T00:24:44.354Z] Core(s) per socket: 1 [2022-09-02T00:24:44.354Z] Socket(s): 8 [2022-09-02T00:24:44.354Z] NUMA node(s): 1 [2022-09-02T00:24:44.354Z] Vendor ID: AuthenticAMD [2022-09-02T00:24:44.354Z] CPU family: 23 [2022-09-02T00:24:44.354Z] Model: 49 [2022-09-02T00:24:44.354Z] Model name: AMD EPYC-Rome Processor [2022-09-02T00:24:44.354Z] Stepping: 0 [2022-09-02T00:24:44.354Z] CPU MHz: 2799.864 [2022-09-02T00:24:44.354Z] BogoMIPS: 5599.72 [2022-09-02T00:24:44.354Z] Virtualization: AMD-V [2022-09-02T00:24:44.354Z] Hypervisor vendor: KVM [2022-09-02T00:24:44.354Z] Virtualization type: full [2022-09-02T00:24:44.354Z] L1d cache: 256 KiB [2022-09-02T00:24:44.354Z] L1i cache: 256 KiB [2022-09-02T00:24:44.354Z] L2 cache: 4 MiB [2022-09-02T00:24:44.354Z] L3 cache: 128 MiB [2022-09-02T00:24:44.354Z] NUMA node0 CPU(s): 0-7 [2022-09-02T00:24:44.354Z] Vulnerability Itlb multihit: Not affected [2022-09-02T00:24:44.354Z] Vulnerability L1tf: Not affected [2022-09-02T00:24:44.354Z] Vulnerability Mds: Not affected [2022-09-02T00:24:44.354Z] Vulnerability Meltdown: Not affected [2022-09-02T00:24:44.354Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-09-02T00:24:44.354Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-09-02T00:24:44.354Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-09-02T00:24:44.354Z] Vulnerability Srbds: Not affected [2022-09-02T00:24:44.354Z] Vulnerability Tsx async abort: Not affected [2022-09-02T00:24:44.354Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-09-02T00:24:44.354Z] [2022-09-02T00:24:44.354Z] [2022-09-02T00:24:44.354Z] ---> nproc: [2022-09-02T00:24:44.354Z] 8 [2022-09-02T00:24:44.354Z] [2022-09-02T00:24:44.354Z] [2022-09-02T00:24:44.354Z] ---> df -h: [2022-09-02T00:24:44.354Z] Filesystem Size Used Avail Use% Mounted on [2022-09-02T00:24:44.354Z] overlay 155G 11G 145G 8% / [2022-09-02T00:24:44.354Z] tmpfs 64M 0 64M 0% /dev [2022-09-02T00:24:44.354Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-09-02T00:24:44.354Z] shm 64M 0 64M 0% /dev/shm [2022-09-02T00:24:44.354Z] /dev/vda1 155G 11G 145G 8% /facter-os [2022-09-02T00:24:44.354Z] [2022-09-02T00:24:44.354Z]