Pull request #172 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of edgego for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than 46e56256ac5babb7df711278807ddef6ea50998f Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3855441013490896680.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-ssh432724813192511156.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6929290677019212673.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-ssh3732551127403822314.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5655531924669118778.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7317 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-172 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit 46e56256ac5babb7df711278807ddef6ea50998f Merge succeeded, producing 46e56256ac5babb7df711278807ddef6ea50998f Checking out Revision 46e56256ac5babb7df711278807ddef6ea50998f (PR-172) > git config core.sparsecheckout # timeout=10 > git checkout -f 46e56256ac5babb7df711278807ddef6ea50998f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46e56256ac5babb7df711278807ddef6ea50998f # timeout=10 Commit message: "fix: discovery mode netscan when using docker-compose" > git rev-list --no-walk face5d6007145a468790ace10b56d6957ea9f84d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-07T10:16:25.578Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-07T10:16:25.618Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-07T10:16:25.630Z] ========================================================= [2022-10-07T10:16:25.630Z] EdgeX Global Pipelines Version Info [2022-10-07T10:16:25.630Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:16:26.343Z] ------------------- [2022-10-07T10:16:26.343Z] stable info: [2022-10-07T10:16:26.343Z] ------------------- [2022-10-07T10:16:26.343Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-07T10:16:26.343Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-07T10:16:26.343Z] Message: update stable to v1.0.239 [2022-10-07T10:16:26.925Z] ------------------- [2022-10-07T10:16:26.925Z] experimental info: [2022-10-07T10:16:26.925Z] ------------------- [2022-10-07T10:16:26.925Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-07T10:16:26.925Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-07T10:16:26.925Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-07T10:16:27.118Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-07T10:16:27.130Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-07T10:16:27.141Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-07T10:16:27.155Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-07T10:16:27.166Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-07T10:16:27.177Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-07T10:16:27.189Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-07T10:16:27.200Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-07T10:16:27.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-07T10:16:27.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-07T10:16:27.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-07T10:16:27.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-07T10:16:27.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-07T10:16:27.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-07T10:16:27.279Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-07T10:16:27.290Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-07T10:16:27.301Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-07T10:16:27.312Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-07T10:16:27.325Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-07T10:16:27.339Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-07T10:16:27.349Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-07T10:16:27.367Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-07T10:16:27.383Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-07T10:16:27.397Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-07T10:16:27.406Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-07T10:16:27.420Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-07T10:16:27.431Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-07T10:16:27.448Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-172 [Pipeline] echo [2022-10-07T10:16:27.461Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-172 [Pipeline] echo [2022-10-07T10:16:27.474Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-172 [Pipeline] echo [2022-10-07T10:16:27.483Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 46e56256ac5babb7df711278807ddef6ea50998f [Pipeline] echo [2022-10-07T10:16:27.493Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 46e5625 [Pipeline] echo [2022-10-07T10:16:27.501Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T10:16:27.541Z] provisioning config files... [2022-10-07T10:16:27.553Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config11030869564377099255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:16:27.855Z] ---> docker-login.sh [2022-10-07T10:16:27.855Z] nexus3.edgexfoundry.org:10001 [2022-10-07T10:16:28.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:16:28.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:16:28.115Z] Configure a credential helper to remove this warning. See [2022-10-07T10:16:28.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:16:28.115Z] [2022-10-07T10:16:28.115Z] Login Succeeded [2022-10-07T10:16:28.115Z] nexus3.edgexfoundry.org:10002 [2022-10-07T10:16:28.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:16:28.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:16:28.115Z] Configure a credential helper to remove this warning. See [2022-10-07T10:16:28.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:16:28.115Z] [2022-10-07T10:16:28.115Z] Login Succeeded [2022-10-07T10:16:28.115Z] nexus3.edgexfoundry.org:10003 [2022-10-07T10:16:28.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:16:28.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:16:28.377Z] Configure a credential helper to remove this warning. See [2022-10-07T10:16:28.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:16:28.377Z] [2022-10-07T10:16:28.377Z] Login Succeeded [2022-10-07T10:16:28.377Z] nexus3.edgexfoundry.org:10004 [2022-10-07T10:16:28.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:16:28.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:16:28.377Z] Configure a credential helper to remove this warning. See [2022-10-07T10:16:28.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:16:28.377Z] [2022-10-07T10:16:28.377Z] Login Succeeded [2022-10-07T10:16:28.377Z] docker.io [2022-10-07T10:16:28.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:16:28.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:16:28.906Z] Configure a credential helper to remove this warning. See [2022-10-07T10:16:28.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:16:28.906Z] [2022-10-07T10:16:28.906Z] Login Succeeded [2022-10-07T10:16:28.906Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T10:16:28.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-07T10:16:29.282Z] + git rev-list -1 --merges 46e56256ac5babb7df711278807ddef6ea50998f~1..46e56256ac5babb7df711278807ddef6ea50998f [Pipeline] echo [2022-10-07T10:16:29.315Z] -----------> git rev-list -1 --merges 46e56256ac5babb7df711278807ddef6ea50998f~1..46e56256ac5babb7df711278807ddef6ea50998f 46e56256ac5babb7df711278807ddef6ea50998f [false] [Pipeline] sh [2022-10-07T10:16:29.605Z] + git log --format=format:%s -1 46e56256ac5babb7df711278807ddef6ea50998f [Pipeline] echo [2022-10-07T10:16:29.619Z] ========================================================= [2022-10-07T10:16:29.619Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-07T10:16:29.619Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T10:16:29.932Z] + git log --format=format:%s -1 46e56256ac5babb7df711278807ddef6ea50998f [Pipeline] echo [2022-10-07T10:16:29.943Z] [semverPrep] GIT_COMMIT: 46e56256ac5babb7df711278807ddef6ea50998f, Commit Message: fix: discovery mode netscan when using docker-compose [Pipeline] echo [2022-10-07T10:16:29.953Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-07T10:16:30.303Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-07T10:16:30.303Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-07T10:16:30.303Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-07T10:16:30.303Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-07T10:16:30.303Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-07T10:16:30.303Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-07T10:16:30.303Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:16:30.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T10:16:30.644Z] [2022-10-07T10:16:30.644Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:16:30.945Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T10:16:30.945Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-07T10:16:30.945Z] b85a868b505f: Pulling fs layer [2022-10-07T10:16:30.945Z] e2be974225ed: Pulling fs layer [2022-10-07T10:16:30.945Z] 339a4e72a1f5: Pulling fs layer [2022-10-07T10:16:30.945Z] 988bab9f4d93: Pulling fs layer [2022-10-07T10:16:30.945Z] 1469e6f7b9e6: Pulling fs layer [2022-10-07T10:16:30.945Z] eaf3925da568: Pulling fs layer [2022-10-07T10:16:30.945Z] bab4dde63d76: Pulling fs layer [2022-10-07T10:16:30.945Z] bde34c3a00c8: Pulling fs layer [2022-10-07T10:16:30.945Z] 1469e6f7b9e6: Waiting [2022-10-07T10:16:30.945Z] eaf3925da568: Waiting [2022-10-07T10:16:30.945Z] b352a97aabf1: Pulling fs layer [2022-10-07T10:16:30.945Z] 4872d77fe225: Pulling fs layer [2022-10-07T10:16:30.945Z] 5851b861e8e6: Pulling fs layer [2022-10-07T10:16:30.945Z] bde34c3a00c8: Waiting [2022-10-07T10:16:30.945Z] b352a97aabf1: Waiting [2022-10-07T10:16:30.945Z] bab4dde63d76: Waiting [2022-10-07T10:16:30.945Z] 988bab9f4d93: Waiting [2022-10-07T10:16:30.945Z] 4872d77fe225: Waiting [2022-10-07T10:16:30.945Z] 5851b861e8e6: Waiting [2022-10-07T10:16:30.945Z] e2be974225ed: Verifying Checksum [2022-10-07T10:16:30.945Z] e2be974225ed: Download complete [2022-10-07T10:16:30.945Z] 988bab9f4d93: Verifying Checksum [2022-10-07T10:16:30.945Z] 988bab9f4d93: Download complete [2022-10-07T10:16:31.206Z] 339a4e72a1f5: Verifying Checksum [2022-10-07T10:16:31.206Z] 339a4e72a1f5: Download complete [2022-10-07T10:16:31.206Z] eaf3925da568: Verifying Checksum [2022-10-07T10:16:31.206Z] eaf3925da568: Download complete [2022-10-07T10:16:31.206Z] b85a868b505f: Verifying Checksum [2022-10-07T10:16:31.206Z] b85a868b505f: Download complete [2022-10-07T10:16:31.206Z] bde34c3a00c8: Verifying Checksum [2022-10-07T10:16:31.206Z] bde34c3a00c8: Download complete [2022-10-07T10:16:31.206Z] b352a97aabf1: Download complete [2022-10-07T10:16:31.206Z] 4872d77fe225: Verifying Checksum [2022-10-07T10:16:31.206Z] 4872d77fe225: Download complete [2022-10-07T10:16:31.206Z] 5851b861e8e6: Verifying Checksum [2022-10-07T10:16:31.206Z] 5851b861e8e6: Download complete [2022-10-07T10:16:31.466Z] 1469e6f7b9e6: Verifying Checksum [2022-10-07T10:16:31.466Z] 1469e6f7b9e6: Download complete [2022-10-07T10:16:31.466Z] bab4dde63d76: Verifying Checksum [2022-10-07T10:16:31.466Z] bab4dde63d76: Download complete [2022-10-07T10:16:32.405Z] b85a868b505f: Pull complete [2022-10-07T10:16:32.663Z] e2be974225ed: Pull complete [2022-10-07T10:16:33.287Z] 339a4e72a1f5: Pull complete [2022-10-07T10:16:33.287Z] 988bab9f4d93: Pull complete [2022-10-07T10:16:33.549Z] 1469e6f7b9e6: Pull complete [2022-10-07T10:16:33.549Z] eaf3925da568: Pull complete [2022-10-07T10:16:35.453Z] bab4dde63d76: Pull complete [2022-10-07T10:16:35.453Z] bde34c3a00c8: Pull complete [2022-10-07T10:16:35.713Z] b352a97aabf1: Pull complete [2022-10-07T10:16:35.713Z] 4872d77fe225: Pull complete [2022-10-07T10:16:35.713Z] 5851b861e8e6: Pull complete [2022-10-07T10:16:35.713Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-07T10:16:35.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-07T10:16:35.973Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:16:36.057Z] prd-ubuntu20.04-docker-8c-8g-7317 does not seem to be running inside a container [2022-10-07T10:16:36.095Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-07T10:16:39.707Z] $ docker top c85e9d0aa9ea55a81c5ba349ab50af51dfebca2cd459662c170c6dd385b9aa50 -eo pid,comm [2022-10-07T10:16:39.759Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-07T10:16:39.759Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-07T10:16:39.794Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-07T10:16:39.794Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-07T10:16:39.907Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-07T10:16:39.913Z] $ docker exec c85e9d0aa9ea55a81c5ba349ab50af51dfebca2cd459662c170c6dd385b9aa50 ssh-agent [2022-10-07T10:16:40.026Z] SSH_AUTH_SOCK=/tmp/ssh-RUg6MvyI0FCH/agent.32 [2022-10-07T10:16:40.026Z] SSH_AGENT_PID=38 [2022-10-07T10:16:40.033Z] Running ssh-add (command line suppressed) [2022-10-07T10:16:40.144Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_11432839144566675764.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_11432839144566675764.key) [2022-10-07T10:16:40.155Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-07T10:16:40.445Z] + git tag --points-at HEAD [Pipeline] } [2022-10-07T10:16:40.460Z] $ docker exec --env ******** --env ******** c85e9d0aa9ea55a81c5ba349ab50af51dfebca2cd459662c170c6dd385b9aa50 ssh-agent -k [2022-10-07T10:16:40.566Z] unset SSH_AUTH_SOCK; [2022-10-07T10:16:40.567Z] unset SSH_AGENT_PID; [2022-10-07T10:16:40.567Z] echo Agent pid 38 killed; [2022-10-07T10:16:40.574Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-07T10:16:40.595Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-07T10:16:40.595Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-07T10:16:40.715Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-07T10:16:40.721Z] $ docker exec c85e9d0aa9ea55a81c5ba349ab50af51dfebca2cd459662c170c6dd385b9aa50 ssh-agent [2022-10-07T10:16:40.828Z] SSH_AUTH_SOCK=/tmp/ssh-Pl4sKxo9NZOX/agent.71 [2022-10-07T10:16:40.828Z] SSH_AGENT_PID=77 [2022-10-07T10:16:40.834Z] Running ssh-add (command line suppressed) [2022-10-07T10:16:40.949Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_6680378855439853945.key (/w/workspace/undry_device-onvif-camera_PR-172@tmp/private_key_6680378855439853945.key) [2022-10-07T10:16:40.962Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-07T10:16:41.249Z] + git semver init [2022-10-07T10:16:41.507Z] 2022-10-07 10:16:41,440 [run_init] DEBUG init version:0.0.0 force:False [2022-10-07T10:16:41.507Z] 2022-10-07 10:16:41,441 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-07T10:16:41.507Z] 2022-10-07 10:16:41,442 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-172/.semver [2022-10-07T10:16:41.507Z] 2022-10-07 10:16:41,442 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-172/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-172, universal_newlines=False, shell=None, istream=None) [2022-10-07T10:16:42.886Z] 2022-10-07 10:16:42,522 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-172/.git/info/exclude [2022-10-07T10:16:42.886Z] 2022-10-07 10:16:42,522 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 with force:False [2022-10-07T10:16:42.886Z] 2022-10-07 10:16:42,523 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-07T10:16:42.886Z] 2022-10-07 10:16:42,527 [execute] INFO git cat-file --batch-check [2022-10-07T10:16:42.886Z] 2022-10-07 10:16:42,528 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) [2022-10-07T10:16:42.886Z] 2022-10-07 10:16:42,534 [execute] INFO git cat-file --batch [2022-10-07T10:16:42.886Z] 2022-10-07 10:16:42,535 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-172/.semver, universal_newlines=False, shell=None, istream=) [2022-10-07T10:16:42.886Z] 2022-10-07 10:16:42,540 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-172/.semver/PR-172 [2022-10-07T10:16:42.886Z] 0.0.0 [Pipeline] } [2022-10-07T10:16:42.898Z] $ docker exec --env ******** --env ******** c85e9d0aa9ea55a81c5ba349ab50af51dfebca2cd459662c170c6dd385b9aa50 ssh-agent -k [2022-10-07T10:16:42.989Z] unset SSH_AUTH_SOCK; [2022-10-07T10:16:42.990Z] unset SSH_AGENT_PID; [2022-10-07T10:16:42.990Z] echo Agent pid 77 killed; [2022-10-07T10:16:43.000Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-07T10:16:43.297Z] + git semver [Pipeline] } [2022-10-07T10:16:43.571Z] $ docker stop --time=1 c85e9d0aa9ea55a81c5ba349ab50af51dfebca2cd459662c170c6dd385b9aa50 [2022-10-07T10:16:44.893Z] $ docker rm -f c85e9d0aa9ea55a81c5ba349ab50af51dfebca2cd459662c170c6dd385b9aa50 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T10:16:45.238Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-07T10:16:45.445Z] Stashed 1 file(s) [Pipeline] echo [2022-10-07T10:16:45.448Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T10:16:45.613Z] provisioning config files... [2022-10-07T10:16:45.623Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config9063717265401358443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:16:45.919Z] ---> docker-login.sh [2022-10-07T10:16:45.919Z] nexus3.edgexfoundry.org:10001 [2022-10-07T10:16:45.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:16:45.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:16:45.919Z] Configure a credential helper to remove this warning. See [2022-10-07T10:16:45.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:16:45.919Z] [2022-10-07T10:16:45.919Z] Login Succeeded [2022-10-07T10:16:45.919Z] nexus3.edgexfoundry.org:10002 [2022-10-07T10:16:45.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:16:45.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:16:45.919Z] Configure a credential helper to remove this warning. See [2022-10-07T10:16:45.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:16:45.919Z] [2022-10-07T10:16:45.919Z] Login Succeeded [2022-10-07T10:16:45.919Z] nexus3.edgexfoundry.org:10003 [2022-10-07T10:16:46.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:16:46.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:16:46.177Z] Configure a credential helper to remove this warning. See [2022-10-07T10:16:46.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:16:46.177Z] [2022-10-07T10:16:46.177Z] Login Succeeded [2022-10-07T10:16:46.177Z] nexus3.edgexfoundry.org:10004 [2022-10-07T10:16:46.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:16:46.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:16:46.177Z] Configure a credential helper to remove this warning. See [2022-10-07T10:16:46.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:16:46.177Z] [2022-10-07T10:16:46.177Z] Login Succeeded [2022-10-07T10:16:46.177Z] docker.io [2022-10-07T10:16:46.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:16:46.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:16:46.696Z] Configure a credential helper to remove this warning. See [2022-10-07T10:16:46.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:16:46.696Z] [2022-10-07T10:16:46.696Z] Login Succeeded [2022-10-07T10:16:46.696Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T10:16:46.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-07T10:16:46.761Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T10:16:46.770Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T10:16:46.776Z] ========================================================= [2022-10-07T10:16:46.776Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-07T10:16:46.776Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:16:47.084Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-07T10:16:47.084Z] Sending build context to Docker daemon 21.05MB [2022-10-07T10:16:47.084Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T10:16:47.084Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-07T10:16:47.344Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-07T10:16:47.344Z] 2408cc74d12b: Pulling fs layer [2022-10-07T10:16:47.344Z] ea60b727a1ce: Pulling fs layer [2022-10-07T10:16:47.344Z] 30c4a7721957: Pulling fs layer [2022-10-07T10:16:47.344Z] 370296b7ddb6: Pulling fs layer [2022-10-07T10:16:47.344Z] 7c6cee850709: Pulling fs layer [2022-10-07T10:16:47.344Z] aa9baa53a306: Pulling fs layer [2022-10-07T10:16:47.344Z] 8b309c321861: Pulling fs layer [2022-10-07T10:16:47.344Z] d8d76fd02f46: Pulling fs layer [2022-10-07T10:16:47.344Z] fa31f396de31: Pulling fs layer [2022-10-07T10:16:47.344Z] 370296b7ddb6: Waiting [2022-10-07T10:16:47.344Z] 7c6cee850709: Waiting [2022-10-07T10:16:47.344Z] d8d76fd02f46: Waiting [2022-10-07T10:16:47.344Z] aa9baa53a306: Waiting [2022-10-07T10:16:47.344Z] 8b309c321861: Waiting [2022-10-07T10:16:47.344Z] 30c4a7721957: Verifying Checksum [2022-10-07T10:16:47.344Z] 30c4a7721957: Download complete [2022-10-07T10:16:47.344Z] ea60b727a1ce: Download complete [2022-10-07T10:16:47.344Z] 7c6cee850709: Download complete [2022-10-07T10:16:47.344Z] aa9baa53a306: Download complete [2022-10-07T10:16:47.344Z] 2408cc74d12b: Verifying Checksum [2022-10-07T10:16:47.344Z] 2408cc74d12b: Download complete [2022-10-07T10:16:47.344Z] 8b309c321861: Download complete [2022-10-07T10:16:47.606Z] 2408cc74d12b: Pull complete [2022-10-07T10:16:47.606Z] ea60b727a1ce: Pull complete [2022-10-07T10:16:47.606Z] 30c4a7721957: Pull complete [2022-10-07T10:16:47.866Z] fa31f396de31: Verifying Checksum [2022-10-07T10:16:47.866Z] fa31f396de31: Download complete [2022-10-07T10:16:48.124Z] d8d76fd02f46: Verifying Checksum [2022-10-07T10:16:48.124Z] d8d76fd02f46: Download complete [2022-10-07T10:16:48.124Z] 370296b7ddb6: Download complete [2022-10-07T10:16:52.306Z] 370296b7ddb6: Pull complete [2022-10-07T10:16:52.306Z] 7c6cee850709: Pull complete [2022-10-07T10:16:52.306Z] aa9baa53a306: Pull complete [2022-10-07T10:16:52.306Z] 8b309c321861: Pull complete [2022-10-07T10:16:54.207Z] d8d76fd02f46: Pull complete [2022-10-07T10:16:55.142Z] fa31f396de31: Pull complete [2022-10-07T10:16:55.142Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-07T10:16:55.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-07T10:16:55.142Z] ---> cef68f9685f8 [2022-10-07T10:16:55.142Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-07T10:17:00.422Z] ---> Running in 40ab36703d8d [2022-10-07T10:17:00.422Z] Removing intermediate container 40ab36703d8d [2022-10-07T10:17:00.422Z] ---> faf66c8ecd1a [2022-10-07T10:17:00.422Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T10:17:00.422Z] ---> Running in b181a104d2f7 [2022-10-07T10:17:00.422Z] Removing intermediate container b181a104d2f7 [2022-10-07T10:17:00.422Z] ---> 64e7814e81e5 [2022-10-07T10:17:00.422Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T10:17:00.422Z] ---> Running in e82a769a994c [2022-10-07T10:17:00.422Z] Removing intermediate container e82a769a994c [2022-10-07T10:17:00.422Z] ---> 05343a685dd5 [2022-10-07T10:17:00.422Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T10:17:00.422Z] ---> Running in 7df826977ad8 [2022-10-07T10:17:00.422Z] Removing intermediate container 7df826977ad8 [2022-10-07T10:17:00.422Z] ---> a64333442bb3 [2022-10-07T10:17:00.422Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-07T10:17:00.422Z] ---> Running in 6696c7ebf409 [2022-10-07T10:17:00.422Z] Removing intermediate container 6696c7ebf409 [2022-10-07T10:17:00.422Z] ---> 81e0dd97e92c [2022-10-07T10:17:00.422Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T10:17:00.422Z] ---> Running in b9700b5a4742 [2022-10-07T10:17:00.561Z] Still waiting to schedule task [2022-10-07T10:17:00.561Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7315’ is offline [2022-10-07T10:17:00.989Z] Removing intermediate container b9700b5a4742 [2022-10-07T10:17:00.989Z] ---> 2b3e74a007bb [2022-10-07T10:17:00.989Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T10:17:00.989Z] ---> Running in 6763e7392c88 [2022-10-07T10:17:01.248Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T10:17:02.185Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T10:17:02.444Z] OK: 211 MiB in 51 packages [2022-10-07T10:17:02.704Z] Removing intermediate container 6763e7392c88 [2022-10-07T10:17:02.704Z] ---> 486a3aa879b4 [2022-10-07T10:17:02.704Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-07T10:17:02.704Z] ---> Running in 62318681d6ff [2022-10-07T10:17:02.704Z] Removing intermediate container 62318681d6ff [2022-10-07T10:17:02.704Z] ---> 2b214956fa5c [2022-10-07T10:17:02.704Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-07T10:17:02.964Z] ---> 1ae01729a678 [2022-10-07T10:17:02.964Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T10:17:02.964Z] ---> Running in 2e05f9d6e972 [2022-10-07T10:17:29.713Z] Removing intermediate container 2e05f9d6e972 [2022-10-07T10:17:29.713Z] ---> 37614141fcc7 [2022-10-07T10:17:29.713Z] Step 13/14 : COPY . . [2022-10-07T10:17:29.713Z] ---> db89f2096b52 [2022-10-07T10:17:29.713Z] Step 14/14 : RUN ${MAKE} [2022-10-07T10:17:29.713Z] ---> Running in ceaa70e578a7 [2022-10-07T10:17:29.713Z] noop [2022-10-07T10:17:29.713Z] Removing intermediate container ceaa70e578a7 [2022-10-07T10:17:29.713Z] ---> ef072c7ad29e [2022-10-07T10:17:29.713Z] Successfully built ef072c7ad29e [2022-10-07T10:17:29.713Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:17:30.025Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-07T10:17:30.025Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:17:30.101Z] prd-ubuntu20.04-docker-8c-8g-7317 does not seem to be running inside a container [2022-10-07T10:17:30.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-07T10:17:30.527Z] $ docker top 1eb22f056ba4e863d561b53b547480a72b7db7f5ad3b10fd382ea621df2e2f7c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T10:17:30.879Z] + go version [2022-10-07T10:17:30.879Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-07T10:17:30.892Z] $ docker stop --time=1 1eb22f056ba4e863d561b53b547480a72b7db7f5ad3b10fd382ea621df2e2f7c [2022-10-07T10:17:32.150Z] $ docker rm -f 1eb22f056ba4e863d561b53b547480a72b7db7f5ad3b10fd382ea621df2e2f7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:17:32.529Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-07T10:17:32.529Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:17:32.598Z] prd-ubuntu20.04-docker-8c-8g-7317 does not seem to be running inside a container [2022-10-07T10:17:32.635Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-07T10:17:32.970Z] $ docker top f8d820b14af2be6d9cd7e3543aedb60da0a7e6f25723f3e0d9d45a162e57e2f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T10:17:33.315Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] fileExists [Pipeline] sh [2022-10-07T10:17:33.612Z] + make test [2022-10-07T10:17:33.612Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-07T10:17:33.870Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-07T10:17:46.079Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-07T10:17:46.647Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.036s coverage: 28.2% of statements [2022-10-07T10:17:46.647Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-07T10:17:46.647Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.313s coverage: 86.5% of statements [2022-10-07T10:17:54.750Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-07T10:17:54.750Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-07T10:17:57.276Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-07T10:17:57.276Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-07T10:17:57.276Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-07T10:17:57.288Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-07T10:17:57.302Z] $ docker stop --time=1 f8d820b14af2be6d9cd7e3543aedb60da0a7e6f25723f3e0d9d45a162e57e2f5 [2022-10-07T10:17:59.955Z] $ docker rm -f f8d820b14af2be6d9cd7e3543aedb60da0a7e6f25723f3e0d9d45a162e57e2f5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T10:18:00.403Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-07T10:18:00.462Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-07T10:18:00.888Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-07T10:18:01.174Z] + ls -al . [2022-10-07T10:18:01.174Z] total 236 [2022-10-07T10:18:01.174Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 10:17 . [2022-10-07T10:18:01.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:16 .. [2022-10-07T10:18:01.174Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 10:17 .git [2022-10-07T10:18:01.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:16 .github [2022-10-07T10:18:01.174Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 7 10:16 .gitignore [2022-10-07T10:18:01.174Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 7 10:16 .golangci.yml [2022-10-07T10:18:01.174Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 10:16 .semver [2022-10-07T10:18:01.174Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 7 10:16 Attribution.txt [2022-10-07T10:18:01.174Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 7 10:16 CHANGELOG.md [2022-10-07T10:18:01.174Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 7 10:16 Dockerfile [2022-10-07T10:18:01.174Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 10:16 GOVERNANCE.md [2022-10-07T10:18:01.174Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 7 10:16 Jenkinsfile [2022-10-07T10:18:01.174Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 10:16 LICENSE [2022-10-07T10:18:01.174Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 7 10:16 Makefile [2022-10-07T10:18:01.174Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 7 10:16 OWNERS.md [2022-10-07T10:18:01.174Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 7 10:16 README.md [2022-10-07T10:18:01.174Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 10:16 VERSION [2022-10-07T10:18:01.174Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 10:16 bin [2022-10-07T10:18:01.174Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:16 cmd [2022-10-07T10:18:01.174Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 7 10:17 coverage.out [2022-10-07T10:18:01.174Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 10:16 doc [2022-10-07T10:18:01.174Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 7 10:16 go.mod [2022-10-07T10:18:01.174Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 7 10:16 go.sum [2022-10-07T10:18:01.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:16 internal [2022-10-07T10:18:01.174Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:16 snap [2022-10-07T10:18:01.174Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 7 10:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:18:01.480Z] + 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=46e56256ac5babb7df711278807ddef6ea50998f --label arch=amd64 --label version=0.0.0 . [2022-10-07T10:18:01.480Z] Sending build context to Docker daemon 21.13MB [2022-10-07T10:18:01.480Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T10:18:01.480Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-07T10:18:01.480Z] ---> ef072c7ad29e [2022-10-07T10:18:01.480Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-07T10:18:02.057Z] ---> Running in 2794e0ce9a8e [2022-10-07T10:18:02.057Z] Removing intermediate container 2794e0ce9a8e [2022-10-07T10:18:02.057Z] ---> dd275eee737e [2022-10-07T10:18:02.057Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T10:18:02.057Z] ---> Running in fc0a0c93faab [2022-10-07T10:18:02.057Z] Removing intermediate container fc0a0c93faab [2022-10-07T10:18:02.057Z] ---> e3d459f1bd79 [2022-10-07T10:18:02.057Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T10:18:02.057Z] ---> Running in 2f911ec983bf [2022-10-07T10:18:02.057Z] Removing intermediate container 2f911ec983bf [2022-10-07T10:18:02.057Z] ---> 0d9d2543b5c6 [2022-10-07T10:18:02.057Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T10:18:02.315Z] ---> Running in 43ed2471a82e [2022-10-07T10:18:02.315Z] Removing intermediate container 43ed2471a82e [2022-10-07T10:18:02.315Z] ---> 44548d2fdb54 [2022-10-07T10:18:02.315Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-07T10:18:02.315Z] ---> Running in 66fb2fc94a78 [2022-10-07T10:18:02.315Z] Removing intermediate container 66fb2fc94a78 [2022-10-07T10:18:02.315Z] ---> b94a268cf065 [2022-10-07T10:18:02.315Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T10:18:02.315Z] ---> Running in bd8be03f7d9f [2022-10-07T10:18:02.880Z] Removing intermediate container bd8be03f7d9f [2022-10-07T10:18:02.880Z] ---> 3e201588cc2a [2022-10-07T10:18:02.880Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T10:18:02.880Z] ---> Running in c1c14aa72613 [2022-10-07T10:18:03.137Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T10:18:04.074Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T10:18:04.333Z] OK: 211 MiB in 51 packages [2022-10-07T10:18:04.592Z] Removing intermediate container c1c14aa72613 [2022-10-07T10:18:04.592Z] ---> cd5adf2de190 [2022-10-07T10:18:04.592Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-07T10:18:04.592Z] ---> Running in bdccd34e810a [2022-10-07T10:18:04.853Z] Removing intermediate container bdccd34e810a [2022-10-07T10:18:04.853Z] ---> 1d91e716df6c [2022-10-07T10:18:04.853Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-07T10:18:04.853Z] ---> 14b6b21eb3a6 [2022-10-07T10:18:04.853Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T10:18:04.853Z] ---> Running in 25e82bc02d16 [2022-10-07T10:18:05.787Z] Removing intermediate container 25e82bc02d16 [2022-10-07T10:18:05.787Z] ---> 3e93ccc69c56 [2022-10-07T10:18:05.787Z] Step 13/27 : COPY . . [2022-10-07T10:18:06.738Z] ---> e97bac61abdb [2022-10-07T10:18:06.738Z] Step 14/27 : RUN ${MAKE} [2022-10-07T10:18:06.738Z] ---> Running in 483d8e8d38ac [2022-10-07T10:18:06.738Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-07T10:18:33.274Z] Removing intermediate container 483d8e8d38ac [2022-10-07T10:18:33.274Z] ---> 5919be8d530f [2022-10-07T10:18:33.274Z] Step 15/27 : FROM alpine:3.16 [2022-10-07T10:18:33.274Z] 3.16: Pulling from library/alpine [2022-10-07T10:18:33.274Z] 213ec9aee27d: Pulling fs layer [2022-10-07T10:18:33.274Z] 213ec9aee27d: Download complete [2022-10-07T10:18:33.274Z] 213ec9aee27d: Pull complete [2022-10-07T10:18:33.274Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-07T10:18:33.274Z] Status: Downloaded newer image for alpine:3.16 [2022-10-07T10:18:33.274Z] ---> 9c6f07244728 [2022-10-07T10:18:33.274Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-07T10:18:33.274Z] ---> Running in 16523915b425 [2022-10-07T10:18:33.274Z] Removing intermediate container 16523915b425 [2022-10-07T10:18:33.274Z] ---> b25d7c1212e6 [2022-10-07T10:18:33.274Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-07T10:18:33.274Z] ---> Running in 59a80554003d [2022-10-07T10:18:33.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-07T10:18:33.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-07T10:18:33.274Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-07T10:18:33.274Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-07T10:18:33.274Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-07T10:18:33.274Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-07T10:18:33.274Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-07T10:18:33.274Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-07T10:18:33.274Z] Executing busybox-1.35.0-r17.trigger [2022-10-07T10:18:33.274Z] OK: 8 MiB in 20 packages [2022-10-07T10:18:33.839Z] Removing intermediate container 59a80554003d [2022-10-07T10:18:33.839Z] ---> 48d6151602e4 [2022-10-07T10:18:33.839Z] Step 18/27 : WORKDIR / [2022-10-07T10:18:33.839Z] ---> Running in fe8d97081418 [2022-10-07T10:18:33.839Z] Removing intermediate container fe8d97081418 [2022-10-07T10:18:33.839Z] ---> edd1d7c92632 [2022-10-07T10:18:33.839Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-07T10:18:34.912Z] ---> 29f6c5d528a9 [2022-10-07T10:18:34.912Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-07T10:18:34.912Z] ---> 3b71cf4157dc [2022-10-07T10:18:34.912Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-07T10:18:35.171Z] ---> 24570b080a27 [2022-10-07T10:18:35.171Z] Step 22/27 : EXPOSE 59984 [2022-10-07T10:18:35.171Z] ---> Running in fc36dedc30da [2022-10-07T10:18:35.171Z] Removing intermediate container fc36dedc30da [2022-10-07T10:18:35.171Z] ---> a833e3f8c201 [2022-10-07T10:18:35.171Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-07T10:18:35.171Z] ---> Running in ae7c30b1e128 [2022-10-07T10:18:35.429Z] Removing intermediate container ae7c30b1e128 [2022-10-07T10:18:35.429Z] ---> a58e8e851a94 [2022-10-07T10:18:35.429Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-07T10:18:35.429Z] ---> Running in 4f6d29cade98 [2022-10-07T10:18:35.429Z] Removing intermediate container 4f6d29cade98 [2022-10-07T10:18:35.429Z] ---> d7ade1a04c4b [2022-10-07T10:18:35.429Z] Step 25/27 : LABEL arch=amd64 [2022-10-07T10:18:35.429Z] ---> Running in f69b18fce1d4 [2022-10-07T10:18:35.429Z] Removing intermediate container f69b18fce1d4 [2022-10-07T10:18:35.429Z] ---> 0f3baa0df02c [2022-10-07T10:18:35.429Z] Step 26/27 : LABEL git_sha=46e56256ac5babb7df711278807ddef6ea50998f [2022-10-07T10:18:35.429Z] ---> Running in d340412adeec [2022-10-07T10:18:35.689Z] Removing intermediate container d340412adeec [2022-10-07T10:18:35.689Z] ---> 8be6ddcb4e8c [2022-10-07T10:18:35.689Z] Step 27/27 : LABEL version=0.0.0 [2022-10-07T10:18:35.689Z] ---> Running in 94b49337acc6 [2022-10-07T10:18:35.689Z] Removing intermediate container 94b49337acc6 [2022-10-07T10:18:35.689Z] ---> 8f54fb582249 [2022-10-07T10:18:35.689Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-07T10:18:35.689Z] Successfully built 8f54fb582249 [2022-10-07T10:18:35.689Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:18:36.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T10:18:36.123Z] [2022-10-07T10:18:36.123Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:18:36.418Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T10:18:36.418Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-07T10:18:36.418Z] 5eb5b503b376: Pulling fs layer [2022-10-07T10:18:36.418Z] 5c69ac0246d0: Pulling fs layer [2022-10-07T10:18:36.418Z] ec43610c2a17: Pulling fs layer [2022-10-07T10:18:36.418Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-07T10:18:36.418Z] 33b1e0a273af: Pulling fs layer [2022-10-07T10:18:36.418Z] 5d3b04190fa2: Pulling fs layer [2022-10-07T10:18:36.418Z] 2f39f015ded8: Pulling fs layer [2022-10-07T10:18:36.418Z] 3a2ae6a8a46f: Waiting [2022-10-07T10:18:36.418Z] 33b1e0a273af: Waiting [2022-10-07T10:18:36.418Z] 5d3b04190fa2: Waiting [2022-10-07T10:18:36.418Z] 2f39f015ded8: Waiting [2022-10-07T10:18:36.418Z] 5c69ac0246d0: Verifying Checksum [2022-10-07T10:18:36.418Z] 5c69ac0246d0: Download complete [2022-10-07T10:18:36.418Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-07T10:18:36.418Z] 3a2ae6a8a46f: Download complete [2022-10-07T10:18:36.677Z] 33b1e0a273af: Verifying Checksum [2022-10-07T10:18:36.677Z] 33b1e0a273af: Download complete [2022-10-07T10:18:36.677Z] 5d3b04190fa2: Download complete [2022-10-07T10:18:36.677Z] ec43610c2a17: Download complete [2022-10-07T10:18:36.677Z] 5eb5b503b376: Verifying Checksum [2022-10-07T10:18:36.677Z] 5eb5b503b376: Download complete [2022-10-07T10:18:37.242Z] 2f39f015ded8: Download complete [2022-10-07T10:18:37.806Z] 5eb5b503b376: Pull complete [2022-10-07T10:18:38.065Z] 5c69ac0246d0: Pull complete [2022-10-07T10:18:38.632Z] ec43610c2a17: Pull complete [2022-10-07T10:18:38.632Z] 3a2ae6a8a46f: Pull complete [2022-10-07T10:18:38.890Z] 33b1e0a273af: Pull complete [2022-10-07T10:18:38.890Z] 5d3b04190fa2: Pull complete [2022-10-07T10:18:44.160Z] 2f39f015ded8: Pull complete [2022-10-07T10:18:44.160Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-07T10:18:44.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T10:18:44.160Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:18:44.240Z] prd-ubuntu20.04-docker-8c-8g-7317 does not seem to be running inside a container [2022-10-07T10:18:44.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-07T10:18:48.613Z] $ docker top 4f21eaef68af08dfc00632fc10a42e9a43c0c325b372aaaa5d007be811294330 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:18:48.988Z] ---> job-cost.sh [2022-10-07T10:18:48.988Z] lf-activate-venv: SKIPPING [2022-10-07T10:18:48.988Z] INFO: No Stack... [2022-10-07T10:18:49.248Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-07T10:18:49.818Z] INFO: Archiving Costs [Pipeline] sh [2022-10-07T10:18:50.112Z] + cat /w/workspace/undry_device-onvif-camera_PR-172/archives/cost.csv [2022-10-07T10:18:50.112Z] + cut -d, -f6 [Pipeline] lock [2022-10-07T10:18:50.124Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-10-stack-cost] [2022-10-07T10:18:50.130Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-10-stack-cost] did not exist. Created. [2022-10-07T10:18:50.130Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-07T10:18:50.438Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-07T10:18:50.466Z] Stashed 1 file(s) [Pipeline] } [2022-10-07T10:18:50.472Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-07T10:18:50.490Z] $ docker stop --time=1 4f21eaef68af08dfc00632fc10a42e9a43c0c325b372aaaa5d007be811294330 [2022-10-07T10:18:51.643Z] $ docker rm -f 4f21eaef68af08dfc00632fc10a42e9a43c0c325b372aaaa5d007be811294330 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-07T10:19:23.192Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7319 in /w/workspace/undry_device-onvif-camera_PR-172 [Pipeline] { [Pipeline] ws [2022-10-07T10:19:23.203Z] Running in /w/workspace/device-onvif-camera/10 [Pipeline] { [Pipeline] checkout [2022-10-07T10:19:23.236Z] The recommended git tool is: git [2022-10-07T10:19:28.269Z] using credential edgex-jenkins-ssh [2022-10-07T10:19:28.284Z] Cloning the remote Git repository [2022-10-07T10:19:28.329Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-07T10:19:28.405Z] > git init /w/workspace/device-onvif-camera/10 # timeout=10 [2022-10-07T10:19:28.540Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-07T10:19:28.541Z] > git --version # timeout=10 [2022-10-07T10:19:28.563Z] > git --version # 'git version 2.25.1' [2022-10-07T10:19:28.566Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T10:19:28.617Z] Verifying host key using known hosts file [2022-10-07T10:19:28.823Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-07T10:19:28.836Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-07T10:19:30.080Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-07T10:19:30.099Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-07T10:19:31.701Z] Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit 46e56256ac5babb7df711278807ddef6ea50998f [2022-10-07T10:19:32.084Z] Merge succeeded, producing 46e56256ac5babb7df711278807ddef6ea50998f [2022-10-07T10:19:32.084Z] Checking out Revision 46e56256ac5babb7df711278807ddef6ea50998f (PR-172) [2022-10-07T10:19:30.954Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-07T10:19:30.997Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-07T10:19:30.998Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T10:19:31.003Z] Verifying host key using known hosts file [2022-10-07T10:19:31.010Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-07T10:19:31.021Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/172/head:refs/remotes/origin/PR-172 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-07T10:19:31.722Z] > git config core.sparsecheckout # timeout=10 [2022-10-07T10:19:31.750Z] > git checkout -f 46e56256ac5babb7df711278807ddef6ea50998f # timeout=10 [2022-10-07T10:19:31.974Z] > git remote # timeout=10 [2022-10-07T10:19:31.995Z] > git config --get remote.origin.url # timeout=10 [2022-10-07T10:19:32.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-07T10:19:32.017Z] Verifying host key using known hosts file [2022-10-07T10:19:32.023Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-07T10:19:32.031Z] > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 [2022-10-07T10:19:32.060Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-07T10:19:32.092Z] > git config core.sparsecheckout # timeout=10 [2022-10-07T10:19:32.109Z] > git checkout -f 46e56256ac5babb7df711278807ddef6ea50998f # timeout=10 [2022-10-07T10:19:35.862Z] Commit message: "fix: discovery mode netscan when using docker-compose" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T10:19:36.686Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-07T10:19:36.687Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-07T10:19:36.687Z] Dload Upload Total Spent Left Speed [2022-10-07T10:19:36.687Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 219k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh [2022-10-07T10:19:37.499Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-07T10:19:37.824Z] + sudo tee /etc/docker/daemon.new [2022-10-07T10:19:37.825Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-07T10:19:37.825Z] { [2022-10-07T10:19:37.825Z] "registry-mirrors": [ [2022-10-07T10:19:37.825Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-07T10:19:37.825Z] ], [2022-10-07T10:19:37.825Z] "bip": "10.250.0.254/24", [2022-10-07T10:19:37.825Z] "hosts": [ [2022-10-07T10:19:37.825Z] "tcp://0.0.0.0:5555", [2022-10-07T10:19:37.825Z] "unix:///var/run/docker.sock" [2022-10-07T10:19:37.825Z] ], [2022-10-07T10:19:37.825Z] "mtu": 1458, [2022-10-07T10:19:37.825Z] "selinux-enabled": true, [2022-10-07T10:19:37.825Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-07T10:19:37.825Z] } [Pipeline] sh [2022-10-07T10:19:38.165Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-07T10:19:38.504Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T10:19:56.766Z] provisioning config files... [2022-10-07T10:19:56.794Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/10@tmp/config581153912869391339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:19:57.145Z] ---> docker-login.sh [2022-10-07T10:19:57.145Z] nexus3.edgexfoundry.org:10001 [2022-10-07T10:19:57.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:19:58.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:19:58.005Z] Configure a credential helper to remove this warning. See [2022-10-07T10:19:58.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:19:58.005Z] [2022-10-07T10:19:58.005Z] Login Succeeded [2022-10-07T10:19:58.005Z] nexus3.edgexfoundry.org:10002 [2022-10-07T10:19:58.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:19:58.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:19:58.275Z] Configure a credential helper to remove this warning. See [2022-10-07T10:19:58.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:19:58.275Z] [2022-10-07T10:19:58.275Z] Login Succeeded [2022-10-07T10:19:58.275Z] nexus3.edgexfoundry.org:10003 [2022-10-07T10:19:58.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:19:58.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:19:58.812Z] Configure a credential helper to remove this warning. See [2022-10-07T10:19:58.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:19:58.812Z] [2022-10-07T10:19:58.812Z] Login Succeeded [2022-10-07T10:19:58.812Z] nexus3.edgexfoundry.org:10004 [2022-10-07T10:19:59.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:19:59.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:19:59.092Z] Configure a credential helper to remove this warning. See [2022-10-07T10:19:59.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:19:59.092Z] [2022-10-07T10:19:59.092Z] Login Succeeded [2022-10-07T10:19:59.092Z] docker.io [2022-10-07T10:19:59.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-07T10:19:59.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-07T10:19:59.628Z] Configure a credential helper to remove this warning. See [2022-10-07T10:19:59.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-07T10:19:59.628Z] [2022-10-07T10:19:59.628Z] Login Succeeded [2022-10-07T10:19:59.628Z] ---> docker-login.sh ends [Pipeline] } [2022-10-07T10:19:59.641Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-07T10:19:59.803Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T10:19:59.820Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-07T10:19:59.828Z] ========================================================= [2022-10-07T10:19:59.828Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-07T10:19:59.828Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:20:00.174Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-07T10:20:00.762Z] Sending build context to Docker daemon 14.46MB [2022-10-07T10:20:00.762Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T10:20:00.762Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-07T10:20:01.743Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-07T10:20:01.743Z] b3c136eddcbf: Pulling fs layer [2022-10-07T10:20:01.743Z] c0a3192eca97: Pulling fs layer [2022-10-07T10:20:01.743Z] a050256f5b6f: Pulling fs layer [2022-10-07T10:20:01.743Z] 656be50a0ddc: Pulling fs layer [2022-10-07T10:20:01.743Z] 2bbca73fdf42: Pulling fs layer [2022-10-07T10:20:01.743Z] f607e4fc86c3: Pulling fs layer [2022-10-07T10:20:01.743Z] 4d572c569a2c: Pulling fs layer [2022-10-07T10:20:01.743Z] fcf976331f73: Pulling fs layer [2022-10-07T10:20:01.743Z] 2bbca73fdf42: Waiting [2022-10-07T10:20:01.743Z] f607e4fc86c3: Waiting [2022-10-07T10:20:01.743Z] 4d572c569a2c: Waiting [2022-10-07T10:20:01.743Z] fcf976331f73: Waiting [2022-10-07T10:20:01.743Z] 656be50a0ddc: Waiting [2022-10-07T10:20:01.743Z] a050256f5b6f: Verifying Checksum [2022-10-07T10:20:01.743Z] c0a3192eca97: Download complete [2022-10-07T10:20:01.743Z] 2bbca73fdf42: Verifying Checksum [2022-10-07T10:20:01.743Z] 2bbca73fdf42: Download complete [2022-10-07T10:20:01.743Z] f607e4fc86c3: Verifying Checksum [2022-10-07T10:20:01.743Z] f607e4fc86c3: Download complete [2022-10-07T10:20:01.743Z] b3c136eddcbf: Download complete [2022-10-07T10:20:02.725Z] b3c136eddcbf: Pull complete [2022-10-07T10:20:02.725Z] fcf976331f73: Verifying Checksum [2022-10-07T10:20:02.725Z] fcf976331f73: Download complete [2022-10-07T10:20:03.318Z] c0a3192eca97: Pull complete [2022-10-07T10:20:03.590Z] a050256f5b6f: Pull complete [2022-10-07T10:20:04.178Z] 4d572c569a2c: Verifying Checksum [2022-10-07T10:20:04.178Z] 4d572c569a2c: Download complete [2022-10-07T10:20:04.778Z] 656be50a0ddc: Download complete [2022-10-07T10:20:17.120Z] 656be50a0ddc: Pull complete [2022-10-07T10:20:17.120Z] 2bbca73fdf42: Pull complete [2022-10-07T10:20:17.120Z] f607e4fc86c3: Pull complete [2022-10-07T10:20:25.361Z] 4d572c569a2c: Pull complete [2022-10-07T10:20:26.780Z] fcf976331f73: Pull complete [2022-10-07T10:20:26.780Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-07T10:20:26.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-07T10:20:26.780Z] ---> 3970a7415f9e [2022-10-07T10:20:26.780Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-07T10:20:28.739Z] ---> Running in e4317fe7c499 [2022-10-07T10:20:29.008Z] Removing intermediate container e4317fe7c499 [2022-10-07T10:20:29.008Z] ---> 6ee7f76d274c [2022-10-07T10:20:29.008Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T10:20:29.008Z] ---> Running in ff2a6dfbbbb0 [2022-10-07T10:20:29.278Z] Removing intermediate container ff2a6dfbbbb0 [2022-10-07T10:20:29.278Z] ---> 9a8b7e316d0c [2022-10-07T10:20:29.278Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T10:20:29.278Z] ---> Running in 5e9c268b30bd [2022-10-07T10:20:29.545Z] Removing intermediate container 5e9c268b30bd [2022-10-07T10:20:29.545Z] ---> 9b3f14dbba91 [2022-10-07T10:20:29.545Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T10:20:29.815Z] ---> Running in ab072d78d7f3 [2022-10-07T10:20:30.083Z] Removing intermediate container ab072d78d7f3 [2022-10-07T10:20:30.083Z] ---> 03906fe7b402 [2022-10-07T10:20:30.083Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-07T10:20:30.083Z] ---> Running in 4e9103be0177 [2022-10-07T10:20:30.351Z] Removing intermediate container 4e9103be0177 [2022-10-07T10:20:30.351Z] ---> 32b9e87f52de [2022-10-07T10:20:30.351Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T10:20:30.618Z] ---> Running in e52d50251892 [2022-10-07T10:20:32.567Z] Removing intermediate container e52d50251892 [2022-10-07T10:20:32.567Z] ---> 710caebb6fc6 [2022-10-07T10:20:32.567Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T10:20:32.567Z] ---> Running in 70c904e465eb [2022-10-07T10:20:33.536Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T10:20:34.503Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T10:20:35.482Z] OK: 221 MiB in 51 packages [2022-10-07T10:20:36.450Z] Removing intermediate container 70c904e465eb [2022-10-07T10:20:36.450Z] ---> 38ee095cdae6 [2022-10-07T10:20:36.450Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-07T10:20:36.450Z] ---> Running in 9d086d4c53ca [2022-10-07T10:20:36.719Z] Removing intermediate container 9d086d4c53ca [2022-10-07T10:20:36.720Z] ---> 561f76f9b6d3 [2022-10-07T10:20:36.720Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-07T10:20:37.322Z] ---> d320037de3cc [2022-10-07T10:20:37.322Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T10:20:37.322Z] ---> Running in 3939b0fd691f [2022-10-07T10:21:24.190Z] Removing intermediate container 3939b0fd691f [2022-10-07T10:21:24.190Z] ---> 6c18c30081f6 [2022-10-07T10:21:24.190Z] Step 13/14 : COPY . . [2022-10-07T10:21:25.610Z] ---> 4f52588b23b7 [2022-10-07T10:21:25.610Z] Step 14/14 : RUN ${MAKE} [2022-10-07T10:21:25.610Z] ---> Running in 16ba046cc36c [2022-10-07T10:21:26.581Z] noop [2022-10-07T10:21:27.169Z] Removing intermediate container 16ba046cc36c [2022-10-07T10:21:27.169Z] ---> ed244df42068 [2022-10-07T10:21:27.169Z] Successfully built ed244df42068 [2022-10-07T10:21:27.169Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:21:27.526Z] + docker inspect -f . ci-base-image-arm64 [2022-10-07T10:21:27.526Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:21:27.708Z] prd-ubuntu20.04-docker-arm64-4c-16g-7319 does not seem to be running inside a container [2022-10-07T10:21:27.782Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-07T10:21:29.055Z] $ docker top 39eac32a27c6cb4799cd907c0bfaaa0cd6ec96dea093a4e17cac8273cfe4a9f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T10:21:29.894Z] + go version [2022-10-07T10:21:29.894Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-07T10:21:29.914Z] $ docker stop --time=1 39eac32a27c6cb4799cd907c0bfaaa0cd6ec96dea093a4e17cac8273cfe4a9f2 [2022-10-07T10:21:31.550Z] $ docker rm -f 39eac32a27c6cb4799cd907c0bfaaa0cd6ec96dea093a4e17cac8273cfe4a9f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:21:32.100Z] + docker inspect -f . ci-base-image-arm64 [2022-10-07T10:21:32.100Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:21:32.286Z] prd-ubuntu20.04-docker-arm64-4c-16g-7319 does not seem to be running inside a container [2022-10-07T10:21:32.356Z] $ 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/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-07T10:21:33.614Z] $ docker top 9c1c4d7db91f1fafee30b4402b56c8885b11b17869c09d5fbcac5ddf5fb531d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T10:21:34.457Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/10 [Pipeline] fileExists [Pipeline] sh [2022-10-07T10:21:35.114Z] + make test [2022-10-07T10:21:35.114Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-07T10:21:37.062Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-07T10:23:13.721Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-07T10:23:17.073Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.205s coverage: 28.2% of statements [2022-10-07T10:23:17.073Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-07T10:23:40.010Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.832s coverage: 86.5% of statements [2022-10-07T10:23:40.010Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-07T10:23:40.010Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-07T10:24:12.277Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-07T10:24:12.277Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-07T10:24:12.277Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-07T10:24:12.297Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-07T10:24:12.310Z] $ docker stop --time=1 9c1c4d7db91f1fafee30b4402b56c8885b11b17869c09d5fbcac5ddf5fb531d8 [2022-10-07T10:24:14.449Z] $ docker rm -f 9c1c4d7db91f1fafee30b4402b56c8885b11b17869c09d5fbcac5ddf5fb531d8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-07T10:24:15.622Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-07T10:24:15.646Z] Warning: overwriting stash ‘coverage-report’ [2022-10-07T10:24:16.248Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-07T10:24:16.638Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-07T10:24:16.952Z] + ls -al . [2022-10-07T10:24:16.953Z] total 232 [2022-10-07T10:24:16.953Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 10:21 . [2022-10-07T10:24:16.953Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:19 .. [2022-10-07T10:24:16.953Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 10:19 .git [2022-10-07T10:24:16.953Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:19 .github [2022-10-07T10:24:16.953Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 7 10:19 .gitignore [2022-10-07T10:24:16.953Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 7 10:19 .golangci.yml [2022-10-07T10:24:16.953Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 7 10:19 Attribution.txt [2022-10-07T10:24:16.953Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 7 10:19 CHANGELOG.md [2022-10-07T10:24:16.953Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 7 10:19 Dockerfile [2022-10-07T10:24:16.953Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 10:19 GOVERNANCE.md [2022-10-07T10:24:16.953Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 7 10:19 Jenkinsfile [2022-10-07T10:24:16.953Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 7 10:19 LICENSE [2022-10-07T10:24:16.953Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 7 10:19 Makefile [2022-10-07T10:24:16.953Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 7 10:19 OWNERS.md [2022-10-07T10:24:16.953Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 7 10:19 README.md [2022-10-07T10:24:16.953Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 10:16 VERSION [2022-10-07T10:24:16.953Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 10:19 bin [2022-10-07T10:24:16.953Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 10:19 cmd [2022-10-07T10:24:16.953Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 7 10:23 coverage.out [2022-10-07T10:24:16.953Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 7 10:19 doc [2022-10-07T10:24:16.953Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 7 10:19 go.mod [2022-10-07T10:24:16.953Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 7 10:19 go.sum [2022-10-07T10:24:16.953Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:19 internal [2022-10-07T10:24:16.953Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 10:19 snap [2022-10-07T10:24:16.953Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 7 10:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:24:17.280Z] + 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=46e56256ac5babb7df711278807ddef6ea50998f --label arch=arm64 --label version=0.0.0 . [2022-10-07T10:24:17.868Z] Sending build context to Docker daemon 14.54MB [2022-10-07T10:24:17.868Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-07T10:24:17.868Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-07T10:24:17.868Z] ---> ed244df42068 [2022-10-07T10:24:17.868Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-07T10:24:18.136Z] ---> Running in 1352e5fead94 [2022-10-07T10:24:18.407Z] Removing intermediate container 1352e5fead94 [2022-10-07T10:24:18.407Z] ---> 837eb115aa77 [2022-10-07T10:24:18.407Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-07T10:24:18.407Z] ---> Running in 33a419d1271c [2022-10-07T10:24:18.674Z] Removing intermediate container 33a419d1271c [2022-10-07T10:24:18.674Z] ---> 2223044c4427 [2022-10-07T10:24:18.674Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-07T10:24:18.950Z] ---> Running in 961d47747717 [2022-10-07T10:24:19.234Z] Removing intermediate container 961d47747717 [2022-10-07T10:24:19.234Z] ---> a02bbbd7e4aa [2022-10-07T10:24:19.234Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-07T10:24:19.501Z] ---> Running in 25f6dbde3ccc [2022-10-07T10:24:19.769Z] Removing intermediate container 25f6dbde3ccc [2022-10-07T10:24:19.769Z] ---> aad3bd389c0e [2022-10-07T10:24:19.769Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-07T10:24:19.769Z] ---> Running in 9dee88fb0251 [2022-10-07T10:24:20.036Z] Removing intermediate container 9dee88fb0251 [2022-10-07T10:24:20.036Z] ---> 2e59fcee0c1f [2022-10-07T10:24:20.036Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-07T10:24:20.304Z] ---> Running in 987a584efd90 [2022-10-07T10:24:22.315Z] Removing intermediate container 987a584efd90 [2022-10-07T10:24:22.315Z] ---> b8ce8cb4bd5b [2022-10-07T10:24:22.315Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-07T10:24:22.584Z] ---> Running in 9a4963379e9d [2022-10-07T10:24:23.543Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T10:24:24.506Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T10:24:25.476Z] OK: 221 MiB in 51 packages [2022-10-07T10:24:26.069Z] Removing intermediate container 9a4963379e9d [2022-10-07T10:24:26.069Z] ---> ac4e3f1d20fb [2022-10-07T10:24:26.069Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-07T10:24:26.333Z] ---> Running in 9e938f84da9d [2022-10-07T10:24:26.599Z] Removing intermediate container 9e938f84da9d [2022-10-07T10:24:26.599Z] ---> f53c4b5655eb [2022-10-07T10:24:26.599Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-07T10:24:28.565Z] ---> 4f19683325c6 [2022-10-07T10:24:28.565Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-07T10:24:28.565Z] ---> Running in 2cf2f0a14993 [2022-10-07T10:24:31.149Z] Removing intermediate container 2cf2f0a14993 [2022-10-07T10:24:31.149Z] ---> 84e33d6e015c [2022-10-07T10:24:31.149Z] Step 13/27 : COPY . . [2022-10-07T10:24:35.397Z] ---> e2d2993faa75 [2022-10-07T10:24:35.397Z] Step 14/27 : RUN ${MAKE} [2022-10-07T10:24:35.397Z] ---> Running in fdcd9c1d9d93 [2022-10-07T10:24:36.821Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-07T10:26:58.529Z] Removing intermediate container fdcd9c1d9d93 [2022-10-07T10:26:58.529Z] ---> 6598fe485111 [2022-10-07T10:26:58.529Z] Step 15/27 : FROM alpine:3.16 [2022-10-07T10:26:58.529Z] 3.16: Pulling from library/alpine [2022-10-07T10:26:58.529Z] 9b18e9b68314: Pulling fs layer [2022-10-07T10:26:58.529Z] 9b18e9b68314: Verifying Checksum [2022-10-07T10:26:58.529Z] 9b18e9b68314: Download complete [2022-10-07T10:26:58.529Z] 9b18e9b68314: Pull complete [2022-10-07T10:26:58.529Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-07T10:26:58.529Z] Status: Downloaded newer image for alpine:3.16 [2022-10-07T10:26:58.529Z] ---> a6215f271958 [2022-10-07T10:26:58.529Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-07T10:26:58.529Z] ---> Running in be31008c030a [2022-10-07T10:26:58.797Z] Removing intermediate container be31008c030a [2022-10-07T10:26:58.797Z] ---> a7be5e56abad [2022-10-07T10:26:58.797Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-07T10:26:59.065Z] ---> Running in 816b3a8ff568 [2022-10-07T10:27:00.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-07T10:27:00.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-07T10:27:01.702Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-07T10:27:01.702Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-07T10:27:01.702Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-07T10:27:01.702Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-07T10:27:01.702Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-07T10:27:01.702Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-07T10:27:01.702Z] Executing busybox-1.35.0-r17.trigger [2022-10-07T10:27:01.702Z] OK: 8 MiB in 20 packages [2022-10-07T10:27:02.285Z] Removing intermediate container 816b3a8ff568 [2022-10-07T10:27:02.285Z] ---> f2422c4b3318 [2022-10-07T10:27:02.285Z] Step 18/27 : WORKDIR / [2022-10-07T10:27:02.550Z] ---> Running in 83643bd73742 [2022-10-07T10:27:02.817Z] Removing intermediate container 83643bd73742 [2022-10-07T10:27:02.817Z] ---> cad5336c0004 [2022-10-07T10:27:02.817Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-07T10:27:04.227Z] ---> 83efce1334b8 [2022-10-07T10:27:04.227Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-07T10:27:04.496Z] ---> 8a7c7146ead7 [2022-10-07T10:27:04.496Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-07T10:27:05.079Z] ---> 72b38fc06c42 [2022-10-07T10:27:05.079Z] Step 22/27 : EXPOSE 59984 [2022-10-07T10:27:05.079Z] ---> Running in e6c391bf0ba3 [2022-10-07T10:27:05.346Z] Removing intermediate container e6c391bf0ba3 [2022-10-07T10:27:05.346Z] ---> 494d76fe0dcf [2022-10-07T10:27:05.346Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-07T10:27:05.613Z] ---> Running in fd13621e4a9d [2022-10-07T10:27:05.878Z] Removing intermediate container fd13621e4a9d [2022-10-07T10:27:05.878Z] ---> 0930f411930d [2022-10-07T10:27:05.878Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-07T10:27:05.878Z] ---> Running in 72196e61cf46 [2022-10-07T10:27:06.145Z] Removing intermediate container 72196e61cf46 [2022-10-07T10:27:06.145Z] ---> e6978324e582 [2022-10-07T10:27:06.145Z] Step 25/27 : LABEL arch=arm64 [2022-10-07T10:27:06.145Z] ---> Running in ffcc8783a8b4 [2022-10-07T10:27:06.418Z] Removing intermediate container ffcc8783a8b4 [2022-10-07T10:27:06.418Z] ---> 2fb00a3bbcd0 [2022-10-07T10:27:06.418Z] Step 26/27 : LABEL git_sha=46e56256ac5babb7df711278807ddef6ea50998f [2022-10-07T10:27:06.684Z] ---> Running in 1146a5a868bb [2022-10-07T10:27:06.950Z] Removing intermediate container 1146a5a868bb [2022-10-07T10:27:06.950Z] ---> 0e941fae2d09 [2022-10-07T10:27:06.950Z] Step 27/27 : LABEL version=0.0.0 [2022-10-07T10:27:06.950Z] ---> Running in e91f6eb17ec0 [2022-10-07T10:27:07.216Z] Removing intermediate container e91f6eb17ec0 [2022-10-07T10:27:07.216Z] ---> 7c09fce93279 [2022-10-07T10:27:07.216Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-07T10:27:07.216Z] Successfully built 7c09fce93279 [2022-10-07T10:27:07.216Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:27:07.631Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T10:27:07.631Z] [2022-10-07T10:27:07.631Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:27:07.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T10:27:07.964Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-07T10:27:07.964Z] 8998bd30e6a1: Pulling fs layer [2022-10-07T10:27:07.964Z] 04944245beec: Pulling fs layer [2022-10-07T10:27:07.964Z] 699f458cf7ca: Pulling fs layer [2022-10-07T10:27:07.964Z] 765212b225bb: Pulling fs layer [2022-10-07T10:27:07.964Z] f23df028b6ca: Pulling fs layer [2022-10-07T10:27:07.964Z] d65c8cfc05b1: Pulling fs layer [2022-10-07T10:27:07.964Z] 2437ff75d9bd: Pulling fs layer [2022-10-07T10:27:07.964Z] 765212b225bb: Waiting [2022-10-07T10:27:07.964Z] f23df028b6ca: Waiting [2022-10-07T10:27:07.964Z] d65c8cfc05b1: Waiting [2022-10-07T10:27:07.964Z] 2437ff75d9bd: Waiting [2022-10-07T10:27:08.233Z] 04944245beec: Verifying Checksum [2022-10-07T10:27:08.233Z] 04944245beec: Download complete [2022-10-07T10:27:08.233Z] 765212b225bb: Verifying Checksum [2022-10-07T10:27:08.233Z] 765212b225bb: Download complete [2022-10-07T10:27:08.233Z] f23df028b6ca: Download complete [2022-10-07T10:27:08.233Z] d65c8cfc05b1: Verifying Checksum [2022-10-07T10:27:08.233Z] d65c8cfc05b1: Download complete [2022-10-07T10:27:08.233Z] 699f458cf7ca: Verifying Checksum [2022-10-07T10:27:08.821Z] 8998bd30e6a1: Verifying Checksum [2022-10-07T10:27:08.821Z] 8998bd30e6a1: Download complete [2022-10-07T10:27:10.765Z] 2437ff75d9bd: Verifying Checksum [2022-10-07T10:27:10.765Z] 2437ff75d9bd: Download complete [2022-10-07T10:27:12.721Z] 8998bd30e6a1: Pull complete [2022-10-07T10:27:12.989Z] 04944245beec: Pull complete [2022-10-07T10:27:14.400Z] 699f458cf7ca: Pull complete [2022-10-07T10:27:14.400Z] 765212b225bb: Pull complete [2022-10-07T10:27:15.359Z] f23df028b6ca: Pull complete [2022-10-07T10:27:15.359Z] d65c8cfc05b1: Pull complete [2022-10-07T10:27:30.361Z] 2437ff75d9bd: Pull complete [2022-10-07T10:27:30.361Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-07T10:27:30.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-07T10:27:30.361Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:27:30.554Z] prd-ubuntu20.04-docker-arm64-4c-16g-7319 does not seem to be running inside a container [2022-10-07T10:27:30.627Z] $ 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/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-07T10:27:33.265Z] $ docker top 42adc182a7e529cb1daaa0090e3e86a6a56958243b53d92a909b7b8ee6cddb23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:27:34.097Z] ---> job-cost.sh [2022-10-07T10:27:34.097Z] lf-activate-venv: SKIPPING [2022-10-07T10:27:34.097Z] INFO: No Stack... [2022-10-07T10:27:34.692Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-07T10:27:35.274Z] INFO: Archiving Costs [Pipeline] sh [2022-10-07T10:27:35.594Z] + cat /w/workspace/device-onvif-camera/10/archives/cost.csv [2022-10-07T10:27:35.594Z] + cut -d, -f6 [Pipeline] lock [2022-10-07T10:27:35.633Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-172-10-stack-cost] [2022-10-07T10:27:35.642Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-10-stack-cost] did not exist. Created. [2022-10-07T10:27:35.642Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-172-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-07T10:27:36.298Z] /w/workspace/device-onvif-camera/10@tmp/durable-90f6bffa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-07T10:27:36.954Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-07T10:27:36.974Z] Warning: overwriting stash ‘stack-cost’ [2022-10-07T10:27:37.028Z] Stashed 1 file(s) [Pipeline] } [2022-10-07T10:27:37.035Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-172-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-07T10:27:37.056Z] $ docker stop --time=1 42adc182a7e529cb1daaa0090e3e86a6a56958243b53d92a909b7b8ee6cddb23 [2022-10-07T10:27:38.561Z] $ docker rm -f 42adc182a7e529cb1daaa0090e3e86a6a56958243b53d92a909b7b8ee6cddb23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-07T10:27:38.926Z] provisioning config files... [2022-10-07T10:27:38.935Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config5920512805778554870tmp [Pipeline] { [Pipeline] sh [2022-10-07T10:27:39.227Z] + set +x [2022-10-07T10:27:39.227Z] + curl -s https://codecov.io/bash [2022-10-07T10:27:39.227Z] + bash -s -- [2022-10-07T10:27:39.227Z] [2022-10-07T10:27:39.227Z] _____ _ [2022-10-07T10:27:39.227Z] / ____| | | [2022-10-07T10:27:39.227Z] | | ___ __| | ___ ___ _____ __ [2022-10-07T10:27:39.227Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-07T10:27:39.227Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-07T10:27:39.227Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-07T10:27:39.227Z] Bash-1.0.6 [2022-10-07T10:27:39.227Z] [2022-10-07T10:27:39.227Z] [2022-10-07T10:27:39.227Z] ==> git version 2.25.1 found [2022-10-07T10:27:39.227Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-07T10:27:39.227Z] Release-Date: 2020-01-08 [2022-10-07T10:27:39.227Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-07T10:27:39.227Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-07T10:27:39.227Z] ==> Jenkins CI detected. [2022-10-07T10:27:39.227Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-172 [2022-10-07T10:27:39.227Z] project root: . [2022-10-07T10:27:39.227Z] --> token set from env [2022-10-07T10:27:39.227Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-07T10:27:39.227Z] ==> Running gcov in . (disable via -X gcov) [2022-10-07T10:27:39.227Z] ==> Python coveragepy not found [2022-10-07T10:27:39.227Z] ==> Searching for coverage reports in: [2022-10-07T10:27:39.227Z] + . [2022-10-07T10:27:39.227Z] -> Found 1 reports [2022-10-07T10:27:39.227Z] ==> Detecting git/mercurial file structure [2022-10-07T10:27:39.227Z] ==> Reading reports [2022-10-07T10:27:39.227Z] + ./coverage.out bytes=78636 [2022-10-07T10:27:39.227Z] ==> Appending adjustments [2022-10-07T10:27:39.227Z] https://docs.codecov.io/docs/fixing-reports [2022-10-07T10:27:39.488Z] + Found adjustments [2022-10-07T10:27:39.488Z] ==> Gzipping contents [2022-10-07T10:27:39.488Z] 12K /tmp/codecov.IvJCOJ.gz [2022-10-07T10:27:39.488Z] ==> Uploading reports [2022-10-07T10:27:39.488Z] url: https://codecov.io [2022-10-07T10:27:39.488Z] query: branch=PR-172&commit=46e56256ac5babb7df711278807ddef6ea50998f&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= [2022-10-07T10:27:39.488Z] -> Pinging Codecov [2022-10-07T10:27:39.488Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-172&commit=46e56256ac5babb7df711278807ddef6ea50998f&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-172%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=172&job=&cmd_args= [2022-10-07T10:27:39.746Z] -> Uploading to [2022-10-07T10:27:39.746Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-07/F29A59C45E3A92E06B3E522C9905F8EF/46e56256ac5babb7df711278807ddef6ea50998f/e8e4c7c9-7439-4666-b6aa-009d308b7edd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221007T102739Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=06c3ee2c9cc1cd4fee6f0ad003f9bb145f4b3f9a66f87a17be75fc175905afb8 [2022-10-07T10:27:39.746Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-07T10:27:39.746Z] Dload Upload Total Spent Left Speed [2022-10-07T10:27:40.006Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10722 0 0 100 10722 0 47653 --:--:-- --:--:-- --:--:-- 47653 [2022-10-07T10:27:40.006Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/46e56256ac5babb7df711278807ddef6ea50998f [Pipeline] } [2022-10-07T10:27:40.015Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-07T10:27:40.717Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-172/archives ] [2022-10-07T10:27:40.717Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-07T10:27:40.717Z] total 16 [2022-10-07T10:27:40.717Z] drwxr-xr-x 3 root root 4096 Oct 7 10:18 . [2022-10-07T10:27:40.717Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 10:18 .. [2022-10-07T10:27:40.717Z] drwxr-xr-x 2 root root 4096 Oct 7 10:18 cost [2022-10-07T10:27:40.717Z] -rw-r--r-- 1 root root 92 Oct 7 10:18 cost.csv [2022-10-07T10:27:40.717Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-07T10:27:40.717Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-172/archives [2022-10-07T10:27:40.717Z] total 16 [2022-10-07T10:27:40.717Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 10:18 . [2022-10-07T10:27:40.717Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 7 10:18 .. [2022-10-07T10:27:40.717Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 10:18 cost [2022-10-07T10:27:40.717Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 7 10:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:27:41.006Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:27:41.868Z] ---> package-listing.sh [2022-10-07T10:27:41.868Z] ++ facter osfamily [2022-10-07T10:27:41.868Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-07T10:27:42.127Z] + OS_FAMILY=debian [2022-10-07T10:27:42.127Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-172 [2022-10-07T10:27:42.127Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-07T10:27:42.127Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-07T10:27:42.127Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-07T10:27:42.127Z] + PACKAGES=/tmp/packages_start.txt [2022-10-07T10:27:42.127Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-07T10:27:42.127Z] + PACKAGES=/tmp/packages_end.txt [2022-10-07T10:27:42.127Z] + case "${OS_FAMILY}" in [2022-10-07T10:27:42.127Z] + dpkg -l [2022-10-07T10:27:42.127Z] + grep '^ii' [2022-10-07T10:27:42.127Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-07T10:27:42.127Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-07T10:27:42.127Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-07T10:27:42.127Z] + '[' /w/workspace/undry_device-onvif-camera_PR-172 ']' [2022-10-07T10:27:42.127Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-172/archives/ [2022-10-07T10:27:42.127Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-172/archives/ [Pipeline] echo [2022-10-07T10:27:42.137Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-07T10:27:42.412Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-07T10:27:42.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-07T10:27:42.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-07T10:27:43.029Z] prd-ubuntu20.04-docker-8c-8g-7317 does not seem to be running inside a container [2022-10-07T10:27:43.062Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-172 -v /w/workspace/undry_device-onvif-camera_PR-172:/w/workspace/undry_device-onvif-camera_PR-172:rw,z -v /w/workspace/undry_device-onvif-camera_PR-172@tmp:/w/workspace/undry_device-onvif-camera_PR-172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-07T10:27:43.249Z] $ docker top ea644b9753657a769f671ffcddd3678b5b7b52d6016dc073b2db1e641dc9988d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-07T10:27:43.593Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-07T10:27:43.879Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-07T10:27:44.163Z] + ls /var/log/sa-host [2022-10-07T10:27:44.163Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-07T10:27:44.224Z] provisioning config files... [2022-10-07T10:27:44.231Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-172@tmp/config1066396823226825548tmp [Pipeline] { [Pipeline] echo [2022-10-07T10:27:44.244Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:27:44.526Z] ---> create-netrc.sh [Pipeline] } [2022-10-07T10:27:44.532Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:27:44.852Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-07T10:27:44.861Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:27:45.149Z] ---> sudo-logs.sh [2022-10-07T10:27:45.149Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-07T10:27:45.172Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:27:45.451Z] ---> job-cost.sh [2022-10-07T10:27:45.451Z] lf-activate-venv: SKIPPING [2022-10-07T10:27:45.451Z] DEBUG: total: 0.2199999988079071 [2022-10-07T10:27:45.451Z] INFO: Retrieving Stack Cost... [2022-10-07T10:27:45.709Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-07T10:27:46.274Z] INFO: Archiving Costs [Pipeline] echo [2022-10-07T10:27:46.284Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-07T10:27:46.566Z] ---> logs-deploy.sh [2022-10-07T10:27:46.566Z] lf-activate-venv: SKIPPING [2022-10-07T10:27:46.566Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-172/10 [2022-10-07T10:27:46.566Z] INFO: archiving workspace using pattern(s): [2022-10-07T10:27:47.505Z] Archives upload complete. [2022-10-07T10:27:47.505Z] INFO: archiving logs to Nexus