Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2da920ae95a58e4fefadcc316dd1c8ce4477e1a1+ef0e1dc43e01e3af63e43192147483735d9789c0 (40b258248f95828629195c1e8936622d190310ab) 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-ssh17474010017407742829.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17586451796211774348.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-184/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-184/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2219621896186688181.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh6147482486624202852.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-184/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-184/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8919786748111306453.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-118721 in /w/workspace/undry_device-onvif-camera_PR-184 [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-184 # 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 Merging remotes/origin/main commit ef0e1dc43e01e3af63e43192147483735d9789c0 into PR head commit 2da920ae95a58e4fefadcc316dd1c8ce4477e1a1 Merge succeeded, producing 6fdbfba57b189e453e5772445c4a1738c28bff54 Checking out Revision 6fdbfba57b189e453e5772445c4a1738c28bff54 (PR-184) > 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/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2da920ae95a58e4fefadcc316dd1c8ce4477e1a1 # 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 ef0e1dc43e01e3af63e43192147483735d9789c0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6fdbfba57b189e453e5772445c4a1738c28bff54 # timeout=10 Commit message: "Merge commit 'ef0e1dc43e01e3af63e43192147483735d9789c0' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-09T02:11:17.596Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-09T02:11:17.633Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-09T02:11:17.649Z] ========================================================= [2022-11-09T02:11:17.649Z] EdgeX Global Pipelines Version Info [2022-11-09T02:11:17.649Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 50c43fe1fc09c3b8f6a44b5a692a53a4158763ba # timeout=10 [2022-11-09T02:11:18.360Z] ------------------- [2022-11-09T02:11:18.360Z] stable info: [2022-11-09T02:11:18.360Z] ------------------- [2022-11-09T02:11:18.360Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-09T02:11:18.360Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-09T02:11:18.360Z] Message: update stable to v1.0.244 [2022-11-09T02:11:18.929Z] ------------------- [2022-11-09T02:11:18.929Z] experimental info: [2022-11-09T02:11:18.929Z] ------------------- [2022-11-09T02:11:18.929Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-09T02:11:18.929Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-09T02:11:18.929Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-09T02:11:19.081Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-11-09T02:11:19.091Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-11-09T02:11:19.102Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-09T02:11:19.115Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-09T02:11:19.128Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-09T02:11:19.139Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-09T02:11:19.153Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-09T02:11:19.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-09T02:11:19.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-09T02:11:19.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-09T02:11:19.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-09T02:11:19.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-11-09T02:11:19.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-09T02:11:19.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-09T02:11:19.251Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-09T02:11:19.262Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-09T02:11:19.274Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-09T02:11:19.286Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-09T02:11:19.298Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-09T02:11:19.309Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-09T02:11:19.321Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-09T02:11:19.334Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-11-09T02:11:19.345Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-09T02:11:19.356Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-09T02:11:19.366Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-09T02:11:19.376Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-09T02:11:19.386Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-09T02:11:19.396Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-184 [Pipeline] echo [2022-11-09T02:11:19.406Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-184 [Pipeline] echo [2022-11-09T02:11:19.417Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-184 [Pipeline] echo [2022-11-09T02:11:19.428Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6fdbfba57b189e453e5772445c4a1738c28bff54 [Pipeline] echo [2022-11-09T02:11:19.439Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6fdbfba [Pipeline] echo [2022-11-09T02:11:19.450Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-09T02:11:19.491Z] provisioning config files... [2022-11-09T02:11:19.506Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config7172178393840650537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T02:11:19.806Z] ---> docker-login.sh [2022-11-09T02:11:19.806Z] nexus3.edgexfoundry.org:10001 [2022-11-09T02:11:20.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T02:11:20.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T02:11:20.070Z] Configure a credential helper to remove this warning. See [2022-11-09T02:11:20.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T02:11:20.070Z] [2022-11-09T02:11:20.070Z] Login Succeeded [2022-11-09T02:11:20.070Z] nexus3.edgexfoundry.org:10002 [2022-11-09T02:11:20.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T02:11:20.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T02:11:20.332Z] Configure a credential helper to remove this warning. See [2022-11-09T02:11:20.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T02:11:20.332Z] [2022-11-09T02:11:20.332Z] Login Succeeded [2022-11-09T02:11:20.332Z] nexus3.edgexfoundry.org:10003 [2022-11-09T02:11:20.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T02:11:20.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T02:11:20.332Z] Configure a credential helper to remove this warning. See [2022-11-09T02:11:20.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T02:11:20.332Z] [2022-11-09T02:11:20.332Z] Login Succeeded [2022-11-09T02:11:20.332Z] nexus3.edgexfoundry.org:10004 [2022-11-09T02:11:20.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T02:11:20.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T02:11:20.591Z] Configure a credential helper to remove this warning. See [2022-11-09T02:11:20.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T02:11:20.591Z] [2022-11-09T02:11:20.591Z] Login Succeeded [2022-11-09T02:11:20.591Z] docker.io [2022-11-09T02:11:20.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T02:11:20.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T02:11:20.850Z] Configure a credential helper to remove this warning. See [2022-11-09T02:11:20.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T02:11:20.850Z] [2022-11-09T02:11:20.850Z] Login Succeeded [2022-11-09T02:11:20.850Z] ---> docker-login.sh ends [Pipeline] } [2022-11-09T02:11:20.861Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-09T02:11:21.244Z] + git rev-list -1 --merges 6fdbfba57b189e453e5772445c4a1738c28bff54~1..6fdbfba57b189e453e5772445c4a1738c28bff54 [Pipeline] echo [2022-11-09T02:11:21.274Z] -----------> git rev-list -1 --merges 6fdbfba57b189e453e5772445c4a1738c28bff54~1..6fdbfba57b189e453e5772445c4a1738c28bff54 6fdbfba57b189e453e5772445c4a1738c28bff54 [2022-11-09T02:11:21.274Z] 6fdbfba57b189e453e5772445c4a1738c28bff54 [false] [Pipeline] sh [2022-11-09T02:11:21.561Z] + git log --format=format:%s -1 6fdbfba57b189e453e5772445c4a1738c28bff54 [Pipeline] echo [2022-11-09T02:11:21.576Z] ========================================================= [2022-11-09T02:11:21.576Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-09T02:11:21.576Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-09T02:11:21.914Z] + git log --format=format:%s -1 6fdbfba57b189e453e5772445c4a1738c28bff54 [Pipeline] echo [2022-11-09T02:11:21.924Z] [semverPrep] GIT_COMMIT: 6fdbfba57b189e453e5772445c4a1738c28bff54, Commit Message: Merge commit 'ef0e1dc43e01e3af63e43192147483735d9789c0' into HEAD [Pipeline] echo [2022-11-09T02:11:21.935Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-09T02:11:22.278Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-09T02:11:22.278Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-09T02:11:22.278Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-09T02:11:22.278Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-09T02:11:22.278Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-09T02:11:22.278Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-09T02:11:22.278Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T02:11:22.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-09T02:11:22.618Z] [2022-11-09T02:11:22.618Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T02:11:22.914Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-09T02:11:22.914Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-09T02:11:22.914Z] b85a868b505f: Pulling fs layer [2022-11-09T02:11:22.914Z] e2be974225ed: Pulling fs layer [2022-11-09T02:11:22.914Z] 339a4e72a1f5: Pulling fs layer [2022-11-09T02:11:22.914Z] 988bab9f4d93: Pulling fs layer [2022-11-09T02:11:22.914Z] 1469e6f7b9e6: Pulling fs layer [2022-11-09T02:11:22.914Z] eaf3925da568: Pulling fs layer [2022-11-09T02:11:22.914Z] bab4dde63d76: Pulling fs layer [2022-11-09T02:11:22.914Z] bde34c3a00c8: Pulling fs layer [2022-11-09T02:11:22.914Z] b352a97aabf1: Pulling fs layer [2022-11-09T02:11:22.914Z] 4872d77fe225: Pulling fs layer [2022-11-09T02:11:22.914Z] 988bab9f4d93: Waiting [2022-11-09T02:11:22.914Z] 1469e6f7b9e6: Waiting [2022-11-09T02:11:22.914Z] eaf3925da568: Waiting [2022-11-09T02:11:22.914Z] bab4dde63d76: Waiting [2022-11-09T02:11:22.914Z] bde34c3a00c8: Waiting [2022-11-09T02:11:22.914Z] 5851b861e8e6: Pulling fs layer [2022-11-09T02:11:22.914Z] 4872d77fe225: Waiting [2022-11-09T02:11:22.914Z] 5851b861e8e6: Waiting [2022-11-09T02:11:22.914Z] e2be974225ed: Download complete [2022-11-09T02:11:22.914Z] 988bab9f4d93: Verifying Checksum [2022-11-09T02:11:22.914Z] 988bab9f4d93: Download complete [2022-11-09T02:11:23.175Z] 1469e6f7b9e6: Verifying Checksum [2022-11-09T02:11:23.175Z] 1469e6f7b9e6: Download complete [2022-11-09T02:11:23.175Z] 339a4e72a1f5: Verifying Checksum [2022-11-09T02:11:23.175Z] 339a4e72a1f5: Download complete [2022-11-09T02:11:23.175Z] eaf3925da568: Verifying Checksum [2022-11-09T02:11:23.175Z] eaf3925da568: Download complete [2022-11-09T02:11:23.175Z] bde34c3a00c8: Download complete [2022-11-09T02:11:23.175Z] b352a97aabf1: Download complete [2022-11-09T02:11:23.175Z] 4872d77fe225: Verifying Checksum [2022-11-09T02:11:23.175Z] 4872d77fe225: Download complete [2022-11-09T02:11:23.175Z] 5851b861e8e6: Download complete [2022-11-09T02:11:23.175Z] b85a868b505f: Verifying Checksum [2022-11-09T02:11:23.175Z] b85a868b505f: Download complete [2022-11-09T02:11:23.437Z] bab4dde63d76: Verifying Checksum [2022-11-09T02:11:23.437Z] bab4dde63d76: Download complete [2022-11-09T02:11:24.374Z] b85a868b505f: Pull complete [2022-11-09T02:11:24.374Z] e2be974225ed: Pull complete [2022-11-09T02:11:24.941Z] 339a4e72a1f5: Pull complete [2022-11-09T02:11:24.941Z] 988bab9f4d93: Pull complete [2022-11-09T02:11:25.200Z] 1469e6f7b9e6: Pull complete [2022-11-09T02:11:25.459Z] eaf3925da568: Pull complete [2022-11-09T02:11:26.833Z] bab4dde63d76: Pull complete [2022-11-09T02:11:27.093Z] bde34c3a00c8: Pull complete [2022-11-09T02:11:27.093Z] b352a97aabf1: Pull complete [2022-11-09T02:11:27.093Z] 4872d77fe225: Pull complete [2022-11-09T02:11:27.352Z] 5851b861e8e6: Pull complete [2022-11-09T02:11:27.352Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-09T02:11:27.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-09T02:11:27.352Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T02:11:27.431Z] prd-ubuntu20.04-docker-8c-8g-118721 does not seem to be running inside a container [2022-11-09T02:11:27.463Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-09T02:11:30.034Z] $ docker top 56e17f3b13b08e951d6aced9a8b59592d3f6370a1cd9be09d7316e06d3459a51 -eo pid,comm [2022-11-09T02:11:30.104Z] 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-11-09T02:11:30.104Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-09T02:11:30.138Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-09T02:11:30.138Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-09T02:11:30.260Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-09T02:11:30.266Z] $ docker exec 56e17f3b13b08e951d6aced9a8b59592d3f6370a1cd9be09d7316e06d3459a51 ssh-agent [2022-11-09T02:11:30.371Z] SSH_AUTH_SOCK=/tmp/ssh-QEeqg7Fmv7zc/agent.32 [2022-11-09T02:11:30.371Z] SSH_AGENT_PID=38 [2022-11-09T02:11:30.377Z] Running ssh-add (command line suppressed) [2022-11-09T02:11:30.500Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_10837705535714048575.key (/w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_10837705535714048575.key) [2022-11-09T02:11:30.529Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-09T02:11:30.813Z] + git tag --points-at HEAD [Pipeline] } [2022-11-09T02:11:30.832Z] $ docker exec --env ******** --env ******** 56e17f3b13b08e951d6aced9a8b59592d3f6370a1cd9be09d7316e06d3459a51 ssh-agent -k [2022-11-09T02:11:30.925Z] unset SSH_AUTH_SOCK; [2022-11-09T02:11:30.925Z] unset SSH_AGENT_PID; [2022-11-09T02:11:30.925Z] echo Agent pid 38 killed; [2022-11-09T02:11:30.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-09T02:11:30.956Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-09T02:11:30.956Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-09T02:11:31.062Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-09T02:11:31.068Z] $ docker exec 56e17f3b13b08e951d6aced9a8b59592d3f6370a1cd9be09d7316e06d3459a51 ssh-agent [2022-11-09T02:11:31.168Z] SSH_AUTH_SOCK=/tmp/ssh-vdUw7s1tAIyM/agent.70 [2022-11-09T02:11:31.168Z] SSH_AGENT_PID=76 [2022-11-09T02:11:31.173Z] Running ssh-add (command line suppressed) [2022-11-09T02:11:31.291Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_2216777209491698018.key (/w/workspace/undry_device-onvif-camera_PR-184@tmp/private_key_2216777209491698018.key) [2022-11-09T02:11:31.300Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-09T02:11:31.585Z] + git semver init [2022-11-09T02:11:31.843Z] 2022-11-09 02:11:31,761 [run_init] DEBUG init version:0.0.0 force:False [2022-11-09T02:11:31.843Z] 2022-11-09 02:11:31,762 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-184/.semver [2022-11-09T02:11:31.843Z] 2022-11-09 02:11:31,762 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-184/.semver [2022-11-09T02:11:31.843Z] 2022-11-09 02:11:31,763 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-184/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-184, universal_newlines=False, shell=None, istream=None) [2022-11-09T02:11:33.218Z] 2022-11-09 02:11:32,941 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-184/.git/info/exclude [2022-11-09T02:11:33.218Z] 2022-11-09 02:11:32,942 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 with force:False [2022-11-09T02:11:33.218Z] 2022-11-09 02:11:32,942 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 [2022-11-09T02:11:33.218Z] 2022-11-09 02:11:32,946 [execute] INFO git cat-file --batch-check [2022-11-09T02:11:33.218Z] 2022-11-09 02:11:32,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-184/.semver, universal_newlines=False, shell=None, istream=) [2022-11-09T02:11:33.218Z] 2022-11-09 02:11:32,953 [execute] INFO git cat-file --batch [2022-11-09T02:11:33.218Z] 2022-11-09 02:11:32,953 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-184/.semver, universal_newlines=False, shell=None, istream=) [2022-11-09T02:11:33.218Z] 2022-11-09 02:11:32,958 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-184/.semver/PR-184 [2022-11-09T02:11:33.218Z] 0.0.0 [Pipeline] } [2022-11-09T02:11:33.230Z] $ docker exec --env ******** --env ******** 56e17f3b13b08e951d6aced9a8b59592d3f6370a1cd9be09d7316e06d3459a51 ssh-agent -k [2022-11-09T02:11:33.370Z] unset SSH_AUTH_SOCK; [2022-11-09T02:11:33.371Z] unset SSH_AGENT_PID; [2022-11-09T02:11:33.371Z] echo Agent pid 76 killed; [2022-11-09T02:11:33.375Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-09T02:11:33.670Z] + git semver [Pipeline] } [2022-11-09T02:11:33.943Z] $ docker stop --time=1 56e17f3b13b08e951d6aced9a8b59592d3f6370a1cd9be09d7316e06d3459a51 [2022-11-09T02:11:35.369Z] $ docker rm -f 56e17f3b13b08e951d6aced9a8b59592d3f6370a1cd9be09d7316e06d3459a51 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-09T02:11:35.702Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-09T02:11:35.877Z] Stashed 1 file(s) [Pipeline] echo [2022-11-09T02:11:35.879Z] [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-11-09T02:11:36.074Z] provisioning config files... [2022-11-09T02:11:36.080Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config2678138903940457624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T02:11:36.375Z] ---> docker-login.sh [2022-11-09T02:11:36.375Z] nexus3.edgexfoundry.org:10001 [2022-11-09T02:11:36.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T02:11:36.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T02:11:36.375Z] Configure a credential helper to remove this warning. See [2022-11-09T02:11:36.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T02:11:36.375Z] [2022-11-09T02:11:36.375Z] Login Succeeded [2022-11-09T02:11:36.375Z] nexus3.edgexfoundry.org:10002 [2022-11-09T02:11:36.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T02:11:36.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T02:11:36.375Z] Configure a credential helper to remove this warning. See [2022-11-09T02:11:36.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T02:11:36.375Z] [2022-11-09T02:11:36.375Z] Login Succeeded [2022-11-09T02:11:36.375Z] nexus3.edgexfoundry.org:10003 [2022-11-09T02:11:36.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T02:11:36.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T02:11:36.632Z] Configure a credential helper to remove this warning. See [2022-11-09T02:11:36.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T02:11:36.632Z] [2022-11-09T02:11:36.632Z] Login Succeeded [2022-11-09T02:11:36.632Z] nexus3.edgexfoundry.org:10004 [2022-11-09T02:11:36.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T02:11:36.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T02:11:36.632Z] Configure a credential helper to remove this warning. See [2022-11-09T02:11:36.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T02:11:36.632Z] [2022-11-09T02:11:36.632Z] Login Succeeded [2022-11-09T02:11:36.632Z] docker.io [2022-11-09T02:11:36.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T02:11:37.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T02:11:37.153Z] Configure a credential helper to remove this warning. See [2022-11-09T02:11:37.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T02:11:37.153Z] [2022-11-09T02:11:37.153Z] Login Succeeded [2022-11-09T02:11:37.153Z] ---> docker-login.sh ends [Pipeline] } [2022-11-09T02:11:37.160Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-09T02:11:37.225Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T02:11:37.242Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T02:11:37.249Z] ========================================================= [2022-11-09T02:11:37.249Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-09T02:11:37.249Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T02:11:37.559Z] + 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-11-09T02:11:37.559Z] Sending build context to Docker daemon 27.55MB [2022-11-09T02:11:37.559Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T02:11:37.559Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-09T02:11:37.817Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-09T02:11:37.817Z] 213ec9aee27d: Pulling fs layer [2022-11-09T02:11:37.817Z] 4583459ba037: Pulling fs layer [2022-11-09T02:11:37.817Z] 93c1e223e6f2: Pulling fs layer [2022-11-09T02:11:37.817Z] 53926ce57604: Pulling fs layer [2022-11-09T02:11:37.817Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-09T02:11:37.817Z] 22ff95d597cd: Pulling fs layer [2022-11-09T02:11:37.817Z] 53926ce57604: Waiting [2022-11-09T02:11:37.817Z] 21b2b0c7a3f4: Waiting [2022-11-09T02:11:37.817Z] 12d6caf4c0d1: Pulling fs layer [2022-11-09T02:11:37.817Z] 96b7cbca73a9: Pulling fs layer [2022-11-09T02:11:37.817Z] a7acece74701: Pulling fs layer [2022-11-09T02:11:37.817Z] a7acece74701: Waiting [2022-11-09T02:11:37.817Z] 12d6caf4c0d1: Waiting [2022-11-09T02:11:37.817Z] 96b7cbca73a9: Waiting [2022-11-09T02:11:37.817Z] 22ff95d597cd: Waiting [2022-11-09T02:11:37.817Z] 93c1e223e6f2: Verifying Checksum [2022-11-09T02:11:37.817Z] 93c1e223e6f2: Download complete [2022-11-09T02:11:37.817Z] 4583459ba037: Verifying Checksum [2022-11-09T02:11:37.817Z] 4583459ba037: Download complete [2022-11-09T02:11:37.817Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-09T02:11:37.817Z] 21b2b0c7a3f4: Download complete [2022-11-09T02:11:37.817Z] 22ff95d597cd: Download complete [2022-11-09T02:11:37.817Z] 213ec9aee27d: Download complete [2022-11-09T02:11:37.817Z] 12d6caf4c0d1: Verifying Checksum [2022-11-09T02:11:37.817Z] 12d6caf4c0d1: Download complete [2022-11-09T02:11:38.075Z] 213ec9aee27d: Pull complete [2022-11-09T02:11:38.075Z] 4583459ba037: Pull complete [2022-11-09T02:11:38.336Z] 93c1e223e6f2: Pull complete [2022-11-09T02:11:38.597Z] a7acece74701: Verifying Checksum [2022-11-09T02:11:38.597Z] a7acece74701: Download complete [2022-11-09T02:11:38.856Z] 96b7cbca73a9: Verifying Checksum [2022-11-09T02:11:38.856Z] 96b7cbca73a9: Download complete [2022-11-09T02:11:39.115Z] 53926ce57604: Verifying Checksum [2022-11-09T02:11:39.115Z] 53926ce57604: Download complete [2022-11-09T02:11:43.310Z] 53926ce57604: Pull complete [2022-11-09T02:11:43.310Z] 21b2b0c7a3f4: Pull complete [2022-11-09T02:11:43.310Z] 22ff95d597cd: Pull complete [2022-11-09T02:11:43.310Z] 12d6caf4c0d1: Pull complete [2022-11-09T02:11:44.687Z] 96b7cbca73a9: Pull complete [2022-11-09T02:11:45.622Z] a7acece74701: Pull complete [2022-11-09T02:11:45.622Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-09T02:11:45.622Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-09T02:11:45.622Z] ---> db6d94c90886 [2022-11-09T02:11:45.622Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-09T02:11:47.523Z] ---> Running in e6b61ee9e4a9 [2022-11-09T02:11:47.523Z] Removing intermediate container e6b61ee9e4a9 [2022-11-09T02:11:47.523Z] ---> 62efd2d6749d [2022-11-09T02:11:47.523Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T02:11:47.523Z] ---> Running in 50ebbfe42886 [2022-11-09T02:11:47.523Z] Removing intermediate container 50ebbfe42886 [2022-11-09T02:11:47.523Z] ---> 8ccea1a89173 [2022-11-09T02:11:47.523Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-09T02:11:47.523Z] ---> Running in fd8f9e02788f [2022-11-09T02:11:47.523Z] Removing intermediate container fd8f9e02788f [2022-11-09T02:11:47.523Z] ---> b349d42c22f2 [2022-11-09T02:11:47.523Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-09T02:11:47.523Z] ---> Running in 0f9642b189aa [2022-11-09T02:11:47.523Z] Removing intermediate container 0f9642b189aa [2022-11-09T02:11:47.523Z] ---> aff5ce71febd [2022-11-09T02:11:47.523Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-09T02:11:47.523Z] ---> Running in 6c217f815381 [2022-11-09T02:11:47.781Z] Removing intermediate container 6c217f815381 [2022-11-09T02:11:47.781Z] ---> 6ae0a4d7e135 [2022-11-09T02:11:47.781Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T02:11:47.781Z] ---> Running in 98ecb5471a54 [2022-11-09T02:11:48.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-09T02:11:48.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-09T02:11:48.553Z] OK: 211 MiB in 51 packages [2022-11-09T02:11:48.811Z] Removing intermediate container 98ecb5471a54 [2022-11-09T02:11:48.811Z] ---> a1708d555e95 [2022-11-09T02:11:48.811Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-09T02:11:48.811Z] ---> Running in aa4a2e3599b1 [2022-11-09T02:11:48.811Z] Removing intermediate container aa4a2e3599b1 [2022-11-09T02:11:48.811Z] ---> c2e097cdf328 [2022-11-09T02:11:48.811Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-09T02:11:49.068Z] ---> 0721ac0d0b34 [2022-11-09T02:11:49.068Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T02:11:49.069Z] ---> Running in 0f9c48efe29a [2022-11-09T02:11:50.975Z] Still waiting to schedule task [2022-11-09T02:11:50.975Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118718’ [2022-11-09T02:12:07.150Z] Removing intermediate container 0f9c48efe29a [2022-11-09T02:12:07.150Z] ---> c4ce1b45aaff [2022-11-09T02:12:07.150Z] Step 12/13 : COPY . . [2022-11-09T02:12:07.150Z] ---> 039df3a75f41 [2022-11-09T02:12:07.150Z] Step 13/13 : RUN ${MAKE} [2022-11-09T02:12:07.150Z] ---> Running in 3b3c66bd5ca8 [2022-11-09T02:12:07.150Z] noop [2022-11-09T02:12:07.410Z] Removing intermediate container 3b3c66bd5ca8 [2022-11-09T02:12:07.410Z] ---> 327f70a243ac [2022-11-09T02:12:07.410Z] Successfully built 327f70a243ac [2022-11-09T02:12:07.410Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T02:12:07.712Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-09T02:12:07.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T02:12:07.772Z] prd-ubuntu20.04-docker-8c-8g-118721 does not seem to be running inside a container [2022-11-09T02:12:07.803Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-09T02:12:08.169Z] $ docker top 7709baefe128455c26eb42e260c480c034f1ac5f0ac23bda4883a3d66cd72191 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T02:12:08.508Z] + go version [2022-11-09T02:12:08.508Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-09T02:12:08.524Z] $ docker stop --time=1 7709baefe128455c26eb42e260c480c034f1ac5f0ac23bda4883a3d66cd72191 [2022-11-09T02:12:09.851Z] $ docker rm -f 7709baefe128455c26eb42e260c480c034f1ac5f0ac23bda4883a3d66cd72191 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T02:12:10.312Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-09T02:12:10.312Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T02:12:10.377Z] prd-ubuntu20.04-docker-8c-8g-118721 does not seem to be running inside a container [2022-11-09T02:12:10.411Z] $ 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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-09T02:12:10.738Z] $ docker top becdd22a1998cd091d466f69a2844062de70154a3011c4874344703e0d9c8bca -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T02:12:11.075Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-184 [Pipeline] fileExists [Pipeline] sh [2022-11-09T02:12:11.372Z] + make test [2022-11-09T02:12:11.372Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-09T02:12:11.936Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-09T02:12:21.913Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-09T02:12:26.096Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 29.3% of statements [2022-11-09T02:12:26.096Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-09T02:12:26.096Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.705s coverage: 86.5% of statements [2022-11-09T02:12:32.653Z] 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-11-09T02:12:32.911Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-09T02:12:37.091Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-09T02:12:37.091Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-09T02:12:37.091Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-09T02:12:37.104Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-09T02:12:37.120Z] $ docker stop --time=1 becdd22a1998cd091d466f69a2844062de70154a3011c4874344703e0d9c8bca [2022-11-09T02:12:39.725Z] $ docker rm -f becdd22a1998cd091d466f69a2844062de70154a3011c4874344703e0d9c8bca [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-09T02:12:40.155Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-09T02:12:40.205Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-09T02:12:40.605Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-09T02:12:40.887Z] + ls -al . [2022-11-09T02:12:40.887Z] total 248 [2022-11-09T02:12:40.887Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 02:12 . [2022-11-09T02:12:40.887Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 02:11 .. [2022-11-09T02:12:40.887Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 02:12 .git [2022-11-09T02:12:40.887Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 02:11 .github [2022-11-09T02:12:40.887Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 9 02:11 .gitignore [2022-11-09T02:12:40.887Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 9 02:11 .golangci.yml [2022-11-09T02:12:40.887Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 02:11 .semver [2022-11-09T02:12:40.887Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 9 02:11 Attribution.txt [2022-11-09T02:12:40.887Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 9 02:11 CHANGELOG.md [2022-11-09T02:12:40.887Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 9 02:11 Dockerfile [2022-11-09T02:12:40.887Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 02:11 GOVERNANCE.md [2022-11-09T02:12:40.887Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 9 02:11 Jenkinsfile [2022-11-09T02:12:40.887Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 9 02:11 LICENSE [2022-11-09T02:12:40.887Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 9 02:11 Makefile [2022-11-09T02:12:40.887Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 9 02:11 OWNERS.md [2022-11-09T02:12:40.887Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 9 02:11 README.md [2022-11-09T02:12:40.887Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 02:11 VERSION [2022-11-09T02:12:40.887Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 02:11 bin [2022-11-09T02:12:40.887Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 02:11 cmd [2022-11-09T02:12:40.887Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 9 02:12 coverage.out [2022-11-09T02:12:40.887Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 9 02:11 doc [2022-11-09T02:12:40.887Z] -rw-rw-r-- 1 jenkins jenkins 3687 Nov 9 02:11 go.mod [2022-11-09T02:12:40.887Z] -rw-rw-r-- 1 jenkins jenkins 46282 Nov 9 02:11 go.sum [2022-11-09T02:12:40.887Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 02:11 internal [2022-11-09T02:12:40.887Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 02:11 snap [2022-11-09T02:12:40.887Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 9 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T02:12:41.213Z] + 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=6fdbfba57b189e453e5772445c4a1738c28bff54 --label arch=amd64 --label version=0.0.0 . [2022-11-09T02:12:41.213Z] Sending build context to Docker daemon 27.63MB [2022-11-09T02:12:41.213Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T02:12:41.213Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-09T02:12:41.213Z] ---> 327f70a243ac [2022-11-09T02:12:41.213Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-09T02:12:41.471Z] ---> Running in 036c0fb247ff [2022-11-09T02:12:41.730Z] Removing intermediate container 036c0fb247ff [2022-11-09T02:12:41.730Z] ---> 414ce733b2d8 [2022-11-09T02:12:41.730Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T02:12:41.730Z] ---> Running in e6abe133d4ff [2022-11-09T02:12:41.730Z] Removing intermediate container e6abe133d4ff [2022-11-09T02:12:41.730Z] ---> 7e723a62953a [2022-11-09T02:12:41.730Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-09T02:12:41.730Z] ---> Running in a7cba52a46d5 [2022-11-09T02:12:41.730Z] Removing intermediate container a7cba52a46d5 [2022-11-09T02:12:41.730Z] ---> bee91aa65371 [2022-11-09T02:12:41.730Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-09T02:12:41.988Z] ---> Running in 7306e8b614fc [2022-11-09T02:12:41.988Z] Removing intermediate container 7306e8b614fc [2022-11-09T02:12:41.988Z] ---> 36da7e26b8c4 [2022-11-09T02:12:41.988Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-09T02:12:41.988Z] ---> Running in c3da09c290f4 [2022-11-09T02:12:41.988Z] Removing intermediate container c3da09c290f4 [2022-11-09T02:12:41.988Z] ---> 8c7b668d62ec [2022-11-09T02:12:41.988Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T02:12:41.988Z] ---> Running in 9753390783bd [2022-11-09T02:12:42.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-09T02:12:42.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-09T02:12:42.505Z] OK: 211 MiB in 51 packages [2022-11-09T02:12:43.071Z] Removing intermediate container 9753390783bd [2022-11-09T02:12:43.071Z] ---> 8d25866eef06 [2022-11-09T02:12:43.071Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-09T02:12:43.071Z] ---> Running in 4c2d77d8a4c7 [2022-11-09T02:12:43.071Z] Removing intermediate container 4c2d77d8a4c7 [2022-11-09T02:12:43.071Z] ---> cfce9e28016a [2022-11-09T02:12:43.071Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-09T02:12:43.071Z] ---> 8180c73a7c4b [2022-11-09T02:12:43.071Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T02:12:43.071Z] ---> Running in ea0ada4b092e [2022-11-09T02:12:44.003Z] Removing intermediate container ea0ada4b092e [2022-11-09T02:12:44.003Z] ---> bb57961106d8 [2022-11-09T02:12:44.003Z] Step 12/26 : COPY . . [2022-11-09T02:12:44.580Z] ---> d3556b0b0cb7 [2022-11-09T02:12:44.580Z] Step 13/26 : RUN ${MAKE} [2022-11-09T02:12:44.580Z] ---> Running in abb9922684a2 [2022-11-09T02:12:44.839Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-11-09T02:13:11.385Z] Removing intermediate container abb9922684a2 [2022-11-09T02:13:11.385Z] ---> 347f3bc93886 [2022-11-09T02:13:11.385Z] Step 14/26 : FROM alpine:3.16 [2022-11-09T02:13:11.385Z] 3.16: Pulling from library/alpine [2022-11-09T02:13:11.385Z] 213ec9aee27d: Already exists [2022-11-09T02:13:11.385Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-09T02:13:11.385Z] Status: Downloaded newer image for alpine:3.16 [2022-11-09T02:13:11.385Z] ---> 9c6f07244728 [2022-11-09T02:13:11.385Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-09T02:13:11.385Z] ---> Running in ee0fccf4edbc [2022-11-09T02:13:11.385Z] Removing intermediate container ee0fccf4edbc [2022-11-09T02:13:11.385Z] ---> 404538291a7c [2022-11-09T02:13:11.385Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-09T02:13:11.385Z] ---> Running in 286c65f1756a [2022-11-09T02:13:11.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-09T02:13:11.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-09T02:13:11.385Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-09T02:13:11.385Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-09T02:13:11.385Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-09T02:13:11.385Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-09T02:13:11.385Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-09T02:13:11.385Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-09T02:13:11.385Z] Executing busybox-1.35.0-r17.trigger [2022-11-09T02:13:11.385Z] OK: 8 MiB in 20 packages [2022-11-09T02:13:11.385Z] Removing intermediate container 286c65f1756a [2022-11-09T02:13:11.385Z] ---> 8e887ef16e1a [2022-11-09T02:13:11.385Z] Step 17/26 : WORKDIR / [2022-11-09T02:13:11.385Z] ---> Running in e6ce2c8a230d [2022-11-09T02:13:11.385Z] Removing intermediate container e6ce2c8a230d [2022-11-09T02:13:11.385Z] ---> 13d62b8df61d [2022-11-09T02:13:11.385Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-09T02:13:11.385Z] ---> ff28da2067ac [2022-11-09T02:13:11.385Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-09T02:13:11.385Z] ---> 2cfafc416044 [2022-11-09T02:13:11.385Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-09T02:13:11.385Z] ---> 577594081d90 [2022-11-09T02:13:11.385Z] Step 21/26 : EXPOSE 59984 [2022-11-09T02:13:11.385Z] ---> Running in a51deb936d48 [2022-11-09T02:13:11.385Z] Removing intermediate container a51deb936d48 [2022-11-09T02:13:11.385Z] ---> 346f83ab1597 [2022-11-09T02:13:11.385Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-09T02:13:11.385Z] ---> Running in 9275dcf55f96 [2022-11-09T02:13:11.385Z] Removing intermediate container 9275dcf55f96 [2022-11-09T02:13:11.385Z] ---> 18f655217be8 [2022-11-09T02:13:11.385Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-09T02:13:11.385Z] ---> Running in 87af492edb3f [2022-11-09T02:13:11.385Z] Removing intermediate container 87af492edb3f [2022-11-09T02:13:11.385Z] ---> d94d2c9bbe64 [2022-11-09T02:13:11.385Z] Step 24/26 : LABEL arch=amd64 [2022-11-09T02:13:11.385Z] ---> Running in 4abd37adae3f [2022-11-09T02:13:11.385Z] Removing intermediate container 4abd37adae3f [2022-11-09T02:13:11.385Z] ---> b0e20c10591a [2022-11-09T02:13:11.385Z] Step 25/26 : LABEL git_sha=6fdbfba57b189e453e5772445c4a1738c28bff54 [2022-11-09T02:13:11.385Z] ---> Running in 13a7d60ed713 [2022-11-09T02:13:11.385Z] Removing intermediate container 13a7d60ed713 [2022-11-09T02:13:11.385Z] ---> 4cc49a25b1be [2022-11-09T02:13:11.385Z] Step 26/26 : LABEL version=0.0.0 [2022-11-09T02:13:11.385Z] ---> Running in e6846fd84dae [2022-11-09T02:13:11.385Z] Removing intermediate container e6846fd84dae [2022-11-09T02:13:11.385Z] ---> 58ca574b21e9 [2022-11-09T02:13:11.385Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-09T02:13:11.385Z] Successfully built 58ca574b21e9 [2022-11-09T02:13:11.643Z] 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-11-09T02:13:12.058Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T02:13:12.058Z] [2022-11-09T02:13:12.058Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T02:13:12.352Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T02:13:12.352Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-09T02:13:12.352Z] 5eb5b503b376: Pulling fs layer [2022-11-09T02:13:12.352Z] 5c69ac0246d0: Pulling fs layer [2022-11-09T02:13:12.352Z] ec43610c2a17: Pulling fs layer [2022-11-09T02:13:12.352Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-09T02:13:12.352Z] 33b1e0a273af: Pulling fs layer [2022-11-09T02:13:12.352Z] 5d3b04190fa2: Pulling fs layer [2022-11-09T02:13:12.352Z] 2f39f015ded8: Pulling fs layer [2022-11-09T02:13:12.352Z] 33b1e0a273af: Waiting [2022-11-09T02:13:12.352Z] 5d3b04190fa2: Waiting [2022-11-09T02:13:12.352Z] 3a2ae6a8a46f: Waiting [2022-11-09T02:13:12.352Z] 2f39f015ded8: Waiting [2022-11-09T02:13:12.352Z] 5c69ac0246d0: Download complete [2022-11-09T02:13:12.352Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-09T02:13:12.352Z] 3a2ae6a8a46f: Download complete [2022-11-09T02:13:12.352Z] 33b1e0a273af: Verifying Checksum [2022-11-09T02:13:12.352Z] 33b1e0a273af: Download complete [2022-11-09T02:13:12.610Z] 5d3b04190fa2: Verifying Checksum [2022-11-09T02:13:12.610Z] 5d3b04190fa2: Download complete [2022-11-09T02:13:12.610Z] ec43610c2a17: Verifying Checksum [2022-11-09T02:13:12.610Z] ec43610c2a17: Download complete [2022-11-09T02:13:12.610Z] 5eb5b503b376: Verifying Checksum [2022-11-09T02:13:12.610Z] 5eb5b503b376: Download complete [2022-11-09T02:13:13.184Z] 2f39f015ded8: Download complete [2022-11-09T02:13:13.753Z] 5eb5b503b376: Pull complete [2022-11-09T02:13:14.012Z] 5c69ac0246d0: Pull complete [2022-11-09T02:13:14.270Z] ec43610c2a17: Pull complete [2022-11-09T02:13:14.528Z] 3a2ae6a8a46f: Pull complete [2022-11-09T02:13:14.786Z] 33b1e0a273af: Pull complete [2022-11-09T02:13:14.786Z] 5d3b04190fa2: Pull complete [2022-11-09T02:13:18.968Z] 2f39f015ded8: Pull complete [2022-11-09T02:13:18.968Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-09T02:13:18.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T02:13:18.968Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T02:13:19.057Z] prd-ubuntu20.04-docker-8c-8g-118721 does not seem to be running inside a container [2022-11-09T02:13:19.095Z] $ 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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@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-11-09T02:13:22.830Z] $ docker top 419e856bfc09ba4b0e809baabc47842a280cc8af14ed158c69ac7e9bb3ed88b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T02:13:23.217Z] ---> job-cost.sh [2022-11-09T02:13:23.217Z] lf-activate-venv: SKIPPING [2022-11-09T02:13:23.217Z] INFO: No Stack... [2022-11-09T02:13:23.477Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-09T02:13:23.735Z] INFO: Archiving Costs [Pipeline] sh [2022-11-09T02:13:24.023Z] + cat /w/workspace/undry_device-onvif-camera_PR-184/archives/cost.csv [2022-11-09T02:13:24.024Z] + cut -d, -f6 [Pipeline] lock [2022-11-09T02:13:24.039Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-184-11-stack-cost] [2022-11-09T02:13:24.045Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-11-stack-cost] did not exist. Created. [2022-11-09T02:13:24.045Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-184-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-09T02:13:24.357Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-09T02:13:24.393Z] Stashed 1 file(s) [Pipeline] } [2022-11-09T02:13:24.399Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-09T02:13:24.423Z] $ docker stop --time=1 419e856bfc09ba4b0e809baabc47842a280cc8af14ed158c69ac7e9bb3ed88b4 [2022-11-09T02:13:25.596Z] $ docker rm -f 419e856bfc09ba4b0e809baabc47842a280cc8af14ed158c69ac7e9bb3ed88b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-09T02:14:50.484Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118724 in /w/workspace/undry_device-onvif-camera_PR-184 [Pipeline] { [Pipeline] ws [2022-11-09T02:14:50.494Z] Running in /w/workspace/device-onvif-camera/11 [Pipeline] { [Pipeline] checkout [2022-11-09T02:14:50.529Z] The recommended git tool is: git [2022-11-09T02:14:57.003Z] using credential edgex-jenkins-ssh [2022-11-09T02:14:57.021Z] Cloning the remote Git repository [2022-11-09T02:14:57.079Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-09T02:14:57.178Z] > git init /w/workspace/device-onvif-camera/11 # timeout=10 [2022-11-09T02:14:57.374Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-09T02:14:57.375Z] > git --version # timeout=10 [2022-11-09T02:14:57.400Z] > git --version # 'git version 2.25.1' [2022-11-09T02:14:57.403Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-09T02:14:57.471Z] Verifying host key using known hosts file [2022-11-09T02:14:57.733Z] 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-11-09T02:14:57.749Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-09T02:14:59.394Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-09T02:14:59.420Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-09T02:15:00.573Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-09T02:15:00.622Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-09T02:15:00.625Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-09T02:15:00.631Z] Verifying host key using known hosts file [2022-11-09T02:15:00.640Z] 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-11-09T02:15:00.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-09T02:15:01.317Z] Merging remotes/origin/main commit ef0e1dc43e01e3af63e43192147483735d9789c0 into PR head commit 2da920ae95a58e4fefadcc316dd1c8ce4477e1a1 [2022-11-09T02:15:01.343Z] > git config core.sparsecheckout # timeout=10 [2022-11-09T02:15:01.378Z] > git checkout -f 2da920ae95a58e4fefadcc316dd1c8ce4477e1a1 # timeout=10 [2022-11-09T02:15:01.756Z] > git remote # timeout=10 [2022-11-09T02:15:01.780Z] > git config --get remote.origin.url # timeout=10 [2022-11-09T02:15:01.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-09T02:15:01.810Z] Verifying host key using known hosts file [2022-11-09T02:15:01.820Z] 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-11-09T02:15:01.833Z] > git merge ef0e1dc43e01e3af63e43192147483735d9789c0 # timeout=10 [2022-11-09T02:15:02.459Z] Merge succeeded, producing 8882cdaa1a406bc66c8eaed3bd42cf39107f6149 [2022-11-09T02:15:02.460Z] Checking out Revision 8882cdaa1a406bc66c8eaed3bd42cf39107f6149 (PR-184) [2022-11-09T02:15:02.435Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-09T02:15:02.471Z] > git config core.sparsecheckout # timeout=10 [2022-11-09T02:15:02.489Z] > git checkout -f 8882cdaa1a406bc66c8eaed3bd42cf39107f6149 # timeout=10 [2022-11-09T02:15:06.113Z] Commit message: "Merge commit 'ef0e1dc43e01e3af63e43192147483735d9789c0' into HEAD" [2022-11-09T02:15:06.144Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-09T02:15:07.073Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-09T02:15:07.073Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-09T02:15:07.073Z] Dload Upload Total Spent Left Speed [2022-11-09T02:15:07.073Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 195k 0 --:--:-- --:--:-- --:--:-- 198k [2022-11-09T02:15:06.125Z] > git rev-list --no-walk 50c43fe1fc09c3b8f6a44b5a692a53a4158763ba # timeout=10 [Pipeline] sh [2022-11-09T02:15:07.840Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-09T02:15:08.173Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-09T02:15:08.173Z] + sudo tee /etc/docker/daemon.new [2022-11-09T02:15:08.173Z] { [2022-11-09T02:15:08.173Z] "registry-mirrors": [ [2022-11-09T02:15:08.173Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-09T02:15:08.173Z] ], [2022-11-09T02:15:08.173Z] "bip": "10.250.0.254/24", [2022-11-09T02:15:08.173Z] "hosts": [ [2022-11-09T02:15:08.173Z] "tcp://0.0.0.0:5555", [2022-11-09T02:15:08.173Z] "unix:///var/run/docker.sock" [2022-11-09T02:15:08.173Z] ], [2022-11-09T02:15:08.173Z] "mtu": 1458, [2022-11-09T02:15:08.173Z] "selinux-enabled": true, [2022-11-09T02:15:08.173Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-09T02:15:08.173Z] } [Pipeline] sh [2022-11-09T02:15:08.504Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-09T02:15:08.833Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-09T02:15:27.114Z] provisioning config files... [2022-11-09T02:15:27.140Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/11@tmp/config3050303655570887292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T02:15:27.488Z] ---> docker-login.sh [2022-11-09T02:15:27.488Z] nexus3.edgexfoundry.org:10001 [2022-11-09T02:15:28.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T02:15:28.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T02:15:28.073Z] Configure a credential helper to remove this warning. See [2022-11-09T02:15:28.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T02:15:28.073Z] [2022-11-09T02:15:28.073Z] Login Succeeded [2022-11-09T02:15:28.073Z] nexus3.edgexfoundry.org:10002 [2022-11-09T02:15:28.343Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T02:15:28.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T02:15:28.343Z] Configure a credential helper to remove this warning. See [2022-11-09T02:15:28.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T02:15:28.343Z] [2022-11-09T02:15:28.343Z] Login Succeeded [2022-11-09T02:15:28.343Z] nexus3.edgexfoundry.org:10003 [2022-11-09T02:15:28.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T02:15:28.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T02:15:28.882Z] Configure a credential helper to remove this warning. See [2022-11-09T02:15:28.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T02:15:28.882Z] [2022-11-09T02:15:28.882Z] Login Succeeded [2022-11-09T02:15:28.882Z] nexus3.edgexfoundry.org:10004 [2022-11-09T02:15:29.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T02:15:29.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T02:15:29.152Z] Configure a credential helper to remove this warning. See [2022-11-09T02:15:29.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T02:15:29.152Z] [2022-11-09T02:15:29.152Z] Login Succeeded [2022-11-09T02:15:29.152Z] docker.io [2022-11-09T02:15:29.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T02:15:29.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T02:15:29.689Z] Configure a credential helper to remove this warning. See [2022-11-09T02:15:29.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T02:15:29.689Z] [2022-11-09T02:15:29.689Z] Login Succeeded [2022-11-09T02:15:29.689Z] ---> docker-login.sh ends [Pipeline] } [2022-11-09T02:15:29.705Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-09T02:15:29.863Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T02:15:29.876Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T02:15:29.883Z] ========================================================= [2022-11-09T02:15:29.883Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-09T02:15:29.884Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T02:15:30.235Z] + 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-11-09T02:15:30.820Z] Sending build context to Docker daemon 20.47MB [2022-11-09T02:15:30.820Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T02:15:30.820Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-09T02:15:30.820Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-09T02:15:30.820Z] 9b18e9b68314: Pulling fs layer [2022-11-09T02:15:30.820Z] 35d82f9e3411: Pulling fs layer [2022-11-09T02:15:30.820Z] e16973657156: Pulling fs layer [2022-11-09T02:15:31.098Z] fc693d55d65f: Pulling fs layer [2022-11-09T02:15:31.098Z] 7e9fc2657dce: Pulling fs layer [2022-11-09T02:15:31.098Z] dda99020689f: Pulling fs layer [2022-11-09T02:15:31.098Z] db1c61fa0a46: Pulling fs layer [2022-11-09T02:15:31.098Z] 891c053d2c06: Pulling fs layer [2022-11-09T02:15:31.098Z] fc693d55d65f: Waiting [2022-11-09T02:15:31.098Z] dda99020689f: Waiting [2022-11-09T02:15:31.098Z] 7e9fc2657dce: Waiting [2022-11-09T02:15:31.098Z] db1c61fa0a46: Waiting [2022-11-09T02:15:31.098Z] 891c053d2c06: Waiting [2022-11-09T02:15:31.098Z] e16973657156: Download complete [2022-11-09T02:15:31.098Z] 35d82f9e3411: Verifying Checksum [2022-11-09T02:15:31.098Z] 35d82f9e3411: Download complete [2022-11-09T02:15:31.098Z] 7e9fc2657dce: Verifying Checksum [2022-11-09T02:15:31.098Z] 7e9fc2657dce: Download complete [2022-11-09T02:15:31.098Z] 9b18e9b68314: Verifying Checksum [2022-11-09T02:15:31.098Z] dda99020689f: Verifying Checksum [2022-11-09T02:15:31.098Z] dda99020689f: Download complete [2022-11-09T02:15:32.073Z] 9b18e9b68314: Pull complete [2022-11-09T02:15:32.073Z] 891c053d2c06: Verifying Checksum [2022-11-09T02:15:32.073Z] 891c053d2c06: Download complete [2022-11-09T02:15:32.663Z] 35d82f9e3411: Pull complete [2022-11-09T02:15:32.938Z] e16973657156: Pull complete [2022-11-09T02:15:33.528Z] db1c61fa0a46: Verifying Checksum [2022-11-09T02:15:33.528Z] db1c61fa0a46: Download complete [2022-11-09T02:15:34.117Z] fc693d55d65f: Verifying Checksum [2022-11-09T02:15:34.117Z] fc693d55d65f: Download complete [2022-11-09T02:15:46.469Z] fc693d55d65f: Pull complete [2022-11-09T02:15:46.469Z] 7e9fc2657dce: Pull complete [2022-11-09T02:15:46.469Z] dda99020689f: Pull complete [2022-11-09T02:15:53.181Z] db1c61fa0a46: Pull complete [2022-11-09T02:15:55.777Z] 891c053d2c06: Pull complete [2022-11-09T02:15:55.777Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-09T02:15:55.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-09T02:15:55.777Z] ---> f96f9c87975a [2022-11-09T02:15:55.777Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-09T02:15:57.764Z] ---> Running in 28865ca77e07 [2022-11-09T02:15:57.764Z] Removing intermediate container 28865ca77e07 [2022-11-09T02:15:57.764Z] ---> 26ae6f6eb7c0 [2022-11-09T02:15:57.764Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T02:15:58.034Z] ---> Running in d997f3118eeb [2022-11-09T02:15:58.304Z] Removing intermediate container d997f3118eeb [2022-11-09T02:15:58.304Z] ---> cc7961e05136 [2022-11-09T02:15:58.304Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-09T02:15:58.304Z] ---> Running in b7c3dbdf687f [2022-11-09T02:15:58.900Z] Removing intermediate container b7c3dbdf687f [2022-11-09T02:15:58.900Z] ---> 71133e0d12e0 [2022-11-09T02:15:58.900Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-09T02:15:58.900Z] ---> Running in dd7af854a675 [2022-11-09T02:15:59.174Z] Removing intermediate container dd7af854a675 [2022-11-09T02:15:59.174Z] ---> b98d1ebf44bf [2022-11-09T02:15:59.174Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-09T02:15:59.174Z] ---> Running in e5723320052f [2022-11-09T02:15:59.768Z] Removing intermediate container e5723320052f [2022-11-09T02:15:59.768Z] ---> 3f1f3d7d06ad [2022-11-09T02:15:59.768Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T02:15:59.768Z] ---> Running in f7ec2da4e1ff [2022-11-09T02:16:01.190Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-09T02:16:01.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-09T02:16:02.925Z] OK: 221 MiB in 51 packages [2022-11-09T02:16:03.514Z] Removing intermediate container f7ec2da4e1ff [2022-11-09T02:16:03.514Z] ---> e8f5202a508f [2022-11-09T02:16:03.514Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-09T02:16:03.785Z] ---> Running in 404d55b0955e [2022-11-09T02:16:04.054Z] Removing intermediate container 404d55b0955e [2022-11-09T02:16:04.054Z] ---> 462a1322e91d [2022-11-09T02:16:04.054Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-09T02:16:04.645Z] ---> b6ed06eee22e [2022-11-09T02:16:04.645Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T02:16:04.645Z] ---> Running in 1aca561598aa [2022-11-09T02:17:01.152Z] Removing intermediate container 1aca561598aa [2022-11-09T02:17:01.152Z] ---> f7091a696831 [2022-11-09T02:17:01.152Z] Step 12/13 : COPY . . [2022-11-09T02:17:02.123Z] ---> 39afd472ae06 [2022-11-09T02:17:02.123Z] Step 13/13 : RUN ${MAKE} [2022-11-09T02:17:02.123Z] ---> Running in 6bb3f048b428 [2022-11-09T02:17:03.543Z] noop [2022-11-09T02:17:03.813Z] Removing intermediate container 6bb3f048b428 [2022-11-09T02:17:03.813Z] ---> 8efbcb2287c3 [2022-11-09T02:17:04.082Z] Successfully built 8efbcb2287c3 [2022-11-09T02:17:04.082Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T02:17:04.444Z] + docker inspect -f . ci-base-image-arm64 [2022-11-09T02:17:04.444Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T02:17:04.657Z] prd-ubuntu20.04-docker-arm64-4c-16g-118724 does not seem to be running inside a container [2022-11-09T02:17:04.746Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@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-11-09T02:17:06.149Z] $ docker top 8aaf44879a37120b602a57d6ca6f2e2be50bcdccc546548d613842220e6e9018 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T02:17:07.026Z] + go version [2022-11-09T02:17:07.026Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-09T02:17:07.053Z] $ docker stop --time=1 8aaf44879a37120b602a57d6ca6f2e2be50bcdccc546548d613842220e6e9018 [2022-11-09T02:17:08.733Z] $ docker rm -f 8aaf44879a37120b602a57d6ca6f2e2be50bcdccc546548d613842220e6e9018 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T02:17:09.287Z] + docker inspect -f . ci-base-image-arm64 [2022-11-09T02:17:09.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T02:17:09.480Z] prd-ubuntu20.04-docker-arm64-4c-16g-118724 does not seem to be running inside a container [2022-11-09T02:17:09.565Z] $ 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/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@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-11-09T02:17:10.898Z] $ docker top d0deb9fe2ce0de16bf2f76faff1a50be29faeece56842fe9c4d6e1addb3c5977 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T02:17:11.762Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/11 [Pipeline] fileExists [Pipeline] sh [2022-11-09T02:17:12.423Z] + make test [2022-11-09T02:17:12.423Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-09T02:17:14.391Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-09T02:19:09.229Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-09T02:19:15.946Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.225s coverage: 29.3% of statements [2022-11-09T02:19:15.946Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-09T02:19:34.225Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.763s coverage: 86.5% of statements [2022-11-09T02:19:34.225Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-09T02:19:34.225Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-09T02:20:13.188Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-09T02:20:13.188Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-09T02:20:13.188Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-09T02:20:13.208Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-09T02:20:13.220Z] $ docker stop --time=1 d0deb9fe2ce0de16bf2f76faff1a50be29faeece56842fe9c4d6e1addb3c5977 [2022-11-09T02:20:15.188Z] $ docker rm -f d0deb9fe2ce0de16bf2f76faff1a50be29faeece56842fe9c4d6e1addb3c5977 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-09T02:20:16.398Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-09T02:20:16.422Z] Warning: overwriting stash ‘coverage-report’ [2022-11-09T02:20:17.006Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-09T02:20:17.396Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-09T02:20:17.721Z] + ls -al . [2022-11-09T02:20:17.721Z] total 244 [2022-11-09T02:20:17.721Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 02:17 . [2022-11-09T02:20:17.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 02:14 .. [2022-11-09T02:20:17.721Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 02:15 .git [2022-11-09T02:20:17.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 02:15 .github [2022-11-09T02:20:17.721Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 9 02:15 .gitignore [2022-11-09T02:20:17.721Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 9 02:15 .golangci.yml [2022-11-09T02:20:17.721Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 9 02:15 Attribution.txt [2022-11-09T02:20:17.721Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 9 02:15 CHANGELOG.md [2022-11-09T02:20:17.721Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 9 02:15 Dockerfile [2022-11-09T02:20:17.721Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 02:15 GOVERNANCE.md [2022-11-09T02:20:17.721Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 9 02:15 Jenkinsfile [2022-11-09T02:20:17.721Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 9 02:15 LICENSE [2022-11-09T02:20:17.721Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 9 02:15 Makefile [2022-11-09T02:20:17.721Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 9 02:15 OWNERS.md [2022-11-09T02:20:17.721Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 9 02:15 README.md [2022-11-09T02:20:17.721Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 02:11 VERSION [2022-11-09T02:20:17.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 02:15 bin [2022-11-09T02:20:17.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 02:15 cmd [2022-11-09T02:20:17.721Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 9 02:19 coverage.out [2022-11-09T02:20:17.721Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 9 02:15 doc [2022-11-09T02:20:17.721Z] -rw-rw-r-- 1 jenkins jenkins 3687 Nov 9 02:15 go.mod [2022-11-09T02:20:17.721Z] -rw-rw-r-- 1 jenkins jenkins 46282 Nov 9 02:15 go.sum [2022-11-09T02:20:17.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 02:15 internal [2022-11-09T02:20:17.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 02:15 snap [2022-11-09T02:20:17.721Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 9 02:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T02:20:18.070Z] + 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=8882cdaa1a406bc66c8eaed3bd42cf39107f6149 --label arch=arm64 --label version=0.0.0 . [2022-11-09T02:20:18.657Z] Sending build context to Docker daemon 20.55MB [2022-11-09T02:20:18.657Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T02:20:18.657Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-09T02:20:18.657Z] ---> 8efbcb2287c3 [2022-11-09T02:20:18.657Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-09T02:20:18.924Z] ---> Running in d6f274246043 [2022-11-09T02:20:19.191Z] Removing intermediate container d6f274246043 [2022-11-09T02:20:19.191Z] ---> ebcfd1f70901 [2022-11-09T02:20:19.191Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T02:20:19.191Z] ---> Running in 4685edb7029f [2022-11-09T02:20:19.853Z] Removing intermediate container 4685edb7029f [2022-11-09T02:20:19.853Z] ---> f188a56c612e [2022-11-09T02:20:19.853Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-09T02:20:19.853Z] ---> Running in fdde39e9c1a8 [2022-11-09T02:20:20.133Z] Removing intermediate container fdde39e9c1a8 [2022-11-09T02:20:20.133Z] ---> 18e85cbf1b2c [2022-11-09T02:20:20.133Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-09T02:20:20.133Z] ---> Running in 4c02edaefe94 [2022-11-09T02:20:20.413Z] Removing intermediate container 4c02edaefe94 [2022-11-09T02:20:20.413Z] ---> 08852643e633 [2022-11-09T02:20:20.413Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-09T02:20:20.707Z] ---> Running in 739cb4adfd59 [2022-11-09T02:20:20.986Z] Removing intermediate container 739cb4adfd59 [2022-11-09T02:20:20.986Z] ---> 1dd572971e15 [2022-11-09T02:20:20.986Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T02:20:20.986Z] ---> Running in 0af02d6b9995 [2022-11-09T02:20:21.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-09T02:20:22.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-09T02:20:23.574Z] OK: 221 MiB in 51 packages [2022-11-09T02:20:25.003Z] Removing intermediate container 0af02d6b9995 [2022-11-09T02:20:25.003Z] ---> 6592281bc430 [2022-11-09T02:20:25.003Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-09T02:20:25.003Z] ---> Running in f70f5b29c3ac [2022-11-09T02:20:25.003Z] Removing intermediate container f70f5b29c3ac [2022-11-09T02:20:25.003Z] ---> e2e14b3ad20c [2022-11-09T02:20:25.003Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-09T02:20:25.976Z] ---> c65ac8a10d9b [2022-11-09T02:20:25.976Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T02:20:25.976Z] ---> Running in 871530fa22ba [2022-11-09T02:20:28.577Z] Removing intermediate container 871530fa22ba [2022-11-09T02:20:28.577Z] ---> 6eb10c7a1fe5 [2022-11-09T02:20:28.577Z] Step 12/26 : COPY . . [2022-11-09T02:20:30.016Z] ---> 266fb1d8aa32 [2022-11-09T02:20:30.016Z] Step 13/26 : RUN ${MAKE} [2022-11-09T02:20:30.016Z] ---> Running in ee5d2c9e55db [2022-11-09T02:20:30.989Z] 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" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-11-09T02:23:07.740Z] Removing intermediate container ee5d2c9e55db [2022-11-09T02:23:07.740Z] ---> 939e302b847d [2022-11-09T02:23:07.740Z] Step 14/26 : FROM alpine:3.16 [2022-11-09T02:23:08.006Z] 3.16: Pulling from library/alpine [2022-11-09T02:23:08.006Z] 9b18e9b68314: Already exists [2022-11-09T02:23:08.274Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-09T02:23:08.274Z] Status: Downloaded newer image for alpine:3.16 [2022-11-09T02:23:08.274Z] ---> a6215f271958 [2022-11-09T02:23:08.274Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-09T02:23:08.274Z] ---> Running in 0554e00ae2a8 [2022-11-09T02:23:08.540Z] Removing intermediate container 0554e00ae2a8 [2022-11-09T02:23:08.540Z] ---> 5562efe08051 [2022-11-09T02:23:08.540Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-09T02:23:08.808Z] ---> Running in b4bc7fef776f [2022-11-09T02:23:09.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-09T02:23:10.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-09T02:23:11.449Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-09T02:23:11.449Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-09T02:23:11.449Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-09T02:23:11.449Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-09T02:23:11.449Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-09T02:23:11.449Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-09T02:23:11.449Z] Executing busybox-1.35.0-r17.trigger [2022-11-09T02:23:11.449Z] OK: 8 MiB in 20 packages [2022-11-09T02:23:13.393Z] Removing intermediate container b4bc7fef776f [2022-11-09T02:23:13.393Z] ---> 330f27cd7d0f [2022-11-09T02:23:13.393Z] Step 17/26 : WORKDIR / [2022-11-09T02:23:13.393Z] ---> Running in 5b97c647447e [2022-11-09T02:23:13.393Z] Removing intermediate container 5b97c647447e [2022-11-09T02:23:13.393Z] ---> 71b73015d544 [2022-11-09T02:23:13.393Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-09T02:23:15.342Z] ---> 19f502896485 [2022-11-09T02:23:15.342Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-09T02:23:15.608Z] ---> 42eca1bdb2cd [2022-11-09T02:23:15.608Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-09T02:23:16.194Z] ---> af8991e189e2 [2022-11-09T02:23:16.194Z] Step 21/26 : EXPOSE 59984 [2022-11-09T02:23:16.194Z] ---> Running in 8b8f74fb1e16 [2022-11-09T02:23:16.462Z] Removing intermediate container 8b8f74fb1e16 [2022-11-09T02:23:16.462Z] ---> d7845bde58b9 [2022-11-09T02:23:16.462Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-09T02:23:16.730Z] ---> Running in 4a9cd38c26ff [2022-11-09T02:23:16.997Z] Removing intermediate container 4a9cd38c26ff [2022-11-09T02:23:16.997Z] ---> 77527e6c3c2f [2022-11-09T02:23:16.997Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-09T02:23:16.997Z] ---> Running in 11e49b52f1f7 [2022-11-09T02:23:17.264Z] Removing intermediate container 11e49b52f1f7 [2022-11-09T02:23:17.264Z] ---> 3d0288fe0362 [2022-11-09T02:23:17.264Z] Step 24/26 : LABEL arch=arm64 [2022-11-09T02:23:17.531Z] ---> Running in 1b126b2a9fc6 [2022-11-09T02:23:17.800Z] Removing intermediate container 1b126b2a9fc6 [2022-11-09T02:23:17.800Z] ---> a3581c4502bd [2022-11-09T02:23:17.800Z] Step 25/26 : LABEL git_sha=8882cdaa1a406bc66c8eaed3bd42cf39107f6149 [2022-11-09T02:23:17.800Z] ---> Running in 514e7af21221 [2022-11-09T02:23:18.069Z] Removing intermediate container 514e7af21221 [2022-11-09T02:23:18.069Z] ---> 498c5ff85677 [2022-11-09T02:23:18.069Z] Step 26/26 : LABEL version=0.0.0 [2022-11-09T02:23:18.069Z] ---> Running in 6f96bc2d0cc5 [2022-11-09T02:23:18.337Z] Removing intermediate container 6f96bc2d0cc5 [2022-11-09T02:23:18.337Z] ---> cbbffa21933c [2022-11-09T02:23:18.337Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-09T02:23:18.337Z] Successfully built cbbffa21933c [2022-11-09T02:23:18.337Z] 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-11-09T02:23:18.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-09T02:23:18.798Z] [2022-11-09T02:23:18.798Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T02:23:19.135Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-09T02:23:19.135Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-09T02:23:19.135Z] 8998bd30e6a1: Pulling fs layer [2022-11-09T02:23:19.135Z] 04944245beec: Pulling fs layer [2022-11-09T02:23:19.135Z] 699f458cf7ca: Pulling fs layer [2022-11-09T02:23:19.135Z] 765212b225bb: Pulling fs layer [2022-11-09T02:23:19.135Z] f23df028b6ca: Pulling fs layer [2022-11-09T02:23:19.135Z] d65c8cfc05b1: Pulling fs layer [2022-11-09T02:23:19.135Z] 2437ff75d9bd: Pulling fs layer [2022-11-09T02:23:19.135Z] 765212b225bb: Waiting [2022-11-09T02:23:19.135Z] f23df028b6ca: Waiting [2022-11-09T02:23:19.135Z] d65c8cfc05b1: Waiting [2022-11-09T02:23:19.135Z] 2437ff75d9bd: Waiting [2022-11-09T02:23:19.403Z] 04944245beec: Verifying Checksum [2022-11-09T02:23:19.403Z] 04944245beec: Download complete [2022-11-09T02:23:19.403Z] 765212b225bb: Verifying Checksum [2022-11-09T02:23:19.403Z] 765212b225bb: Download complete [2022-11-09T02:23:19.403Z] f23df028b6ca: Verifying Checksum [2022-11-09T02:23:19.403Z] f23df028b6ca: Download complete [2022-11-09T02:23:19.403Z] d65c8cfc05b1: Verifying Checksum [2022-11-09T02:23:19.403Z] d65c8cfc05b1: Download complete [2022-11-09T02:23:19.672Z] 699f458cf7ca: Verifying Checksum [2022-11-09T02:23:19.672Z] 699f458cf7ca: Download complete [2022-11-09T02:23:19.941Z] 8998bd30e6a1: Verifying Checksum [2022-11-09T02:23:19.941Z] 8998bd30e6a1: Download complete [2022-11-09T02:23:22.524Z] 2437ff75d9bd: Verifying Checksum [2022-11-09T02:23:22.524Z] 2437ff75d9bd: Download complete [2022-11-09T02:23:23.937Z] 8998bd30e6a1: Pull complete [2022-11-09T02:23:24.526Z] 04944245beec: Pull complete [2022-11-09T02:23:25.937Z] 699f458cf7ca: Pull complete [2022-11-09T02:23:25.937Z] 765212b225bb: Pull complete [2022-11-09T02:23:26.896Z] f23df028b6ca: Pull complete [2022-11-09T02:23:26.896Z] d65c8cfc05b1: Pull complete [2022-11-09T02:23:41.886Z] 2437ff75d9bd: Pull complete [2022-11-09T02:23:41.886Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-09T02:23:41.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-09T02:23:41.886Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T02:23:42.066Z] prd-ubuntu20.04-docker-arm64-4c-16g-118724 does not seem to be running inside a container [2022-11-09T02:23:42.128Z] $ 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/11 -v /w/workspace/device-onvif-camera/11:/w/workspace/device-onvif-camera/11:rw,z -v /w/workspace/device-onvif-camera/11@tmp:/w/workspace/device-onvif-camera/11@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-11-09T02:23:44.904Z] $ docker top 931d403bc25bc4fdf3aedd6deba8e4fe825703f96ede2d2d0fe977b6553d5bfa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T02:23:45.744Z] ---> job-cost.sh [2022-11-09T02:23:45.744Z] lf-activate-venv: SKIPPING [2022-11-09T02:23:45.744Z] INFO: No Stack... [2022-11-09T02:23:46.325Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-09T02:23:47.281Z] INFO: Archiving Costs [Pipeline] sh [2022-11-09T02:23:47.919Z] + cat /w/workspace/device-onvif-camera/11/archives/cost.csv [2022-11-09T02:23:47.919Z] + cut -d, -f6 [Pipeline] lock [2022-11-09T02:23:47.982Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-184-11-stack-cost] [2022-11-09T02:23:47.989Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-11-stack-cost] did not exist. Created. [2022-11-09T02:23:47.989Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-184-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-09T02:23:48.643Z] /w/workspace/device-onvif-camera/11@tmp/durable-b42d216f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-09T02:23:48.980Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-09T02:23:48.998Z] Warning: overwriting stash ‘stack-cost’ [2022-11-09T02:23:49.064Z] Stashed 1 file(s) [Pipeline] } [2022-11-09T02:23:49.073Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-184-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-09T02:23:49.091Z] $ docker stop --time=1 931d403bc25bc4fdf3aedd6deba8e4fe825703f96ede2d2d0fe977b6553d5bfa [2022-11-09T02:23:50.597Z] $ docker rm -f 931d403bc25bc4fdf3aedd6deba8e4fe825703f96ede2d2d0fe977b6553d5bfa [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-11-09T02:23:50.976Z] provisioning config files... [2022-11-09T02:23:50.982Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config17933220461661266619tmp [Pipeline] { [Pipeline] sh [2022-11-09T02:23:51.272Z] + set +x [2022-11-09T02:23:51.272Z] + curl -s https://codecov.io/bash [2022-11-09T02:23:51.272Z] + bash -s -- [2022-11-09T02:23:51.272Z] [2022-11-09T02:23:51.272Z] _____ _ [2022-11-09T02:23:51.272Z] / ____| | | [2022-11-09T02:23:51.272Z] | | ___ __| | ___ ___ _____ __ [2022-11-09T02:23:51.272Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-09T02:23:51.272Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-09T02:23:51.272Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-09T02:23:51.272Z] Bash-1.0.6 [2022-11-09T02:23:51.272Z] [2022-11-09T02:23:51.272Z] [2022-11-09T02:23:51.272Z] ==> git version 2.25.1 found [2022-11-09T02:23:51.272Z] ==> 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-11-09T02:23:51.272Z] Release-Date: 2020-01-08 [2022-11-09T02:23:51.272Z] 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-11-09T02:23:51.272Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-09T02:23:51.272Z] ==> Jenkins CI detected. [2022-11-09T02:23:51.272Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-184 [2022-11-09T02:23:51.272Z] project root: . [2022-11-09T02:23:51.272Z] --> token set from env [2022-11-09T02:23:51.272Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-09T02:23:51.272Z] ==> Running gcov in . (disable via -X gcov) [2022-11-09T02:23:51.272Z] ==> Python coveragepy not found [2022-11-09T02:23:51.272Z] ==> Searching for coverage reports in: [2022-11-09T02:23:51.272Z] + . [2022-11-09T02:23:51.272Z] -> Found 1 reports [2022-11-09T02:23:51.272Z] ==> Detecting git/mercurial file structure [2022-11-09T02:23:51.272Z] ==> Reading reports [2022-11-09T02:23:51.272Z] + ./coverage.out bytes=79184 [2022-11-09T02:23:51.272Z] ==> Appending adjustments [2022-11-09T02:23:51.272Z] https://docs.codecov.io/docs/fixing-reports [2022-11-09T02:23:51.531Z] + Found adjustments [2022-11-09T02:23:51.531Z] ==> Gzipping contents [2022-11-09T02:23:51.531Z] 12K /tmp/codecov.aqaLrG.gz [2022-11-09T02:23:51.531Z] ==> Uploading reports [2022-11-09T02:23:51.531Z] url: https://codecov.io [2022-11-09T02:23:51.531Z] query: branch=PR-184&commit=6fdbfba57b189e453e5772445c4a1738c28bff54&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-184%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=184&job=&cmd_args= [2022-11-09T02:23:51.531Z] -> Pinging Codecov [2022-11-09T02:23:51.531Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-184&commit=6fdbfba57b189e453e5772445c4a1738c28bff54&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-184%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=184&job=&cmd_args= [2022-11-09T02:23:51.790Z] -> Uploading to [2022-11-09T02:23:51.790Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-09/F29A59C45E3A92E06B3E522C9905F8EF/6fdbfba57b189e453e5772445c4a1738c28bff54/0f8913b6-391e-4661-b631-e89a52b9d7e5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221109T022351Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e04491e73b0d1dc17a9d1f69f8604bd329e1439c9b84a866d9fe82ca6dd78972 [2022-11-09T02:23:51.790Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-09T02:23:51.790Z] Dload Upload Total Spent Left Speed [2022-11-09T02:23:52.049Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10872 0 0 100 10872 0 44925 --:--:-- --:--:-- --:--:-- 44925 [2022-11-09T02:23:52.049Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/6fdbfba57b189e453e5772445c4a1738c28bff54 [Pipeline] } [2022-11-09T02:23:52.058Z] 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-11-09T02:23:52.683Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-184/archives ] [2022-11-09T02:23:52.683Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-184/archives [2022-11-09T02:23:52.683Z] total 16 [2022-11-09T02:23:52.683Z] drwxr-xr-x 3 root root 4096 Nov 9 02:13 . [2022-11-09T02:23:52.683Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 9 02:13 .. [2022-11-09T02:23:52.683Z] drwxr-xr-x 2 root root 4096 Nov 9 02:13 cost [2022-11-09T02:23:52.683Z] -rw-r--r-- 1 root root 92 Nov 9 02:13 cost.csv [2022-11-09T02:23:52.683Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-184/archives [2022-11-09T02:23:52.683Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-184/archives [2022-11-09T02:23:52.683Z] total 16 [2022-11-09T02:23:52.683Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 02:13 . [2022-11-09T02:23:52.683Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 9 02:13 .. [2022-11-09T02:23:52.683Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 02:13 cost [2022-11-09T02:23:52.683Z] -rw-r--r-- 1 jenkins jenkins 92 Nov 9 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-09T02:23:52.972Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T02:23:53.830Z] ---> package-listing.sh [2022-11-09T02:23:53.831Z] ++ facter osfamily [2022-11-09T02:23:53.831Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-09T02:23:54.089Z] + OS_FAMILY=debian [2022-11-09T02:23:54.089Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-184 [2022-11-09T02:23:54.090Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-09T02:23:54.090Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-09T02:23:54.090Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-09T02:23:54.090Z] + PACKAGES=/tmp/packages_start.txt [2022-11-09T02:23:54.090Z] + '[' /w/workspace/undry_device-onvif-camera_PR-184 ']' [2022-11-09T02:23:54.090Z] + PACKAGES=/tmp/packages_end.txt [2022-11-09T02:23:54.090Z] + case "${OS_FAMILY}" in [2022-11-09T02:23:54.090Z] + dpkg -l [2022-11-09T02:23:54.090Z] + grep '^ii' [2022-11-09T02:23:54.090Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-09T02:23:54.090Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-09T02:23:54.090Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-09T02:23:54.090Z] + '[' /w/workspace/undry_device-onvif-camera_PR-184 ']' [2022-11-09T02:23:54.090Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-184/archives/ [2022-11-09T02:23:54.090Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-184/archives/ [Pipeline] echo [2022-11-09T02:23:54.102Z] 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-184/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-09T02:23:54.380Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T02:23:54.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T02:23:54.936Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T02:23:55.002Z] prd-ubuntu20.04-docker-8c-8g-118721 does not seem to be running inside a container [2022-11-09T02:23:55.036Z] $ 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-184/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-184 -v /w/workspace/undry_device-onvif-camera_PR-184:/w/workspace/undry_device-onvif-camera_PR-184:rw,z -v /w/workspace/undry_device-onvif-camera_PR-184@tmp:/w/workspace/undry_device-onvif-camera_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-09T02:23:55.240Z] $ docker top e01ccb1a037e891707bfceac7e594921b4cc4fe59ed6a8a1ff0b43afcd4c29b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T02:23:55.575Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-09T02:23:55.859Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-09T02:23:56.141Z] + ls /var/log/sa-host [2022-11-09T02:23:56.141Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-09T02:23:56.199Z] provisioning config files... [2022-11-09T02:23:56.207Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-184@tmp/config16180206310906721697tmp [Pipeline] { [Pipeline] echo [2022-11-09T02:23:56.220Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T02:23:56.499Z] ---> create-netrc.sh [Pipeline] } [2022-11-09T02:23:56.506Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-09T02:23:56.822Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-09T02:23:56.831Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T02:23:57.115Z] ---> sudo-logs.sh [2022-11-09T02:23:57.115Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-09T02:23:57.142Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T02:23:57.421Z] ---> job-cost.sh [2022-11-09T02:23:57.422Z] lf-activate-venv: SKIPPING [2022-11-09T02:23:57.422Z] DEBUG: total: 0.2199999988079071 [2022-11-09T02:23:57.422Z] INFO: Retrieving Stack Cost... [2022-11-09T02:23:57.680Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-09T02:23:58.248Z] INFO: Archiving Costs [Pipeline] echo [2022-11-09T02:23:58.259Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T02:23:58.541Z] ---> logs-deploy.sh [2022-11-09T02:23:58.541Z] lf-activate-venv: SKIPPING [2022-11-09T02:23:58.541Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-184/11 [2022-11-09T02:23:58.541Z] INFO: archiving workspace using pattern(s): [2022-11-09T02:23:59.476Z] Archives upload complete. [2022-11-09T02:23:59.476Z] INFO: archiving logs to Nexus