Pull request #153 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 07d7568c4aa69296c110ad64a28331e8173121ad rather than 545cfd39798b37ada86d59f19ec036b5a5c3f131 Obtained Jenkinsfile from 07d7568c4aa69296c110ad64a28331e8173121ad 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-ssh9245467604745749285.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-ssh16692019042097806868.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-153/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-153/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18440628325325821451.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-ssh16428404247951446669.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-153/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-153/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4922648571769837469.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 Running on prd-ubuntu20.04-docker-8c-8g-1448 in /w/workspace/undry_device-onvif-camera_PR-153 [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-153 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub 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/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 07d7568c4aa69296c110ad64a28331e8173121ad into PR head commit 545cfd39798b37ada86d59f19ec036b5a5c3f131 Merge succeeded, producing 8dfebd766bc653af52d6a32b3627e9af7d6b5fbe Checking out Revision 8dfebd766bc653af52d6a32b3627e9af7d6b5fbe (PR-153) > git config core.sparsecheckout # timeout=10 > git checkout -f 545cfd39798b37ada86d59f19ec036b5a5c3f131 # 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 07d7568c4aa69296c110ad64a28331e8173121ad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8dfebd766bc653af52d6a32b3627e9af7d6b5fbe # timeout=10 Commit message: "Merge commit '07d7568c4aa69296c110ad64a28331e8173121ad' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 507d6b9fe01fe487c783864e4ed4aa7553d0a326 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-27T22:43:12.088Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-27T22:43:12.134Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-27T22:43:12.148Z] ========================================================= [2022-09-27T22:43:12.148Z] EdgeX Global Pipelines Version Info [2022-09-27T22:43:12.148Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-27T22:43:12.853Z] ------------------- [2022-09-27T22:43:12.853Z] stable info: [2022-09-27T22:43:12.853Z] ------------------- [2022-09-27T22:43:12.853Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-27T22:43:12.853Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T22:43:12.853Z] Message: update stable to v1.0.239 [2022-09-27T22:43:13.422Z] ------------------- [2022-09-27T22:43:13.422Z] experimental info: [2022-09-27T22:43:13.422Z] ------------------- [2022-09-27T22:43:13.422Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-27T22:43:13.422Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-27T22:43:13.422Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-27T22:43:13.591Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-27T22:43:13.602Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-27T22:43:13.613Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-27T22:43:13.630Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-27T22:43:13.638Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-27T22:43:13.649Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-27T22:43:13.659Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-27T22:43:13.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-27T22:43:13.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-27T22:43:13.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-27T22:43:13.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-27T22:43:13.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-27T22:43:13.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-27T22:43:13.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-27T22:43:13.750Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T22:43:13.762Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-27T22:43:13.776Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T22:43:13.787Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-27T22:43:13.801Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-27T22:43:13.818Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-27T22:43:13.836Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-27T22:43:13.845Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-27T22:43:13.856Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-27T22:43:13.867Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-27T22:43:13.879Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-27T22:43:13.893Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-27T22:43:13.903Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-27T22:43:13.916Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-153 [Pipeline] echo [2022-09-27T22:43:13.930Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-153 [Pipeline] echo [2022-09-27T22:43:13.939Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-153 [Pipeline] echo [2022-09-27T22:43:13.951Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8dfebd766bc653af52d6a32b3627e9af7d6b5fbe [Pipeline] echo [2022-09-27T22:43:13.964Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8dfebd7 [Pipeline] echo [2022-09-27T22:43:13.977Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T22:43:14.013Z] provisioning config files... [2022-09-27T22:43:14.026Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config3334260785502387367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T22:43:14.326Z] ---> docker-login.sh [2022-09-27T22:43:14.326Z] nexus3.edgexfoundry.org:10001 [2022-09-27T22:43:14.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T22:43:15.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T22:43:15.157Z] Configure a credential helper to remove this warning. See [2022-09-27T22:43:15.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T22:43:15.157Z] [2022-09-27T22:43:15.157Z] Login Succeeded [2022-09-27T22:43:15.157Z] nexus3.edgexfoundry.org:10002 [2022-09-27T22:43:15.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T22:43:15.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T22:43:15.157Z] Configure a credential helper to remove this warning. See [2022-09-27T22:43:15.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T22:43:15.157Z] [2022-09-27T22:43:15.157Z] Login Succeeded [2022-09-27T22:43:15.157Z] nexus3.edgexfoundry.org:10003 [2022-09-27T22:43:15.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T22:43:15.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T22:43:15.417Z] Configure a credential helper to remove this warning. See [2022-09-27T22:43:15.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T22:43:15.417Z] [2022-09-27T22:43:15.417Z] Login Succeeded [2022-09-27T22:43:15.417Z] nexus3.edgexfoundry.org:10004 [2022-09-27T22:43:15.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T22:43:15.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T22:43:15.417Z] Configure a credential helper to remove this warning. See [2022-09-27T22:43:15.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T22:43:15.417Z] [2022-09-27T22:43:15.417Z] Login Succeeded [2022-09-27T22:43:15.417Z] docker.io [2022-09-27T22:43:15.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T22:43:15.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T22:43:15.937Z] Configure a credential helper to remove this warning. See [2022-09-27T22:43:15.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T22:43:15.937Z] [2022-09-27T22:43:15.937Z] Login Succeeded [2022-09-27T22:43:15.937Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T22:43:15.946Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-27T22:43:16.322Z] + git rev-list -1 --merges 8dfebd766bc653af52d6a32b3627e9af7d6b5fbe~1..8dfebd766bc653af52d6a32b3627e9af7d6b5fbe [Pipeline] echo [2022-09-27T22:43:16.348Z] -----------> git rev-list -1 --merges 8dfebd766bc653af52d6a32b3627e9af7d6b5fbe~1..8dfebd766bc653af52d6a32b3627e9af7d6b5fbe 8dfebd766bc653af52d6a32b3627e9af7d6b5fbe [2022-09-27T22:43:16.348Z] 8dfebd766bc653af52d6a32b3627e9af7d6b5fbe [false] [Pipeline] sh [2022-09-27T22:43:16.637Z] + git log --format=format:%s -1 8dfebd766bc653af52d6a32b3627e9af7d6b5fbe [Pipeline] echo [2022-09-27T22:43:16.650Z] ========================================================= [2022-09-27T22:43:16.650Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-27T22:43:16.650Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T22:43:16.965Z] + git log --format=format:%s -1 8dfebd766bc653af52d6a32b3627e9af7d6b5fbe [Pipeline] echo [2022-09-27T22:43:16.976Z] [semverPrep] GIT_COMMIT: 8dfebd766bc653af52d6a32b3627e9af7d6b5fbe, Commit Message: Merge commit '07d7568c4aa69296c110ad64a28331e8173121ad' into HEAD [Pipeline] echo [2022-09-27T22:43:16.985Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-27T22:43:17.335Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-27T22:43:17.335Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-27T22:43:17.335Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-27T22:43:17.335Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-27T22:43:17.335Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-27T22:43:17.335Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-27T22:43:17.335Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T22:43:17.820Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T22:43:17.820Z] [2022-09-27T22:43:17.820Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T22:43:18.115Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T22:43:18.115Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-27T22:43:18.115Z] b85a868b505f: Pulling fs layer [2022-09-27T22:43:18.115Z] e2be974225ed: Pulling fs layer [2022-09-27T22:43:18.115Z] 339a4e72a1f5: Pulling fs layer [2022-09-27T22:43:18.115Z] 988bab9f4d93: Pulling fs layer [2022-09-27T22:43:18.115Z] 1469e6f7b9e6: Pulling fs layer [2022-09-27T22:43:18.115Z] eaf3925da568: Pulling fs layer [2022-09-27T22:43:18.115Z] bab4dde63d76: Pulling fs layer [2022-09-27T22:43:18.115Z] bde34c3a00c8: Pulling fs layer [2022-09-27T22:43:18.115Z] b352a97aabf1: Pulling fs layer [2022-09-27T22:43:18.115Z] 4872d77fe225: Pulling fs layer [2022-09-27T22:43:18.115Z] 5851b861e8e6: Pulling fs layer [2022-09-27T22:43:18.115Z] bde34c3a00c8: Waiting [2022-09-27T22:43:18.115Z] 988bab9f4d93: Waiting [2022-09-27T22:43:18.115Z] b352a97aabf1: Waiting [2022-09-27T22:43:18.115Z] 4872d77fe225: Waiting [2022-09-27T22:43:18.115Z] bab4dde63d76: Waiting [2022-09-27T22:43:18.115Z] 1469e6f7b9e6: Waiting [2022-09-27T22:43:18.115Z] 5851b861e8e6: Waiting [2022-09-27T22:43:18.115Z] eaf3925da568: Waiting [2022-09-27T22:43:18.115Z] e2be974225ed: Download complete [2022-09-27T22:43:18.115Z] 988bab9f4d93: Verifying Checksum [2022-09-27T22:43:18.115Z] 988bab9f4d93: Download complete [2022-09-27T22:43:18.115Z] 1469e6f7b9e6: Verifying Checksum [2022-09-27T22:43:18.115Z] 1469e6f7b9e6: Download complete [2022-09-27T22:43:18.374Z] 339a4e72a1f5: Verifying Checksum [2022-09-27T22:43:18.374Z] 339a4e72a1f5: Download complete [2022-09-27T22:43:18.374Z] eaf3925da568: Verifying Checksum [2022-09-27T22:43:18.374Z] eaf3925da568: Download complete [2022-09-27T22:43:18.374Z] bde34c3a00c8: Verifying Checksum [2022-09-27T22:43:18.374Z] bde34c3a00c8: Download complete [2022-09-27T22:43:18.374Z] b352a97aabf1: Verifying Checksum [2022-09-27T22:43:18.374Z] b352a97aabf1: Download complete [2022-09-27T22:43:18.374Z] 4872d77fe225: Verifying Checksum [2022-09-27T22:43:18.374Z] 4872d77fe225: Download complete [2022-09-27T22:43:18.374Z] 5851b861e8e6: Verifying Checksum [2022-09-27T22:43:18.375Z] b85a868b505f: Verifying Checksum [2022-09-27T22:43:18.375Z] b85a868b505f: Download complete [2022-09-27T22:43:18.634Z] bab4dde63d76: Verifying Checksum [2022-09-27T22:43:18.634Z] bab4dde63d76: Download complete [2022-09-27T22:43:19.571Z] b85a868b505f: Pull complete [2022-09-27T22:43:19.831Z] e2be974225ed: Pull complete [2022-09-27T22:43:20.410Z] 339a4e72a1f5: Pull complete [2022-09-27T22:43:20.410Z] 988bab9f4d93: Pull complete [2022-09-27T22:43:20.670Z] 1469e6f7b9e6: Pull complete [2022-09-27T22:43:20.670Z] eaf3925da568: Pull complete [2022-09-27T22:43:22.599Z] bab4dde63d76: Pull complete [2022-09-27T22:43:22.599Z] bde34c3a00c8: Pull complete [2022-09-27T22:43:22.599Z] b352a97aabf1: Pull complete [2022-09-27T22:43:22.599Z] 4872d77fe225: Pull complete [2022-09-27T22:43:22.859Z] 5851b861e8e6: Pull complete [2022-09-27T22:43:22.859Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-27T22:43:22.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-27T22:43:22.859Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T22:43:22.934Z] prd-ubuntu20.04-docker-8c-8g-1448 does not seem to be running inside a container [2022-09-27T22:43:22.972Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-27T22:43:24.235Z] $ docker top c901f6348a62c945b9efba129e32c89caa1afe3e9518f5b579a7ca3f034ea2ce -eo pid,comm [2022-09-27T22:43:24.293Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-27T22:43:24.293Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-27T22:43:24.332Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T22:43:24.332Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T22:43:24.444Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T22:43:24.451Z] $ docker exec c901f6348a62c945b9efba129e32c89caa1afe3e9518f5b579a7ca3f034ea2ce ssh-agent [2022-09-27T22:43:24.568Z] SSH_AUTH_SOCK=/tmp/ssh-frIV9w7iVU3e/agent.33 [2022-09-27T22:43:24.568Z] SSH_AGENT_PID=39 [2022-09-27T22:43:24.575Z] Running ssh-add (command line suppressed) [2022-09-27T22:43:24.695Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_6207892631842510631.key (/w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_6207892631842510631.key) [2022-09-27T22:43:24.708Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T22:43:24.996Z] + git tag --points-at HEAD [Pipeline] } [2022-09-27T22:43:25.013Z] $ docker exec --env ******** --env ******** c901f6348a62c945b9efba129e32c89caa1afe3e9518f5b579a7ca3f034ea2ce ssh-agent -k [2022-09-27T22:43:25.108Z] unset SSH_AUTH_SOCK; [2022-09-27T22:43:25.109Z] unset SSH_AGENT_PID; [2022-09-27T22:43:25.109Z] echo Agent pid 39 killed; [2022-09-27T22:43:25.116Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-27T22:43:25.141Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-27T22:43:25.141Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-27T22:43:25.271Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-27T22:43:25.277Z] $ docker exec c901f6348a62c945b9efba129e32c89caa1afe3e9518f5b579a7ca3f034ea2ce ssh-agent [2022-09-27T22:43:25.390Z] SSH_AUTH_SOCK=/tmp/ssh-f8ecp9sUqwqG/agent.71 [2022-09-27T22:43:25.390Z] SSH_AGENT_PID=77 [2022-09-27T22:43:25.395Z] Running ssh-add (command line suppressed) [2022-09-27T22:43:25.511Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_16485846043584615409.key (/w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_16485846043584615409.key) [2022-09-27T22:43:25.522Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-27T22:43:25.812Z] + git semver init [2022-09-27T22:43:26.072Z] 2022-09-27 22:43:26,001 [run_init] DEBUG init version:0.0.0 force:False [2022-09-27T22:43:26.073Z] 2022-09-27 22:43:26,002 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-153/.semver [2022-09-27T22:43:26.073Z] 2022-09-27 22:43:26,002 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-153/.semver [2022-09-27T22:43:26.073Z] 2022-09-27 22:43:26,003 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-153/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-153, universal_newlines=False, shell=None, istream=None) [2022-09-27T22:43:27.013Z] 2022-09-27 22:43:26,941 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-153/.git/info/exclude [2022-09-27T22:43:27.013Z] 2022-09-27 22:43:26,942 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 with force:False [2022-09-27T22:43:27.013Z] 2022-09-27 22:43:26,942 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 [2022-09-27T22:43:27.013Z] 2022-09-27 22:43:26,946 [execute] INFO git cat-file --batch-check [2022-09-27T22:43:27.013Z] 2022-09-27 22:43:26,946 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-153/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T22:43:27.013Z] 2022-09-27 22:43:26,952 [execute] INFO git cat-file --batch [2022-09-27T22:43:27.013Z] 2022-09-27 22:43:26,953 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-153/.semver, universal_newlines=False, shell=None, istream=) [2022-09-27T22:43:27.013Z] 2022-09-27 22:43:26,958 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 [2022-09-27T22:43:27.013Z] 0.0.0 [Pipeline] } [2022-09-27T22:43:27.027Z] $ docker exec --env ******** --env ******** c901f6348a62c945b9efba129e32c89caa1afe3e9518f5b579a7ca3f034ea2ce ssh-agent -k [2022-09-27T22:43:27.127Z] unset SSH_AUTH_SOCK; [2022-09-27T22:43:27.127Z] unset SSH_AGENT_PID; [2022-09-27T22:43:27.127Z] echo Agent pid 77 killed; [2022-09-27T22:43:27.134Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-27T22:43:27.435Z] + git semver [Pipeline] } [2022-09-27T22:43:27.712Z] $ docker stop --time=1 c901f6348a62c945b9efba129e32c89caa1afe3e9518f5b579a7ca3f034ea2ce [2022-09-27T22:43:29.050Z] $ docker rm -f c901f6348a62c945b9efba129e32c89caa1afe3e9518f5b579a7ca3f034ea2ce [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T22:43:29.384Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-27T22:43:29.550Z] Stashed 1 file(s) [Pipeline] echo [2022-09-27T22:43:29.552Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T22:43:29.645Z] provisioning config files... [2022-09-27T22:43:29.657Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config3864637974829027323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T22:43:29.953Z] ---> docker-login.sh [2022-09-27T22:43:29.953Z] nexus3.edgexfoundry.org:10001 [2022-09-27T22:43:29.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T22:43:29.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T22:43:29.953Z] Configure a credential helper to remove this warning. See [2022-09-27T22:43:29.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T22:43:29.953Z] [2022-09-27T22:43:29.953Z] Login Succeeded [2022-09-27T22:43:29.953Z] nexus3.edgexfoundry.org:10002 [2022-09-27T22:43:29.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T22:43:29.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T22:43:29.953Z] Configure a credential helper to remove this warning. See [2022-09-27T22:43:29.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T22:43:29.953Z] [2022-09-27T22:43:29.953Z] Login Succeeded [2022-09-27T22:43:29.953Z] nexus3.edgexfoundry.org:10003 [2022-09-27T22:43:30.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T22:43:30.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T22:43:30.212Z] Configure a credential helper to remove this warning. See [2022-09-27T22:43:30.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T22:43:30.212Z] [2022-09-27T22:43:30.212Z] Login Succeeded [2022-09-27T22:43:30.212Z] nexus3.edgexfoundry.org:10004 [2022-09-27T22:43:30.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T22:43:30.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T22:43:30.212Z] Configure a credential helper to remove this warning. See [2022-09-27T22:43:30.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T22:43:30.212Z] [2022-09-27T22:43:30.212Z] Login Succeeded [2022-09-27T22:43:30.212Z] docker.io [2022-09-27T22:43:30.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T22:43:30.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T22:43:30.731Z] Configure a credential helper to remove this warning. See [2022-09-27T22:43:30.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T22:43:30.731Z] [2022-09-27T22:43:30.731Z] Login Succeeded [2022-09-27T22:43:30.731Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T22:43:30.739Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T22:43:30.793Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T22:43:30.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T22:43:30.811Z] ========================================================= [2022-09-27T22:43:30.811Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-27T22:43:30.811Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T22:43:31.112Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-27T22:43:31.112Z] Sending build context to Docker daemon 20.75MB [2022-09-27T22:43:31.112Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T22:43:31.112Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-27T22:43:31.112Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-27T22:43:31.112Z] 2408cc74d12b: Pulling fs layer [2022-09-27T22:43:31.112Z] ea60b727a1ce: Pulling fs layer [2022-09-27T22:43:31.112Z] 30c4a7721957: Pulling fs layer [2022-09-27T22:43:31.112Z] 370296b7ddb6: Pulling fs layer [2022-09-27T22:43:31.112Z] 7c6cee850709: Pulling fs layer [2022-09-27T22:43:31.112Z] 39a5fcdaea64: Pulling fs layer [2022-09-27T22:43:31.112Z] 7c6cee850709: Waiting [2022-09-27T22:43:31.112Z] 39a5fcdaea64: Waiting [2022-09-27T22:43:31.112Z] d94ebbe4e438: Pulling fs layer [2022-09-27T22:43:31.112Z] 370296b7ddb6: Waiting [2022-09-27T22:43:31.112Z] bcfd1f05c69d: Pulling fs layer [2022-09-27T22:43:31.112Z] 59ccb84bbe0f: Pulling fs layer [2022-09-27T22:43:31.112Z] d94ebbe4e438: Waiting [2022-09-27T22:43:31.112Z] bcfd1f05c69d: Waiting [2022-09-27T22:43:31.112Z] 59ccb84bbe0f: Waiting [2022-09-27T22:43:31.377Z] ea60b727a1ce: Download complete [2022-09-27T22:43:31.377Z] 30c4a7721957: Verifying Checksum [2022-09-27T22:43:31.377Z] 30c4a7721957: Download complete [2022-09-27T22:43:31.377Z] 7c6cee850709: Download complete [2022-09-27T22:43:31.377Z] 39a5fcdaea64: Verifying Checksum [2022-09-27T22:43:31.377Z] 39a5fcdaea64: Download complete [2022-09-27T22:43:31.377Z] 2408cc74d12b: Verifying Checksum [2022-09-27T22:43:31.377Z] 2408cc74d12b: Download complete [2022-09-27T22:43:31.377Z] d94ebbe4e438: Verifying Checksum [2022-09-27T22:43:31.377Z] d94ebbe4e438: Download complete [2022-09-27T22:43:31.377Z] 2408cc74d12b: Pull complete [2022-09-27T22:43:31.652Z] ea60b727a1ce: Pull complete [2022-09-27T22:43:31.652Z] 30c4a7721957: Pull complete [2022-09-27T22:43:31.916Z] 59ccb84bbe0f: Download complete [2022-09-27T22:43:32.493Z] bcfd1f05c69d: Verifying Checksum [2022-09-27T22:43:32.493Z] bcfd1f05c69d: Download complete [2022-09-27T22:43:32.493Z] 370296b7ddb6: Verifying Checksum [2022-09-27T22:43:32.493Z] 370296b7ddb6: Download complete [2022-09-27T22:43:36.693Z] 370296b7ddb6: Pull complete [2022-09-27T22:43:36.693Z] 7c6cee850709: Pull complete [2022-09-27T22:43:36.693Z] 39a5fcdaea64: Pull complete [2022-09-27T22:43:36.693Z] d94ebbe4e438: Pull complete [2022-09-27T22:43:38.599Z] bcfd1f05c69d: Pull complete [2022-09-27T22:43:39.534Z] 59ccb84bbe0f: Pull complete [2022-09-27T22:43:39.534Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-27T22:43:39.534Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-27T22:43:39.534Z] ---> a4fb48ad2a94 [2022-09-27T22:43:39.534Z] Step 3/13 : ARG MAKE="make build" [2022-09-27T22:43:41.443Z] ---> Running in 1425b8be1d6c [2022-09-27T22:43:41.443Z] Removing intermediate container 1425b8be1d6c [2022-09-27T22:43:41.443Z] ---> ea9d913fb426 [2022-09-27T22:43:41.443Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T22:43:41.443Z] ---> Running in bfb4de6e5334 [2022-09-27T22:43:41.443Z] Removing intermediate container bfb4de6e5334 [2022-09-27T22:43:41.443Z] ---> c29c0713b7d3 [2022-09-27T22:43:41.443Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T22:43:41.443Z] ---> Running in a6bb595b09ee [2022-09-27T22:43:41.443Z] Removing intermediate container a6bb595b09ee [2022-09-27T22:43:41.443Z] ---> 86d428945b1e [2022-09-27T22:43:41.443Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-27T22:43:41.443Z] ---> Running in 71da0e17f594 [2022-09-27T22:43:41.703Z] Removing intermediate container 71da0e17f594 [2022-09-27T22:43:41.703Z] ---> 4f3f98000d84 [2022-09-27T22:43:41.703Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T22:43:41.703Z] ---> Running in 0a110269b59f [2022-09-27T22:43:42.271Z] Removing intermediate container 0a110269b59f [2022-09-27T22:43:42.271Z] ---> 0855b50c6d67 [2022-09-27T22:43:42.271Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T22:43:42.271Z] ---> Running in 61e2ef1ce98b [2022-09-27T22:43:42.530Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T22:43:43.468Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T22:43:44.038Z] OK: 211 MiB in 51 packages [2022-09-27T22:43:44.297Z] Removing intermediate container 61e2ef1ce98b [2022-09-27T22:43:44.297Z] ---> d7475c8cde42 [2022-09-27T22:43:44.297Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-27T22:43:44.297Z] ---> Running in fd0fa95d88d1 [2022-09-27T22:43:44.297Z] Removing intermediate container fd0fa95d88d1 [2022-09-27T22:43:44.297Z] ---> 40978f015ace [2022-09-27T22:43:44.297Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-27T22:43:44.557Z] ---> 6fe6300dba76 [2022-09-27T22:43:44.557Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T22:43:44.557Z] ---> Running in 6a2391df543c [2022-09-27T22:43:44.620Z] Still waiting to schedule task [2022-09-27T22:43:44.620Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-27T22:44:06.501Z] Removing intermediate container 6a2391df543c [2022-09-27T22:44:06.501Z] ---> 37dec886ce69 [2022-09-27T22:44:06.501Z] Step 12/13 : COPY . . [2022-09-27T22:44:06.501Z] ---> d44abbd1e6e6 [2022-09-27T22:44:06.501Z] Step 13/13 : RUN ${MAKE} [2022-09-27T22:44:06.501Z] ---> Running in e68f3dec4a8f [2022-09-27T22:44:06.501Z] noop [2022-09-27T22:44:06.501Z] Removing intermediate container e68f3dec4a8f [2022-09-27T22:44:06.501Z] ---> 9292a8cc75a4 [2022-09-27T22:44:06.501Z] Successfully built 9292a8cc75a4 [2022-09-27T22:44:06.501Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T22:44:06.806Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T22:44:06.806Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T22:44:06.876Z] prd-ubuntu20.04-docker-8c-8g-1448 does not seem to be running inside a container [2022-09-27T22:44:06.906Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T22:44:07.292Z] $ docker top b5a61fb85db689621e08d07894f8ca8cde4b9e8cfe0d23ad6886a74190f2df27 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T22:44:07.634Z] + go version [2022-09-27T22:44:07.634Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-27T22:44:07.646Z] $ docker stop --time=1 b5a61fb85db689621e08d07894f8ca8cde4b9e8cfe0d23ad6886a74190f2df27 [2022-09-27T22:44:08.922Z] $ docker rm -f b5a61fb85db689621e08d07894f8ca8cde4b9e8cfe0d23ad6886a74190f2df27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T22:44:09.309Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-27T22:44:09.309Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T22:44:09.379Z] prd-ubuntu20.04-docker-8c-8g-1448 does not seem to be running inside a container [2022-09-27T22:44:09.408Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-27T22:44:09.763Z] $ docker top ae3e971be081bed363e59d03e4bc5ff2f8a809727314733034cde8edcc3367b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T22:44:10.101Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] fileExists [Pipeline] sh [2022-09-27T22:44:10.393Z] + make test [2022-09-27T22:44:10.393Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-27T22:44:10.650Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-27T22:44:22.847Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-27T22:44:23.414Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.035s coverage: 28.2% of statements [2022-09-27T22:44:23.414Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-27T22:44:23.414Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.680s coverage: 86.5% of statements [2022-09-27T22:44:31.523Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-27T22:44:31.523Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T22:44:35.708Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T22:44:35.708Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T22:44:35.708Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T22:44:35.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T22:44:35.732Z] $ docker stop --time=1 ae3e971be081bed363e59d03e4bc5ff2f8a809727314733034cde8edcc3367b7 [2022-09-27T22:44:37.468Z] $ docker rm -f ae3e971be081bed363e59d03e4bc5ff2f8a809727314733034cde8edcc3367b7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T22:44:37.923Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T22:44:37.977Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-27T22:44:38.474Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T22:44:38.761Z] + ls -al . [2022-09-27T22:44:38.761Z] total 236 [2022-09-27T22:44:38.761Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 22:44 . [2022-09-27T22:44:38.761Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 22:43 .. [2022-09-27T22:44:38.761Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 22:44 .git [2022-09-27T22:44:38.761Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 22:43 .github [2022-09-27T22:44:38.761Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 27 22:43 .gitignore [2022-09-27T22:44:38.761Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 22:43 .golangci.yml [2022-09-27T22:44:38.761Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 22:43 .semver [2022-09-27T22:44:38.761Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 27 22:43 Attribution.txt [2022-09-27T22:44:38.761Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 27 22:43 CHANGELOG.md [2022-09-27T22:44:38.761Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 27 22:43 Dockerfile [2022-09-27T22:44:38.761Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 22:43 GOVERNANCE.md [2022-09-27T22:44:38.761Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 27 22:43 Jenkinsfile [2022-09-27T22:44:38.761Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 27 22:43 LICENSE [2022-09-27T22:44:38.761Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 27 22:43 Makefile [2022-09-27T22:44:38.761Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 27 22:43 OWNERS.md [2022-09-27T22:44:38.761Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 27 22:43 README.md [2022-09-27T22:44:38.761Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 22:43 VERSION [2022-09-27T22:44:38.761Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 22:43 bin [2022-09-27T22:44:38.761Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 22:43 cmd [2022-09-27T22:44:38.761Z] -rw-r--r-- 1 jenkins jenkins 78461 Sep 27 22:44 coverage.out [2022-09-27T22:44:38.761Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 22:43 doc [2022-09-27T22:44:38.761Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 27 22:43 go.mod [2022-09-27T22:44:38.761Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 27 22:43 go.sum [2022-09-27T22:44:38.761Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 22:43 internal [2022-09-27T22:44:38.761Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 22:43 snap [2022-09-27T22:44:38.761Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 27 22:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T22:44:39.068Z] + 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=8dfebd766bc653af52d6a32b3627e9af7d6b5fbe --label arch=amd64 --label version=0.0.0 . [2022-09-27T22:44:39.068Z] Sending build context to Docker daemon 20.83MB [2022-09-27T22:44:39.068Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T22:44:39.068Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-27T22:44:39.068Z] ---> 9292a8cc75a4 [2022-09-27T22:44:39.068Z] Step 3/26 : ARG MAKE="make build" [2022-09-27T22:44:39.327Z] ---> Running in 588427d48882 [2022-09-27T22:44:39.327Z] Removing intermediate container 588427d48882 [2022-09-27T22:44:39.327Z] ---> 9b606b52cb30 [2022-09-27T22:44:39.327Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T22:44:39.327Z] ---> Running in 9267b48ebd72 [2022-09-27T22:44:39.327Z] Removing intermediate container 9267b48ebd72 [2022-09-27T22:44:39.327Z] ---> 2dc8261937ac [2022-09-27T22:44:39.327Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T22:44:39.327Z] ---> Running in 45332104ecfb [2022-09-27T22:44:39.585Z] Removing intermediate container 45332104ecfb [2022-09-27T22:44:39.585Z] ---> ce542ff4fd6b [2022-09-27T22:44:39.585Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-27T22:44:39.585Z] ---> Running in 13980a4cbcfd [2022-09-27T22:44:39.585Z] Removing intermediate container 13980a4cbcfd [2022-09-27T22:44:39.585Z] ---> 5cd4e9d2e5d4 [2022-09-27T22:44:39.585Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T22:44:39.585Z] ---> Running in 4ba0f68be2ce [2022-09-27T22:44:40.157Z] Removing intermediate container 4ba0f68be2ce [2022-09-27T22:44:40.157Z] ---> 9019ea71322a [2022-09-27T22:44:40.157Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T22:44:40.416Z] ---> Running in c406e4d3e31e [2022-09-27T22:44:40.675Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T22:44:41.615Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T22:44:41.873Z] OK: 211 MiB in 51 packages [2022-09-27T22:44:42.131Z] Removing intermediate container c406e4d3e31e [2022-09-27T22:44:42.131Z] ---> ff36367982c4 [2022-09-27T22:44:42.131Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-27T22:44:42.131Z] ---> Running in af1becc8450c [2022-09-27T22:44:42.131Z] Removing intermediate container af1becc8450c [2022-09-27T22:44:42.131Z] ---> 140d6b5e70c4 [2022-09-27T22:44:42.131Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-27T22:44:42.392Z] ---> 0b1826e32a5f [2022-09-27T22:44:42.392Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T22:44:42.392Z] ---> Running in c5d855e3d96c [2022-09-27T22:44:43.330Z] Removing intermediate container c5d855e3d96c [2022-09-27T22:44:43.330Z] ---> 95d321c60a50 [2022-09-27T22:44:43.330Z] Step 12/26 : COPY . . [2022-09-27T22:44:43.587Z] ---> 74d9cb9278ab [2022-09-27T22:44:43.587Z] Step 13/26 : RUN ${MAKE} [2022-09-27T22:44:43.587Z] ---> Running in aac8f2f3bdb1 [2022-09-27T22:44:43.845Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-27T22:45:05.770Z] Removing intermediate container aac8f2f3bdb1 [2022-09-27T22:45:05.770Z] ---> d9cb14592333 [2022-09-27T22:45:05.770Z] Step 14/26 : FROM alpine:3.16 [2022-09-27T22:45:06.337Z] 3.16: Pulling from library/alpine [2022-09-27T22:45:06.337Z] 213ec9aee27d: Pulling fs layer [2022-09-27T22:45:06.593Z] 213ec9aee27d: Verifying Checksum [2022-09-27T22:45:06.593Z] 213ec9aee27d: Download complete [2022-09-27T22:45:06.851Z] 213ec9aee27d: Pull complete [2022-09-27T22:45:06.851Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T22:45:06.851Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T22:45:06.851Z] ---> 9c6f07244728 [2022-09-27T22:45:06.851Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-27T22:45:06.851Z] ---> Running in 93e260941f66 [2022-09-27T22:45:07.110Z] Removing intermediate container 93e260941f66 [2022-09-27T22:45:07.110Z] ---> 0137ae284244 [2022-09-27T22:45:07.110Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T22:45:07.110Z] ---> Running in a0881f990c4e [2022-09-27T22:45:07.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-27T22:45:07.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-27T22:45:07.627Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T22:45:07.627Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T22:45:07.627Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T22:45:07.627Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T22:45:07.627Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T22:45:07.627Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T22:45:07.627Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T22:45:07.627Z] OK: 8 MiB in 20 packages [2022-09-27T22:45:08.196Z] Removing intermediate container a0881f990c4e [2022-09-27T22:45:08.196Z] ---> 1ffc07e918bd [2022-09-27T22:45:08.196Z] Step 17/26 : WORKDIR / [2022-09-27T22:45:08.196Z] ---> Running in aaf58150b095 [2022-09-27T22:45:08.196Z] Removing intermediate container aaf58150b095 [2022-09-27T22:45:08.196Z] ---> 7aa79ed6c35a [2022-09-27T22:45:08.196Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-27T22:45:08.762Z] ---> 3785e9996f08 [2022-09-27T22:45:08.762Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-27T22:45:09.020Z] ---> eff2c05a25e9 [2022-09-27T22:45:09.020Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-27T22:45:09.020Z] ---> 4f343bb8df08 [2022-09-27T22:45:09.020Z] Step 21/26 : EXPOSE 59984 [2022-09-27T22:45:09.020Z] ---> Running in e11d7ed0b987 [2022-09-27T22:45:09.279Z] Removing intermediate container e11d7ed0b987 [2022-09-27T22:45:09.279Z] ---> 358439f88ae4 [2022-09-27T22:45:09.279Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-27T22:45:09.279Z] ---> Running in 8a7312ccf1ed [2022-09-27T22:45:09.279Z] Removing intermediate container 8a7312ccf1ed [2022-09-27T22:45:09.279Z] ---> 01315bb05f34 [2022-09-27T22:45:09.279Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T22:45:09.279Z] ---> Running in c7e133953410 [2022-09-27T22:45:09.538Z] Removing intermediate container c7e133953410 [2022-09-27T22:45:09.538Z] ---> e0892444f4ac [2022-09-27T22:45:09.538Z] Step 24/26 : LABEL arch=amd64 [2022-09-27T22:45:09.538Z] ---> Running in c3fbdb7d06b2 [2022-09-27T22:45:09.538Z] Removing intermediate container c3fbdb7d06b2 [2022-09-27T22:45:09.538Z] ---> 18a56d829ec6 [2022-09-27T22:45:09.538Z] Step 25/26 : LABEL git_sha=8dfebd766bc653af52d6a32b3627e9af7d6b5fbe [2022-09-27T22:45:09.538Z] ---> Running in 1dc1581a63b5 [2022-09-27T22:45:09.796Z] Removing intermediate container 1dc1581a63b5 [2022-09-27T22:45:09.796Z] ---> 4e2f66e2dff2 [2022-09-27T22:45:09.796Z] Step 26/26 : LABEL version=0.0.0 [2022-09-27T22:45:09.796Z] ---> Running in 81c880fb5212 [2022-09-27T22:45:09.796Z] Removing intermediate container 81c880fb5212 [2022-09-27T22:45:09.796Z] ---> ba225308d9c9 [2022-09-27T22:45:09.796Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T22:45:09.796Z] Successfully built ba225308d9c9 [2022-09-27T22:45:09.796Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T22:45:10.226Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T22:45:10.226Z] [2022-09-27T22:45:10.226Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T22:45:10.526Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T22:45:10.527Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-27T22:45:10.527Z] 5eb5b503b376: Pulling fs layer [2022-09-27T22:45:10.527Z] 5c69ac0246d0: Pulling fs layer [2022-09-27T22:45:10.527Z] ec43610c2a17: Pulling fs layer [2022-09-27T22:45:10.527Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-27T22:45:10.527Z] 33b1e0a273af: Pulling fs layer [2022-09-27T22:45:10.527Z] 5d3b04190fa2: Pulling fs layer [2022-09-27T22:45:10.527Z] 2f39f015ded8: Pulling fs layer [2022-09-27T22:45:10.527Z] 33b1e0a273af: Waiting [2022-09-27T22:45:10.527Z] 5d3b04190fa2: Waiting [2022-09-27T22:45:10.527Z] 2f39f015ded8: Waiting [2022-09-27T22:45:10.527Z] 5c69ac0246d0: Download complete [2022-09-27T22:45:10.527Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-27T22:45:10.527Z] 3a2ae6a8a46f: Download complete [2022-09-27T22:45:10.786Z] 33b1e0a273af: Verifying Checksum [2022-09-27T22:45:10.786Z] 33b1e0a273af: Download complete [2022-09-27T22:45:10.786Z] ec43610c2a17: Verifying Checksum [2022-09-27T22:45:10.786Z] ec43610c2a17: Download complete [2022-09-27T22:45:10.786Z] 5d3b04190fa2: Download complete [2022-09-27T22:45:10.786Z] 5eb5b503b376: Verifying Checksum [2022-09-27T22:45:10.786Z] 5eb5b503b376: Download complete [2022-09-27T22:45:11.353Z] 2f39f015ded8: Verifying Checksum [2022-09-27T22:45:11.353Z] 2f39f015ded8: Download complete [2022-09-27T22:45:11.918Z] 5eb5b503b376: Pull complete [2022-09-27T22:45:12.485Z] 5c69ac0246d0: Pull complete [2022-09-27T22:45:13.052Z] ec43610c2a17: Pull complete [2022-09-27T22:45:13.052Z] 3a2ae6a8a46f: Pull complete [2022-09-27T22:45:13.309Z] 33b1e0a273af: Pull complete [2022-09-27T22:45:13.309Z] 5d3b04190fa2: Pull complete [2022-09-27T22:45:16.366Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1449 in /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] { [Pipeline] ws [2022-09-27T22:45:16.376Z] Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout [2022-09-27T22:45:16.407Z] The recommended git tool is: git [2022-09-27T22:45:18.573Z] 2f39f015ded8: Pull complete [2022-09-27T22:45:18.573Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-27T22:45:18.573Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T22:45:18.573Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T22:45:18.652Z] prd-ubuntu20.04-docker-8c-8g-1448 does not seem to be running inside a container [2022-09-27T22:45:18.679Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T22:45:20.057Z] $ docker top 14e7d832a6c7840e0186eb4e4aee51a0f491a27caad863191f0fad278a21fcc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T22:45:20.444Z] ---> job-cost.sh [2022-09-27T22:45:20.444Z] lf-activate-venv: SKIPPING [2022-09-27T22:45:20.444Z] INFO: No Stack... [2022-09-27T22:45:20.702Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T22:45:21.222Z] using credential edgex-jenkins-ssh [2022-09-27T22:45:21.242Z] Cloning the remote Git repository [2022-09-27T22:45:21.267Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T22:45:21.278Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-27T22:45:21.555Z] + cat /w/workspace/undry_device-onvif-camera_PR-153/archives/cost.csv [2022-09-27T22:45:21.555Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T22:45:21.567Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-153-7-stack-cost] [2022-09-27T22:45:21.573Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-7-stack-cost] did not exist. Created. [2022-09-27T22:45:21.573Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-153-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T22:45:21.870Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-27T22:45:21.900Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T22:45:21.910Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T22:45:21.928Z] $ docker stop --time=1 14e7d832a6c7840e0186eb4e4aee51a0f491a27caad863191f0fad278a21fcc5 [2022-09-27T22:45:21.346Z] > git init /w/workspace/device-onvif-camera/7 # timeout=10 [2022-09-27T22:45:21.487Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-27T22:45:21.488Z] > git --version # timeout=10 [2022-09-27T22:45:21.513Z] > git --version # 'git version 2.25.1' [2022-09-27T22:45:21.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T22:45:21.558Z] Verifying host key using known hosts file [2022-09-27T22:45:21.738Z] 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-09-27T22:45:21.750Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T22:45:23.097Z] $ docker rm -f 14e7d832a6c7840e0186eb4e4aee51a0f491a27caad863191f0fad278a21fcc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-27T22:45:22.967Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-27T22:45:22.987Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-27T22:45:23.752Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-27T22:45:24.435Z] Merging remotes/origin/main commit 07d7568c4aa69296c110ad64a28331e8173121ad into PR head commit 545cfd39798b37ada86d59f19ec036b5a5c3f131 [2022-09-27T22:45:23.797Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-27T22:45:23.798Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T22:45:23.804Z] Verifying host key using known hosts file [2022-09-27T22:45:23.810Z] 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-09-27T22:45:23.821Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-27T22:45:24.452Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T22:45:24.470Z] > git checkout -f 545cfd39798b37ada86d59f19ec036b5a5c3f131 # timeout=10 [2022-09-27T22:45:24.691Z] > git remote # timeout=10 [2022-09-27T22:45:24.707Z] > git config --get remote.origin.url # timeout=10 [2022-09-27T22:45:24.730Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-27T22:45:24.735Z] Verifying host key using known hosts file [2022-09-27T22:45:24.739Z] 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-09-27T22:45:24.747Z] > git merge 07d7568c4aa69296c110ad64a28331e8173121ad # timeout=10 [2022-09-27T22:45:25.162Z] Merge succeeded, producing 5c0b1a18c72763526e57372001e5af32a9bbc449 [2022-09-27T22:45:25.163Z] Checking out Revision 5c0b1a18c72763526e57372001e5af32a9bbc449 (PR-153) [2022-09-27T22:45:25.141Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-27T22:45:25.167Z] > git config core.sparsecheckout # timeout=10 [2022-09-27T22:45:25.181Z] > git checkout -f 5c0b1a18c72763526e57372001e5af32a9bbc449 # timeout=10 [2022-09-27T22:45:28.620Z] Commit message: "Merge commit '07d7568c4aa69296c110ad64a28331e8173121ad' into HEAD" [2022-09-27T22:45:28.646Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T22:45:29.422Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-27T22:45:29.422Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T22:45:29.422Z] Dload Upload Total Spent Left Speed [2022-09-27T22:45:29.422Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85148 0 --:--:-- --:--:-- --:--:-- 85148 [2022-09-27T22:45:28.626Z] > git rev-list --no-walk 507d6b9fe01fe487c783864e4ed4aa7553d0a326 # timeout=10 [Pipeline] sh [2022-09-27T22:45:30.117Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-27T22:45:30.444Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-27T22:45:30.444Z] + sudo tee /etc/docker/daemon.new [2022-09-27T22:45:30.444Z] { [2022-09-27T22:45:30.444Z] "registry-mirrors": [ [2022-09-27T22:45:30.444Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-27T22:45:30.444Z] ], [2022-09-27T22:45:30.444Z] "bip": "10.250.0.254/24", [2022-09-27T22:45:30.444Z] "hosts": [ [2022-09-27T22:45:30.444Z] "tcp://0.0.0.0:5555", [2022-09-27T22:45:30.444Z] "unix:///var/run/docker.sock" [2022-09-27T22:45:30.444Z] ], [2022-09-27T22:45:30.444Z] "mtu": 1458, [2022-09-27T22:45:30.444Z] "selinux-enabled": true, [2022-09-27T22:45:30.444Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-27T22:45:30.444Z] } [Pipeline] sh [2022-09-27T22:45:30.766Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-27T22:45:31.109Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T22:45:49.380Z] provisioning config files... [2022-09-27T22:45:49.403Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config2912822341897449054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T22:45:49.759Z] ---> docker-login.sh [2022-09-27T22:45:49.759Z] nexus3.edgexfoundry.org:10001 [2022-09-27T22:45:50.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T22:45:50.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T22:45:50.306Z] Configure a credential helper to remove this warning. See [2022-09-27T22:45:50.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T22:45:50.306Z] [2022-09-27T22:45:50.306Z] Login Succeeded [2022-09-27T22:45:50.306Z] nexus3.edgexfoundry.org:10002 [2022-09-27T22:45:50.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T22:45:50.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T22:45:50.844Z] Configure a credential helper to remove this warning. See [2022-09-27T22:45:50.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T22:45:50.844Z] [2022-09-27T22:45:50.844Z] Login Succeeded [2022-09-27T22:45:50.844Z] nexus3.edgexfoundry.org:10003 [2022-09-27T22:45:50.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T22:45:51.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T22:45:51.113Z] Configure a credential helper to remove this warning. See [2022-09-27T22:45:51.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T22:45:51.113Z] [2022-09-27T22:45:51.113Z] Login Succeeded [2022-09-27T22:45:51.113Z] nexus3.edgexfoundry.org:10004 [2022-09-27T22:45:51.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T22:45:51.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T22:45:51.381Z] Configure a credential helper to remove this warning. See [2022-09-27T22:45:51.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T22:45:51.381Z] [2022-09-27T22:45:51.381Z] Login Succeeded [2022-09-27T22:45:51.381Z] docker.io [2022-09-27T22:45:51.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-27T22:45:51.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-27T22:45:51.918Z] Configure a credential helper to remove this warning. See [2022-09-27T22:45:51.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-27T22:45:51.918Z] [2022-09-27T22:45:51.918Z] Login Succeeded [2022-09-27T22:45:51.918Z] ---> docker-login.sh ends [Pipeline] } [2022-09-27T22:45:51.931Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-27T22:45:52.081Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T22:45:52.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-27T22:45:52.103Z] ========================================================= [2022-09-27T22:45:52.103Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-27T22:45:52.103Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T22:45:52.444Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-27T22:45:53.034Z] Sending build context to Docker daemon 14.21MB [2022-09-27T22:45:53.034Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T22:45:53.034Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-27T22:45:53.034Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-27T22:45:53.034Z] b3c136eddcbf: Pulling fs layer [2022-09-27T22:45:53.034Z] c0a3192eca97: Pulling fs layer [2022-09-27T22:45:53.034Z] a050256f5b6f: Pulling fs layer [2022-09-27T22:45:53.034Z] 656be50a0ddc: Pulling fs layer [2022-09-27T22:45:53.034Z] 2bbca73fdf42: Pulling fs layer [2022-09-27T22:45:53.034Z] 46d945488cbd: Pulling fs layer [2022-09-27T22:45:53.034Z] 8a5474983e97: Pulling fs layer [2022-09-27T22:45:53.034Z] 329c88fbcd65: Pulling fs layer [2022-09-27T22:45:53.034Z] 46d945488cbd: Waiting [2022-09-27T22:45:53.034Z] 8a5474983e97: Waiting [2022-09-27T22:45:53.034Z] 329c88fbcd65: Waiting [2022-09-27T22:45:53.034Z] 656be50a0ddc: Waiting [2022-09-27T22:45:53.034Z] 2bbca73fdf42: Waiting [2022-09-27T22:45:53.034Z] a050256f5b6f: Verifying Checksum [2022-09-27T22:45:53.034Z] a050256f5b6f: Download complete [2022-09-27T22:45:53.034Z] c0a3192eca97: Verifying Checksum [2022-09-27T22:45:53.034Z] c0a3192eca97: Download complete [2022-09-27T22:45:53.034Z] 2bbca73fdf42: Verifying Checksum [2022-09-27T22:45:53.034Z] 2bbca73fdf42: Download complete [2022-09-27T22:45:53.034Z] 46d945488cbd: Verifying Checksum [2022-09-27T22:45:53.034Z] 46d945488cbd: Download complete [2022-09-27T22:45:53.305Z] b3c136eddcbf: Verifying Checksum [2022-09-27T22:45:53.305Z] b3c136eddcbf: Download complete [2022-09-27T22:45:53.891Z] b3c136eddcbf: Pull complete [2022-09-27T22:45:54.159Z] 329c88fbcd65: Verifying Checksum [2022-09-27T22:45:54.159Z] 329c88fbcd65: Download complete [2022-09-27T22:45:54.433Z] c0a3192eca97: Pull complete [2022-09-27T22:45:55.023Z] a050256f5b6f: Pull complete [2022-09-27T22:45:55.303Z] 8a5474983e97: Verifying Checksum [2022-09-27T22:45:55.303Z] 8a5474983e97: Download complete [2022-09-27T22:45:56.270Z] 656be50a0ddc: Verifying Checksum [2022-09-27T22:45:56.270Z] 656be50a0ddc: Download complete [2022-09-27T22:46:08.583Z] 656be50a0ddc: Pull complete [2022-09-27T22:46:08.583Z] 2bbca73fdf42: Pull complete [2022-09-27T22:46:08.583Z] 46d945488cbd: Pull complete [2022-09-27T22:46:15.237Z] 8a5474983e97: Pull complete [2022-09-27T22:46:16.646Z] 329c88fbcd65: Pull complete [2022-09-27T22:46:16.646Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-27T22:46:16.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-27T22:46:16.646Z] ---> ff4287adb874 [2022-09-27T22:46:16.646Z] Step 3/13 : ARG MAKE="make build" [2022-09-27T22:46:18.059Z] ---> Running in bced335c0a33 [2022-09-27T22:46:18.325Z] Removing intermediate container bced335c0a33 [2022-09-27T22:46:18.325Z] ---> 8a918dc6ac95 [2022-09-27T22:46:18.325Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T22:46:18.325Z] ---> Running in 746c81480e96 [2022-09-27T22:46:18.592Z] Removing intermediate container 746c81480e96 [2022-09-27T22:46:18.592Z] ---> 626f2458901f [2022-09-27T22:46:18.592Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T22:46:18.862Z] ---> Running in f4b5e5cc8b4c [2022-09-27T22:46:19.130Z] Removing intermediate container f4b5e5cc8b4c [2022-09-27T22:46:19.130Z] ---> b1552008b7d5 [2022-09-27T22:46:19.130Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-27T22:46:19.130Z] ---> Running in e7d718918aed [2022-09-27T22:46:19.397Z] Removing intermediate container e7d718918aed [2022-09-27T22:46:19.397Z] ---> 71efb353afc5 [2022-09-27T22:46:19.397Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T22:46:19.669Z] ---> Running in f89bc1b3dc30 [2022-09-27T22:46:21.620Z] Removing intermediate container f89bc1b3dc30 [2022-09-27T22:46:21.620Z] ---> f66d24988ef0 [2022-09-27T22:46:21.620Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T22:46:21.620Z] ---> Running in ca8b487f3ebf [2022-09-27T22:46:22.202Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T22:46:23.158Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T22:46:24.122Z] OK: 221 MiB in 51 packages [2022-09-27T22:46:26.073Z] Removing intermediate container ca8b487f3ebf [2022-09-27T22:46:26.073Z] ---> 43ea11c6dc23 [2022-09-27T22:46:26.073Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-27T22:46:26.073Z] ---> Running in 0cd2e57286ed [2022-09-27T22:46:26.339Z] Removing intermediate container 0cd2e57286ed [2022-09-27T22:46:26.339Z] ---> 4d94ca6584e0 [2022-09-27T22:46:26.339Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-27T22:46:26.923Z] ---> 64a31fdc537b [2022-09-27T22:46:26.923Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T22:46:26.923Z] ---> Running in 9fe6fe162077 [2022-09-27T22:47:13.791Z] Removing intermediate container 9fe6fe162077 [2022-09-27T22:47:13.791Z] ---> a0d8cd970287 [2022-09-27T22:47:13.791Z] Step 12/13 : COPY . . [2022-09-27T22:47:15.742Z] ---> ee2cb04be763 [2022-09-27T22:47:15.742Z] Step 13/13 : RUN ${MAKE} [2022-09-27T22:47:15.742Z] ---> Running in 59e52fef1bf2 [2022-09-27T22:47:16.330Z] noop [2022-09-27T22:47:16.922Z] Removing intermediate container 59e52fef1bf2 [2022-09-27T22:47:16.922Z] ---> 5738b8577801 [2022-09-27T22:47:16.922Z] Successfully built 5738b8577801 [2022-09-27T22:47:17.191Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T22:47:17.531Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T22:47:17.531Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T22:47:17.707Z] prd-ubuntu20.04-docker-arm64-4c-16g-1449 does not seem to be running inside a container [2022-09-27T22:47:17.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T22:47:18.965Z] $ docker top 99d20b0aefd54fa0bca82974483d7635791d6a8ab688470723c74a16c7199d5b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T22:47:19.793Z] + go version [2022-09-27T22:47:19.793Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-27T22:47:19.808Z] $ docker stop --time=1 99d20b0aefd54fa0bca82974483d7635791d6a8ab688470723c74a16c7199d5b [2022-09-27T22:47:21.422Z] $ docker rm -f 99d20b0aefd54fa0bca82974483d7635791d6a8ab688470723c74a16c7199d5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T22:47:21.968Z] + docker inspect -f . ci-base-image-arm64 [2022-09-27T22:47:21.969Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T22:47:22.139Z] prd-ubuntu20.04-docker-arm64-4c-16g-1449 does not seem to be running inside a container [2022-09-27T22:47:22.204Z] $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-27T22:47:23.368Z] $ docker top 79493f4aad95d3dee7faf171f22a791f8a2920cefe283f2f299eebe9f88ac7c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T22:47:23.893Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/7 [Pipeline] fileExists [Pipeline] sh [2022-09-27T22:47:24.757Z] + make test [2022-09-27T22:47:24.757Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-27T22:47:26.704Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-27T22:49:03.361Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-27T22:49:03.361Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.187s coverage: 28.2% of statements [2022-09-27T22:49:03.361Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-27T22:49:21.592Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.791s coverage: 86.5% of statements [2022-09-27T22:49:21.592Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-27T22:49:21.592Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-27T22:49:48.285Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-27T22:49:48.285Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-27T22:49:48.285Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-27T22:49:48.306Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-27T22:49:48.319Z] $ docker stop --time=1 79493f4aad95d3dee7faf171f22a791f8a2920cefe283f2f299eebe9f88ac7c9 [2022-09-27T22:49:50.169Z] $ docker rm -f 79493f4aad95d3dee7faf171f22a791f8a2920cefe283f2f299eebe9f88ac7c9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-27T22:49:51.168Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-27T22:49:51.192Z] Warning: overwriting stash ‘coverage-report’ [2022-09-27T22:49:52.550Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-27T22:49:52.938Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-27T22:49:53.254Z] + ls -al . [2022-09-27T22:49:53.254Z] total 232 [2022-09-27T22:49:53.254Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 22:47 . [2022-09-27T22:49:53.254Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 22:45 .. [2022-09-27T22:49:53.254Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 22:45 .git [2022-09-27T22:49:53.254Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 22:45 .github [2022-09-27T22:49:53.254Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 27 22:45 .gitignore [2022-09-27T22:49:53.254Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 22:45 .golangci.yml [2022-09-27T22:49:53.254Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 27 22:45 Attribution.txt [2022-09-27T22:49:53.254Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 27 22:45 CHANGELOG.md [2022-09-27T22:49:53.254Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 27 22:45 Dockerfile [2022-09-27T22:49:53.254Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 22:45 GOVERNANCE.md [2022-09-27T22:49:53.254Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 27 22:45 Jenkinsfile [2022-09-27T22:49:53.254Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 27 22:45 LICENSE [2022-09-27T22:49:53.254Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 27 22:45 Makefile [2022-09-27T22:49:53.254Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 27 22:45 OWNERS.md [2022-09-27T22:49:53.254Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 27 22:45 README.md [2022-09-27T22:49:53.254Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 22:43 VERSION [2022-09-27T22:49:53.254Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 22:45 bin [2022-09-27T22:49:53.254Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 22:45 cmd [2022-09-27T22:49:53.254Z] -rw-r--r-- 1 jenkins jenkins 78461 Sep 27 22:49 coverage.out [2022-09-27T22:49:53.254Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 22:45 doc [2022-09-27T22:49:53.254Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 27 22:45 go.mod [2022-09-27T22:49:53.254Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 27 22:45 go.sum [2022-09-27T22:49:53.254Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 22:45 internal [2022-09-27T22:49:53.254Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 22:45 snap [2022-09-27T22:49:53.254Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 27 22:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T22:49:53.586Z] + 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=5c0b1a18c72763526e57372001e5af32a9bbc449 --label arch=arm64 --label version=0.0.0 . [2022-09-27T22:49:54.168Z] Sending build context to Docker daemon 14.29MB [2022-09-27T22:49:54.168Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-27T22:49:54.168Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-27T22:49:54.168Z] ---> 5738b8577801 [2022-09-27T22:49:54.168Z] Step 3/26 : ARG MAKE="make build" [2022-09-27T22:49:54.556Z] ---> Running in c35c9f5fcb69 [2022-09-27T22:49:54.834Z] Removing intermediate container c35c9f5fcb69 [2022-09-27T22:49:54.834Z] ---> a714d2822c97 [2022-09-27T22:49:54.834Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-27T22:49:54.834Z] ---> Running in 6ae4ce0e8ce6 [2022-09-27T22:49:55.106Z] Removing intermediate container 6ae4ce0e8ce6 [2022-09-27T22:49:55.106Z] ---> 826b062e36ab [2022-09-27T22:49:55.106Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-27T22:49:55.404Z] ---> Running in a5be235dc1fa [2022-09-27T22:49:55.679Z] Removing intermediate container a5be235dc1fa [2022-09-27T22:49:55.679Z] ---> 6fc4d82830df [2022-09-27T22:49:55.679Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-27T22:49:55.679Z] ---> Running in 618ff8a77df7 [2022-09-27T22:49:57.827Z] Removing intermediate container 618ff8a77df7 [2022-09-27T22:49:57.827Z] ---> 595dbe580b6c [2022-09-27T22:49:57.827Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-27T22:49:57.827Z] ---> Running in ba7bdac9eee2 [2022-09-27T22:50:00.461Z] Removing intermediate container ba7bdac9eee2 [2022-09-27T22:50:00.461Z] ---> 5a30d50b9725 [2022-09-27T22:50:00.461Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-27T22:50:00.461Z] ---> Running in b3c5085f6047 [2022-09-27T22:50:01.871Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T22:50:02.830Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T22:50:03.804Z] OK: 221 MiB in 51 packages [2022-09-27T22:50:05.215Z] Removing intermediate container b3c5085f6047 [2022-09-27T22:50:05.215Z] ---> aa81df2f1280 [2022-09-27T22:50:05.215Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-27T22:50:05.215Z] ---> Running in e5ec93e1bef7 [2022-09-27T22:50:05.482Z] Removing intermediate container e5ec93e1bef7 [2022-09-27T22:50:05.483Z] ---> dfee9f66377b [2022-09-27T22:50:05.483Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-27T22:50:07.429Z] ---> e0d6299f03d6 [2022-09-27T22:50:07.429Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-27T22:50:07.429Z] ---> Running in c11efb7d91a0 [2022-09-27T22:50:09.370Z] Removing intermediate container c11efb7d91a0 [2022-09-27T22:50:09.370Z] ---> 36f0c822830b [2022-09-27T22:50:09.370Z] Step 12/26 : COPY . . [2022-09-27T22:50:10.776Z] ---> 080e77b8249e [2022-09-27T22:50:10.776Z] Step 13/26 : RUN ${MAKE} [2022-09-27T22:50:10.776Z] ---> Running in 33079120381c [2022-09-27T22:50:11.739Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-27T22:52:33.423Z] Removing intermediate container 33079120381c [2022-09-27T22:52:33.423Z] ---> a7dbd859d9b8 [2022-09-27T22:52:33.423Z] Step 14/26 : FROM alpine:3.16 [2022-09-27T22:52:33.423Z] 3.16: Pulling from library/alpine [2022-09-27T22:52:33.423Z] 9b18e9b68314: Pulling fs layer [2022-09-27T22:52:33.423Z] 9b18e9b68314: Verifying Checksum [2022-09-27T22:52:33.423Z] 9b18e9b68314: Download complete [2022-09-27T22:52:33.423Z] 9b18e9b68314: Pull complete [2022-09-27T22:52:33.423Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-27T22:52:33.423Z] Status: Downloaded newer image for alpine:3.16 [2022-09-27T22:52:33.423Z] ---> a6215f271958 [2022-09-27T22:52:33.423Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-27T22:52:33.423Z] ---> Running in 2436d6c7ad97 [2022-09-27T22:52:33.423Z] Removing intermediate container 2436d6c7ad97 [2022-09-27T22:52:33.423Z] ---> 46787b9df155 [2022-09-27T22:52:33.423Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-27T22:52:33.423Z] ---> Running in 394d7e3efe46 [2022-09-27T22:52:33.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-27T22:52:33.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-27T22:52:33.423Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-27T22:52:33.423Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-27T22:52:33.423Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-27T22:52:33.423Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-27T22:52:33.423Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-27T22:52:33.423Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-27T22:52:33.423Z] Executing busybox-1.35.0-r17.trigger [2022-09-27T22:52:33.423Z] OK: 8 MiB in 20 packages [2022-09-27T22:52:33.423Z] Removing intermediate container 394d7e3efe46 [2022-09-27T22:52:33.423Z] ---> f32aebb8b4e3 [2022-09-27T22:52:33.423Z] Step 17/26 : WORKDIR / [2022-09-27T22:52:33.423Z] ---> Running in bf17a9ac7b55 [2022-09-27T22:52:33.423Z] Removing intermediate container bf17a9ac7b55 [2022-09-27T22:52:33.423Z] ---> 4f1f6be59f04 [2022-09-27T22:52:33.423Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-27T22:52:33.423Z] ---> aed45356464d [2022-09-27T22:52:33.423Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-27T22:52:33.423Z] ---> 28016a93fa76 [2022-09-27T22:52:33.423Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-27T22:52:33.423Z] ---> d1438eb29173 [2022-09-27T22:52:33.423Z] Step 21/26 : EXPOSE 59984 [2022-09-27T22:52:33.423Z] ---> Running in 5adf857ff614 [2022-09-27T22:52:33.423Z] Removing intermediate container 5adf857ff614 [2022-09-27T22:52:33.423Z] ---> 12a986c4d4b6 [2022-09-27T22:52:33.423Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-27T22:52:33.423Z] ---> Running in 179d96caaf9a [2022-09-27T22:52:33.423Z] Removing intermediate container 179d96caaf9a [2022-09-27T22:52:33.423Z] ---> 34f0129e1f4b [2022-09-27T22:52:33.423Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-27T22:52:33.423Z] ---> Running in 728f44feaadd [2022-09-27T22:52:33.423Z] Removing intermediate container 728f44feaadd [2022-09-27T22:52:33.423Z] ---> fa77263b4a04 [2022-09-27T22:52:33.423Z] Step 24/26 : LABEL arch=arm64 [2022-09-27T22:52:33.423Z] ---> Running in 94956d5f4233 [2022-09-27T22:52:33.423Z] Removing intermediate container 94956d5f4233 [2022-09-27T22:52:33.423Z] ---> a598214abf2f [2022-09-27T22:52:33.423Z] Step 25/26 : LABEL git_sha=5c0b1a18c72763526e57372001e5af32a9bbc449 [2022-09-27T22:52:33.423Z] ---> Running in 9629a9fa589f [2022-09-27T22:52:33.424Z] Removing intermediate container 9629a9fa589f [2022-09-27T22:52:33.424Z] ---> 19e7ac68cc42 [2022-09-27T22:52:33.424Z] Step 26/26 : LABEL version=0.0.0 [2022-09-27T22:52:33.424Z] ---> Running in 9e15acdc47ad [2022-09-27T22:52:33.688Z] Removing intermediate container 9e15acdc47ad [2022-09-27T22:52:33.688Z] ---> cf816ea6f81e [2022-09-27T22:52:33.688Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-27T22:52:33.688Z] Successfully built cf816ea6f81e [2022-09-27T22:52:33.688Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T22:52:34.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T22:52:34.099Z] [2022-09-27T22:52:34.099Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T22:52:34.419Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T22:52:34.419Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-27T22:52:34.419Z] 8998bd30e6a1: Pulling fs layer [2022-09-27T22:52:34.419Z] 04944245beec: Pulling fs layer [2022-09-27T22:52:34.419Z] 699f458cf7ca: Pulling fs layer [2022-09-27T22:52:34.419Z] 765212b225bb: Pulling fs layer [2022-09-27T22:52:34.419Z] f23df028b6ca: Pulling fs layer [2022-09-27T22:52:34.419Z] d65c8cfc05b1: Pulling fs layer [2022-09-27T22:52:34.419Z] 2437ff75d9bd: Pulling fs layer [2022-09-27T22:52:34.419Z] f23df028b6ca: Waiting [2022-09-27T22:52:34.419Z] d65c8cfc05b1: Waiting [2022-09-27T22:52:34.419Z] 765212b225bb: Waiting [2022-09-27T22:52:34.419Z] 2437ff75d9bd: Waiting [2022-09-27T22:52:34.686Z] 04944245beec: Verifying Checksum [2022-09-27T22:52:34.686Z] 04944245beec: Download complete [2022-09-27T22:52:34.686Z] 765212b225bb: Download complete [2022-09-27T22:52:34.686Z] f23df028b6ca: Download complete [2022-09-27T22:52:34.686Z] d65c8cfc05b1: Verifying Checksum [2022-09-27T22:52:34.686Z] d65c8cfc05b1: Download complete [2022-09-27T22:52:34.686Z] 699f458cf7ca: Verifying Checksum [2022-09-27T22:52:34.686Z] 699f458cf7ca: Download complete [2022-09-27T22:52:35.273Z] 8998bd30e6a1: Download complete [2022-09-27T22:52:37.212Z] 2437ff75d9bd: Verifying Checksum [2022-09-27T22:52:37.212Z] 2437ff75d9bd: Download complete [2022-09-27T22:52:39.154Z] 8998bd30e6a1: Pull complete [2022-09-27T22:52:39.154Z] 04944245beec: Pull complete [2022-09-27T22:52:40.567Z] 699f458cf7ca: Pull complete [2022-09-27T22:52:40.567Z] 765212b225bb: Pull complete [2022-09-27T22:52:41.527Z] f23df028b6ca: Pull complete [2022-09-27T22:52:41.527Z] d65c8cfc05b1: Pull complete [2022-09-27T22:52:56.521Z] 2437ff75d9bd: Pull complete [2022-09-27T22:52:56.521Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-27T22:52:56.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-27T22:52:56.521Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T22:52:56.690Z] prd-ubuntu20.04-docker-arm64-4c-16g-1449 does not seem to be running inside a container [2022-09-27T22:52:56.744Z] $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-27T22:52:59.915Z] $ docker top a5d85963fd068d99fc7e4f7b565846809d4521988bf32684251a20bb41514ab4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-27T22:53:00.437Z] ---> job-cost.sh [2022-09-27T22:53:00.702Z] lf-activate-venv: SKIPPING [2022-09-27T22:53:00.702Z] INFO: No Stack... [2022-09-27T22:53:00.967Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-27T22:53:01.924Z] INFO: Archiving Costs [Pipeline] sh [2022-09-27T22:53:02.559Z] + cat /w/workspace/device-onvif-camera/7/archives/cost.csv [2022-09-27T22:53:02.559Z] + cut -d, -f6 [Pipeline] lock [2022-09-27T22:53:02.625Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-153-7-stack-cost] [2022-09-27T22:53:02.630Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-7-stack-cost] did not exist. Created. [2022-09-27T22:53:02.630Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-153-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-27T22:53:02.952Z] /w/workspace/device-onvif-camera/7@tmp/durable-4e807801/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-27T22:53:03.594Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-27T22:53:03.615Z] Warning: overwriting stash ‘stack-cost’ [2022-09-27T22:53:03.671Z] Stashed 1 file(s) [Pipeline] } [2022-09-27T22:53:03.677Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-27T22:53:03.687Z] $ docker stop --time=1 a5d85963fd068d99fc7e4f7b565846809d4521988bf32684251a20bb41514ab4 [2022-09-27T22:53:05.176Z] $ docker rm -f a5d85963fd068d99fc7e4f7b565846809d4521988bf32684251a20bb41514ab4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-09-27T22:53:05.557Z] provisioning config files... [2022-09-27T22:53:05.563Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config16477265042514143242tmp [Pipeline] { [Pipeline] sh [2022-09-27T22:53:05.853Z] + set +x [2022-09-27T22:53:05.853Z] + curl -s https://codecov.io/bash [2022-09-27T22:53:05.853Z] + bash -s -- [2022-09-27T22:53:05.853Z] [2022-09-27T22:53:05.853Z] _____ _ [2022-09-27T22:53:05.853Z] / ____| | | [2022-09-27T22:53:05.853Z] | | ___ __| | ___ ___ _____ __ [2022-09-27T22:53:05.853Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-27T22:53:05.853Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-27T22:53:05.853Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-27T22:53:05.853Z] Bash-1.0.6 [2022-09-27T22:53:05.853Z] [2022-09-27T22:53:05.853Z] [2022-09-27T22:53:05.853Z] ==> git version 2.25.1 found [2022-09-27T22:53:05.853Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-09-27T22:53:05.853Z] Release-Date: 2020-01-08 [2022-09-27T22:53:05.853Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-09-27T22:53:05.853Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-27T22:53:05.853Z] ==> Jenkins CI detected. [2022-09-27T22:53:05.853Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-153 [2022-09-27T22:53:05.853Z] project root: . [2022-09-27T22:53:05.853Z] --> token set from env [2022-09-27T22:53:05.853Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-27T22:53:05.853Z] ==> Running gcov in . (disable via -X gcov) [2022-09-27T22:53:05.853Z] ==> Python coveragepy not found [2022-09-27T22:53:05.853Z] ==> Searching for coverage reports in: [2022-09-27T22:53:05.853Z] + . [2022-09-27T22:53:05.853Z] -> Found 1 reports [2022-09-27T22:53:05.853Z] ==> Detecting git/mercurial file structure [2022-09-27T22:53:05.853Z] ==> Reading reports [2022-09-27T22:53:06.111Z] + ./coverage.out bytes=78461 [2022-09-27T22:53:06.111Z] ==> Appending adjustments [2022-09-27T22:53:06.111Z] https://docs.codecov.io/docs/fixing-reports [2022-09-27T22:53:06.111Z] + Found adjustments [2022-09-27T22:53:06.111Z] ==> Gzipping contents [2022-09-27T22:53:06.111Z] 12K /tmp/codecov.XKHYAX.gz [2022-09-27T22:53:06.111Z] ==> Uploading reports [2022-09-27T22:53:06.111Z] url: https://codecov.io [2022-09-27T22:53:06.111Z] query: branch=PR-153&commit=8dfebd766bc653af52d6a32b3627e9af7d6b5fbe&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-153%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=153&job=&cmd_args= [2022-09-27T22:53:06.111Z] -> Pinging Codecov [2022-09-27T22:53:06.111Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-153&commit=8dfebd766bc653af52d6a32b3627e9af7d6b5fbe&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-153%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=153&job=&cmd_args= [2022-09-27T22:53:06.371Z] -> Uploading to [2022-09-27T22:53:06.371Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-27/F29A59C45E3A92E06B3E522C9905F8EF/8dfebd766bc653af52d6a32b3627e9af7d6b5fbe/ba263729-b981-4978-954c-40768f456bc6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T225306Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7073d4a517e12a493e29a04de31789a8d5cb52ef5e56781e06c1adf6361103f [2022-09-27T22:53:06.371Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-27T22:53:06.371Z] Dload Upload Total Spent Left Speed [2022-09-27T22:53:06.630Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10691 0 0 100 10691 0 48157 --:--:-- --:--:-- --:--:-- 47941 100 10691 0 0 100 10691 0 42424 --:--:-- --:--:-- --:--:-- 42256 [2022-09-27T22:53:06.630Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/8dfebd766bc653af52d6a32b3627e9af7d6b5fbe [Pipeline] } [2022-09-27T22:53:06.638Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-27T22:53:07.335Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-153/archives ] [2022-09-27T22:53:07.335Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-153/archives [2022-09-27T22:53:07.335Z] total 16 [2022-09-27T22:53:07.335Z] drwxr-xr-x 3 root root 4096 Sep 27 22:45 . [2022-09-27T22:53:07.335Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 22:45 .. [2022-09-27T22:53:07.335Z] drwxr-xr-x 2 root root 4096 Sep 27 22:45 cost [2022-09-27T22:53:07.335Z] -rw-r--r-- 1 root root 91 Sep 27 22:45 cost.csv [2022-09-27T22:53:07.335Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-153/archives [2022-09-27T22:53:07.335Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-153/archives [2022-09-27T22:53:07.335Z] total 16 [2022-09-27T22:53:07.335Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 22:45 . [2022-09-27T22:53:07.335Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 22:45 .. [2022-09-27T22:53:07.335Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 22:45 cost [2022-09-27T22:53:07.335Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 27 22:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-27T22:53:07.624Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T22:53:08.486Z] ---> package-listing.sh [2022-09-27T22:53:08.486Z] ++ facter osfamily [2022-09-27T22:53:08.486Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-27T22:53:08.746Z] + OS_FAMILY=debian [2022-09-27T22:53:08.746Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-153 [2022-09-27T22:53:08.746Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-27T22:53:08.746Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-27T22:53:08.746Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-27T22:53:08.746Z] + PACKAGES=/tmp/packages_start.txt [2022-09-27T22:53:08.746Z] + '[' /w/workspace/undry_device-onvif-camera_PR-153 ']' [2022-09-27T22:53:08.746Z] + PACKAGES=/tmp/packages_end.txt [2022-09-27T22:53:08.746Z] + case "${OS_FAMILY}" in [2022-09-27T22:53:08.746Z] + dpkg -l [2022-09-27T22:53:08.746Z] + grep '^ii' [2022-09-27T22:53:08.746Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-27T22:53:08.746Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-27T22:53:08.746Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-27T22:53:08.746Z] + '[' /w/workspace/undry_device-onvif-camera_PR-153 ']' [2022-09-27T22:53:08.746Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-153/archives/ [2022-09-27T22:53:08.746Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-153/archives/ [Pipeline] echo [2022-09-27T22:53:08.758Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-153/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-27T22:53:09.034Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-27T22:53:09.589Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-27T22:53:09.589Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-27T22:53:09.647Z] prd-ubuntu20.04-docker-8c-8g-1448 does not seem to be running inside a container [2022-09-27T22:53:09.671Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-153/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-27T22:53:09.885Z] $ docker top 19623cedeb2518fe16bf032b70b286841a4f242c51a70a80d813fda542199c46 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-27T22:53:10.230Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-27T22:53:10.512Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-27T22:53:10.796Z] + ls /var/log/sa-host [2022-09-27T22:53:10.796Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-27T22:53:10.936Z] provisioning config files... [2022-09-27T22:53:10.943Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config1532411847341580664tmp [Pipeline] { [Pipeline] echo [2022-09-27T22:53:10.957Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T22:53:11.237Z] ---> create-netrc.sh [Pipeline] } [2022-09-27T22:53:11.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-27T22:53:11.564Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-27T22:53:11.571Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T22:53:11.855Z] ---> sudo-logs.sh [2022-09-27T22:53:11.855Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-27T22:53:11.883Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T22:53:12.167Z] ---> job-cost.sh [2022-09-27T22:53:12.167Z] lf-activate-venv: SKIPPING [2022-09-27T22:53:12.167Z] DEBUG: total: 0.2199999988079071 [2022-09-27T22:53:12.167Z] INFO: Retrieving Stack Cost... [2022-09-27T22:53:12.425Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-27T22:53:12.993Z] INFO: Archiving Costs [Pipeline] echo [2022-09-27T22:53:13.004Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-27T22:53:13.283Z] ---> logs-deploy.sh [2022-09-27T22:53:13.283Z] lf-activate-venv: SKIPPING [2022-09-27T22:53:13.283Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-153/7 [2022-09-27T22:53:13.283Z] INFO: archiving workspace using pattern(s): [2022-09-27T22:53:14.219Z] Archives upload complete. [2022-09-27T22:53:14.219Z] INFO: archiving logs to Nexus