Pull request #153 opened 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 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 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-ssh3238266720010171991.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-ssh5184622815867871157.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-153/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-153/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13921948516647307417.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-153/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6168474994687012163.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh10016086856077542469.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-153/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-153/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17080984946303574842.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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 ‘prd-centos7-blackbox-4c-2g-23657’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-23658’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-24374’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-24375’ is offline ‘prd-ubuntu20.04-docker-8c-8g-24376’ is offline Running on prd-ubuntu20.04-docker-8c-8g-24377 in /w/workspace/undry_device-onvif-camera_PR-153 [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-153 # 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 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 Merge succeeded, producing 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 Checking out Revision 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 (PR-153) > 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/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # 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 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 Commit message: "feat: remove control-plane-device" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-02T00:12:28.165Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-02T00:12:28.365Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-02T00:12:28.488Z] ========================================================= [2022-09-02T00:12:28.488Z] EdgeX Global Pipelines Version Info [2022-09-02T00:12:28.488Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:12:29.312Z] ------------------- [2022-09-02T00:12:29.312Z] stable info: [2022-09-02T00:12:29.312Z] ------------------- [2022-09-02T00:12:29.312Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-02T00:12:29.312Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-02T00:12:29.312Z] Message: update stable to v1.0.239 [2022-09-02T00:12:29.890Z] ------------------- [2022-09-02T00:12:29.890Z] experimental info: [2022-09-02T00:12:29.890Z] ------------------- [2022-09-02T00:12:29.890Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-02T00:12:29.890Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-02T00:12:29.890Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-02T00:12:30.281Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-02T00:12:30.324Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-02T00:12:30.367Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-02T00:12:30.412Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-02T00:12:30.464Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-02T00:12:30.508Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-02T00:12:30.552Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-02T00:12:30.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-02T00:12:30.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-02T00:12:30.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-02T00:12:30.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-02T00:12:30.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-02T00:12:30.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-02T00:12:30.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-02T00:12:30.888Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-02T00:12:30.937Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-02T00:12:30.980Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-02T00:12:31.022Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-02T00:12:31.058Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-02T00:12:31.108Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-02T00:12:31.154Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-02T00:12:31.194Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-02T00:12:31.236Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-02T00:12:31.278Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-02T00:12:31.323Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-02T00:12:31.367Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-02T00:12:31.424Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-02T00:12:31.468Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-153 [Pipeline] echo [2022-09-02T00:12:31.515Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-153 [Pipeline] echo [2022-09-02T00:12:31.557Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-153 [Pipeline] echo [2022-09-02T00:12:31.607Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 [Pipeline] echo [2022-09-02T00:12:31.652Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3226209 [Pipeline] echo [2022-09-02T00:12:31.696Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-02T00:12:31.820Z] provisioning config files... [2022-09-02T00:12:31.838Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config7195068147074173662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:12:32.190Z] ---> docker-login.sh [2022-09-02T00:12:32.190Z] nexus3.edgexfoundry.org:10001 [2022-09-02T00:12:32.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:12:32.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:12:32.715Z] Configure a credential helper to remove this warning. See [2022-09-02T00:12:32.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:12:32.715Z] [2022-09-02T00:12:32.715Z] Login Succeeded [2022-09-02T00:12:32.715Z] nexus3.edgexfoundry.org:10002 [2022-09-02T00:12:32.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:12:32.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:12:32.715Z] Configure a credential helper to remove this warning. See [2022-09-02T00:12:32.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:12:32.715Z] [2022-09-02T00:12:32.715Z] Login Succeeded [2022-09-02T00:12:32.715Z] nexus3.edgexfoundry.org:10003 [2022-09-02T00:12:32.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:12:32.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:12:32.979Z] Configure a credential helper to remove this warning. See [2022-09-02T00:12:32.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:12:32.979Z] [2022-09-02T00:12:32.979Z] Login Succeeded [2022-09-02T00:12:32.979Z] nexus3.edgexfoundry.org:10004 [2022-09-02T00:12:32.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:12:32.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:12:32.979Z] Configure a credential helper to remove this warning. See [2022-09-02T00:12:32.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:12:32.979Z] [2022-09-02T00:12:32.979Z] Login Succeeded [2022-09-02T00:12:32.979Z] docker.io [2022-09-02T00:12:33.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:12:33.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:12:33.502Z] Configure a credential helper to remove this warning. See [2022-09-02T00:12:33.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:12:33.502Z] [2022-09-02T00:12:33.502Z] Login Succeeded [2022-09-02T00:12:33.502Z] ---> docker-login.sh ends [Pipeline] } [2022-09-02T00:12:33.529Z] 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:12:34.186Z] + git rev-list -1 --merges 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3~1..3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 [Pipeline] echo [2022-09-02T00:12:34.244Z] -----------> git rev-list -1 --merges 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3~1..3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 [false] [Pipeline] sh [2022-09-02T00:12:34.559Z] + git log --format=format:%s -1 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 [Pipeline] echo [2022-09-02T00:12:34.596Z] ========================================================= [2022-09-02T00:12:34.596Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-02T00:12:34.596Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-02T00:12:35.037Z] + git log --format=format:%s -1 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 [Pipeline] echo [2022-09-02T00:12:35.068Z] [semverPrep] GIT_COMMIT: 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3, Commit Message: feat: remove control-plane-device [Pipeline] echo [2022-09-02T00:12:35.096Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-02T00:12:35.526Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-02T00:12:35.526Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-02T00:12:35.526Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-02T00:12:35.526Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-02T00:12:35.526Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-02T00:12:35.526Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-02T00:12:35.526Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:12:36.029Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-02T00:12:36.029Z] [2022-09-02T00:12:36.029Z] 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:12:36.413Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-02T00:12:36.413Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-02T00:12:36.413Z] b85a868b505f: Pulling fs layer [2022-09-02T00:12:36.413Z] e2be974225ed: Pulling fs layer [2022-09-02T00:12:36.413Z] 339a4e72a1f5: Pulling fs layer [2022-09-02T00:12:36.413Z] 988bab9f4d93: Pulling fs layer [2022-09-02T00:12:36.413Z] 1469e6f7b9e6: Pulling fs layer [2022-09-02T00:12:36.413Z] eaf3925da568: Pulling fs layer [2022-09-02T00:12:36.413Z] bab4dde63d76: Pulling fs layer [2022-09-02T00:12:36.413Z] bde34c3a00c8: Pulling fs layer [2022-09-02T00:12:36.413Z] b352a97aabf1: Pulling fs layer [2022-09-02T00:12:36.413Z] 4872d77fe225: Pulling fs layer [2022-09-02T00:12:36.413Z] 5851b861e8e6: Pulling fs layer [2022-09-02T00:12:36.413Z] 988bab9f4d93: Waiting [2022-09-02T00:12:36.413Z] 1469e6f7b9e6: Waiting [2022-09-02T00:12:36.413Z] eaf3925da568: Waiting [2022-09-02T00:12:36.413Z] bab4dde63d76: Waiting [2022-09-02T00:12:36.413Z] bde34c3a00c8: Waiting [2022-09-02T00:12:36.413Z] b352a97aabf1: Waiting [2022-09-02T00:12:36.413Z] 4872d77fe225: Waiting [2022-09-02T00:12:36.413Z] 5851b861e8e6: Waiting [2022-09-02T00:12:36.413Z] e2be974225ed: Verifying Checksum [2022-09-02T00:12:36.413Z] e2be974225ed: Download complete [2022-09-02T00:12:36.413Z] 988bab9f4d93: Download complete [2022-09-02T00:12:36.680Z] 1469e6f7b9e6: Verifying Checksum [2022-09-02T00:12:36.680Z] 1469e6f7b9e6: Download complete [2022-09-02T00:12:36.680Z] eaf3925da568: Verifying Checksum [2022-09-02T00:12:36.680Z] eaf3925da568: Download complete [2022-09-02T00:12:36.680Z] 339a4e72a1f5: Verifying Checksum [2022-09-02T00:12:36.680Z] 339a4e72a1f5: Download complete [2022-09-02T00:12:36.680Z] bde34c3a00c8: Verifying Checksum [2022-09-02T00:12:36.680Z] bde34c3a00c8: Download complete [2022-09-02T00:12:36.680Z] b352a97aabf1: Verifying Checksum [2022-09-02T00:12:36.680Z] b352a97aabf1: Download complete [2022-09-02T00:12:36.680Z] 4872d77fe225: Verifying Checksum [2022-09-02T00:12:36.680Z] 4872d77fe225: Download complete [2022-09-02T00:12:36.680Z] 5851b861e8e6: Verifying Checksum [2022-09-02T00:12:36.680Z] 5851b861e8e6: Download complete [2022-09-02T00:12:36.680Z] b85a868b505f: Verifying Checksum [2022-09-02T00:12:36.680Z] b85a868b505f: Download complete [2022-09-02T00:12:36.941Z] bab4dde63d76: Verifying Checksum [2022-09-02T00:12:36.941Z] bab4dde63d76: Download complete [2022-09-02T00:12:38.331Z] b85a868b505f: Pull complete [2022-09-02T00:12:38.331Z] e2be974225ed: Pull complete [2022-09-02T00:12:38.902Z] 339a4e72a1f5: Pull complete [2022-09-02T00:12:38.902Z] 988bab9f4d93: Pull complete [2022-09-02T00:12:39.526Z] 1469e6f7b9e6: Pull complete [2022-09-02T00:12:39.526Z] eaf3925da568: Pull complete [2022-09-02T00:12:41.436Z] bab4dde63d76: Pull complete [2022-09-02T00:12:41.436Z] bde34c3a00c8: Pull complete [2022-09-02T00:12:41.697Z] b352a97aabf1: Pull complete [2022-09-02T00:12:41.697Z] 4872d77fe225: Pull complete [2022-09-02T00:12:41.958Z] 5851b861e8e6: Pull complete [2022-09-02T00:12:41.958Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-02T00:12:41.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-02T00:12:41.958Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T00:12:42.215Z] prd-ubuntu20.04-docker-8c-8g-24377 does not seem to be running inside a container [2022-09-02T00:12:42.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-02T00:12:43.678Z] $ docker top 14723b14a05fb3480aa0d22fb03b0e0c7ad109033f0985fd15df6dcb094d1697 -eo pid,comm [2022-09-02T00:12:43.757Z] 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:12:43.757Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-02T00:12:43.888Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-02T00:12:43.888Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-02T00:12:44.035Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-02T00:12:44.038Z] $ docker exec 14723b14a05fb3480aa0d22fb03b0e0c7ad109033f0985fd15df6dcb094d1697 ssh-agent [2022-09-02T00:12:44.179Z] SSH_AUTH_SOCK=/tmp/ssh-XFJg3YdW5Xxx/agent.32 [2022-09-02T00:12:44.179Z] SSH_AGENT_PID=39 [2022-09-02T00:12:44.186Z] Running ssh-add (command line suppressed) [2022-09-02T00:12:44.320Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_4197831360877104195.key (/w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_4197831360877104195.key) [2022-09-02T00:12:44.336Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-02T00:12:44.675Z] + git tag --points-at HEAD [Pipeline] } [2022-09-02T00:12:44.702Z] $ docker exec --env ******** --env ******** 14723b14a05fb3480aa0d22fb03b0e0c7ad109033f0985fd15df6dcb094d1697 ssh-agent -k [2022-09-02T00:12:44.817Z] unset SSH_AUTH_SOCK; [2022-09-02T00:12:44.818Z] unset SSH_AGENT_PID; [2022-09-02T00:12:44.818Z] echo Agent pid 39 killed; [2022-09-02T00:12:44.832Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-02T00:12:44.920Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-02T00:12:44.920Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-02T00:12:45.056Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-02T00:12:45.060Z] $ docker exec 14723b14a05fb3480aa0d22fb03b0e0c7ad109033f0985fd15df6dcb094d1697 ssh-agent [2022-09-02T00:12:45.211Z] SSH_AUTH_SOCK=/tmp/ssh-yiGjY4SzSdOo/agent.72 [2022-09-02T00:12:45.211Z] SSH_AGENT_PID=78 [2022-09-02T00:12:45.217Z] Running ssh-add (command line suppressed) [2022-09-02T00:12:45.345Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_2157595684166837439.key (/w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_2157595684166837439.key) [2022-09-02T00:12:45.363Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-02T00:12:45.698Z] + git semver init [2022-09-02T00:12:45.959Z] 2022-09-02 00:12:45,896 [run_init] DEBUG init version:0.0.0 force:False [2022-09-02T00:12:45.959Z] 2022-09-02 00:12:45,897 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-153/.semver [2022-09-02T00:12:45.959Z] 2022-09-02 00:12:45,897 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-153/.semver [2022-09-02T00:12:45.959Z] 2022-09-02 00:12:45,897 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-153/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-153, universal_newlines=False, shell=None, istream=None) [2022-09-02T00:12:46.906Z] 2022-09-02 00:12:46,674 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-153/.git/info/exclude [2022-09-02T00:12:46.907Z] 2022-09-02 00:12:46,674 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 with force:False [2022-09-02T00:12:46.907Z] 2022-09-02 00:12:46,675 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 [2022-09-02T00:12:46.907Z] 2022-09-02 00:12:46,678 [execute] INFO git cat-file --batch-check [2022-09-02T00:12:46.907Z] 2022-09-02 00:12:46,679 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-153/.semver, universal_newlines=False, shell=None, istream=) [2022-09-02T00:12:46.907Z] 2022-09-02 00:12:46,686 [execute] INFO git cat-file --batch [2022-09-02T00:12:46.907Z] 2022-09-02 00:12:46,687 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-153/.semver, universal_newlines=False, shell=None, istream=) [2022-09-02T00:12:46.907Z] 2022-09-02 00:12:46,692 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 [2022-09-02T00:12:46.907Z] 0.0.0 [Pipeline] } [2022-09-02T00:12:46.933Z] $ docker exec --env ******** --env ******** 14723b14a05fb3480aa0d22fb03b0e0c7ad109033f0985fd15df6dcb094d1697 ssh-agent -k [2022-09-02T00:12:47.056Z] unset SSH_AUTH_SOCK; [2022-09-02T00:12:47.056Z] unset SSH_AGENT_PID; [2022-09-02T00:12:47.056Z] echo Agent pid 78 killed; [2022-09-02T00:12:47.068Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-02T00:12:47.513Z] + git semver [Pipeline] } [2022-09-02T00:12:47.806Z] $ docker stop --time=1 14723b14a05fb3480aa0d22fb03b0e0c7ad109033f0985fd15df6dcb094d1697 [2022-09-02T00:12:49.132Z] $ docker rm -f 14723b14a05fb3480aa0d22fb03b0e0c7ad109033f0985fd15df6dcb094d1697 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-02T00:12:49.569Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-02T00:12:49.879Z] Stashed 1 file(s) [Pipeline] echo [2022-09-02T00:12:49.899Z] [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:12:50.537Z] provisioning config files... [2022-09-02T00:12:50.548Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config2326858758507091490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:12:50.904Z] ---> docker-login.sh [2022-09-02T00:12:50.904Z] nexus3.edgexfoundry.org:10001 [2022-09-02T00:12:50.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:12:50.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:12:50.904Z] Configure a credential helper to remove this warning. See [2022-09-02T00:12:50.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:12:50.904Z] [2022-09-02T00:12:50.904Z] Login Succeeded [2022-09-02T00:12:50.904Z] nexus3.edgexfoundry.org:10002 [2022-09-02T00:12:50.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:12:51.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:12:51.165Z] Configure a credential helper to remove this warning. See [2022-09-02T00:12:51.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:12:51.165Z] [2022-09-02T00:12:51.165Z] Login Succeeded [2022-09-02T00:12:51.165Z] nexus3.edgexfoundry.org:10003 [2022-09-02T00:12:51.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:12:51.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:12:51.165Z] Configure a credential helper to remove this warning. See [2022-09-02T00:12:51.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:12:51.165Z] [2022-09-02T00:12:51.165Z] Login Succeeded [2022-09-02T00:12:51.165Z] nexus3.edgexfoundry.org:10004 [2022-09-02T00:12:51.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:12:51.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:12:51.426Z] Configure a credential helper to remove this warning. See [2022-09-02T00:12:51.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:12:51.426Z] [2022-09-02T00:12:51.426Z] Login Succeeded [2022-09-02T00:12:51.426Z] docker.io [2022-09-02T00:12:51.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:12:51.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:12:51.997Z] Configure a credential helper to remove this warning. See [2022-09-02T00:12:51.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:12:51.997Z] [2022-09-02T00:12:51.997Z] Login Succeeded [2022-09-02T00:12:51.997Z] ---> docker-login.sh ends [Pipeline] } [2022-09-02T00:12:52.029Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-02T00:12:52.216Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-02T00:12:52.254Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-02T00:12:52.286Z] ========================================================= [2022-09-02T00:12:52.286Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-02T00:12:52.286Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:12:52.774Z] + 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:12:52.775Z] Sending build context to Docker daemon 20.66MB [2022-09-02T00:12:52.775Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-02T00:12:52.775Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-02T00:12:53.036Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-02T00:12:53.036Z] 2408cc74d12b: Pulling fs layer [2022-09-02T00:12:53.036Z] ea60b727a1ce: Pulling fs layer [2022-09-02T00:12:53.036Z] 30c4a7721957: Pulling fs layer [2022-09-02T00:12:53.036Z] 370296b7ddb6: Pulling fs layer [2022-09-02T00:12:53.036Z] 7c6cee850709: Pulling fs layer [2022-09-02T00:12:53.036Z] 39a5fcdaea64: Pulling fs layer [2022-09-02T00:12:53.036Z] d94ebbe4e438: Pulling fs layer [2022-09-02T00:12:53.036Z] bcfd1f05c69d: Pulling fs layer [2022-09-02T00:12:53.036Z] 59ccb84bbe0f: Pulling fs layer [2022-09-02T00:12:53.036Z] 39a5fcdaea64: Waiting [2022-09-02T00:12:53.036Z] d94ebbe4e438: Waiting [2022-09-02T00:12:53.036Z] bcfd1f05c69d: Waiting [2022-09-02T00:12:53.036Z] 370296b7ddb6: Waiting [2022-09-02T00:12:53.036Z] 59ccb84bbe0f: Waiting [2022-09-02T00:12:53.036Z] 7c6cee850709: Waiting [2022-09-02T00:12:53.036Z] 30c4a7721957: Verifying Checksum [2022-09-02T00:12:53.036Z] 30c4a7721957: Download complete [2022-09-02T00:12:53.036Z] ea60b727a1ce: Verifying Checksum [2022-09-02T00:12:53.036Z] ea60b727a1ce: Download complete [2022-09-02T00:12:53.036Z] 7c6cee850709: Download complete [2022-09-02T00:12:53.036Z] 39a5fcdaea64: Verifying Checksum [2022-09-02T00:12:53.036Z] 39a5fcdaea64: Download complete [2022-09-02T00:12:53.036Z] 2408cc74d12b: Verifying Checksum [2022-09-02T00:12:53.036Z] 2408cc74d12b: Download complete [2022-09-02T00:12:53.036Z] d94ebbe4e438: Download complete [2022-09-02T00:12:53.301Z] 2408cc74d12b: Pull complete [2022-09-02T00:12:53.301Z] ea60b727a1ce: Pull complete [2022-09-02T00:12:53.562Z] 30c4a7721957: Pull complete [2022-09-02T00:12:53.562Z] 59ccb84bbe0f: Verifying Checksum [2022-09-02T00:12:53.562Z] 59ccb84bbe0f: Download complete [2022-09-02T00:12:53.823Z] bcfd1f05c69d: Verifying Checksum [2022-09-02T00:12:53.823Z] bcfd1f05c69d: Download complete [2022-09-02T00:12:53.823Z] 370296b7ddb6: Verifying Checksum [2022-09-02T00:12:53.823Z] 370296b7ddb6: Download complete [2022-09-02T00:12:59.108Z] 370296b7ddb6: Pull complete [2022-09-02T00:12:59.108Z] 7c6cee850709: Pull complete [2022-09-02T00:12:59.108Z] 39a5fcdaea64: Pull complete [2022-09-02T00:12:59.108Z] d94ebbe4e438: Pull complete [2022-09-02T00:13:00.485Z] bcfd1f05c69d: Pull complete [2022-09-02T00:13:01.425Z] 59ccb84bbe0f: Pull complete [2022-09-02T00:13:01.425Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-02T00:13:01.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-02T00:13:01.425Z] ---> a4fb48ad2a94 [2022-09-02T00:13:01.425Z] Step 3/13 : ARG MAKE="make build" [2022-09-02T00:13:03.344Z] ---> Running in 8566450846b9 [2022-09-02T00:13:03.344Z] Removing intermediate container 8566450846b9 [2022-09-02T00:13:03.344Z] ---> fcdb5e6a99cc [2022-09-02T00:13:03.344Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-02T00:13:03.344Z] ---> Running in b7b89242e8c7 [2022-09-02T00:13:03.344Z] Removing intermediate container b7b89242e8c7 [2022-09-02T00:13:03.344Z] ---> 97e2eb481f08 [2022-09-02T00:13:03.344Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-02T00:13:03.607Z] ---> Running in 15db09572739 [2022-09-02T00:13:03.607Z] Removing intermediate container 15db09572739 [2022-09-02T00:13:03.607Z] ---> 441d235bdecc [2022-09-02T00:13:03.607Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-02T00:13:03.607Z] ---> Running in 7c843a55b255 [2022-09-02T00:13:03.607Z] Removing intermediate container 7c843a55b255 [2022-09-02T00:13:03.607Z] ---> 4b91f5bd6d57 [2022-09-02T00:13:03.607Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-02T00:13:03.867Z] ---> Running in cce284ca4ad7 [2022-09-02T00:13:04.439Z] Removing intermediate container cce284ca4ad7 [2022-09-02T00:13:04.439Z] ---> 2fd6b48f6776 [2022-09-02T00:13:04.439Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-02T00:13:04.439Z] ---> Running in 0b554218eead [2022-09-02T00:13:04.699Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-02T00:13:05.327Z] Still waiting to schedule task [2022-09-02T00:13:05.327Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24373’ [2022-09-02T00:13:05.641Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-02T00:13:05.906Z] OK: 211 MiB in 51 packages [2022-09-02T00:13:06.170Z] Removing intermediate container 0b554218eead [2022-09-02T00:13:06.170Z] ---> 931cbd91ad31 [2022-09-02T00:13:06.170Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-02T00:13:06.434Z] ---> Running in 6c6293e13b8e [2022-09-02T00:13:06.434Z] Removing intermediate container 6c6293e13b8e [2022-09-02T00:13:06.434Z] ---> 4273764e58f8 [2022-09-02T00:13:06.434Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-02T00:13:06.434Z] ---> 411a0479f0d9 [2022-09-02T00:13:06.434Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-02T00:13:06.699Z] ---> Running in 93d2b86d28bd [2022-09-02T00:13:21.613Z] Removing intermediate container 93d2b86d28bd [2022-09-02T00:13:21.613Z] ---> fe9fb515683b [2022-09-02T00:13:21.613Z] Step 12/13 : COPY . . [2022-09-02T00:13:22.183Z] ---> f8a50546e7ee [2022-09-02T00:13:22.183Z] Step 13/13 : RUN ${MAKE} [2022-09-02T00:13:22.183Z] ---> Running in 52c8557f04bf [2022-09-02T00:13:22.753Z] noop [2022-09-02T00:13:23.012Z] Removing intermediate container 52c8557f04bf [2022-09-02T00:13:23.012Z] ---> b441d08309a4 [2022-09-02T00:13:23.012Z] Successfully built b441d08309a4 [2022-09-02T00:13:23.012Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:13:23.467Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-02T00:13:23.467Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T00:13:23.672Z] prd-ubuntu20.04-docker-8c-8g-24377 does not seem to be running inside a container [2022-09-02T00:13:23.777Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@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 ******** ci-base-image-x86_64 cat [2022-09-02T00:13:24.171Z] $ docker top 5dbe42c4674d97cde824412f7efce958a1705156036af64b8b9bbc51b36743a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-02T00:13:24.587Z] + go version [2022-09-02T00:13:24.587Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-02T00:13:24.617Z] $ docker stop --time=1 5dbe42c4674d97cde824412f7efce958a1705156036af64b8b9bbc51b36743a7 [2022-09-02T00:13:25.919Z] $ docker rm -f 5dbe42c4674d97cde824412f7efce958a1705156036af64b8b9bbc51b36743a7 [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:13:26.671Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-02T00:13:26.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T00:13:26.833Z] prd-ubuntu20.04-docker-8c-8g-24377 does not seem to be running inside a container [2022-09-02T00:13:26.872Z] $ 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-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@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 ******** ci-base-image-x86_64 cat [2022-09-02T00:13:27.257Z] $ docker top 346223f987fdc321af40470c66ba60197883c15130771530141b8b811aa7f52c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-02T00:13:27.670Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] fileExists [Pipeline] sh [2022-09-02T00:13:28.030Z] + make test [2022-09-02T00:13:28.031Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-02T00:13:28.289Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-02T00:13:38.275Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-02T00:13:38.538Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.033s coverage: 28.2% of statements [2022-09-02T00:13:38.538Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-02T00:13:41.835Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.049s coverage: 13.8% of statements [2022-09-02T00:13:48.413Z] 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:13:48.413Z] internal/driver/onvifdiscovery_test.go:19:2: `uuid1` is unused (deadcode) [2022-09-02T00:13:48.413Z] uuid1 = "1793ddc8-28b0-11ed-a261-0242ac120002" [2022-09-02T00:13:48.413Z] ^ [2022-09-02T00:13:48.413Z] make: *** [Makefile:58: lint] Error 1 [Pipeline] } [2022-09-02T00:13:48.456Z] $ docker stop --time=1 346223f987fdc321af40470c66ba60197883c15130771530141b8b811aa7f52c [2022-09-02T00:13:50.270Z] $ docker rm -f 346223f987fdc321af40470c66ba60197883c15130771530141b8b811aa7f52c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:13:51.482Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-02T00:13:51.482Z] [2022-09-02T00:13:51.482Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:13:51.864Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-02T00:13:51.864Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-02T00:13:51.864Z] 5eb5b503b376: Pulling fs layer [2022-09-02T00:13:51.864Z] 5c69ac0246d0: Pulling fs layer [2022-09-02T00:13:51.864Z] ec43610c2a17: Pulling fs layer [2022-09-02T00:13:51.864Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-02T00:13:51.864Z] 33b1e0a273af: Pulling fs layer [2022-09-02T00:13:51.864Z] 5d3b04190fa2: Pulling fs layer [2022-09-02T00:13:51.864Z] 2f39f015ded8: Pulling fs layer [2022-09-02T00:13:51.864Z] 3a2ae6a8a46f: Waiting [2022-09-02T00:13:51.864Z] 33b1e0a273af: Waiting [2022-09-02T00:13:51.864Z] 5d3b04190fa2: Waiting [2022-09-02T00:13:51.864Z] 5c69ac0246d0: Verifying Checksum [2022-09-02T00:13:51.864Z] 5c69ac0246d0: Download complete [2022-09-02T00:13:51.864Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-02T00:13:51.864Z] 3a2ae6a8a46f: Download complete [2022-09-02T00:13:52.124Z] 33b1e0a273af: Verifying Checksum [2022-09-02T00:13:52.124Z] 33b1e0a273af: Download complete [2022-09-02T00:13:52.124Z] 5d3b04190fa2: Verifying Checksum [2022-09-02T00:13:52.124Z] 5d3b04190fa2: Download complete [2022-09-02T00:13:52.124Z] ec43610c2a17: Verifying Checksum [2022-09-02T00:13:52.124Z] ec43610c2a17: Download complete [2022-09-02T00:13:52.124Z] 5eb5b503b376: Verifying Checksum [2022-09-02T00:13:52.124Z] 5eb5b503b376: Download complete [2022-09-02T00:13:52.692Z] 2f39f015ded8: Download complete [2022-09-02T00:13:53.260Z] 5eb5b503b376: Pull complete [2022-09-02T00:13:53.519Z] 5c69ac0246d0: Pull complete [2022-09-02T00:13:54.089Z] ec43610c2a17: Pull complete [2022-09-02T00:13:54.089Z] 3a2ae6a8a46f: Pull complete [2022-09-02T00:13:54.348Z] 33b1e0a273af: Pull complete [2022-09-02T00:13:54.348Z] 5d3b04190fa2: Pull complete [2022-09-02T00:13:58.554Z] 2f39f015ded8: Pull complete [2022-09-02T00:13:58.554Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-02T00:13:58.554Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-02T00:13:58.554Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T00:13:58.798Z] prd-ubuntu20.04-docker-8c-8g-24377 does not seem to be running inside a container [2022-09-02T00:13:58.834Z] $ 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-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-02T00:14:00.716Z] $ docker top a3a31e7a5fc81524b9a7fede601c9ea605493ffc00475bca4df1003c73dccc5d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:14:01.156Z] ---> job-cost.sh [2022-09-02T00:14:01.156Z] lf-activate-venv: SKIPPING [2022-09-02T00:14:01.156Z] INFO: No Stack... [2022-09-02T00:14:01.416Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-02T00:14:01.986Z] INFO: Archiving Costs [Pipeline] sh [2022-09-02T00:14:02.308Z] + cat /w/workspace/undry_device-onvif-camera_PR-153/archives/cost.csv [2022-09-02T00:14:02.308Z] + cut -d, -f6 [Pipeline] lock [2022-09-02T00:14:02.352Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-153-1-stack-cost] [2022-09-02T00:14:02.356Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-1-stack-cost] did not exist. Created. [2022-09-02T00:14:02.356Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-153-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-02T00:14:02.761Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-02T00:14:02.821Z] Stashed 1 file(s) [Pipeline] } [2022-09-02T00:14:02.842Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-02T00:14:02.926Z] $ docker stop --time=1 a3a31e7a5fc81524b9a7fede601c9ea605493ffc00475bca4df1003c73dccc5d [2022-09-02T00:14:04.100Z] $ docker rm -f a3a31e7a5fc81524b9a7fede601c9ea605493ffc00475bca4df1003c73dccc5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-02T00:14:04.519Z] Failed in branch amd64 [2022-09-02T00:16:17.438Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24381 in /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] { [Pipeline] ws [2022-09-02T00:16:17.477Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-09-02T00:16:17.553Z] Selected Git installation does not exist. Using Default [2022-09-02T00:16:17.553Z] The recommended git tool is: NONE [2022-09-02T00:16:23.618Z] using credential edgex-jenkins-ssh [2022-09-02T00:16:23.637Z] Cloning the remote Git repository [2022-09-02T00:16:23.709Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-02T00:16:23.805Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-09-02T00:16:23.908Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-02T00:16:23.909Z] > git --version # timeout=10 [2022-09-02T00:16:23.931Z] > git --version # 'git version 2.25.1' [2022-09-02T00:16:23.933Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-02T00:16:24.021Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-02T00:16:25.194Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-02T00:16:25.221Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-02T00:16:25.258Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-02T00:16:25.302Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-02T00:16:25.303Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-02T00:16:25.320Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-02T00:16:25.902Z] Merging remotes/origin/main commit 87f15e26a71a8026a682f6867a4ab9a3284585c9 into PR head commit 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 [2022-09-02T00:16:26.317Z] Merge succeeded, producing 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 [2022-09-02T00:16:26.318Z] Checking out Revision 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 (PR-153) [2022-09-02T00:16:25.926Z] > git config core.sparsecheckout # timeout=10 [2022-09-02T00:16:25.956Z] > git checkout -f 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 [2022-09-02T00:16:26.199Z] > git remote # timeout=10 [2022-09-02T00:16:26.220Z] > git config --get remote.origin.url # timeout=10 [2022-09-02T00:16:26.247Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-02T00:16:26.262Z] > git merge 87f15e26a71a8026a682f6867a4ab9a3284585c9 # timeout=10 [2022-09-02T00:16:26.295Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-02T00:16:26.325Z] > git config core.sparsecheckout # timeout=10 [2022-09-02T00:16:26.340Z] > git checkout -f 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 [2022-09-02T00:16:30.916Z] Commit message: "feat: remove control-plane-device" [2022-09-02T00:16:30.994Z] > git --version # timeout=10 [2022-09-02T00:16:31.009Z] > git --version # 'git version 2.25.1' [2022-09-02T00:16:31.028Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-02T00:16:32.142Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-02T00:16:32.142Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-02T00:16:32.142Z] Dload Upload Total Spent Left Speed [2022-09-02T00:16:32.143Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 153k 0 --:--:-- --:--:-- --:--:-- 153k [Pipeline] sh [2022-09-02T00:16:32.884Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-02T00:16:33.305Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-02T00:16:33.305Z] + sudo tee /etc/docker/daemon.new [2022-09-02T00:16:33.305Z] { [2022-09-02T00:16:33.305Z] "registry-mirrors": [ [2022-09-02T00:16:33.305Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-02T00:16:33.305Z] ], [2022-09-02T00:16:33.305Z] "bip": "10.250.0.254/24", [2022-09-02T00:16:33.305Z] "hosts": [ [2022-09-02T00:16:33.305Z] "tcp://0.0.0.0:5555", [2022-09-02T00:16:33.305Z] "unix:///var/run/docker.sock" [2022-09-02T00:16:33.305Z] ], [2022-09-02T00:16:33.305Z] "mtu": 1458, [2022-09-02T00:16:33.305Z] "selinux-enabled": true, [2022-09-02T00:16:33.305Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-02T00:16:33.305Z] } [Pipeline] sh [2022-09-02T00:16:33.680Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-02T00:16:34.046Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-02T00:16:52.697Z] provisioning config files... [2022-09-02T00:16:52.729Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config1017883660069046202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:16:53.148Z] ---> docker-login.sh [2022-09-02T00:16:53.148Z] nexus3.edgexfoundry.org:10001 [2022-09-02T00:16:53.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:16:54.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:16:54.023Z] Configure a credential helper to remove this warning. See [2022-09-02T00:16:54.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:16:54.023Z] [2022-09-02T00:16:54.023Z] Login Succeeded [2022-09-02T00:16:54.023Z] nexus3.edgexfoundry.org:10002 [2022-09-02T00:16:54.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:16:54.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:16:54.625Z] Configure a credential helper to remove this warning. See [2022-09-02T00:16:54.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:16:54.625Z] [2022-09-02T00:16:54.625Z] Login Succeeded [2022-09-02T00:16:54.625Z] nexus3.edgexfoundry.org:10003 [2022-09-02T00:16:55.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:16:55.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:16:55.235Z] Configure a credential helper to remove this warning. See [2022-09-02T00:16:55.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:16:55.235Z] [2022-09-02T00:16:55.235Z] Login Succeeded [2022-09-02T00:16:55.235Z] nexus3.edgexfoundry.org:10004 [2022-09-02T00:16:55.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:16:55.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:16:55.796Z] Configure a credential helper to remove this warning. See [2022-09-02T00:16:55.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:16:55.796Z] [2022-09-02T00:16:55.796Z] Login Succeeded [2022-09-02T00:16:55.797Z] docker.io [2022-09-02T00:16:56.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-02T00:16:56.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-02T00:16:56.351Z] Configure a credential helper to remove this warning. See [2022-09-02T00:16:56.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-02T00:16:56.351Z] [2022-09-02T00:16:56.351Z] Login Succeeded [2022-09-02T00:16:56.626Z] ---> docker-login.sh ends [Pipeline] } [2022-09-02T00:16:56.657Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-02T00:16:57.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-02T00:16:57.216Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-02T00:16:57.248Z] ========================================================= [2022-09-02T00:16:57.248Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-02T00:16:57.248Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:16:57.827Z] + 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:58.438Z] Sending build context to Docker daemon 14.15MB [2022-09-02T00:16:58.438Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-02T00:16:58.438Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-02T00:16:58.715Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-02T00:16:58.715Z] b3c136eddcbf: Pulling fs layer [2022-09-02T00:16:58.715Z] c0a3192eca97: Pulling fs layer [2022-09-02T00:16:58.715Z] a050256f5b6f: Pulling fs layer [2022-09-02T00:16:58.715Z] 656be50a0ddc: Pulling fs layer [2022-09-02T00:16:58.715Z] 2bbca73fdf42: Pulling fs layer [2022-09-02T00:16:58.715Z] 656be50a0ddc: Waiting [2022-09-02T00:16:58.715Z] 46d945488cbd: Pulling fs layer [2022-09-02T00:16:58.715Z] 2bbca73fdf42: Waiting [2022-09-02T00:16:58.715Z] 8a5474983e97: Pulling fs layer [2022-09-02T00:16:58.715Z] 46d945488cbd: Waiting [2022-09-02T00:16:58.715Z] 329c88fbcd65: Pulling fs layer [2022-09-02T00:16:58.715Z] 8a5474983e97: Waiting [2022-09-02T00:16:58.715Z] a050256f5b6f: Verifying Checksum [2022-09-02T00:16:58.715Z] a050256f5b6f: Download complete [2022-09-02T00:16:58.715Z] c0a3192eca97: Verifying Checksum [2022-09-02T00:16:58.715Z] c0a3192eca97: Download complete [2022-09-02T00:16:58.715Z] 2bbca73fdf42: Verifying Checksum [2022-09-02T00:16:58.715Z] 2bbca73fdf42: Download complete [2022-09-02T00:16:58.715Z] 46d945488cbd: Verifying Checksum [2022-09-02T00:16:58.715Z] 46d945488cbd: Download complete [2022-09-02T00:16:58.715Z] b3c136eddcbf: Verifying Checksum [2022-09-02T00:16:59.712Z] b3c136eddcbf: Pull complete [2022-09-02T00:16:59.991Z] 329c88fbcd65: Verifying Checksum [2022-09-02T00:16:59.991Z] 329c88fbcd65: Download complete [2022-09-02T00:17:00.273Z] c0a3192eca97: Pull complete [2022-09-02T00:17:00.550Z] a050256f5b6f: Pull complete [2022-09-02T00:17:01.157Z] 8a5474983e97: Verifying Checksum [2022-09-02T00:17:01.157Z] 8a5474983e97: Download complete [2022-09-02T00:17:01.754Z] 656be50a0ddc: Verifying Checksum [2022-09-02T00:17:01.755Z] 656be50a0ddc: Download complete [2022-09-02T00:17:14.182Z] 656be50a0ddc: Pull complete [2022-09-02T00:17:14.182Z] 2bbca73fdf42: Pull complete [2022-09-02T00:17:14.182Z] 46d945488cbd: Pull complete [2022-09-02T00:17:22.500Z] 8a5474983e97: Pull complete [2022-09-02T00:17:23.945Z] 329c88fbcd65: Pull complete [2022-09-02T00:17:23.945Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-02T00:17:23.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-02T00:17:23.945Z] ---> ff4287adb874 [2022-09-02T00:17:23.945Z] Step 3/13 : ARG MAKE="make build" [2022-09-02T00:17:26.576Z] ---> Running in 6a4a9579f9d5 [2022-09-02T00:17:26.576Z] Removing intermediate container 6a4a9579f9d5 [2022-09-02T00:17:26.576Z] ---> 82ec6c9c976a [2022-09-02T00:17:26.576Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-02T00:17:26.576Z] ---> Running in fd7eb5be9709 [2022-09-02T00:17:26.851Z] Removing intermediate container fd7eb5be9709 [2022-09-02T00:17:26.851Z] ---> 6eabe84a8a22 [2022-09-02T00:17:26.851Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-02T00:17:26.851Z] ---> Running in 57166fda32bc [2022-09-02T00:17:27.126Z] Removing intermediate container 57166fda32bc [2022-09-02T00:17:27.126Z] ---> d4665326e8df [2022-09-02T00:17:27.126Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-02T00:17:27.407Z] ---> Running in 1eca1372409c [2022-09-02T00:17:27.688Z] Removing intermediate container 1eca1372409c [2022-09-02T00:17:27.688Z] ---> 255e6a1a7b9e [2022-09-02T00:17:27.688Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-02T00:17:27.688Z] ---> Running in a8012c825da5 [2022-09-02T00:17:29.689Z] Removing intermediate container a8012c825da5 [2022-09-02T00:17:29.689Z] ---> e74498ad56c7 [2022-09-02T00:17:29.689Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-02T00:17:29.689Z] ---> Running in 89d09bfcde66 [2022-09-02T00:17:31.168Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-02T00:17:31.772Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-02T00:17:33.236Z] OK: 221 MiB in 51 packages [2022-09-02T00:17:33.841Z] Removing intermediate container 89d09bfcde66 [2022-09-02T00:17:33.841Z] ---> 9d6c916b51ab [2022-09-02T00:17:33.841Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-02T00:17:33.841Z] ---> Running in 56c2e56a5fc4 [2022-09-02T00:17:34.446Z] Removing intermediate container 56c2e56a5fc4 [2022-09-02T00:17:34.446Z] ---> ff97a6f96470 [2022-09-02T00:17:34.446Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-02T00:17:35.050Z] ---> a2443483c3c9 [2022-09-02T00:17:35.050Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-02T00:17:35.050Z] ---> Running in 421f7dbd04e9 [2022-09-02T00:18:31.665Z] Removing intermediate container 421f7dbd04e9 [2022-09-02T00:18:31.665Z] ---> 4a56b29ff485 [2022-09-02T00:18:31.665Z] Step 12/13 : COPY . . [2022-09-02T00:18:31.665Z] ---> b2c470e79759 [2022-09-02T00:18:31.665Z] Step 13/13 : RUN ${MAKE} [2022-09-02T00:18:31.665Z] ---> Running in 282ec61039f8 [2022-09-02T00:18:31.665Z] noop [2022-09-02T00:18:31.665Z] Removing intermediate container 282ec61039f8 [2022-09-02T00:18:31.665Z] ---> f63db003cf6f [2022-09-02T00:18:31.665Z] Successfully built f63db003cf6f [2022-09-02T00:18:31.665Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:18:32.177Z] + docker inspect -f . ci-base-image-arm64 [2022-09-02T00:18:32.177Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T00:18:32.520Z] prd-ubuntu20.04-docker-arm64-4c-16g-24381 does not seem to be running inside a container [2022-09-02T00:18:32.618Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2022-09-02T00:18:34.067Z] $ docker top 4e8fb0729fc8f4e056d97088a763e2d03dde5f1e5d7a880ed1dd99425259cac9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-02T00:18:35.068Z] + go version [2022-09-02T00:18:35.069Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-02T00:18:35.110Z] $ docker stop --time=1 4e8fb0729fc8f4e056d97088a763e2d03dde5f1e5d7a880ed1dd99425259cac9 [2022-09-02T00:18:36.823Z] $ docker rm -f 4e8fb0729fc8f4e056d97088a763e2d03dde5f1e5d7a880ed1dd99425259cac9 [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:37.799Z] + docker inspect -f . ci-base-image-arm64 [2022-09-02T00:18:37.799Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T00:18:38.136Z] prd-ubuntu20.04-docker-arm64-4c-16g-24381 does not seem to be running inside a container [2022-09-02T00:18:38.230Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat [2022-09-02T00:18:39.593Z] $ docker top 13c79af92217722a27a13f49158637b1ce97e3de6b64f8ab1779dcc19d99dac4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-02T00:18:40.580Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-09-02T00:18:41.317Z] + make test [2022-09-02T00:18:41.317Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-02T00:18:43.315Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-02T00:20:20.214Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-02T00:20:28.546Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.194s coverage: 28.2% of statements [2022-09-02T00:20:28.547Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-02T00:20:47.027Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.786s coverage: 13.8% of statements [2022-09-02T00:20:47.303Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-02T00:20:47.303Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-02T00:21:14.144Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-02T00:21:14.144Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-02T00:21:14.144Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-02T00:21:14.184Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-02T00:21:14.217Z] $ docker stop --time=1 13c79af92217722a27a13f49158637b1ce97e3de6b64f8ab1779dcc19d99dac4 [2022-09-02T00:21:16.018Z] $ docker rm -f 13c79af92217722a27a13f49158637b1ce97e3de6b64f8ab1779dcc19d99dac4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-02T00:21:17.182Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-02T00:21:17.871Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-02T00:21:18.668Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-02T00:21:19.021Z] + ls -al . [2022-09-02T00:21:19.021Z] total 228 [2022-09-02T00:21:19.021Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 2 00:18 . [2022-09-02T00:21:19.021Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 00:16 .. [2022-09-02T00:21:19.021Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 2 00:16 .git [2022-09-02T00:21:19.021Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 00:16 .github [2022-09-02T00:21:19.021Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 2 00:16 .gitignore [2022-09-02T00:21:19.021Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 2 00:16 .golangci.yml [2022-09-02T00:21:19.021Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 2 00:16 Attribution.txt [2022-09-02T00:21:19.021Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 2 00:16 CHANGELOG.md [2022-09-02T00:21:19.021Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 2 00:16 Dockerfile [2022-09-02T00:21:19.021Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 2 00:16 GOVERNANCE.md [2022-09-02T00:21:19.021Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 2 00:16 Jenkinsfile [2022-09-02T00:21:19.021Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 2 00:16 LICENSE [2022-09-02T00:21:19.021Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 2 00:16 Makefile [2022-09-02T00:21:19.021Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 2 00:16 OWNERS.md [2022-09-02T00:21:19.021Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 2 00:16 README.md [2022-09-02T00:21:19.021Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 2 00:12 VERSION [2022-09-02T00:21:19.021Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 2 00:16 bin [2022-09-02T00:21:19.021Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 2 00:16 cmd [2022-09-02T00:21:19.021Z] -rw-r--r-- 1 jenkins jenkins 75926 Sep 2 00:20 coverage.out [2022-09-02T00:21:19.021Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 2 00:16 doc [2022-09-02T00:21:19.021Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 2 00:16 go.mod [2022-09-02T00:21:19.021Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 2 00:16 go.sum [2022-09-02T00:21:19.021Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 00:16 internal [2022-09-02T00:21:19.021Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 2 00:16 snap [2022-09-02T00:21:19.021Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 2 00:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:21:19.456Z] + 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=3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 --label arch=arm64 --label version=0.0.0 . [2022-09-02T00:21:20.054Z] Sending build context to Docker daemon 14.22MB [2022-09-02T00:21:20.054Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-02T00:21:20.054Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-02T00:21:20.054Z] ---> f63db003cf6f [2022-09-02T00:21:20.054Z] Step 3/26 : ARG MAKE="make build" [2022-09-02T00:21:20.325Z] ---> Running in ac81e3434c43 [2022-09-02T00:21:20.597Z] Removing intermediate container ac81e3434c43 [2022-09-02T00:21:20.597Z] ---> 748ae6e0a697 [2022-09-02T00:21:20.597Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-02T00:21:20.597Z] ---> Running in be4618f229f7 [2022-09-02T00:21:20.882Z] Removing intermediate container be4618f229f7 [2022-09-02T00:21:20.882Z] ---> eb9925b3cfd6 [2022-09-02T00:21:20.882Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-02T00:21:21.159Z] ---> Running in 9677afb489fc [2022-09-02T00:21:21.435Z] Removing intermediate container 9677afb489fc [2022-09-02T00:21:21.435Z] ---> a5036aad1e76 [2022-09-02T00:21:21.435Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-02T00:21:21.435Z] ---> Running in 47642a2b313d [2022-09-02T00:21:21.719Z] Removing intermediate container 47642a2b313d [2022-09-02T00:21:21.719Z] ---> b48ab4aaeb16 [2022-09-02T00:21:21.719Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-02T00:21:22.006Z] ---> Running in 1fd4110c7246 [2022-09-02T00:21:23.999Z] Removing intermediate container 1fd4110c7246 [2022-09-02T00:21:23.999Z] ---> de94753b5920 [2022-09-02T00:21:23.999Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-02T00:21:24.000Z] ---> Running in 390a92c9a00e [2022-09-02T00:21:24.604Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-02T00:21:25.586Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-02T00:21:26.572Z] OK: 221 MiB in 51 packages [2022-09-02T00:21:27.565Z] Removing intermediate container 390a92c9a00e [2022-09-02T00:21:27.565Z] ---> 064e8f791813 [2022-09-02T00:21:27.565Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-02T00:21:27.565Z] ---> Running in f99e389bf85b [2022-09-02T00:21:27.840Z] Removing intermediate container f99e389bf85b [2022-09-02T00:21:27.840Z] ---> 4a6d7c9f9bdc [2022-09-02T00:21:27.840Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-02T00:21:28.440Z] ---> 844b9af30c0b [2022-09-02T00:21:28.440Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-02T00:21:28.714Z] ---> Running in 82b1a4c1c6cf [2022-09-02T00:21:30.715Z] Removing intermediate container 82b1a4c1c6cf [2022-09-02T00:21:30.715Z] ---> 7534c4a0a5a1 [2022-09-02T00:21:30.715Z] Step 12/26 : COPY . . [2022-09-02T00:21:32.698Z] ---> 02e20bd16d49 [2022-09-02T00:21:32.698Z] Step 13/26 : RUN ${MAKE} [2022-09-02T00:21:32.698Z] ---> Running in d5f5369739bd [2022-09-02T00:21:33.680Z] 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:24:10.642Z] Removing intermediate container d5f5369739bd [2022-09-02T00:24:10.642Z] ---> 8a39b3ad3bdb [2022-09-02T00:24:10.642Z] Step 14/26 : FROM alpine:3.16 [2022-09-02T00:24:10.642Z] 3.16: Pulling from library/alpine [2022-09-02T00:24:10.642Z] 9b18e9b68314: Pulling fs layer [2022-09-02T00:24:10.642Z] 9b18e9b68314: Verifying Checksum [2022-09-02T00:24:10.642Z] 9b18e9b68314: Download complete [2022-09-02T00:24:10.642Z] 9b18e9b68314: Pull complete [2022-09-02T00:24:10.642Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-02T00:24:10.642Z] Status: Downloaded newer image for alpine:3.16 [2022-09-02T00:24:10.642Z] ---> a6215f271958 [2022-09-02T00:24:10.642Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-02T00:24:10.642Z] ---> Running in 4b4fd65b5fdf [2022-09-02T00:24:10.642Z] Removing intermediate container 4b4fd65b5fdf [2022-09-02T00:24:10.642Z] ---> c03a00572e57 [2022-09-02T00:24:10.642Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-02T00:24:10.642Z] ---> Running in d545bf1178a4 [2022-09-02T00:24:10.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-02T00:24:10.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-02T00:24:10.642Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-02T00:24:10.642Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-02T00:24:10.642Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-02T00:24:10.642Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-02T00:24:10.642Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-02T00:24:10.642Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-02T00:24:10.642Z] Executing busybox-1.35.0-r17.trigger [2022-09-02T00:24:10.642Z] OK: 8 MiB in 20 packages [2022-09-02T00:24:10.642Z] Removing intermediate container d545bf1178a4 [2022-09-02T00:24:10.642Z] ---> deb2c1ebb6e3 [2022-09-02T00:24:10.642Z] Step 17/26 : WORKDIR / [2022-09-02T00:24:10.642Z] ---> Running in 5b663d1af8c3 [2022-09-02T00:24:10.642Z] Removing intermediate container 5b663d1af8c3 [2022-09-02T00:24:10.642Z] ---> d40a1ff84293 [2022-09-02T00:24:10.642Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-02T00:24:10.914Z] ---> 2c24a3ad391f [2022-09-02T00:24:10.914Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-02T00:24:11.511Z] ---> e8f8178c2017 [2022-09-02T00:24:11.511Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-02T00:24:12.107Z] ---> 6ad7b84d6925 [2022-09-02T00:24:12.107Z] Step 21/26 : EXPOSE 59984 [2022-09-02T00:24:12.107Z] ---> Running in a35bdbf429ef [2022-09-02T00:24:12.383Z] Removing intermediate container a35bdbf429ef [2022-09-02T00:24:12.383Z] ---> 22d0295d18ff [2022-09-02T00:24:12.383Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-02T00:24:12.383Z] ---> Running in aa17497582cf [2022-09-02T00:24:12.981Z] Removing intermediate container aa17497582cf [2022-09-02T00:24:12.982Z] ---> 1633510a5f1c [2022-09-02T00:24:12.982Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-02T00:24:12.982Z] ---> Running in be48cf76ddb9 [2022-09-02T00:24:13.259Z] Removing intermediate container be48cf76ddb9 [2022-09-02T00:24:13.259Z] ---> 7d75f31a9a00 [2022-09-02T00:24:13.259Z] Step 24/26 : LABEL arch=arm64 [2022-09-02T00:24:13.259Z] ---> Running in dfbb40ee5dab [2022-09-02T00:24:13.857Z] Removing intermediate container dfbb40ee5dab [2022-09-02T00:24:13.857Z] ---> f5f8daefea90 [2022-09-02T00:24:13.858Z] Step 25/26 : LABEL git_sha=3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 [2022-09-02T00:24:13.858Z] ---> Running in 415da0b9270c [2022-09-02T00:24:14.135Z] Removing intermediate container 415da0b9270c [2022-09-02T00:24:14.135Z] ---> 72a6b1d736a7 [2022-09-02T00:24:14.135Z] Step 26/26 : LABEL version=0.0.0 [2022-09-02T00:24:14.135Z] ---> Running in 05dc8692a7ff [2022-09-02T00:24:14.411Z] Removing intermediate container 05dc8692a7ff [2022-09-02T00:24:14.411Z] ---> 2fd3884fab1a [2022-09-02T00:24:14.411Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-02T00:24:14.684Z] Successfully built 2fd3884fab1a [2022-09-02T00:24:14.684Z] 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:24:15.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-02T00:24:15.510Z] [2022-09-02T00:24:15.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:24:15.946Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-02T00:24:16.224Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-02T00:24:16.224Z] 8998bd30e6a1: Pulling fs layer [2022-09-02T00:24:16.224Z] 04944245beec: Pulling fs layer [2022-09-02T00:24:16.224Z] 699f458cf7ca: Pulling fs layer [2022-09-02T00:24:16.224Z] 765212b225bb: Pulling fs layer [2022-09-02T00:24:16.224Z] f23df028b6ca: Pulling fs layer [2022-09-02T00:24:16.224Z] d65c8cfc05b1: Pulling fs layer [2022-09-02T00:24:16.224Z] 2437ff75d9bd: Pulling fs layer [2022-09-02T00:24:16.224Z] f23df028b6ca: Waiting [2022-09-02T00:24:16.224Z] d65c8cfc05b1: Waiting [2022-09-02T00:24:16.224Z] 2437ff75d9bd: Waiting [2022-09-02T00:24:16.224Z] 765212b225bb: Waiting [2022-09-02T00:24:16.224Z] 04944245beec: Verifying Checksum [2022-09-02T00:24:16.224Z] 04944245beec: Download complete [2022-09-02T00:24:16.224Z] 765212b225bb: Verifying Checksum [2022-09-02T00:24:16.224Z] 765212b225bb: Download complete [2022-09-02T00:24:16.224Z] f23df028b6ca: Verifying Checksum [2022-09-02T00:24:16.224Z] f23df028b6ca: Download complete [2022-09-02T00:24:16.505Z] d65c8cfc05b1: Verifying Checksum [2022-09-02T00:24:16.506Z] d65c8cfc05b1: Download complete [2022-09-02T00:24:16.506Z] 699f458cf7ca: Verifying Checksum [2022-09-02T00:24:16.506Z] 699f458cf7ca: Download complete [2022-09-02T00:24:16.786Z] 8998bd30e6a1: Verifying Checksum [2022-09-02T00:24:16.786Z] 8998bd30e6a1: Download complete [2022-09-02T00:24:19.433Z] 2437ff75d9bd: Verifying Checksum [2022-09-02T00:24:19.433Z] 2437ff75d9bd: Download complete [2022-09-02T00:24:22.152Z] 8998bd30e6a1: Pull complete [2022-09-02T00:24:22.422Z] 04944245beec: Pull complete [2022-09-02T00:24:23.863Z] 699f458cf7ca: Pull complete [2022-09-02T00:24:24.138Z] 765212b225bb: Pull complete [2022-09-02T00:24:25.126Z] f23df028b6ca: Pull complete [2022-09-02T00:24:25.401Z] d65c8cfc05b1: Pull complete [2022-09-02T00:24:40.515Z] 2437ff75d9bd: Pull complete [2022-09-02T00:24:40.515Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-02T00:24:40.515Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-02T00:24:40.515Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T00:24:40.945Z] prd-ubuntu20.04-docker-arm64-4c-16g-24381 does not seem to be running inside a container [2022-09-02T00:24:41.056Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-02T00:24:43.861Z] $ docker top 7c6b593ef1fe86ac671d6f3d3e3c846c37a061edb65d0fe310a4dc5ee5ce622b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:24:44.878Z] ---> job-cost.sh [2022-09-02T00:24:44.878Z] lf-activate-venv: SKIPPING [2022-09-02T00:24:44.878Z] INFO: No Stack... [2022-09-02T00:24:45.477Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-02T00:24:46.465Z] INFO: Archiving Costs [Pipeline] sh [2022-09-02T00:24:47.165Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-09-02T00:24:47.165Z] + cut -d, -f6 [Pipeline] lock [2022-09-02T00:24:47.260Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-153-1-stack-cost] [2022-09-02T00:24:47.265Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-1-stack-cost] did not exist. Created. [2022-09-02T00:24:47.265Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-153-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-02T00:24:48.032Z] /w/workspace/device-onvif-camera/1@tmp/durable-c696a324/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-02T00:24:48.746Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-02T00:24:48.783Z] Warning: overwriting stash ‘stack-cost’ [2022-09-02T00:24:48.855Z] Stashed 1 file(s) [Pipeline] } [2022-09-02T00:24:48.869Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-02T00:24:48.951Z] $ docker stop --time=1 7c6b593ef1fe86ac671d6f3d3e3c846c37a061edb65d0fe310a4dc5ee5ce622b [2022-09-02T00:24:50.495Z] $ docker rm -f 7c6b593ef1fe86ac671d6f3d3e3c846c37a061edb65d0fe310a4dc5ee5ce622b [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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:53.143Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-153/archives ] [2022-09-02T00:24:53.143Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-153/archives [2022-09-02T00:24:53.143Z] total 16 [2022-09-02T00:24:53.144Z] drwxr-xr-x 3 root root 4096 Sep 2 00:14 . [2022-09-02T00:24:53.144Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 2 00:14 .. [2022-09-02T00:24:53.144Z] drwxr-xr-x 2 root root 4096 Sep 2 00:14 cost [2022-09-02T00:24:53.144Z] -rw-r--r-- 1 root root 91 Sep 2 00:14 cost.csv [2022-09-02T00:24:53.144Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-153/archives [2022-09-02T00:24:53.144Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-153/archives [2022-09-02T00:24:53.144Z] total 16 [2022-09-02T00:24:53.144Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 2 00:14 . [2022-09-02T00:24:53.144Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 2 00:14 .. [2022-09-02T00:24:53.144Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 2 00:14 cost [2022-09-02T00:24:53.144Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 2 00:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:24:53.477Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:24:54.372Z] ---> package-listing.sh [2022-09-02T00:24:54.372Z] ++ facter osfamily [2022-09-02T00:24:54.372Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-02T00:24:54.633Z] + OS_FAMILY=debian [2022-09-02T00:24:54.633Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-153 [2022-09-02T00:24:54.633Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-02T00:24:54.633Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-02T00:24:54.633Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-02T00:24:54.633Z] + PACKAGES=/tmp/packages_start.txt [2022-09-02T00:24:54.633Z] + '[' /w/workspace/undry_device-onvif-camera_PR-153 ']' [2022-09-02T00:24:54.633Z] + PACKAGES=/tmp/packages_end.txt [2022-09-02T00:24:54.633Z] + case "${OS_FAMILY}" in [2022-09-02T00:24:54.633Z] + dpkg -l [2022-09-02T00:24:54.633Z] + grep '^ii' [2022-09-02T00:24:54.633Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-02T00:24:54.633Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-02T00:24:54.633Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-02T00:24:54.633Z] + '[' /w/workspace/undry_device-onvif-camera_PR-153 ']' [2022-09-02T00:24:54.633Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-153/archives/ [2022-09-02T00:24:54.633Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-153/archives/ [Pipeline] echo [2022-09-02T00:24:54.663Z] 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-153/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:55.036Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-02T00:24:55.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-02T00:24:55.407Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-02T00:24:55.568Z] prd-ubuntu20.04-docker-8c-8g-24377 does not seem to be running inside a container [2022-09-02T00:24:55.599Z] $ 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-153/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-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-02T00:24:55.840Z] $ docker top cdc9ab97c4fcfea3da9af099c82ccbb8a6294a7c411cdf58955bbcda233fcce0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-02T00:24:56.243Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-02T00:24:56.555Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-02T00:24:56.872Z] + ls /var/log/sa-host [2022-09-02T00:24:56.872Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-02T00:24:57.067Z] provisioning config files... [2022-09-02T00:24:57.077Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config5482494862045226398tmp [Pipeline] { [Pipeline] echo [2022-09-02T00:24:57.117Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:24:57.438Z] ---> create-netrc.sh [Pipeline] } [2022-09-02T00:24:57.465Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:24:57.864Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-02T00:24:57.897Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:24:58.213Z] ---> sudo-logs.sh [2022-09-02T00:24:58.213Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-02T00:24:58.297Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:24:58.609Z] ---> job-cost.sh [2022-09-02T00:24:58.609Z] lf-activate-venv: SKIPPING [2022-09-02T00:24:58.609Z] DEBUG: total: 0.2199999988079071 [2022-09-02T00:24:58.609Z] INFO: Retrieving Stack Cost... [2022-09-02T00:24:59.179Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-02T00:24:59.439Z] INFO: Archiving Costs [Pipeline] echo [2022-09-02T00:24:59.470Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-02T00:24:59.783Z] ---> logs-deploy.sh [2022-09-02T00:24:59.783Z] lf-activate-venv: SKIPPING [2022-09-02T00:24:59.783Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-153/1 [2022-09-02T00:24:59.783Z] INFO: archiving workspace using pattern(s): [2022-09-02T00:25:00.725Z] Archives upload complete. [2022-09-02T00:25:00.725Z] INFO: archiving logs to Nexus