Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of edgego for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 rather than f5aeb6614c21a3e0ce3156cc256a3d02faf462bc Obtained Jenkinsfile from 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 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-ssh10371150376908937447.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5229372915108543209.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13670051581099570939.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2218250284295440032.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15412354891892812089.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7609’ Running on prd-ubuntu20.04-docker-8c-8g-7613 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-172 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 into PR head commit f5aeb6614c21a3e0ce3156cc256a3d02faf462bc Merge succeeded, producing bec0ad5cdd35b82b53dfdd3d20629684d1c112d8 Checking out Revision bec0ad5cdd35b82b53dfdd3d20629684d1c112d8 (PR-172) > git config core.sparsecheckout # timeout=10 > git checkout -f f5aeb6614c21a3e0ce3156cc256a3d02faf462bc # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bec0ad5cdd35b82b53dfdd3d20629684d1c112d8 # timeout=10 Commit message: "Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD" > git rev-list --no-walk f5aeb6614c21a3e0ce3156cc256a3d02faf462bc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-11T02:11:13.086Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-11T02:11:13.138Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-11T02:11:13.152Z] ========================================================= [2022-10-11T02:11:13.152Z] EdgeX Global Pipelines Version Info [2022-10-11T02:11:13.152Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:11:13.847Z] ------------------- [2022-10-11T02:11:13.847Z] stable info: [2022-10-11T02:11:13.847Z] ------------------- [2022-10-11T02:11:13.847Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-11T02:11:13.847Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-11T02:11:13.847Z] Message: update stable to v1.0.239 [2022-10-11T02:11:14.416Z] ------------------- [2022-10-11T02:11:14.416Z] experimental info: [2022-10-11T02:11:14.416Z] ------------------- [2022-10-11T02:11:14.416Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-11T02:11:14.416Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-11T02:11:14.416Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-11T02:11:14.576Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-11T02:11:14.591Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-11T02:11:14.606Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-11T02:11:14.616Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-11T02:11:14.627Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-11T02:11:14.641Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-11T02:11:14.650Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-11T02:11:14.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-11T02:11:14.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-11T02:11:14.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-11T02:11:14.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-11T02:11:14.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-11T02:11:14.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-11T02:11:14.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-11T02:11:14.754Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-11T02:11:14.764Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-11T02:11:14.777Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-11T02:11:14.788Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-11T02:11:14.799Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-11T02:11:14.814Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-11T02:11:14.828Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-11T02:11:14.839Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-11T02:11:14.850Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-11T02:11:14.861Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-11T02:11:14.871Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-11T02:11:14.890Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-11T02:11:14.905Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-11T02:11:14.916Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo [2022-10-11T02:11:14.928Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo [2022-10-11T02:11:14.941Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo [2022-10-11T02:11:14.952Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bec0ad5cdd35b82b53dfdd3d20629684d1c112d8 [Pipeline] echo [2022-10-11T02:11:14.967Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bec0ad5 [Pipeline] echo [2022-10-11T02:11:14.979Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-11T02:11:15.008Z] provisioning config files... [2022-10-11T02:11:15.020Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config8562878384628013774tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:11:15.323Z] ---> docker-login.sh [2022-10-11T02:11:15.323Z] nexus3.edgexfoundry.org:10001 [2022-10-11T02:11:15.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:11:15.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:11:15.583Z] Configure a credential helper to remove this warning. See [2022-10-11T02:11:15.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:11:15.583Z] [2022-10-11T02:11:15.583Z] Login Succeeded [2022-10-11T02:11:15.583Z] nexus3.edgexfoundry.org:10002 [2022-10-11T02:11:15.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:11:15.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:11:15.583Z] Configure a credential helper to remove this warning. See [2022-10-11T02:11:15.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:11:15.583Z] [2022-10-11T02:11:15.583Z] Login Succeeded [2022-10-11T02:11:15.583Z] nexus3.edgexfoundry.org:10003 [2022-10-11T02:11:15.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:11:15.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:11:15.844Z] Configure a credential helper to remove this warning. See [2022-10-11T02:11:15.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:11:15.844Z] [2022-10-11T02:11:15.844Z] Login Succeeded [2022-10-11T02:11:15.844Z] nexus3.edgexfoundry.org:10004 [2022-10-11T02:11:15.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:11:15.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:11:15.844Z] Configure a credential helper to remove this warning. See [2022-10-11T02:11:15.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:11:15.844Z] [2022-10-11T02:11:15.844Z] Login Succeeded [2022-10-11T02:11:15.844Z] docker.io [2022-10-11T02:11:16.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:11:16.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:11:16.365Z] Configure a credential helper to remove this warning. See [2022-10-11T02:11:16.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:11:16.365Z] [2022-10-11T02:11:16.365Z] Login Succeeded [2022-10-11T02:11:16.365Z] ---> docker-login.sh ends [Pipeline] } [2022-10-11T02:11:16.372Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-11T02:11:16.736Z] + git rev-list -1 --merges bec0ad5cdd35b82b53dfdd3d20629684d1c112d8~1..bec0ad5cdd35b82b53dfdd3d20629684d1c112d8 [Pipeline] echo [2022-10-11T02:11:16.764Z] -----------> git rev-list -1 --merges bec0ad5cdd35b82b53dfdd3d20629684d1c112d8~1..bec0ad5cdd35b82b53dfdd3d20629684d1c112d8 bec0ad5cdd35b82b53dfdd3d20629684d1c112d8 [2022-10-11T02:11:16.764Z] bec0ad5cdd35b82b53dfdd3d20629684d1c112d8 [false] [Pipeline] sh [2022-10-11T02:11:17.049Z] + git log --format=format:%s -1 bec0ad5cdd35b82b53dfdd3d20629684d1c112d8 [Pipeline] echo [2022-10-11T02:11:17.064Z] ========================================================= [2022-10-11T02:11:17.064Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-11T02:11:17.064Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-11T02:11:17.378Z] + git log --format=format:%s -1 bec0ad5cdd35b82b53dfdd3d20629684d1c112d8 [Pipeline] echo [2022-10-11T02:11:17.389Z] [semverPrep] GIT_COMMIT: bec0ad5cdd35b82b53dfdd3d20629684d1c112d8, Commit Message: Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD [Pipeline] echo [2022-10-11T02:11:17.397Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-11T02:11:17.728Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-11T02:11:17.728Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-11T02:11:17.728Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-11T02:11:17.728Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-11T02:11:17.728Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-11T02:11:17.728Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-11T02:11:17.728Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:11:18.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-11T02:11:18.068Z] [2022-10-11T02:11:18.068Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:11:18.371Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-11T02:11:18.371Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-11T02:11:18.371Z] b85a868b505f: Pulling fs layer [2022-10-11T02:11:18.371Z] e2be974225ed: Pulling fs layer [2022-10-11T02:11:18.371Z] 339a4e72a1f5: Pulling fs layer [2022-10-11T02:11:18.371Z] 988bab9f4d93: Pulling fs layer [2022-10-11T02:11:18.371Z] 1469e6f7b9e6: Pulling fs layer [2022-10-11T02:11:18.371Z] eaf3925da568: Pulling fs layer [2022-10-11T02:11:18.371Z] bab4dde63d76: Pulling fs layer [2022-10-11T02:11:18.371Z] bde34c3a00c8: Pulling fs layer [2022-10-11T02:11:18.371Z] b352a97aabf1: Pulling fs layer [2022-10-11T02:11:18.371Z] 4872d77fe225: Pulling fs layer [2022-10-11T02:11:18.371Z] 5851b861e8e6: Pulling fs layer [2022-10-11T02:11:18.371Z] bde34c3a00c8: Waiting [2022-10-11T02:11:18.371Z] bab4dde63d76: Waiting [2022-10-11T02:11:18.371Z] b352a97aabf1: Waiting [2022-10-11T02:11:18.371Z] 4872d77fe225: Waiting [2022-10-11T02:11:18.371Z] 988bab9f4d93: Waiting [2022-10-11T02:11:18.371Z] 5851b861e8e6: Waiting [2022-10-11T02:11:18.371Z] 1469e6f7b9e6: Waiting [2022-10-11T02:11:18.371Z] e2be974225ed: Verifying Checksum [2022-10-11T02:11:18.371Z] e2be974225ed: Download complete [2022-10-11T02:11:18.371Z] 988bab9f4d93: Verifying Checksum [2022-10-11T02:11:18.371Z] 988bab9f4d93: Download complete [2022-10-11T02:11:18.630Z] 1469e6f7b9e6: Verifying Checksum [2022-10-11T02:11:18.630Z] 1469e6f7b9e6: Download complete [2022-10-11T02:11:18.630Z] eaf3925da568: Verifying Checksum [2022-10-11T02:11:18.630Z] eaf3925da568: Download complete [2022-10-11T02:11:18.630Z] 339a4e72a1f5: Verifying Checksum [2022-10-11T02:11:18.630Z] 339a4e72a1f5: Download complete [2022-10-11T02:11:18.630Z] bde34c3a00c8: Download complete [2022-10-11T02:11:18.630Z] b352a97aabf1: Download complete [2022-10-11T02:11:18.630Z] 4872d77fe225: Verifying Checksum [2022-10-11T02:11:18.630Z] 4872d77fe225: Download complete [2022-10-11T02:11:18.630Z] 5851b861e8e6: Verifying Checksum [2022-10-11T02:11:18.630Z] 5851b861e8e6: Download complete [2022-10-11T02:11:18.630Z] b85a868b505f: Verifying Checksum [2022-10-11T02:11:18.630Z] b85a868b505f: Download complete [2022-10-11T02:11:18.889Z] bab4dde63d76: Verifying Checksum [2022-10-11T02:11:18.889Z] bab4dde63d76: Download complete [2022-10-11T02:11:19.833Z] b85a868b505f: Pull complete [2022-10-11T02:11:20.105Z] e2be974225ed: Pull complete [2022-10-11T02:11:20.675Z] 339a4e72a1f5: Pull complete [2022-10-11T02:11:20.675Z] 988bab9f4d93: Pull complete [2022-10-11T02:11:20.936Z] 1469e6f7b9e6: Pull complete [2022-10-11T02:11:20.936Z] eaf3925da568: Pull complete [2022-10-11T02:11:22.845Z] bab4dde63d76: Pull complete [2022-10-11T02:11:23.143Z] bde34c3a00c8: Pull complete [2022-10-11T02:11:23.143Z] b352a97aabf1: Pull complete [2022-10-11T02:11:23.143Z] 4872d77fe225: Pull complete [2022-10-11T02:11:23.417Z] 5851b861e8e6: Pull complete [2022-10-11T02:11:23.417Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-11T02:11:23.417Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-11T02:11:23.417Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T02:11:23.500Z] prd-ubuntu20.04-docker-8c-8g-7613 does not seem to be running inside a container [2022-10-11T02:11:23.532Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-11T02:11:26.134Z] $ docker top 31572f587ebc4c6eadaf747c6c7127fd4c1935e0883d27377468fcc4cdfa7664 -eo pid,comm [2022-10-11T02:11:26.190Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-11T02:11:26.190Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-11T02:11:26.224Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-11T02:11:26.224Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-11T02:11:26.341Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-11T02:11:26.344Z] $ docker exec 31572f587ebc4c6eadaf747c6c7127fd4c1935e0883d27377468fcc4cdfa7664 ssh-agent [2022-10-11T02:11:26.454Z] SSH_AUTH_SOCK=/tmp/ssh-SmEJYnxLEVJu/agent.32 [2022-10-11T02:11:26.454Z] SSH_AGENT_PID=38 [2022-10-11T02:11:26.461Z] Running ssh-add (command line suppressed) [2022-10-11T02:11:26.567Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_5928720253478677180.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_5928720253478677180.key) [2022-10-11T02:11:26.581Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-11T02:11:26.868Z] + git tag --points-at HEAD [Pipeline] } [2022-10-11T02:11:26.881Z] $ docker exec --env ******** --env ******** 31572f587ebc4c6eadaf747c6c7127fd4c1935e0883d27377468fcc4cdfa7664 ssh-agent -k [2022-10-11T02:11:26.973Z] unset SSH_AUTH_SOCK; [2022-10-11T02:11:26.974Z] unset SSH_AGENT_PID; [2022-10-11T02:11:26.974Z] echo Agent pid 38 killed; [2022-10-11T02:11:26.983Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-11T02:11:26.999Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-11T02:11:26.999Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-11T02:11:27.121Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-11T02:11:27.123Z] $ docker exec 31572f587ebc4c6eadaf747c6c7127fd4c1935e0883d27377468fcc4cdfa7664 ssh-agent [2022-10-11T02:11:27.239Z] SSH_AUTH_SOCK=/tmp/ssh-JHI1gIX3lt7K/agent.70 [2022-10-11T02:11:27.239Z] SSH_AGENT_PID=76 [2022-10-11T02:11:27.243Z] Running ssh-add (command line suppressed) [2022-10-11T02:11:27.358Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_10334117888521071810.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_10334117888521071810.key) [2022-10-11T02:11:27.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-11T02:11:27.659Z] + git semver init [2022-10-11T02:11:27.919Z] 2022-10-11 02:11:27,846 [run_init] DEBUG init version:0.0.0 force:False [2022-10-11T02:11:27.919Z] 2022-10-11 02:11:27,847 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-11T02:11:27.919Z] 2022-10-11 02:11:27,847 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-11T02:11:27.919Z] 2022-10-11 02:11:27,848 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-172/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-172, universal_newlines=False, shell=None, istream=None) [2022-10-11T02:11:29.298Z] 2022-10-11 02:11:28,860 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude [2022-10-11T02:11:29.298Z] 2022-10-11 02:11:28,861 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 with force:False [2022-10-11T02:11:29.298Z] 2022-10-11 02:11:28,861 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-11T02:11:29.298Z] 2022-10-11 02:11:28,865 [execute] INFO git cat-file --batch-check [2022-10-11T02:11:29.298Z] 2022-10-11 02:11:28,866 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) [2022-10-11T02:11:29.298Z] 2022-10-11 02:11:28,874 [execute] INFO git cat-file --batch [2022-10-11T02:11:29.298Z] 2022-10-11 02:11:28,874 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) [2022-10-11T02:11:29.298Z] 2022-10-11 02:11:28,881 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-11T02:11:29.298Z] 0.0.0 [Pipeline] } [2022-10-11T02:11:29.307Z] $ docker exec --env ******** --env ******** 31572f587ebc4c6eadaf747c6c7127fd4c1935e0883d27377468fcc4cdfa7664 ssh-agent -k [2022-10-11T02:11:29.402Z] unset SSH_AUTH_SOCK; [2022-10-11T02:11:29.402Z] unset SSH_AGENT_PID; [2022-10-11T02:11:29.403Z] echo Agent pid 76 killed; [2022-10-11T02:11:29.415Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-11T02:11:29.712Z] + git semver [Pipeline] } [2022-10-11T02:11:29.987Z] $ docker stop --time=1 31572f587ebc4c6eadaf747c6c7127fd4c1935e0883d27377468fcc4cdfa7664 [2022-10-11T02:11:31.271Z] $ docker rm -f 31572f587ebc4c6eadaf747c6c7127fd4c1935e0883d27377468fcc4cdfa7664 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-11T02:11:31.607Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-11T02:11:31.827Z] Stashed 1 file(s) [Pipeline] echo [2022-10-11T02:11:31.830Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-11T02:11:31.994Z] provisioning config files... [2022-10-11T02:11:32.006Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config2952043638578533678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:11:32.303Z] ---> docker-login.sh [2022-10-11T02:11:32.303Z] nexus3.edgexfoundry.org:10001 [2022-10-11T02:11:32.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:11:32.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:11:32.303Z] Configure a credential helper to remove this warning. See [2022-10-11T02:11:32.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:11:32.303Z] [2022-10-11T02:11:32.303Z] Login Succeeded [2022-10-11T02:11:32.303Z] nexus3.edgexfoundry.org:10002 [2022-10-11T02:11:32.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:11:32.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:11:32.303Z] Configure a credential helper to remove this warning. See [2022-10-11T02:11:32.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:11:32.303Z] [2022-10-11T02:11:32.303Z] Login Succeeded [2022-10-11T02:11:32.303Z] nexus3.edgexfoundry.org:10003 [2022-10-11T02:11:32.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:11:32.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:11:32.564Z] Configure a credential helper to remove this warning. See [2022-10-11T02:11:32.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:11:32.564Z] [2022-10-11T02:11:32.564Z] Login Succeeded [2022-10-11T02:11:32.564Z] nexus3.edgexfoundry.org:10004 [2022-10-11T02:11:32.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:11:32.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:11:32.564Z] Configure a credential helper to remove this warning. See [2022-10-11T02:11:32.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:11:32.564Z] [2022-10-11T02:11:32.564Z] Login Succeeded [2022-10-11T02:11:32.564Z] docker.io [2022-10-11T02:11:32.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:11:33.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:11:33.084Z] Configure a credential helper to remove this warning. See [2022-10-11T02:11:33.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:11:33.084Z] [2022-10-11T02:11:33.084Z] Login Succeeded [2022-10-11T02:11:33.084Z] ---> docker-login.sh ends [Pipeline] } [2022-10-11T02:11:33.091Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-11T02:11:33.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-11T02:11:33.156Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-11T02:11:33.162Z] ========================================================= [2022-10-11T02:11:33.162Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-11T02:11:33.162Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:11:33.474Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-11T02:11:33.474Z] Sending build context to Docker daemon 20.82MB [2022-10-11T02:11:33.474Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-11T02:11:33.474Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-11T02:11:33.735Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-11T02:11:33.735Z] 213ec9aee27d: Pulling fs layer [2022-10-11T02:11:33.735Z] 4583459ba037: Pulling fs layer [2022-10-11T02:11:33.735Z] 93c1e223e6f2: Pulling fs layer [2022-10-11T02:11:33.735Z] 53926ce57604: Pulling fs layer [2022-10-11T02:11:33.735Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-11T02:11:33.735Z] 30f14e443154: Pulling fs layer [2022-10-11T02:11:33.735Z] 801331c1e519: Pulling fs layer [2022-10-11T02:11:33.735Z] 99cc6dd402b0: Pulling fs layer [2022-10-11T02:11:33.735Z] 7d9ed39f4882: Pulling fs layer [2022-10-11T02:11:33.735Z] 21b2b0c7a3f4: Waiting [2022-10-11T02:11:33.735Z] 7d9ed39f4882: Waiting [2022-10-11T02:11:33.735Z] 99cc6dd402b0: Waiting [2022-10-11T02:11:33.735Z] 30f14e443154: Waiting [2022-10-11T02:11:33.735Z] 93c1e223e6f2: Verifying Checksum [2022-10-11T02:11:33.735Z] 93c1e223e6f2: Download complete [2022-10-11T02:11:33.735Z] 4583459ba037: Download complete [2022-10-11T02:11:33.735Z] 21b2b0c7a3f4: Download complete [2022-10-11T02:11:33.735Z] 30f14e443154: Download complete [2022-10-11T02:11:33.735Z] 213ec9aee27d: Download complete [2022-10-11T02:11:33.735Z] 801331c1e519: Download complete [2022-10-11T02:11:34.010Z] 213ec9aee27d: Pull complete [2022-10-11T02:11:34.010Z] 4583459ba037: Pull complete [2022-10-11T02:11:34.010Z] 93c1e223e6f2: Pull complete [2022-10-11T02:11:34.605Z] 7d9ed39f4882: Verifying Checksum [2022-10-11T02:11:34.605Z] 7d9ed39f4882: Download complete [2022-10-11T02:11:34.605Z] 53926ce57604: Verifying Checksum [2022-10-11T02:11:34.605Z] 53926ce57604: Download complete [2022-10-11T02:11:34.863Z] 99cc6dd402b0: Verifying Checksum [2022-10-11T02:11:34.863Z] 99cc6dd402b0: Download complete [2022-10-11T02:11:39.050Z] 53926ce57604: Pull complete [2022-10-11T02:11:39.050Z] 21b2b0c7a3f4: Pull complete [2022-10-11T02:11:39.050Z] 30f14e443154: Pull complete [2022-10-11T02:11:39.050Z] 801331c1e519: Pull complete [2022-10-11T02:11:40.947Z] 99cc6dd402b0: Pull complete [2022-10-11T02:11:41.512Z] 7d9ed39f4882: Pull complete [2022-10-11T02:11:41.512Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-11T02:11:41.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-11T02:11:41.512Z] ---> 1dedd983c030 [2022-10-11T02:11:41.512Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-11T02:11:45.710Z] ---> Running in 9ecf61a6b39f [2022-10-11T02:11:45.710Z] Removing intermediate container 9ecf61a6b39f [2022-10-11T02:11:45.710Z] ---> a2383b777a1c [2022-10-11T02:11:45.710Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-11T02:11:45.710Z] ---> Running in 18f4a80bf9d4 [2022-10-11T02:11:45.710Z] Removing intermediate container 18f4a80bf9d4 [2022-10-11T02:11:45.710Z] ---> af2d91e508ff [2022-10-11T02:11:45.710Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-11T02:11:45.710Z] ---> Running in 9bd1ffbfb25b [2022-10-11T02:11:45.710Z] Removing intermediate container 9bd1ffbfb25b [2022-10-11T02:11:45.710Z] ---> 78caad62332f [2022-10-11T02:11:45.710Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-11T02:11:45.710Z] ---> Running in f99492ac2dbf [2022-10-11T02:11:45.710Z] Removing intermediate container f99492ac2dbf [2022-10-11T02:11:45.710Z] ---> c367882fca7d [2022-10-11T02:11:45.710Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-11T02:11:45.710Z] ---> Running in 6a688df39f0b [2022-10-11T02:11:45.710Z] Removing intermediate container 6a688df39f0b [2022-10-11T02:11:45.710Z] ---> 3b0564bcf2c9 [2022-10-11T02:11:45.710Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-11T02:11:45.710Z] ---> Running in 9faed52f346b [2022-10-11T02:11:45.970Z] Removing intermediate container 9faed52f346b [2022-10-11T02:11:45.970Z] ---> f37439787243 [2022-10-11T02:11:45.970Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-11T02:11:45.970Z] ---> Running in f46866d70955 [2022-10-11T02:11:46.232Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-11T02:11:46.946Z] Still waiting to schedule task [2022-10-11T02:11:46.946Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7610’ [2022-10-11T02:11:47.169Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-11T02:11:47.427Z] OK: 211 MiB in 51 packages [2022-10-11T02:11:47.688Z] Removing intermediate container f46866d70955 [2022-10-11T02:11:47.688Z] ---> 3050eaff9d7a [2022-10-11T02:11:47.688Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-11T02:11:47.688Z] ---> Running in 9df6a58d9c7a [2022-10-11T02:11:47.949Z] Removing intermediate container 9df6a58d9c7a [2022-10-11T02:11:47.949Z] ---> 1354173d5ffd [2022-10-11T02:11:47.949Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-11T02:11:47.949Z] ---> d8595ac5400c [2022-10-11T02:11:47.949Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-11T02:11:47.949Z] ---> Running in ea084a55439d [2022-10-11T02:12:09.904Z] Removing intermediate container ea084a55439d [2022-10-11T02:12:09.904Z] ---> 70011b781bd7 [2022-10-11T02:12:09.904Z] Step 13/14 : COPY . . [2022-10-11T02:12:09.904Z] ---> d4da89c7f191 [2022-10-11T02:12:09.904Z] Step 14/14 : RUN ${MAKE} [2022-10-11T02:12:09.904Z] ---> Running in 96de3f1c69ee [2022-10-11T02:12:09.904Z] noop [2022-10-11T02:12:09.904Z] Removing intermediate container 96de3f1c69ee [2022-10-11T02:12:09.904Z] ---> 402ff5d004ff [2022-10-11T02:12:09.904Z] Successfully built 402ff5d004ff [2022-10-11T02:12:09.904Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:12:10.216Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-11T02:12:10.216Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T02:12:10.285Z] prd-ubuntu20.04-docker-8c-8g-7613 does not seem to be running inside a container [2022-10-11T02:12:10.340Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-11T02:12:10.693Z] $ docker top c46e5105a0aefe905cb2340bc3cb1161963104acd4f704848df2e82c5fbe7634 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T02:12:11.076Z] + go version [2022-10-11T02:12:11.076Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-11T02:12:11.087Z] $ docker stop --time=1 c46e5105a0aefe905cb2340bc3cb1161963104acd4f704848df2e82c5fbe7634 [2022-10-11T02:12:12.329Z] $ docker rm -f c46e5105a0aefe905cb2340bc3cb1161963104acd4f704848df2e82c5fbe7634 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:12:12.725Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-11T02:12:12.725Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T02:12:12.801Z] prd-ubuntu20.04-docker-8c-8g-7613 does not seem to be running inside a container [2022-10-11T02:12:12.835Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-11T02:12:13.164Z] $ docker top 6e24478212cbf31fb4f7901df12409888f4a2a9f77a765a598a86ac617320362 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T02:12:13.520Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh [2022-10-11T02:12:13.820Z] + make test [2022-10-11T02:12:13.820Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-11T02:12:14.077Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-11T02:12:24.055Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-11T02:12:24.987Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.035s coverage: 28.2% of statements [2022-10-11T02:12:24.987Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-11T02:12:24.987Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.230s coverage: 86.5% of statements [2022-10-11T02:12:33.093Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-11T02:12:33.093Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-11T02:12:36.370Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-11T02:12:36.370Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-11T02:12:36.370Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-11T02:12:36.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-11T02:12:36.646Z] $ docker stop --time=1 6e24478212cbf31fb4f7901df12409888f4a2a9f77a765a598a86ac617320362 [2022-10-11T02:12:39.191Z] $ docker rm -f 6e24478212cbf31fb4f7901df12409888f4a2a9f77a765a598a86ac617320362 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-11T02:12:39.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-11T02:12:39.671Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-11T02:12:40.093Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-11T02:12:40.376Z] + ls -al . [2022-10-11T02:12:40.377Z] total 236 [2022-10-11T02:12:40.377Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 02:12 . [2022-10-11T02:12:40.377Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:11 .. [2022-10-11T02:12:40.377Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 02:12 .git [2022-10-11T02:12:40.377Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 02:11 .github [2022-10-11T02:12:40.377Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 11 02:11 .gitignore [2022-10-11T02:12:40.377Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 11 02:11 .golangci.yml [2022-10-11T02:12:40.377Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 02:11 .semver [2022-10-11T02:12:40.377Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 11 02:11 Attribution.txt [2022-10-11T02:12:40.377Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 11 02:11 CHANGELOG.md [2022-10-11T02:12:40.377Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 11 02:11 Dockerfile [2022-10-11T02:12:40.377Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 02:11 GOVERNANCE.md [2022-10-11T02:12:40.377Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 11 02:11 Jenkinsfile [2022-10-11T02:12:40.377Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 11 02:11 LICENSE [2022-10-11T02:12:40.377Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 11 02:11 Makefile [2022-10-11T02:12:40.377Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 11 02:11 OWNERS.md [2022-10-11T02:12:40.377Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 11 02:11 README.md [2022-10-11T02:12:40.377Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 02:11 VERSION [2022-10-11T02:12:40.377Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 02:11 bin [2022-10-11T02:12:40.377Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 02:11 cmd [2022-10-11T02:12:40.377Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 11 02:12 coverage.out [2022-10-11T02:12:40.377Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 11 02:11 doc [2022-10-11T02:12:40.377Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 11 02:11 go.mod [2022-10-11T02:12:40.377Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 11 02:11 go.sum [2022-10-11T02:12:40.377Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:11 internal [2022-10-11T02:12:40.377Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:11 snap [2022-10-11T02:12:40.377Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 11 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:12:40.688Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=bec0ad5cdd35b82b53dfdd3d20629684d1c112d8 --label arch=amd64 --label version=0.0.0 . [2022-10-11T02:12:40.688Z] Sending build context to Docker daemon 20.9MB [2022-10-11T02:12:40.688Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-11T02:12:40.688Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-11T02:12:40.688Z] ---> 402ff5d004ff [2022-10-11T02:12:40.688Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-11T02:12:40.947Z] ---> Running in 9ee2c889b5a8 [2022-10-11T02:12:40.947Z] Removing intermediate container 9ee2c889b5a8 [2022-10-11T02:12:40.947Z] ---> eb5a3f44ec74 [2022-10-11T02:12:40.947Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-11T02:12:41.206Z] ---> Running in 83fb4424257c [2022-10-11T02:12:41.206Z] Removing intermediate container 83fb4424257c [2022-10-11T02:12:41.206Z] ---> cd90ebd13c6c [2022-10-11T02:12:41.206Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-11T02:12:41.206Z] ---> Running in f7b71a250c52 [2022-10-11T02:12:41.206Z] Removing intermediate container f7b71a250c52 [2022-10-11T02:12:41.206Z] ---> 1781bc99c17f [2022-10-11T02:12:41.206Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-11T02:12:41.206Z] ---> Running in b97a078a2beb [2022-10-11T02:12:41.206Z] Removing intermediate container b97a078a2beb [2022-10-11T02:12:41.206Z] ---> a220cf5722cf [2022-10-11T02:12:41.206Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-11T02:12:41.464Z] ---> Running in bd9dafa01a81 [2022-10-11T02:12:41.464Z] Removing intermediate container bd9dafa01a81 [2022-10-11T02:12:41.464Z] ---> e10d3fc0bc3c [2022-10-11T02:12:41.464Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-11T02:12:41.464Z] ---> Running in 7c529f0ffd8c [2022-10-11T02:12:42.031Z] Removing intermediate container 7c529f0ffd8c [2022-10-11T02:12:42.031Z] ---> 8fed25b0c432 [2022-10-11T02:12:42.031Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-11T02:12:42.031Z] ---> Running in 973e8c152688 [2022-10-11T02:12:42.289Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-11T02:12:43.224Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-11T02:12:43.487Z] OK: 211 MiB in 51 packages [2022-10-11T02:12:43.745Z] Removing intermediate container 973e8c152688 [2022-10-11T02:12:43.745Z] ---> 92d5ee17a169 [2022-10-11T02:12:43.745Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-11T02:12:43.745Z] ---> Running in bd4a529a2dc7 [2022-10-11T02:12:43.745Z] Removing intermediate container bd4a529a2dc7 [2022-10-11T02:12:43.745Z] ---> 279279185e20 [2022-10-11T02:12:43.745Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-11T02:12:44.004Z] ---> 966804f431ad [2022-10-11T02:12:44.004Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-11T02:12:44.004Z] ---> Running in 60c327c54dfb [2022-10-11T02:12:44.570Z] Removing intermediate container 60c327c54dfb [2022-10-11T02:12:44.570Z] ---> 456f80d24548 [2022-10-11T02:12:44.570Z] Step 13/27 : COPY . . [2022-10-11T02:12:45.183Z] ---> c7cd9b223486 [2022-10-11T02:12:45.183Z] Step 14/27 : RUN ${MAKE} [2022-10-11T02:12:45.183Z] ---> Running in 7165fc89ac31 [2022-10-11T02:12:45.441Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-11T02:13:11.972Z] Removing intermediate container 7165fc89ac31 [2022-10-11T02:13:11.972Z] ---> bf94cff8b90b [2022-10-11T02:13:11.972Z] Step 15/27 : FROM alpine:3.16 [2022-10-11T02:13:11.972Z] 3.16: Pulling from library/alpine [2022-10-11T02:13:11.972Z] 213ec9aee27d: Already exists [2022-10-11T02:13:11.972Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-11T02:13:11.972Z] Status: Downloaded newer image for alpine:3.16 [2022-10-11T02:13:11.972Z] ---> 9c6f07244728 [2022-10-11T02:13:11.972Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-11T02:13:11.972Z] ---> Running in aacd53d2653b [2022-10-11T02:13:11.972Z] Removing intermediate container aacd53d2653b [2022-10-11T02:13:11.972Z] ---> 9a32f6650e6c [2022-10-11T02:13:11.972Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-11T02:13:11.972Z] ---> Running in e8f698d5188f [2022-10-11T02:13:11.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-11T02:13:11.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-11T02:13:11.972Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-11T02:13:11.972Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-11T02:13:11.972Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-11T02:13:11.972Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-11T02:13:11.972Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-11T02:13:11.972Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-11T02:13:11.972Z] Executing busybox-1.35.0-r17.trigger [2022-10-11T02:13:11.972Z] OK: 8 MiB in 20 packages [2022-10-11T02:13:11.972Z] Removing intermediate container e8f698d5188f [2022-10-11T02:13:11.972Z] ---> e2d5d935fdfa [2022-10-11T02:13:11.972Z] Step 18/27 : WORKDIR / [2022-10-11T02:13:11.972Z] ---> Running in e06ab0931ae7 [2022-10-11T02:13:11.972Z] Removing intermediate container e06ab0931ae7 [2022-10-11T02:13:11.972Z] ---> 5c00650aee65 [2022-10-11T02:13:11.972Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-11T02:13:11.972Z] ---> d9f49469830b [2022-10-11T02:13:11.972Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-11T02:13:11.972Z] ---> c6af2fee58be [2022-10-11T02:13:11.972Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-11T02:13:11.972Z] ---> 370797ffcb42 [2022-10-11T02:13:11.972Z] Step 22/27 : EXPOSE 59984 [2022-10-11T02:13:11.972Z] ---> Running in 14ffa923122f [2022-10-11T02:13:11.972Z] Removing intermediate container 14ffa923122f [2022-10-11T02:13:11.972Z] ---> d4aed52ab05f [2022-10-11T02:13:11.972Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-11T02:13:11.972Z] ---> Running in 1225661ece3a [2022-10-11T02:13:11.972Z] Removing intermediate container 1225661ece3a [2022-10-11T02:13:11.972Z] ---> 7250cfa1e72c [2022-10-11T02:13:11.972Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-11T02:13:11.972Z] ---> Running in 48999b6d3f3b [2022-10-11T02:13:11.972Z] Removing intermediate container 48999b6d3f3b [2022-10-11T02:13:11.972Z] ---> 177c26a8a161 [2022-10-11T02:13:11.972Z] Step 25/27 : LABEL arch=amd64 [2022-10-11T02:13:12.230Z] ---> Running in d7c8ec1f7e0f [2022-10-11T02:13:12.230Z] Removing intermediate container d7c8ec1f7e0f [2022-10-11T02:13:12.230Z] ---> adebc8b8861b [2022-10-11T02:13:12.230Z] Step 26/27 : LABEL git_sha=bec0ad5cdd35b82b53dfdd3d20629684d1c112d8 [2022-10-11T02:13:12.230Z] ---> Running in 7635b08cfc86 [2022-10-11T02:13:12.230Z] Removing intermediate container 7635b08cfc86 [2022-10-11T02:13:12.230Z] ---> 6eecacb1df60 [2022-10-11T02:13:12.230Z] Step 27/27 : LABEL version=0.0.0 [2022-10-11T02:13:12.230Z] ---> Running in 6bd3ec445427 [2022-10-11T02:13:12.488Z] Removing intermediate container 6bd3ec445427 [2022-10-11T02:13:12.488Z] ---> e8fe3fa73f18 [2022-10-11T02:13:12.488Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-11T02:13:12.488Z] Successfully built e8fe3fa73f18 [2022-10-11T02:13:12.488Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:13:12.877Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T02:13:12.878Z] [2022-10-11T02:13:12.878Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:13:13.176Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T02:13:13.177Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-11T02:13:13.177Z] 5eb5b503b376: Pulling fs layer [2022-10-11T02:13:13.177Z] 5c69ac0246d0: Pulling fs layer [2022-10-11T02:13:13.177Z] ec43610c2a17: Pulling fs layer [2022-10-11T02:13:13.177Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-11T02:13:13.177Z] 33b1e0a273af: Pulling fs layer [2022-10-11T02:13:13.177Z] 5d3b04190fa2: Pulling fs layer [2022-10-11T02:13:13.177Z] 2f39f015ded8: Pulling fs layer [2022-10-11T02:13:13.177Z] 2f39f015ded8: Waiting [2022-10-11T02:13:13.177Z] 3a2ae6a8a46f: Waiting [2022-10-11T02:13:13.177Z] 33b1e0a273af: Waiting [2022-10-11T02:13:13.177Z] 5d3b04190fa2: Waiting [2022-10-11T02:13:13.177Z] 5c69ac0246d0: Download complete [2022-10-11T02:13:13.177Z] 3a2ae6a8a46f: Download complete [2022-10-11T02:13:13.177Z] 33b1e0a273af: Verifying Checksum [2022-10-11T02:13:13.177Z] 33b1e0a273af: Download complete [2022-10-11T02:13:13.177Z] 5d3b04190fa2: Download complete [2022-10-11T02:13:13.437Z] ec43610c2a17: Download complete [2022-10-11T02:13:13.437Z] 5eb5b503b376: Verifying Checksum [2022-10-11T02:13:13.437Z] 5eb5b503b376: Download complete [2022-10-11T02:13:14.001Z] 2f39f015ded8: Download complete [2022-10-11T02:13:14.567Z] 5eb5b503b376: Pull complete [2022-10-11T02:13:14.827Z] 5c69ac0246d0: Pull complete [2022-10-11T02:13:15.408Z] ec43610c2a17: Pull complete [2022-10-11T02:13:15.408Z] 3a2ae6a8a46f: Pull complete [2022-10-11T02:13:15.408Z] 33b1e0a273af: Pull complete [2022-10-11T02:13:15.666Z] 5d3b04190fa2: Pull complete [2022-10-11T02:13:19.856Z] 2f39f015ded8: Pull complete [2022-10-11T02:13:19.856Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-11T02:13:19.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T02:13:19.856Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T02:13:19.927Z] prd-ubuntu20.04-docker-8c-8g-7613 does not seem to be running inside a container [2022-10-11T02:13:19.957Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-11T02:13:23.290Z] $ docker top fc5442d46014752c57fba134b8cb4831bcf37d2fbb949ada0777474687da7714 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:13:23.692Z] ---> job-cost.sh [2022-10-11T02:13:23.692Z] lf-activate-venv: SKIPPING [2022-10-11T02:13:23.692Z] INFO: No Stack... [2022-10-11T02:13:24.258Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-11T02:13:24.517Z] INFO: Archiving Costs [Pipeline] sh [2022-10-11T02:13:24.803Z] + + cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv [2022-10-11T02:13:24.804Z] cut -d, -f6 [Pipeline] lock [2022-10-11T02:13:24.817Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-18-stack-cost] [2022-10-11T02:13:24.823Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-18-stack-cost] did not exist. Created. [2022-10-11T02:13:24.823Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-11T02:13:25.121Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-11T02:13:25.153Z] Stashed 1 file(s) [Pipeline] } [2022-10-11T02:13:25.163Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-11T02:13:25.178Z] $ docker stop --time=1 fc5442d46014752c57fba134b8cb4831bcf37d2fbb949ada0777474687da7714 [2022-10-11T02:13:26.326Z] $ docker rm -f fc5442d46014752c57fba134b8cb4831bcf37d2fbb949ada0777474687da7714 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-11T02:14:45.913Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7616 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws [2022-10-11T02:14:45.930Z] Running in /w/workspace/device-onvif-camera/18 [Pipeline] { [Pipeline] checkout [2022-10-11T02:14:45.971Z] The recommended git tool is: git [2022-10-11T02:14:52.053Z] using credential edgex-jenkins-ssh [2022-10-11T02:14:52.080Z] Cloning the remote Git repository [2022-10-11T02:14:52.144Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-11T02:14:52.240Z] > git init /w/workspace/device-onvif-camera/18 # timeout=10 [2022-10-11T02:14:52.417Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-11T02:14:52.418Z] > git --version # timeout=10 [2022-10-11T02:14:52.451Z] > git --version # 'git version 2.25.1' [2022-10-11T02:14:52.453Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-11T02:14:52.514Z] Verifying host key using known hosts file [2022-10-11T02:14:52.744Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-11T02:14:52.756Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-11T02:14:54.079Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-11T02:14:54.100Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-11T02:14:55.953Z] Merging remotes/origin/main commit 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 into PR head commit f5aeb6614c21a3e0ce3156cc256a3d02faf462bc [2022-10-11T02:14:55.186Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-11T02:14:55.244Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-11T02:14:55.245Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-11T02:14:55.251Z] Verifying host key using known hosts file [2022-10-11T02:14:55.259Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-11T02:14:55.273Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-11T02:14:55.976Z] > git config core.sparsecheckout # timeout=10 [2022-10-11T02:14:55.994Z] > git checkout -f f5aeb6614c21a3e0ce3156cc256a3d02faf462bc # timeout=10 [2022-10-11T02:14:56.804Z] Merge succeeded, producing 6dada69a304883f628695afc678d555d26423245 [2022-10-11T02:14:56.804Z] Checking out Revision 6dada69a304883f628695afc678d555d26423245 (PR-172) [2022-10-11T02:14:56.243Z] > git remote # timeout=10 [2022-10-11T02:14:56.261Z] > git config --get remote.origin.url # timeout=10 [2022-10-11T02:14:56.283Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-11T02:14:56.289Z] Verifying host key using known hosts file [2022-10-11T02:14:56.293Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-11T02:14:56.303Z] > git merge 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 # timeout=10 [2022-10-11T02:14:56.786Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-11T02:14:56.812Z] > git config core.sparsecheckout # timeout=10 [2022-10-11T02:14:56.827Z] > git checkout -f 6dada69a304883f628695afc678d555d26423245 # timeout=10 [2022-10-11T02:15:00.678Z] Commit message: "Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD" [2022-10-11T02:15:00.690Z] > git rev-list --no-walk f5aeb6614c21a3e0ce3156cc256a3d02faf462bc # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-11T02:15:01.798Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-11T02:15:01.798Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-11T02:15:01.798Z] Dload Upload Total Spent Left Speed [2022-10-11T02:15:01.798Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 186k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh [2022-10-11T02:15:02.535Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-11T02:15:02.898Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-11T02:15:02.898Z] + sudo tee /etc/docker/daemon.new [2022-10-11T02:15:02.898Z] { [2022-10-11T02:15:02.898Z] "registry-mirrors": [ [2022-10-11T02:15:02.898Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-11T02:15:02.898Z] ], [2022-10-11T02:15:02.898Z] "bip": "10.250.0.254/24", [2022-10-11T02:15:02.898Z] "hosts": [ [2022-10-11T02:15:02.898Z] "tcp://0.0.0.0:5555", [2022-10-11T02:15:02.898Z] "unix:///var/run/docker.sock" [2022-10-11T02:15:02.898Z] ], [2022-10-11T02:15:02.898Z] "mtu": 1458, [2022-10-11T02:15:02.898Z] "selinux-enabled": true, [2022-10-11T02:15:02.898Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-11T02:15:02.898Z] } [Pipeline] sh [2022-10-11T02:15:03.251Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-11T02:15:03.590Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-11T02:15:21.899Z] provisioning config files... [2022-10-11T02:15:21.926Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/18@tmp/config17891053046552312368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:15:22.280Z] ---> docker-login.sh [2022-10-11T02:15:22.280Z] nexus3.edgexfoundry.org:10001 [2022-10-11T02:15:22.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:15:22.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:15:22.868Z] Configure a credential helper to remove this warning. See [2022-10-11T02:15:22.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:15:22.868Z] [2022-10-11T02:15:22.868Z] Login Succeeded [2022-10-11T02:15:22.869Z] nexus3.edgexfoundry.org:10002 [2022-10-11T02:15:23.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:15:23.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:15:23.403Z] Configure a credential helper to remove this warning. See [2022-10-11T02:15:23.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:15:23.403Z] [2022-10-11T02:15:23.403Z] Login Succeeded [2022-10-11T02:15:23.403Z] nexus3.edgexfoundry.org:10003 [2022-10-11T02:15:23.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:15:23.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:15:23.671Z] Configure a credential helper to remove this warning. See [2022-10-11T02:15:23.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:15:23.671Z] [2022-10-11T02:15:23.671Z] Login Succeeded [2022-10-11T02:15:23.671Z] nexus3.edgexfoundry.org:10004 [2022-10-11T02:15:23.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:15:23.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:15:23.939Z] Configure a credential helper to remove this warning. See [2022-10-11T02:15:23.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:15:23.939Z] [2022-10-11T02:15:23.939Z] Login Succeeded [2022-10-11T02:15:23.939Z] docker.io [2022-10-11T02:15:24.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-11T02:15:24.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-11T02:15:24.791Z] Configure a credential helper to remove this warning. See [2022-10-11T02:15:24.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-11T02:15:24.791Z] [2022-10-11T02:15:24.791Z] Login Succeeded [2022-10-11T02:15:24.791Z] ---> docker-login.sh ends [Pipeline] } [2022-10-11T02:15:24.805Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-11T02:15:24.970Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-11T02:15:24.983Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-11T02:15:24.993Z] ========================================================= [2022-10-11T02:15:24.993Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-11T02:15:24.993Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:15:25.325Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-11T02:15:25.600Z] Sending build context to Docker daemon 14.24MB [2022-10-11T02:15:25.870Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-11T02:15:25.870Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-11T02:15:25.870Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-11T02:15:25.870Z] 9b18e9b68314: Pulling fs layer [2022-10-11T02:15:25.870Z] d32db5db7311: Pulling fs layer [2022-10-11T02:15:25.870Z] d0c4b47475fc: Pulling fs layer [2022-10-11T02:15:25.870Z] 5831b945b038: Pulling fs layer [2022-10-11T02:15:25.870Z] 86bbec2aaacd: Pulling fs layer [2022-10-11T02:15:25.870Z] e10730c5d714: Pulling fs layer [2022-10-11T02:15:25.870Z] 5dd5c2283517: Pulling fs layer [2022-10-11T02:15:25.870Z] d5ac0230b979: Pulling fs layer [2022-10-11T02:15:25.870Z] e10730c5d714: Waiting [2022-10-11T02:15:25.870Z] 5831b945b038: Waiting [2022-10-11T02:15:25.870Z] 5dd5c2283517: Waiting [2022-10-11T02:15:25.870Z] d5ac0230b979: Waiting [2022-10-11T02:15:25.870Z] 86bbec2aaacd: Waiting [2022-10-11T02:15:25.870Z] d0c4b47475fc: Verifying Checksum [2022-10-11T02:15:25.870Z] d0c4b47475fc: Download complete [2022-10-11T02:15:25.870Z] d32db5db7311: Verifying Checksum [2022-10-11T02:15:25.870Z] d32db5db7311: Download complete [2022-10-11T02:15:25.870Z] 86bbec2aaacd: Verifying Checksum [2022-10-11T02:15:25.870Z] 86bbec2aaacd: Download complete [2022-10-11T02:15:26.142Z] e10730c5d714: Download complete [2022-10-11T02:15:26.142Z] 9b18e9b68314: Verifying Checksum [2022-10-11T02:15:26.142Z] 9b18e9b68314: Download complete [2022-10-11T02:15:27.116Z] 9b18e9b68314: Pull complete [2022-10-11T02:15:27.116Z] d5ac0230b979: Verifying Checksum [2022-10-11T02:15:27.116Z] d5ac0230b979: Download complete [2022-10-11T02:15:27.385Z] d32db5db7311: Pull complete [2022-10-11T02:15:27.973Z] d0c4b47475fc: Pull complete [2022-10-11T02:15:28.240Z] 5dd5c2283517: Verifying Checksum [2022-10-11T02:15:28.240Z] 5dd5c2283517: Download complete [2022-10-11T02:15:28.823Z] 5831b945b038: Verifying Checksum [2022-10-11T02:15:28.823Z] 5831b945b038: Download complete [2022-10-11T02:15:41.154Z] 5831b945b038: Pull complete [2022-10-11T02:15:41.154Z] 86bbec2aaacd: Pull complete [2022-10-11T02:15:41.154Z] e10730c5d714: Pull complete [2022-10-11T02:15:45.420Z] 5dd5c2283517: Pull complete [2022-10-11T02:15:47.369Z] d5ac0230b979: Pull complete [2022-10-11T02:15:47.369Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-11T02:15:47.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-11T02:15:47.369Z] ---> 59b3b1a385d4 [2022-10-11T02:15:47.369Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-11T02:15:49.316Z] ---> Running in e1479bf37287 [2022-10-11T02:15:49.583Z] Removing intermediate container e1479bf37287 [2022-10-11T02:15:49.583Z] ---> 35b43d188173 [2022-10-11T02:15:49.583Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-11T02:15:49.583Z] ---> Running in 5757710b526e [2022-10-11T02:15:49.850Z] Removing intermediate container 5757710b526e [2022-10-11T02:15:49.850Z] ---> 04f65e66fe5f [2022-10-11T02:15:49.850Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-11T02:15:50.117Z] ---> Running in 06ee9545ddf9 [2022-10-11T02:15:50.387Z] Removing intermediate container 06ee9545ddf9 [2022-10-11T02:15:50.387Z] ---> d7e7180c75a7 [2022-10-11T02:15:50.387Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-11T02:15:50.387Z] ---> Running in 39712bccfadd [2022-10-11T02:15:50.659Z] Removing intermediate container 39712bccfadd [2022-10-11T02:15:50.659Z] ---> 06944be208b2 [2022-10-11T02:15:50.659Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-11T02:15:50.926Z] ---> Running in 75cc5539f86e [2022-10-11T02:15:51.194Z] Removing intermediate container 75cc5539f86e [2022-10-11T02:15:51.194Z] ---> 757951e272dc [2022-10-11T02:15:51.194Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-11T02:15:51.194Z] ---> Running in 79dac7d788ff [2022-10-11T02:15:53.146Z] Removing intermediate container 79dac7d788ff [2022-10-11T02:15:53.146Z] ---> d2749a5f51d4 [2022-10-11T02:15:53.146Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-11T02:15:53.146Z] ---> Running in 8bd343ef107b [2022-10-11T02:15:54.113Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-11T02:15:55.078Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-11T02:15:56.045Z] OK: 221 MiB in 51 packages [2022-10-11T02:15:57.008Z] Removing intermediate container 8bd343ef107b [2022-10-11T02:15:57.008Z] ---> 64a5c162e7ee [2022-10-11T02:15:57.008Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-11T02:15:57.279Z] ---> Running in 5733bf0e3f90 [2022-10-11T02:15:57.548Z] Removing intermediate container 5733bf0e3f90 [2022-10-11T02:15:57.548Z] ---> 51d310702758 [2022-10-11T02:15:57.548Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-11T02:15:58.136Z] ---> 621889f47625 [2022-10-11T02:15:58.136Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-11T02:15:58.136Z] ---> Running in 32399427de1d [2022-10-11T02:16:54.587Z] Removing intermediate container 32399427de1d [2022-10-11T02:16:54.587Z] ---> f4b3ff504eb1 [2022-10-11T02:16:54.587Z] Step 13/14 : COPY . . [2022-10-11T02:16:54.587Z] ---> f3089babd578 [2022-10-11T02:16:54.587Z] Step 14/14 : RUN ${MAKE} [2022-10-11T02:16:54.587Z] ---> Running in 725ba5274ba3 [2022-10-11T02:16:54.587Z] noop [2022-10-11T02:16:54.587Z] Removing intermediate container 725ba5274ba3 [2022-10-11T02:16:54.587Z] ---> 842dc5d02a39 [2022-10-11T02:16:54.587Z] Successfully built 842dc5d02a39 [2022-10-11T02:16:54.587Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:16:54.947Z] + docker inspect -f . ci-base-image-arm64 [2022-10-11T02:16:54.947Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T02:16:55.147Z] prd-ubuntu20.04-docker-arm64-4c-16g-7616 does not seem to be running inside a container [2022-10-11T02:16:55.218Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-11T02:16:56.520Z] $ docker top 82f46ed57760a83366eb4165392d2a3288da4efd856974c259e063bf0fcb0ce3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T02:16:57.389Z] + go version [2022-10-11T02:16:57.389Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-11T02:16:57.410Z] $ docker stop --time=1 82f46ed57760a83366eb4165392d2a3288da4efd856974c259e063bf0fcb0ce3 [2022-10-11T02:16:59.102Z] $ docker rm -f 82f46ed57760a83366eb4165392d2a3288da4efd856974c259e063bf0fcb0ce3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:16:59.675Z] + docker inspect -f . ci-base-image-arm64 [2022-10-11T02:16:59.675Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T02:16:59.885Z] prd-ubuntu20.04-docker-arm64-4c-16g-7616 does not seem to be running inside a container [2022-10-11T02:16:59.965Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-11T02:17:01.243Z] $ docker top 3b6648e2b1486ebe0c57ded8ed0a08e94fcecd01097c1dc47facafbbf8962c8f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T02:17:02.108Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/18 [Pipeline] fileExists [Pipeline] sh [2022-10-11T02:17:02.762Z] + make test [2022-10-11T02:17:02.762Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-11T02:17:04.717Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-11T02:18:56.422Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-11T02:18:59.027Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.241s coverage: 28.2% of statements [2022-10-11T02:18:59.027Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-11T02:19:11.366Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.160s coverage: 86.5% of statements [2022-10-11T02:19:11.366Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-11T02:19:11.366Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-11T02:19:50.286Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-11T02:19:50.286Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-11T02:19:50.286Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-11T02:19:50.307Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-11T02:19:50.323Z] $ docker stop --time=1 3b6648e2b1486ebe0c57ded8ed0a08e94fcecd01097c1dc47facafbbf8962c8f [2022-10-11T02:19:52.510Z] $ docker rm -f 3b6648e2b1486ebe0c57ded8ed0a08e94fcecd01097c1dc47facafbbf8962c8f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-11T02:19:53.754Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-11T02:19:53.769Z] Warning: overwriting stash ‘coverage-report’ [2022-10-11T02:19:54.343Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-11T02:19:54.735Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-11T02:19:55.059Z] + ls -al . [2022-10-11T02:19:55.059Z] total 232 [2022-10-11T02:19:55.060Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 11 02:17 . [2022-10-11T02:19:55.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:14 .. [2022-10-11T02:19:55.060Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 02:14 .git [2022-10-11T02:19:55.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 02:14 .github [2022-10-11T02:19:55.060Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 11 02:14 .gitignore [2022-10-11T02:19:55.060Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 11 02:14 .golangci.yml [2022-10-11T02:19:55.060Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 11 02:14 Attribution.txt [2022-10-11T02:19:55.060Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 11 02:14 CHANGELOG.md [2022-10-11T02:19:55.060Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 11 02:14 Dockerfile [2022-10-11T02:19:55.060Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 02:14 GOVERNANCE.md [2022-10-11T02:19:55.060Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 11 02:14 Jenkinsfile [2022-10-11T02:19:55.060Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 11 02:14 LICENSE [2022-10-11T02:19:55.060Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 11 02:14 Makefile [2022-10-11T02:19:55.060Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 11 02:14 OWNERS.md [2022-10-11T02:19:55.060Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 11 02:14 README.md [2022-10-11T02:19:55.060Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 02:11 VERSION [2022-10-11T02:19:55.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 02:14 bin [2022-10-11T02:19:55.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 02:14 cmd [2022-10-11T02:19:55.060Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 11 02:19 coverage.out [2022-10-11T02:19:55.060Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 11 02:14 doc [2022-10-11T02:19:55.060Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 11 02:14 go.mod [2022-10-11T02:19:55.060Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 11 02:14 go.sum [2022-10-11T02:19:55.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:14 internal [2022-10-11T02:19:55.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:14 snap [2022-10-11T02:19:55.060Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 11 02:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:19:55.520Z] + 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=6dada69a304883f628695afc678d555d26423245 --label arch=arm64 --label version=0.0.0 . [2022-10-11T02:19:56.537Z] Sending build context to Docker daemon 14.32MB [2022-10-11T02:19:56.537Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-11T02:19:56.537Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-11T02:19:56.537Z] ---> 842dc5d02a39 [2022-10-11T02:19:56.537Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-11T02:19:56.537Z] ---> Running in bbb04337201d [2022-10-11T02:19:57.182Z] Removing intermediate container bbb04337201d [2022-10-11T02:19:57.182Z] ---> dccef08c78ec [2022-10-11T02:19:57.182Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-11T02:19:57.497Z] ---> Running in 9107c4f99067 [2022-10-11T02:19:57.808Z] Removing intermediate container 9107c4f99067 [2022-10-11T02:19:57.808Z] ---> f2779a6d1944 [2022-10-11T02:19:57.808Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-11T02:19:58.093Z] ---> Running in 4cc74be61097 [2022-10-11T02:19:58.419Z] Removing intermediate container 4cc74be61097 [2022-10-11T02:19:58.419Z] ---> a0666d4d8394 [2022-10-11T02:19:58.419Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-11T02:19:58.688Z] ---> Running in 3f9377e779b2 [2022-10-11T02:19:59.278Z] Removing intermediate container 3f9377e779b2 [2022-10-11T02:19:59.278Z] ---> 5f114ae94e9c [2022-10-11T02:19:59.278Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-11T02:19:59.548Z] ---> Running in 2ad037b7eeb0 [2022-10-11T02:19:59.823Z] Removing intermediate container 2ad037b7eeb0 [2022-10-11T02:19:59.823Z] ---> 2ad92aa26c34 [2022-10-11T02:19:59.823Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-11T02:20:00.094Z] ---> Running in fbbdb9644114 [2022-10-11T02:20:04.382Z] Removing intermediate container fbbdb9644114 [2022-10-11T02:20:04.382Z] ---> d0c4f2b2d4e2 [2022-10-11T02:20:04.382Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-11T02:20:04.666Z] ---> Running in 705313b33149 [2022-10-11T02:20:05.639Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-11T02:20:06.612Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-11T02:20:08.033Z] OK: 221 MiB in 51 packages [2022-10-11T02:20:09.003Z] Removing intermediate container 705313b33149 [2022-10-11T02:20:09.003Z] ---> 092844b2d68b [2022-10-11T02:20:09.003Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-11T02:20:09.003Z] ---> Running in beed159ba85b [2022-10-11T02:20:09.273Z] Removing intermediate container beed159ba85b [2022-10-11T02:20:09.273Z] ---> 92168863e069 [2022-10-11T02:20:09.273Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-11T02:20:09.862Z] ---> 9cc2ddb0f5de [2022-10-11T02:20:09.862Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-11T02:20:09.862Z] ---> Running in c8d58eb74208 [2022-10-11T02:20:12.454Z] Removing intermediate container c8d58eb74208 [2022-10-11T02:20:12.454Z] ---> 575c0b97f9e4 [2022-10-11T02:20:12.454Z] Step 13/27 : COPY . . [2022-10-11T02:20:13.874Z] ---> e06354a82bde [2022-10-11T02:20:13.874Z] Step 14/27 : RUN ${MAKE} [2022-10-11T02:20:13.874Z] ---> Running in ddd046e5585c [2022-10-11T02:20:14.839Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-11T02:23:06.618Z] Removing intermediate container ddd046e5585c [2022-10-11T02:23:06.619Z] ---> f41d2aff098d [2022-10-11T02:23:06.619Z] Step 15/27 : FROM alpine:3.16 [2022-10-11T02:23:06.619Z] 3.16: Pulling from library/alpine [2022-10-11T02:23:06.619Z] 9b18e9b68314: Already exists [2022-10-11T02:23:06.619Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-11T02:23:06.619Z] Status: Downloaded newer image for alpine:3.16 [2022-10-11T02:23:06.619Z] ---> a6215f271958 [2022-10-11T02:23:06.619Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-11T02:23:06.619Z] ---> Running in ce36d502b2e0 [2022-10-11T02:23:06.619Z] Removing intermediate container ce36d502b2e0 [2022-10-11T02:23:06.619Z] ---> 48e6eb4a898c [2022-10-11T02:23:06.619Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-11T02:23:06.619Z] ---> Running in 8490cfe3a7c3 [2022-10-11T02:23:06.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-11T02:23:06.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-11T02:23:06.619Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-11T02:23:06.619Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-11T02:23:06.619Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-11T02:23:06.619Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-11T02:23:06.619Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-11T02:23:06.619Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-11T02:23:06.619Z] Executing busybox-1.35.0-r17.trigger [2022-10-11T02:23:06.619Z] OK: 8 MiB in 20 packages [2022-10-11T02:23:06.619Z] Removing intermediate container 8490cfe3a7c3 [2022-10-11T02:23:06.619Z] ---> 7a7cabb71652 [2022-10-11T02:23:06.619Z] Step 18/27 : WORKDIR / [2022-10-11T02:23:06.619Z] ---> Running in 2d6afbf52cb0 [2022-10-11T02:23:06.619Z] Removing intermediate container 2d6afbf52cb0 [2022-10-11T02:23:06.619Z] ---> 44449b60b0e5 [2022-10-11T02:23:06.619Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-11T02:23:06.619Z] ---> e47f1820d25e [2022-10-11T02:23:06.619Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-11T02:23:06.619Z] ---> 9971f61cccfc [2022-10-11T02:23:06.619Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-11T02:23:06.619Z] ---> 8f1eb1819b50 [2022-10-11T02:23:06.619Z] Step 22/27 : EXPOSE 59984 [2022-10-11T02:23:06.619Z] ---> Running in 7f9da250f085 [2022-10-11T02:23:06.619Z] Removing intermediate container 7f9da250f085 [2022-10-11T02:23:06.619Z] ---> fd8312f6a523 [2022-10-11T02:23:06.619Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-11T02:23:06.619Z] ---> Running in 72df90933e14 [2022-10-11T02:23:06.619Z] Removing intermediate container 72df90933e14 [2022-10-11T02:23:06.619Z] ---> 9b863052f710 [2022-10-11T02:23:06.619Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-11T02:23:06.619Z] ---> Running in f33e05c9b892 [2022-10-11T02:23:06.619Z] Removing intermediate container f33e05c9b892 [2022-10-11T02:23:06.619Z] ---> b32082911199 [2022-10-11T02:23:06.619Z] Step 25/27 : LABEL arch=arm64 [2022-10-11T02:23:06.619Z] ---> Running in 0b79d55406cf [2022-10-11T02:23:06.619Z] Removing intermediate container 0b79d55406cf [2022-10-11T02:23:06.619Z] ---> 29644fb89dab [2022-10-11T02:23:06.619Z] Step 26/27 : LABEL git_sha=6dada69a304883f628695afc678d555d26423245 [2022-10-11T02:23:06.619Z] ---> Running in f84e73114c4b [2022-10-11T02:23:06.619Z] Removing intermediate container f84e73114c4b [2022-10-11T02:23:06.619Z] ---> 4fd8c5bb9cd7 [2022-10-11T02:23:06.619Z] Step 27/27 : LABEL version=0.0.0 [2022-10-11T02:23:06.619Z] ---> Running in ce12ca700631 [2022-10-11T02:23:06.619Z] Removing intermediate container ce12ca700631 [2022-10-11T02:23:06.619Z] ---> 991ea32c5555 [2022-10-11T02:23:06.619Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-11T02:23:06.619Z] Successfully built 991ea32c5555 [2022-10-11T02:23:06.619Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:23:07.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-11T02:23:07.067Z] [2022-10-11T02:23:07.067Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:23:07.402Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-11T02:23:07.403Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-11T02:23:07.403Z] 8998bd30e6a1: Pulling fs layer [2022-10-11T02:23:07.403Z] 04944245beec: Pulling fs layer [2022-10-11T02:23:07.403Z] 699f458cf7ca: Pulling fs layer [2022-10-11T02:23:07.403Z] 765212b225bb: Pulling fs layer [2022-10-11T02:23:07.403Z] f23df028b6ca: Pulling fs layer [2022-10-11T02:23:07.403Z] d65c8cfc05b1: Pulling fs layer [2022-10-11T02:23:07.403Z] 2437ff75d9bd: Pulling fs layer [2022-10-11T02:23:07.403Z] f23df028b6ca: Waiting [2022-10-11T02:23:07.403Z] d65c8cfc05b1: Waiting [2022-10-11T02:23:07.403Z] 2437ff75d9bd: Waiting [2022-10-11T02:23:07.403Z] 765212b225bb: Waiting [2022-10-11T02:23:07.671Z] 04944245beec: Verifying Checksum [2022-10-11T02:23:07.671Z] 04944245beec: Download complete [2022-10-11T02:23:07.671Z] 765212b225bb: Verifying Checksum [2022-10-11T02:23:07.671Z] 765212b225bb: Download complete [2022-10-11T02:23:07.671Z] f23df028b6ca: Verifying Checksum [2022-10-11T02:23:07.671Z] f23df028b6ca: Download complete [2022-10-11T02:23:07.942Z] d65c8cfc05b1: Verifying Checksum [2022-10-11T02:23:07.942Z] d65c8cfc05b1: Download complete [2022-10-11T02:23:07.942Z] 699f458cf7ca: Verifying Checksum [2022-10-11T02:23:07.942Z] 699f458cf7ca: Download complete [2022-10-11T02:23:08.211Z] 8998bd30e6a1: Verifying Checksum [2022-10-11T02:23:08.211Z] 8998bd30e6a1: Download complete [2022-10-11T02:23:10.799Z] 2437ff75d9bd: Verifying Checksum [2022-10-11T02:23:10.799Z] 2437ff75d9bd: Download complete [2022-10-11T02:23:12.754Z] 8998bd30e6a1: Pull complete [2022-10-11T02:23:13.022Z] 04944245beec: Pull complete [2022-10-11T02:23:14.445Z] 699f458cf7ca: Pull complete [2022-10-11T02:23:14.715Z] 765212b225bb: Pull complete [2022-10-11T02:23:15.302Z] f23df028b6ca: Pull complete [2022-10-11T02:23:15.571Z] d65c8cfc05b1: Pull complete [2022-10-11T02:23:30.567Z] 2437ff75d9bd: Pull complete [2022-10-11T02:23:30.567Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-11T02:23:30.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-11T02:23:30.567Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T02:23:30.754Z] prd-ubuntu20.04-docker-arm64-4c-16g-7616 does not seem to be running inside a container [2022-10-11T02:23:30.827Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/18 -v /w/workspace/device-onvif-camera/18:/w/workspace/device-onvif-camera/18:rw,z -v /w/workspace/device-onvif-camera/18@tmp:/w/workspace/device-onvif-camera/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-11T02:23:33.628Z] $ docker top a710396a43e2889b225409ff9da0ff4e87daae7365d16f4c61a50e25cccc797c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:23:34.500Z] ---> job-cost.sh [2022-10-11T02:23:34.500Z] lf-activate-venv: SKIPPING [2022-10-11T02:23:34.500Z] INFO: No Stack... [2022-10-11T02:23:35.084Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-11T02:23:35.669Z] INFO: Archiving Costs [Pipeline] sh [2022-10-11T02:23:36.311Z] + cat /w/workspace/device-onvif-camera/18/archives/cost.csv [2022-10-11T02:23:36.311Z] + cut -d, -f6 [Pipeline] lock [2022-10-11T02:23:36.383Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-18-stack-cost] [2022-10-11T02:23:36.389Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-18-stack-cost] did not exist. Created. [2022-10-11T02:23:36.390Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-11T02:23:37.062Z] /w/workspace/device-onvif-camera/18@tmp/durable-18f957eb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-11T02:23:37.715Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-11T02:23:37.735Z] Warning: overwriting stash ‘stack-cost’ [2022-10-11T02:23:37.804Z] Stashed 1 file(s) [Pipeline] } [2022-10-11T02:23:37.813Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-11T02:23:37.829Z] $ docker stop --time=1 a710396a43e2889b225409ff9da0ff4e87daae7365d16f4c61a50e25cccc797c [2022-10-11T02:23:39.378Z] $ docker rm -f a710396a43e2889b225409ff9da0ff4e87daae7365d16f4c61a50e25cccc797c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-11T02:23:39.732Z] provisioning config files... [2022-10-11T02:23:39.740Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config2144543838425490125tmp [Pipeline] { [Pipeline] sh [2022-10-11T02:23:40.035Z] + set +x [2022-10-11T02:23:40.035Z] + + curl -s https://codecov.io/bash [2022-10-11T02:23:40.035Z] bash -s -- [2022-10-11T02:23:40.035Z] [2022-10-11T02:23:40.035Z] _____ _ [2022-10-11T02:23:40.035Z] / ____| | | [2022-10-11T02:23:40.035Z] | | ___ __| | ___ ___ _____ __ [2022-10-11T02:23:40.035Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-11T02:23:40.035Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-11T02:23:40.035Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-11T02:23:40.035Z] Bash-1.0.6 [2022-10-11T02:23:40.035Z] [2022-10-11T02:23:40.035Z] [2022-10-11T02:23:40.035Z] ==> git version 2.25.1 found [2022-10-11T02:23:40.035Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-11T02:23:40.035Z] Release-Date: 2020-01-08 [2022-10-11T02:23:40.035Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-11T02:23:40.035Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-11T02:23:40.035Z] ==> Jenkins CI detected. [2022-10-11T02:23:40.035Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-172 [2022-10-11T02:23:40.035Z] project root: . [2022-10-11T02:23:40.035Z] --> token set from env [2022-10-11T02:23:40.035Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-11T02:23:40.035Z] ==> Running gcov in . (disable via -X gcov) [2022-10-11T02:23:40.035Z] ==> Python coveragepy not found [2022-10-11T02:23:40.035Z] ==> Searching for coverage reports in: [2022-10-11T02:23:40.035Z] + . [2022-10-11T02:23:40.035Z] -> Found 1 reports [2022-10-11T02:23:40.035Z] ==> Detecting git/mercurial file structure [2022-10-11T02:23:40.035Z] ==> Reading reports [2022-10-11T02:23:40.035Z] + ./coverage.out bytes=78636 [2022-10-11T02:23:40.035Z] ==> Appending adjustments [2022-10-11T02:23:40.035Z] https://docs.codecov.io/docs/fixing-reports [2022-10-11T02:23:40.293Z] + Found adjustments [2022-10-11T02:23:40.293Z] ==> Gzipping contents [2022-10-11T02:23:40.293Z] 12K /tmp/codecov.6XKFlX.gz [2022-10-11T02:23:40.293Z] ==> Uploading reports [2022-10-11T02:23:40.293Z] url: https://codecov.io [2022-10-11T02:23:40.293Z] query: branch=PR-172&commit=bec0ad5cdd35b82b53dfdd3d20629684d1c112d8&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= [2022-10-11T02:23:40.293Z] -> Pinging Codecov [2022-10-11T02:23:40.293Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-172&commit=bec0ad5cdd35b82b53dfdd3d20629684d1c112d8&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= [2022-10-11T02:23:40.552Z] -> Uploading to [2022-10-11T02:23:40.552Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-11/F29A59C45E3A92E06B3E522C9905F8EF/bec0ad5cdd35b82b53dfdd3d20629684d1c112d8/57b75649-204a-4164-a61a-14dc107bda0f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221011%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221011T022340Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e91dfa32e4b947df3cb38d446338ffe269685e4e57d2adb3f66bc286d24fefad [2022-10-11T02:23:40.552Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-11T02:23:40.552Z] Dload Upload Total Spent Left Speed [2022-10-11T02:23:40.812Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10674 0 0 100 10674 0 48518 --:--:-- --:--:-- --:--:-- 48298 100 10674 0 0 100 10674 0 41858 --:--:-- --:--:-- --:--:-- 41695 [2022-10-11T02:23:40.812Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/bec0ad5cdd35b82b53dfdd3d20629684d1c112d8 [Pipeline] } [2022-10-11T02:23:40.819Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-11T02:23:41.489Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] [2022-10-11T02:23:41.489Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-11T02:23:41.489Z] total 16 [2022-10-11T02:23:41.489Z] drwxr-xr-x 3 root root 4096 Oct 11 02:13 . [2022-10-11T02:23:41.489Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 02:13 .. [2022-10-11T02:23:41.489Z] drwxr-xr-x 2 root root 4096 Oct 11 02:13 cost [2022-10-11T02:23:41.489Z] -rw-r--r-- 1 root root 92 Oct 11 02:13 cost.csv [2022-10-11T02:23:41.489Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-11T02:23:41.489Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-11T02:23:41.489Z] total 16 [2022-10-11T02:23:41.489Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 02:13 . [2022-10-11T02:23:41.489Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 02:13 .. [2022-10-11T02:23:41.489Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 11 02:13 cost [2022-10-11T02:23:41.489Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 11 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:23:41.776Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:23:42.641Z] ---> package-listing.sh [2022-10-11T02:23:42.641Z] ++ facter osfamily [2022-10-11T02:23:42.641Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-11T02:23:42.900Z] + OS_FAMILY=debian [2022-10-11T02:23:42.900Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-172 [2022-10-11T02:23:42.900Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-11T02:23:42.900Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-11T02:23:42.900Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-11T02:23:42.900Z] + PACKAGES=/tmp/packages_start.txt [2022-10-11T02:23:42.900Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-11T02:23:42.900Z] + PACKAGES=/tmp/packages_end.txt [2022-10-11T02:23:42.900Z] + case "${OS_FAMILY}" in [2022-10-11T02:23:42.900Z] + dpkg -l [2022-10-11T02:23:42.900Z] + grep '^ii' [2022-10-11T02:23:42.900Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-11T02:23:42.900Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-11T02:23:42.900Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-11T02:23:42.900Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-11T02:23:42.900Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ [2022-10-11T02:23:42.900Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-172/archives/ [Pipeline] echo [2022-10-11T02:23:42.911Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-11T02:23:43.191Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-11T02:23:43.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-11T02:23:43.757Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-11T02:23:43.824Z] prd-ubuntu20.04-docker-8c-8g-7613 does not seem to be running inside a container [2022-10-11T02:23:43.854Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-11T02:23:44.056Z] $ docker top ceeaf965183d8eef22f1aa59eee8933b0b8d1725b90399289f568eb0a9e76a6d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-11T02:23:44.409Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-11T02:23:44.698Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-11T02:23:44.986Z] + ls /var/log/sa-host [2022-10-11T02:23:44.986Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-11T02:23:45.066Z] provisioning config files... [2022-10-11T02:23:45.076Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config2777105757192861614tmp [Pipeline] { [Pipeline] echo [2022-10-11T02:23:45.088Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:23:45.371Z] ---> create-netrc.sh [Pipeline] } [2022-10-11T02:23:45.379Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:23:45.712Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-11T02:23:45.722Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:23:46.007Z] ---> sudo-logs.sh [2022-10-11T02:23:46.007Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-11T02:23:46.033Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:23:46.316Z] ---> job-cost.sh [2022-10-11T02:23:46.316Z] lf-activate-venv: SKIPPING [2022-10-11T02:23:46.316Z] DEBUG: total: 0.2199999988079071 [2022-10-11T02:23:46.316Z] INFO: Retrieving Stack Cost... [2022-10-11T02:23:46.575Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-11T02:23:47.143Z] INFO: Archiving Costs [Pipeline] echo [2022-10-11T02:23:47.154Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-11T02:23:47.434Z] ---> logs-deploy.sh [2022-10-11T02:23:47.434Z] lf-activate-venv: SKIPPING [2022-10-11T02:23:47.434Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/18 [2022-10-11T02:23:47.434Z] INFO: archiving workspace using pattern(s): [2022-10-11T02:23:48.370Z] Archives upload complete. [2022-10-11T02:23:48.632Z] INFO: archiving logs to Nexus [2022-10-11T02:23:49.199Z] ---> uname -a: [2022-10-11T02:23:49.199Z] Linux prd-ubuntu20-04-docker-8c-8g-7613 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-11T02:23:49.199Z] [2022-10-11T02:23:49.199Z] [2022-10-11T02:23:49.199Z] ---> lscpu: [2022-10-11T02:23:49.199Z] Architecture: x86_64 [2022-10-11T02:23:49.199Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-11T02:23:49.199Z] Byte Order: Little Endian [2022-10-11T02:23:49.199Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-11T02:23:49.199Z] CPU(s): 8 [2022-10-11T02:23:49.199Z] On-line CPU(s) list: 0-7 [2022-10-11T02:23:49.199Z] Thread(s) per core: 1 [2022-10-11T02:23:49.200Z] Core(s) per socket: 1 [2022-10-11T02:23:49.200Z] Socket(s): 8 [2022-10-11T02:23:49.200Z] NUMA node(s): 1 [2022-10-11T02:23:49.200Z] Vendor ID: AuthenticAMD [2022-10-11T02:23:49.200Z] CPU family: 23 [2022-10-11T02:23:49.200Z] Model: 49 [2022-10-11T02:23:49.200Z] Model name: AMD EPYC-Rome Processor [2022-10-11T02:23:49.200Z] Stepping: 0 [2022-10-11T02:23:49.200Z] CPU MHz: 2799.998 [2022-10-11T02:23:49.200Z] BogoMIPS: 5599.99 [2022-10-11T02:23:49.200Z] Virtualization: AMD-V [2022-10-11T02:23:49.200Z] Hypervisor vendor: KVM [2022-10-11T02:23:49.200Z] Virtualization type: full [2022-10-11T02:23:49.200Z] L1d cache: 256 KiB [2022-10-11T02:23:49.200Z] L1i cache: 256 KiB [2022-10-11T02:23:49.200Z] L2 cache: 4 MiB [2022-10-11T02:23:49.200Z] L3 cache: 128 MiB [2022-10-11T02:23:49.200Z] NUMA node0 CPU(s): 0-7 [2022-10-11T02:23:49.200Z] Vulnerability Itlb multihit: Not affected [2022-10-11T02:23:49.200Z] Vulnerability L1tf: Not affected [2022-10-11T02:23:49.200Z] Vulnerability Mds: Not affected [2022-10-11T02:23:49.200Z] Vulnerability Meltdown: Not affected [2022-10-11T02:23:49.200Z] Vulnerability Mmio stale data: Not affected [2022-10-11T02:23:49.200Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-11T02:23:49.200Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-11T02:23:49.200Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-11T02:23:49.200Z] Vulnerability Srbds: Not affected [2022-10-11T02:23:49.200Z] Vulnerability Tsx async abort: Not affected [2022-10-11T02:23:49.200Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-10-11T02:23:49.200Z] [2022-10-11T02:23:49.200Z] [2022-10-11T02:23:49.200Z] ---> nproc: [2022-10-11T02:23:49.200Z] 8 [2022-10-11T02:23:49.200Z] [2022-10-11T02:23:49.200Z] [2022-10-11T02:23:49.200Z] ---> df -h: [2022-10-11T02:23:49.200Z] Filesystem Size Used Avail Use% Mounted on [2022-10-11T02:23:49.200Z] overlay 155G 12G 144G 8% / [2022-10-11T02:23:49.200Z] tmpfs 64M 0 64M 0% /dev [2022-10-11T02:23:49.200Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-10-11T02:23:49.200Z] shm 64M 0 64M 0% /dev/shm [2022-10-11T02:23:49.200Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-10-11T02:23:49.200Z] [2022-10-11T02:23:49.200Z]