Pull request #174 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 22d74d2547d10604d43a59f451f2f1d479f6a1f2 rather than d7608bef33885ab978c5fad83f7633bf1a7789b2 Obtained Jenkinsfile from 22d74d2547d10604d43a59f451f2f1d479f6a1f2 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6070682440873915634.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh417289836997681905.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-174/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-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14154946121972667912.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh590877586619342397.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-174/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-174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10241429334566343584.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7529’ Running on prd-ubuntu20.04-docker-8c-8g-7531 in /w/workspace/undry_device-onvif-camera_PR-174 [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-174 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit d7608bef33885ab978c5fad83f7633bf1a7789b2 Merge succeeded, producing d7608bef33885ab978c5fad83f7633bf1a7789b2 Checking out Revision d7608bef33885ab978c5fad83f7633bf1a7789b2 (PR-174) Commit message: "docs: update postman collection and environment" > git config core.sparsecheckout # timeout=10 > git checkout -f d7608bef33885ab978c5fad83f7633bf1a7789b2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d7608bef33885ab978c5fad83f7633bf1a7789b2 # timeout=10 > git rev-list --no-walk 4f19d2261c252d7b3869b7d257d6519d38da4acd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-10T15:21:42.372Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-10T15:21:42.435Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T15:21:42.453Z] ========================================================= [2022-10-10T15:21:42.453Z] EdgeX Global Pipelines Version Info [2022-10-10T15:21:42.453Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:21:43.163Z] ------------------- [2022-10-10T15:21:43.163Z] stable info: [2022-10-10T15:21:43.163Z] ------------------- [2022-10-10T15:21:43.163Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T15:21:43.163Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T15:21:43.163Z] Message: update stable to v1.0.239 [2022-10-10T15:21:43.733Z] ------------------- [2022-10-10T15:21:43.733Z] experimental info: [2022-10-10T15:21:43.733Z] ------------------- [2022-10-10T15:21:43.733Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T15:21:43.733Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T15:21:43.733Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-10T15:21:43.885Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-10T15:21:43.898Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-10T15:21:43.909Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-10T15:21:43.920Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-10T15:21:43.934Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-10T15:21:43.949Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-10T15:21:43.959Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-10T15:21:43.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T15:21:43.984Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-10T15:21:43.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T15:21:44.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-10T15:21:44.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-10T15:21:44.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-10T15:21:44.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-10T15:21:44.059Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T15:21:44.074Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T15:21:44.090Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T15:21:44.100Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T15:21:44.112Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T15:21:44.124Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-10T15:21:44.135Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-10T15:21:44.150Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-10T15:21:44.162Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-10T15:21:44.173Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-10T15:21:44.185Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-10T15:21:44.197Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T15:21:44.209Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-10T15:21:44.225Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo [2022-10-10T15:21:44.235Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo [2022-10-10T15:21:44.247Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo [2022-10-10T15:21:44.259Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d7608bef33885ab978c5fad83f7633bf1a7789b2 [Pipeline] echo [2022-10-10T15:21:44.270Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d7608be [Pipeline] echo [2022-10-10T15:21:44.282Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T15:21:44.326Z] provisioning config files... [2022-10-10T15:21:44.339Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config10078675349802419486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:21:44.642Z] ---> docker-login.sh [2022-10-10T15:21:44.642Z] nexus3.edgexfoundry.org:10001 [2022-10-10T15:21:44.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:21:45.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:21:45.163Z] Configure a credential helper to remove this warning. See [2022-10-10T15:21:45.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:21:45.163Z] [2022-10-10T15:21:45.163Z] Login Succeeded [2022-10-10T15:21:45.163Z] nexus3.edgexfoundry.org:10002 [2022-10-10T15:21:45.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:21:45.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:21:45.163Z] Configure a credential helper to remove this warning. See [2022-10-10T15:21:45.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:21:45.163Z] [2022-10-10T15:21:45.163Z] Login Succeeded [2022-10-10T15:21:45.163Z] nexus3.edgexfoundry.org:10003 [2022-10-10T15:21:45.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:21:45.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:21:45.423Z] Configure a credential helper to remove this warning. See [2022-10-10T15:21:45.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:21:45.423Z] [2022-10-10T15:21:45.423Z] Login Succeeded [2022-10-10T15:21:45.423Z] nexus3.edgexfoundry.org:10004 [2022-10-10T15:21:45.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:21:45.423Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:21:45.423Z] Configure a credential helper to remove this warning. See [2022-10-10T15:21:45.423Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:21:45.423Z] [2022-10-10T15:21:45.423Z] Login Succeeded [2022-10-10T15:21:45.423Z] docker.io [2022-10-10T15:21:45.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:21:45.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:21:45.942Z] Configure a credential helper to remove this warning. See [2022-10-10T15:21:45.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:21:45.942Z] [2022-10-10T15:21:45.942Z] Login Succeeded [2022-10-10T15:21:45.942Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T15:21:45.949Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-10T15:21:46.310Z] + git rev-list -1 --merges d7608bef33885ab978c5fad83f7633bf1a7789b2~1..d7608bef33885ab978c5fad83f7633bf1a7789b2 [Pipeline] echo [2022-10-10T15:21:46.341Z] -----------> git rev-list -1 --merges d7608bef33885ab978c5fad83f7633bf1a7789b2~1..d7608bef33885ab978c5fad83f7633bf1a7789b2 d7608bef33885ab978c5fad83f7633bf1a7789b2 [false] [Pipeline] sh [2022-10-10T15:21:46.629Z] + git log --format=format:%s -1 d7608bef33885ab978c5fad83f7633bf1a7789b2 [Pipeline] echo [2022-10-10T15:21:46.649Z] ========================================================= [2022-10-10T15:21:46.649Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-10T15:21:46.649Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T15:21:46.976Z] + git log --format=format:%s -1 d7608bef33885ab978c5fad83f7633bf1a7789b2 [Pipeline] echo [2022-10-10T15:21:46.987Z] [semverPrep] GIT_COMMIT: d7608bef33885ab978c5fad83f7633bf1a7789b2, Commit Message: docs: update postman collection and environment [Pipeline] echo [2022-10-10T15:21:46.996Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-10T15:21:47.352Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T15:21:47.352Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-10T15:21:47.352Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-10T15:21:47.352Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-10T15:21:47.352Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-10T15:21:47.352Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-10T15:21:47.352Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:21:47.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T15:21:47.761Z] [2022-10-10T15:21:47.761Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:21:48.055Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T15:21:48.055Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-10T15:21:48.055Z] b85a868b505f: Pulling fs layer [2022-10-10T15:21:48.055Z] e2be974225ed: Pulling fs layer [2022-10-10T15:21:48.055Z] 339a4e72a1f5: Pulling fs layer [2022-10-10T15:21:48.055Z] 988bab9f4d93: Pulling fs layer [2022-10-10T15:21:48.055Z] 1469e6f7b9e6: Pulling fs layer [2022-10-10T15:21:48.055Z] eaf3925da568: Pulling fs layer [2022-10-10T15:21:48.055Z] 988bab9f4d93: Waiting [2022-10-10T15:21:48.055Z] bab4dde63d76: Pulling fs layer [2022-10-10T15:21:48.055Z] bde34c3a00c8: Pulling fs layer [2022-10-10T15:21:48.055Z] b352a97aabf1: Pulling fs layer [2022-10-10T15:21:48.055Z] bde34c3a00c8: Waiting [2022-10-10T15:21:48.055Z] eaf3925da568: Waiting [2022-10-10T15:21:48.055Z] 1469e6f7b9e6: Waiting [2022-10-10T15:21:48.055Z] bab4dde63d76: Waiting [2022-10-10T15:21:48.055Z] b352a97aabf1: Waiting [2022-10-10T15:21:48.055Z] 4872d77fe225: Pulling fs layer [2022-10-10T15:21:48.055Z] 5851b861e8e6: Pulling fs layer [2022-10-10T15:21:48.055Z] 5851b861e8e6: Waiting [2022-10-10T15:21:48.055Z] 4872d77fe225: Waiting [2022-10-10T15:21:48.055Z] e2be974225ed: Download complete [2022-10-10T15:21:48.055Z] 988bab9f4d93: Download complete [2022-10-10T15:21:48.314Z] 1469e6f7b9e6: Verifying Checksum [2022-10-10T15:21:48.314Z] 1469e6f7b9e6: Download complete [2022-10-10T15:21:48.314Z] 339a4e72a1f5: Verifying Checksum [2022-10-10T15:21:48.314Z] 339a4e72a1f5: Download complete [2022-10-10T15:21:48.314Z] eaf3925da568: Verifying Checksum [2022-10-10T15:21:48.314Z] eaf3925da568: Download complete [2022-10-10T15:21:48.314Z] bde34c3a00c8: Verifying Checksum [2022-10-10T15:21:48.314Z] bde34c3a00c8: Download complete [2022-10-10T15:21:48.314Z] b352a97aabf1: Verifying Checksum [2022-10-10T15:21:48.314Z] b352a97aabf1: Download complete [2022-10-10T15:21:48.314Z] 4872d77fe225: Verifying Checksum [2022-10-10T15:21:48.314Z] 4872d77fe225: Download complete [2022-10-10T15:21:48.314Z] 5851b861e8e6: Verifying Checksum [2022-10-10T15:21:48.314Z] 5851b861e8e6: Download complete [2022-10-10T15:21:48.314Z] b85a868b505f: Verifying Checksum [2022-10-10T15:21:48.314Z] b85a868b505f: Download complete [2022-10-10T15:21:48.573Z] bab4dde63d76: Verifying Checksum [2022-10-10T15:21:48.573Z] bab4dde63d76: Download complete [2022-10-10T15:21:49.509Z] b85a868b505f: Pull complete [2022-10-10T15:21:49.767Z] e2be974225ed: Pull complete [2022-10-10T15:21:50.334Z] 339a4e72a1f5: Pull complete [2022-10-10T15:21:50.334Z] 988bab9f4d93: Pull complete [2022-10-10T15:21:50.593Z] 1469e6f7b9e6: Pull complete [2022-10-10T15:21:50.593Z] eaf3925da568: Pull complete [2022-10-10T15:21:52.497Z] bab4dde63d76: Pull complete [2022-10-10T15:21:52.497Z] bde34c3a00c8: Pull complete [2022-10-10T15:21:52.757Z] b352a97aabf1: Pull complete [2022-10-10T15:21:52.757Z] 4872d77fe225: Pull complete [2022-10-10T15:21:53.017Z] 5851b861e8e6: Pull complete [2022-10-10T15:21:53.017Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-10T15:21:53.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T15:21:53.017Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:21:53.101Z] prd-ubuntu20.04-docker-8c-8g-7531 does not seem to be running inside a container [2022-10-10T15:21:53.113Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-10T15:21:55.674Z] $ docker top d5b5d224815866a1fc404917cefc207f7da1b3efa291c13b5c48064314eb222e -eo pid,comm [2022-10-10T15:21:55.743Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-10T15:21:55.743Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T15:21:55.786Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T15:21:55.786Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T15:21:55.903Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T15:21:55.892Z] $ docker exec d5b5d224815866a1fc404917cefc207f7da1b3efa291c13b5c48064314eb222e ssh-agent [2022-10-10T15:21:56.014Z] SSH_AUTH_SOCK=/tmp/ssh-Ftjkkv2qPtCE/agent.32 [2022-10-10T15:21:56.014Z] SSH_AGENT_PID=38 [2022-10-10T15:21:56.020Z] Running ssh-add (command line suppressed) [2022-10-10T15:21:56.114Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_14317199365521867203.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_14317199365521867203.key) [2022-10-10T15:21:56.142Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T15:21:56.429Z] + git tag --points-at HEAD [Pipeline] } [2022-10-10T15:21:56.427Z] $ docker exec --env ******** --env ******** d5b5d224815866a1fc404917cefc207f7da1b3efa291c13b5c48064314eb222e ssh-agent -k [2022-10-10T15:21:56.523Z] unset SSH_AUTH_SOCK; [2022-10-10T15:21:56.523Z] unset SSH_AGENT_PID; [2022-10-10T15:21:56.523Z] echo Agent pid 38 killed; [2022-10-10T15:21:56.550Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-10T15:21:56.572Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T15:21:56.572Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T15:21:56.695Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T15:21:56.683Z] $ docker exec d5b5d224815866a1fc404917cefc207f7da1b3efa291c13b5c48064314eb222e ssh-agent [2022-10-10T15:21:56.806Z] SSH_AUTH_SOCK=/tmp/ssh-jXM0Mw8T6eSP/agent.70 [2022-10-10T15:21:56.806Z] SSH_AGENT_PID=76 [2022-10-10T15:21:56.811Z] Running ssh-add (command line suppressed) [2022-10-10T15:21:56.895Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_11401286021928325226.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_11401286021928325226.key) [2022-10-10T15:21:56.924Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T15:21:57.215Z] + git semver init [2022-10-10T15:21:57.475Z] 2022-10-10 15:21:57,370 [run_init] DEBUG init version:0.0.0 force:False [2022-10-10T15:21:57.475Z] 2022-10-10 15:21:57,371 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-174/.semver [2022-10-10T15:21:57.475Z] 2022-10-10 15:21:57,371 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-174/.semver [2022-10-10T15:21:57.475Z] 2022-10-10 15:21:57,371 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-174/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-174, universal_newlines=False, shell=None, istream=None) [2022-10-10T15:21:58.855Z] 2022-10-10 15:21:58,436 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-174/.git/info/exclude [2022-10-10T15:21:58.855Z] 2022-10-10 15:21:58,437 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 with force:False [2022-10-10T15:21:58.855Z] 2022-10-10 15:21:58,437 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 [2022-10-10T15:21:58.856Z] 2022-10-10 15:21:58,441 [execute] INFO git cat-file --batch-check [2022-10-10T15:21:58.856Z] 2022-10-10 15:21:58,442 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T15:21:58.856Z] 2022-10-10 15:21:58,448 [execute] INFO git cat-file --batch [2022-10-10T15:21:58.856Z] 2022-10-10 15:21:58,448 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T15:21:58.856Z] 2022-10-10 15:21:58,454 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 [2022-10-10T15:21:58.856Z] 0.0.0 [Pipeline] } [2022-10-10T15:21:58.854Z] $ docker exec --env ******** --env ******** d5b5d224815866a1fc404917cefc207f7da1b3efa291c13b5c48064314eb222e ssh-agent -k [2022-10-10T15:21:58.954Z] unset SSH_AUTH_SOCK; [2022-10-10T15:21:58.955Z] unset SSH_AGENT_PID; [2022-10-10T15:21:58.955Z] echo Agent pid 76 killed; [2022-10-10T15:21:58.975Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T15:21:59.273Z] + git semver [Pipeline] } [2022-10-10T15:21:59.535Z] $ docker stop --time=1 d5b5d224815866a1fc404917cefc207f7da1b3efa291c13b5c48064314eb222e [2022-10-10T15:22:00.861Z] $ docker rm -f d5b5d224815866a1fc404917cefc207f7da1b3efa291c13b5c48064314eb222e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T15:22:01.207Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-10T15:22:01.393Z] Stashed 1 file(s) [Pipeline] echo [2022-10-10T15:22:01.395Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T15:22:01.519Z] provisioning config files... [2022-10-10T15:22:01.528Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config11038179128616464382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:22:01.825Z] ---> docker-login.sh [2022-10-10T15:22:01.825Z] nexus3.edgexfoundry.org:10001 [2022-10-10T15:22:01.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:22:01.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:22:01.825Z] Configure a credential helper to remove this warning. See [2022-10-10T15:22:01.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:22:01.825Z] [2022-10-10T15:22:01.825Z] Login Succeeded [2022-10-10T15:22:01.825Z] nexus3.edgexfoundry.org:10002 [2022-10-10T15:22:01.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:22:01.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:22:01.825Z] Configure a credential helper to remove this warning. See [2022-10-10T15:22:01.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:22:01.825Z] [2022-10-10T15:22:01.825Z] Login Succeeded [2022-10-10T15:22:01.825Z] nexus3.edgexfoundry.org:10003 [2022-10-10T15:22:02.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:22:02.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:22:02.085Z] Configure a credential helper to remove this warning. See [2022-10-10T15:22:02.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:22:02.085Z] [2022-10-10T15:22:02.085Z] Login Succeeded [2022-10-10T15:22:02.085Z] nexus3.edgexfoundry.org:10004 [2022-10-10T15:22:02.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:22:02.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:22:02.085Z] Configure a credential helper to remove this warning. See [2022-10-10T15:22:02.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:22:02.085Z] [2022-10-10T15:22:02.085Z] Login Succeeded [2022-10-10T15:22:02.085Z] docker.io [2022-10-10T15:22:02.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:22:02.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:22:02.604Z] Configure a credential helper to remove this warning. See [2022-10-10T15:22:02.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:22:02.604Z] [2022-10-10T15:22:02.604Z] Login Succeeded [2022-10-10T15:22:02.604Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T15:22:02.612Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T15:22:02.678Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T15:22:02.689Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T15:22:02.700Z] ========================================================= [2022-10-10T15:22:02.700Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-10T15:22:02.700Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:22:03.018Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-10T15:22:03.018Z] Sending build context to Docker daemon 21.22MB [2022-10-10T15:22:03.018Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T15:22:03.018Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-10T15:22:03.285Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-10T15:22:03.285Z] 2408cc74d12b: Pulling fs layer [2022-10-10T15:22:03.285Z] ea60b727a1ce: Pulling fs layer [2022-10-10T15:22:03.285Z] 30c4a7721957: Pulling fs layer [2022-10-10T15:22:03.285Z] 370296b7ddb6: Pulling fs layer [2022-10-10T15:22:03.285Z] 7c6cee850709: Pulling fs layer [2022-10-10T15:22:03.285Z] aa9baa53a306: Pulling fs layer [2022-10-10T15:22:03.285Z] 8b309c321861: Pulling fs layer [2022-10-10T15:22:03.285Z] d8d76fd02f46: Pulling fs layer [2022-10-10T15:22:03.285Z] fa31f396de31: Pulling fs layer [2022-10-10T15:22:03.285Z] 370296b7ddb6: Waiting [2022-10-10T15:22:03.285Z] 7c6cee850709: Waiting [2022-10-10T15:22:03.285Z] aa9baa53a306: Waiting [2022-10-10T15:22:03.285Z] 8b309c321861: Waiting [2022-10-10T15:22:03.285Z] d8d76fd02f46: Waiting [2022-10-10T15:22:03.285Z] fa31f396de31: Waiting [2022-10-10T15:22:03.285Z] 30c4a7721957: Verifying Checksum [2022-10-10T15:22:03.285Z] 30c4a7721957: Download complete [2022-10-10T15:22:03.285Z] ea60b727a1ce: Verifying Checksum [2022-10-10T15:22:03.285Z] ea60b727a1ce: Download complete [2022-10-10T15:22:03.285Z] 7c6cee850709: Verifying Checksum [2022-10-10T15:22:03.285Z] 7c6cee850709: Download complete [2022-10-10T15:22:03.285Z] aa9baa53a306: Verifying Checksum [2022-10-10T15:22:03.285Z] aa9baa53a306: Download complete [2022-10-10T15:22:03.285Z] 2408cc74d12b: Verifying Checksum [2022-10-10T15:22:03.285Z] 8b309c321861: Verifying Checksum [2022-10-10T15:22:03.285Z] 8b309c321861: Download complete [2022-10-10T15:22:03.550Z] 2408cc74d12b: Pull complete [2022-10-10T15:22:03.550Z] ea60b727a1ce: Pull complete [2022-10-10T15:22:03.810Z] 30c4a7721957: Pull complete [2022-10-10T15:22:03.810Z] fa31f396de31: Verifying Checksum [2022-10-10T15:22:03.810Z] fa31f396de31: Download complete [2022-10-10T15:22:03.810Z] d8d76fd02f46: Verifying Checksum [2022-10-10T15:22:03.810Z] d8d76fd02f46: Download complete [2022-10-10T15:22:04.070Z] 370296b7ddb6: Verifying Checksum [2022-10-10T15:22:04.070Z] 370296b7ddb6: Download complete [2022-10-10T15:22:08.256Z] 370296b7ddb6: Pull complete [2022-10-10T15:22:08.256Z] 7c6cee850709: Pull complete [2022-10-10T15:22:08.256Z] aa9baa53a306: Pull complete [2022-10-10T15:22:08.256Z] 8b309c321861: Pull complete [2022-10-10T15:22:10.156Z] d8d76fd02f46: Pull complete [2022-10-10T15:22:11.106Z] fa31f396de31: Pull complete [2022-10-10T15:22:11.106Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-10T15:22:11.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-10T15:22:11.106Z] ---> cef68f9685f8 [2022-10-10T15:22:11.106Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-10T15:22:15.334Z] ---> Running in 58e672abaecf [2022-10-10T15:22:15.334Z] Removing intermediate container 58e672abaecf [2022-10-10T15:22:15.334Z] ---> 47595a37917f [2022-10-10T15:22:15.334Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T15:22:15.334Z] ---> Running in b8c5047ae29d [2022-10-10T15:22:15.334Z] Removing intermediate container b8c5047ae29d [2022-10-10T15:22:15.334Z] ---> 43db376d20e1 [2022-10-10T15:22:15.334Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T15:22:15.334Z] ---> Running in 14a70929fcec [2022-10-10T15:22:15.334Z] Removing intermediate container 14a70929fcec [2022-10-10T15:22:15.334Z] ---> 734d5ada8f27 [2022-10-10T15:22:15.334Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T15:22:15.334Z] ---> Running in b39b2f9e184f [2022-10-10T15:22:15.334Z] Removing intermediate container b39b2f9e184f [2022-10-10T15:22:15.334Z] ---> ae965c93ccf3 [2022-10-10T15:22:15.334Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-10T15:22:15.334Z] ---> Running in 1a863674a8b9 [2022-10-10T15:22:15.334Z] Removing intermediate container 1a863674a8b9 [2022-10-10T15:22:15.334Z] ---> 852c11ff0bd2 [2022-10-10T15:22:15.334Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T15:22:15.334Z] ---> Running in eb94bda57d93 [2022-10-10T15:22:15.900Z] Removing intermediate container eb94bda57d93 [2022-10-10T15:22:15.900Z] ---> 02b86b225ca2 [2022-10-10T15:22:15.900Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T15:22:15.900Z] ---> Running in 0a7caaad637d [2022-10-10T15:22:16.465Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T15:22:16.493Z] Still waiting to schedule task [2022-10-10T15:22:16.493Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7530’ [2022-10-10T15:22:17.032Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T15:22:17.596Z] OK: 211 MiB in 51 packages [2022-10-10T15:22:17.875Z] Removing intermediate container 0a7caaad637d [2022-10-10T15:22:17.875Z] ---> c40dc1816053 [2022-10-10T15:22:17.875Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-10T15:22:17.875Z] ---> Running in c33f8cacfe8e [2022-10-10T15:22:17.875Z] Removing intermediate container c33f8cacfe8e [2022-10-10T15:22:17.875Z] ---> 846ae9851a4c [2022-10-10T15:22:17.875Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-10T15:22:17.875Z] ---> 52191a5cc26e [2022-10-10T15:22:17.875Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T15:22:18.134Z] ---> Running in ac91e28399c8 [2022-10-10T15:22:40.093Z] Removing intermediate container ac91e28399c8 [2022-10-10T15:22:40.093Z] ---> c666f8816c8f [2022-10-10T15:22:40.093Z] Step 13/14 : COPY . . [2022-10-10T15:22:40.093Z] ---> c1ef796f2042 [2022-10-10T15:22:40.093Z] Step 14/14 : RUN ${MAKE} [2022-10-10T15:22:40.093Z] ---> Running in a2ca37942a6e [2022-10-10T15:22:40.093Z] noop [2022-10-10T15:22:40.093Z] Removing intermediate container a2ca37942a6e [2022-10-10T15:22:40.093Z] ---> 0fc8c124be0e [2022-10-10T15:22:40.093Z] Successfully built 0fc8c124be0e [2022-10-10T15:22:40.093Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:22:40.412Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T15:22:40.412Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:22:40.489Z] prd-ubuntu20.04-docker-8c-8g-7531 does not seem to be running inside a container [2022-10-10T15:22:40.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T15:22:40.879Z] $ docker top 40068a42d49df844820974105963af00de04a7c086f36861ba8bda202f0875b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T15:22:41.219Z] + go version [2022-10-10T15:22:41.219Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-10T15:22:41.238Z] $ docker stop --time=1 40068a42d49df844820974105963af00de04a7c086f36861ba8bda202f0875b4 [2022-10-10T15:22:42.551Z] $ docker rm -f 40068a42d49df844820974105963af00de04a7c086f36861ba8bda202f0875b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:22:42.947Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T15:22:42.947Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:22:43.014Z] prd-ubuntu20.04-docker-8c-8g-7531 does not seem to be running inside a container [2022-10-10T15:22:43.055Z] $ 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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T15:22:43.427Z] $ docker top 6ca7620b398acc1de652a76c925487d4f7faddab357a1c8fa2e3048b8c865f95 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T15:22:43.768Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] fileExists [Pipeline] sh [2022-10-10T15:22:44.062Z] + make test [2022-10-10T15:22:44.062Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T15:22:44.319Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-10T15:22:56.514Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-10T15:22:56.514Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.032s coverage: 28.2% of statements [2022-10-10T15:22:56.514Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-10T15:22:56.514Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.401s coverage: 86.5% of statements [2022-10-10T15:23:04.623Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-10T15:23:04.623Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T15:23:07.149Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T15:23:07.149Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T15:23:07.149Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T15:23:07.162Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T15:23:07.186Z] $ docker stop --time=1 6ca7620b398acc1de652a76c925487d4f7faddab357a1c8fa2e3048b8c865f95 [2022-10-10T15:23:09.857Z] $ docker rm -f 6ca7620b398acc1de652a76c925487d4f7faddab357a1c8fa2e3048b8c865f95 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T15:23:10.288Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T15:23:10.335Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-10T15:23:10.853Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T15:23:11.180Z] + ls -al . [2022-10-10T15:23:11.180Z] total 236 [2022-10-10T15:23:11.180Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 15:22 . [2022-10-10T15:23:11.180Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 15:21 .. [2022-10-10T15:23:11.180Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 15:22 .git [2022-10-10T15:23:11.180Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:21 .github [2022-10-10T15:23:11.180Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 10 15:21 .gitignore [2022-10-10T15:23:11.180Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 10 15:21 .golangci.yml [2022-10-10T15:23:11.180Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 15:21 .semver [2022-10-10T15:23:11.180Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 10 15:21 Attribution.txt [2022-10-10T15:23:11.180Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 10 15:21 CHANGELOG.md [2022-10-10T15:23:11.181Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 10 15:21 Dockerfile [2022-10-10T15:23:11.181Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 15:21 GOVERNANCE.md [2022-10-10T15:23:11.181Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 10 15:21 Jenkinsfile [2022-10-10T15:23:11.181Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 10 15:21 LICENSE [2022-10-10T15:23:11.181Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 10 15:21 Makefile [2022-10-10T15:23:11.181Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 10 15:21 OWNERS.md [2022-10-10T15:23:11.181Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 10 15:21 README.md [2022-10-10T15:23:11.181Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 15:22 VERSION [2022-10-10T15:23:11.181Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 15:21 bin [2022-10-10T15:23:11.181Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:21 cmd [2022-10-10T15:23:11.181Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 10 15:22 coverage.out [2022-10-10T15:23:11.181Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 10 15:21 doc [2022-10-10T15:23:11.181Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 10 15:21 go.mod [2022-10-10T15:23:11.181Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 10 15:21 go.sum [2022-10-10T15:23:11.181Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 15:21 internal [2022-10-10T15:23:11.181Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 15:21 snap [2022-10-10T15:23:11.181Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 10 15:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:23:11.593Z] + 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=d7608bef33885ab978c5fad83f7633bf1a7789b2 --label arch=amd64 --label version=0.0.0 . [2022-10-10T15:23:11.593Z] Sending build context to Docker daemon 21.3MB [2022-10-10T15:23:11.593Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T15:23:11.593Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-10T15:23:11.593Z] ---> 0fc8c124be0e [2022-10-10T15:23:11.593Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-10T15:23:11.866Z] ---> Running in 5475a22f5dce [2022-10-10T15:23:11.866Z] Removing intermediate container 5475a22f5dce [2022-10-10T15:23:11.866Z] ---> c3ecacdc4abe [2022-10-10T15:23:11.866Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T15:23:11.866Z] ---> Running in 11fd9fdcd341 [2022-10-10T15:23:11.866Z] Removing intermediate container 11fd9fdcd341 [2022-10-10T15:23:11.866Z] ---> a04c1e1bd3d8 [2022-10-10T15:23:11.866Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T15:23:12.125Z] ---> Running in 1087136437c4 [2022-10-10T15:23:12.125Z] Removing intermediate container 1087136437c4 [2022-10-10T15:23:12.125Z] ---> 5aea8c88b7d3 [2022-10-10T15:23:12.125Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T15:23:12.125Z] ---> Running in 90414287722c [2022-10-10T15:23:12.125Z] Removing intermediate container 90414287722c [2022-10-10T15:23:12.125Z] ---> 33458dc46773 [2022-10-10T15:23:12.125Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-10T15:23:12.125Z] ---> Running in 094561c891b4 [2022-10-10T15:23:12.125Z] Removing intermediate container 094561c891b4 [2022-10-10T15:23:12.125Z] ---> 4afc8ec150ea [2022-10-10T15:23:12.125Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T15:23:12.385Z] ---> Running in 27dd406382e4 [2022-10-10T15:23:12.643Z] Removing intermediate container 27dd406382e4 [2022-10-10T15:23:12.643Z] ---> bdfbc8f44166 [2022-10-10T15:23:12.643Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T15:23:12.643Z] ---> Running in e19a4ad51517 [2022-10-10T15:23:12.901Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T15:23:13.837Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T15:23:14.096Z] OK: 211 MiB in 51 packages [2022-10-10T15:23:14.664Z] Removing intermediate container e19a4ad51517 [2022-10-10T15:23:14.664Z] ---> 3eee8939730a [2022-10-10T15:23:14.664Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-10T15:23:14.664Z] ---> Running in 4db0b50f43cd [2022-10-10T15:23:14.664Z] Removing intermediate container 4db0b50f43cd [2022-10-10T15:23:14.664Z] ---> a3478bf469f0 [2022-10-10T15:23:14.664Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-10T15:23:14.664Z] ---> 7051296cdc18 [2022-10-10T15:23:14.664Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T15:23:14.664Z] ---> Running in 3bf03db23d7b [2022-10-10T15:23:15.621Z] Removing intermediate container 3bf03db23d7b [2022-10-10T15:23:15.621Z] ---> 879bb35c8e6f [2022-10-10T15:23:15.621Z] Step 13/27 : COPY . . [2022-10-10T15:23:16.188Z] ---> 3ae28380c7b1 [2022-10-10T15:23:16.188Z] Step 14/27 : RUN ${MAKE} [2022-10-10T15:23:16.188Z] ---> Running in 728c88f98f86 [2022-10-10T15:23:16.446Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-10T15:23:38.369Z] Removing intermediate container 728c88f98f86 [2022-10-10T15:23:38.369Z] ---> cfd8d9e1a909 [2022-10-10T15:23:38.369Z] Step 15/27 : FROM alpine:3.16 [2022-10-10T15:23:38.369Z] 3.16: Pulling from library/alpine [2022-10-10T15:23:38.369Z] 213ec9aee27d: Pulling fs layer [2022-10-10T15:23:38.657Z] 213ec9aee27d: Verifying Checksum [2022-10-10T15:23:38.657Z] 213ec9aee27d: Download complete [2022-10-10T15:23:38.657Z] 213ec9aee27d: Pull complete [2022-10-10T15:23:38.657Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T15:23:38.657Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T15:23:38.657Z] ---> 9c6f07244728 [2022-10-10T15:23:38.657Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-10T15:23:38.918Z] ---> Running in 6fc057079ee7 [2022-10-10T15:23:38.918Z] Removing intermediate container 6fc057079ee7 [2022-10-10T15:23:38.918Z] ---> be5f047a305d [2022-10-10T15:23:38.918Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T15:23:38.918Z] ---> Running in d491c43be6db [2022-10-10T15:23:39.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T15:23:39.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T15:23:39.437Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T15:23:39.437Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T15:23:39.437Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T15:23:39.437Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T15:23:39.437Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T15:23:39.437Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T15:23:39.437Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T15:23:39.437Z] OK: 8 MiB in 20 packages [2022-10-10T15:23:40.003Z] Removing intermediate container d491c43be6db [2022-10-10T15:23:40.003Z] ---> 47376cf37270 [2022-10-10T15:23:40.003Z] Step 18/27 : WORKDIR / [2022-10-10T15:23:40.003Z] ---> Running in 8560d5270350 [2022-10-10T15:23:40.003Z] Removing intermediate container 8560d5270350 [2022-10-10T15:23:40.003Z] ---> 6a8a3f177d98 [2022-10-10T15:23:40.003Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-10T15:23:40.939Z] ---> 6a404c1caf70 [2022-10-10T15:23:40.939Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-10T15:23:40.939Z] ---> d031fe2fd193 [2022-10-10T15:23:40.940Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-10T15:23:41.198Z] ---> 2f3c0c6b9c7a [2022-10-10T15:23:41.198Z] Step 22/27 : EXPOSE 59984 [2022-10-10T15:23:41.199Z] ---> Running in 309134f02a67 [2022-10-10T15:23:41.199Z] Removing intermediate container 309134f02a67 [2022-10-10T15:23:41.199Z] ---> cb923232de1b [2022-10-10T15:23:41.199Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-10T15:23:41.199Z] ---> Running in a9b643cd7200 [2022-10-10T15:23:41.199Z] Removing intermediate container a9b643cd7200 [2022-10-10T15:23:41.199Z] ---> a349c14552ce [2022-10-10T15:23:41.199Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T15:23:41.199Z] ---> Running in 53394cb06a6b [2022-10-10T15:23:41.462Z] Removing intermediate container 53394cb06a6b [2022-10-10T15:23:41.462Z] ---> 8745f8575023 [2022-10-10T15:23:41.462Z] Step 25/27 : LABEL arch=amd64 [2022-10-10T15:23:41.462Z] ---> Running in 62ab4b7a24bf [2022-10-10T15:23:41.462Z] Removing intermediate container 62ab4b7a24bf [2022-10-10T15:23:41.462Z] ---> 7fde0a9b7f13 [2022-10-10T15:23:41.462Z] Step 26/27 : LABEL git_sha=d7608bef33885ab978c5fad83f7633bf1a7789b2 [2022-10-10T15:23:41.462Z] ---> Running in 88c99fd2f224 [2022-10-10T15:23:41.462Z] Removing intermediate container 88c99fd2f224 [2022-10-10T15:23:41.462Z] ---> 17193e335023 [2022-10-10T15:23:41.462Z] Step 27/27 : LABEL version=0.0.0 [2022-10-10T15:23:41.462Z] ---> Running in cb60f5f1f6d9 [2022-10-10T15:23:41.721Z] Removing intermediate container cb60f5f1f6d9 [2022-10-10T15:23:41.721Z] ---> f33c9275e610 [2022-10-10T15:23:41.721Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T15:23:41.721Z] Successfully built f33c9275e610 [2022-10-10T15:23:41.721Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:23:42.168Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T15:23:42.168Z] [2022-10-10T15:23:42.168Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:23:42.461Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T15:23:42.461Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T15:23:42.461Z] 5eb5b503b376: Pulling fs layer [2022-10-10T15:23:42.461Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T15:23:42.461Z] ec43610c2a17: Pulling fs layer [2022-10-10T15:23:42.461Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T15:23:42.461Z] 33b1e0a273af: Pulling fs layer [2022-10-10T15:23:42.461Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T15:23:42.461Z] 2f39f015ded8: Pulling fs layer [2022-10-10T15:23:42.461Z] 3a2ae6a8a46f: Waiting [2022-10-10T15:23:42.461Z] 33b1e0a273af: Waiting [2022-10-10T15:23:42.461Z] 5c69ac0246d0: Verifying Checksum [2022-10-10T15:23:42.461Z] 5c69ac0246d0: Download complete [2022-10-10T15:23:42.461Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-10T15:23:42.461Z] 3a2ae6a8a46f: Download complete [2022-10-10T15:23:42.461Z] 33b1e0a273af: Verifying Checksum [2022-10-10T15:23:42.461Z] 33b1e0a273af: Download complete [2022-10-10T15:23:42.461Z] 5d3b04190fa2: Download complete [2022-10-10T15:23:42.719Z] ec43610c2a17: Verifying Checksum [2022-10-10T15:23:42.719Z] ec43610c2a17: Download complete [2022-10-10T15:23:42.719Z] 5eb5b503b376: Verifying Checksum [2022-10-10T15:23:42.719Z] 5eb5b503b376: Download complete [2022-10-10T15:23:43.284Z] 2f39f015ded8: Download complete [2022-10-10T15:23:43.848Z] 5eb5b503b376: Pull complete [2022-10-10T15:23:43.848Z] 5c69ac0246d0: Pull complete [2022-10-10T15:23:44.415Z] ec43610c2a17: Pull complete [2022-10-10T15:23:44.415Z] 3a2ae6a8a46f: Pull complete [2022-10-10T15:23:44.674Z] 33b1e0a273af: Pull complete [2022-10-10T15:23:44.674Z] 5d3b04190fa2: Pull complete [2022-10-10T15:23:48.865Z] 2f39f015ded8: Pull complete [2022-10-10T15:23:48.865Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T15:23:48.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T15:23:48.865Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:23:48.935Z] prd-ubuntu20.04-docker-8c-8g-7531 does not seem to be running inside a container [2022-10-10T15:23:48.972Z] $ 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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T15:23:51.929Z] $ docker top 253dd18bca4c8a7b579294dc71dda0b23844ed4713507d35a98f4ea8b141ad39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:23:52.326Z] ---> job-cost.sh [2022-10-10T15:23:52.326Z] lf-activate-venv: SKIPPING [2022-10-10T15:23:52.326Z] INFO: No Stack... [2022-10-10T15:23:52.585Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T15:23:53.153Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T15:23:53.441Z] + cat /w/workspace/undry_device-onvif-camera_PR-174/archives/cost.csv [2022-10-10T15:23:53.441Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T15:23:53.454Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-3-stack-cost] [2022-10-10T15:23:53.463Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-3-stack-cost] did not exist. Created. [2022-10-10T15:23:53.463Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T15:23:53.761Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T15:23:53.792Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T15:23:53.799Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T15:23:53.872Z] $ docker stop --time=1 253dd18bca4c8a7b579294dc71dda0b23844ed4713507d35a98f4ea8b141ad39 [2022-10-10T15:23:55.045Z] $ docker rm -f 253dd18bca4c8a7b579294dc71dda0b23844ed4713507d35a98f4ea8b141ad39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-10T15:25:33.657Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7532 in /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] { [Pipeline] ws [2022-10-10T15:25:33.669Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2022-10-10T15:25:33.702Z] The recommended git tool is: git [2022-10-10T15:25:38.808Z] using credential edgex-jenkins-ssh [2022-10-10T15:25:38.828Z] Cloning the remote Git repository [2022-10-10T15:25:38.869Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-10T15:25:38.935Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2022-10-10T15:25:39.073Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-10T15:25:39.074Z] > git --version # timeout=10 [2022-10-10T15:25:39.102Z] > git --version # 'git version 2.25.1' [2022-10-10T15:25:39.104Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T15:25:39.156Z] Verifying host key using known hosts file [2022-10-10T15:25:39.355Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T15:25:39.368Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T15:25:40.616Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-10T15:25:40.635Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T15:25:42.264Z] Merging remotes/origin/main commit 22d74d2547d10604d43a59f451f2f1d479f6a1f2 into PR head commit d7608bef33885ab978c5fad83f7633bf1a7789b2 [2022-10-10T15:25:41.457Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-10T15:25:41.497Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-10T15:25:41.498Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T15:25:41.503Z] Verifying host key using known hosts file [2022-10-10T15:25:41.509Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T15:25:41.519Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-10T15:25:42.284Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T15:25:42.305Z] > git checkout -f d7608bef33885ab978c5fad83f7633bf1a7789b2 # timeout=10 [2022-10-10T15:25:42.637Z] Merge succeeded, producing d7608bef33885ab978c5fad83f7633bf1a7789b2 [2022-10-10T15:25:42.638Z] Checking out Revision d7608bef33885ab978c5fad83f7633bf1a7789b2 (PR-174) [2022-10-10T15:25:43.266Z] Commit message: "docs: update postman collection and environment" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T15:25:42.525Z] > git remote # timeout=10 [2022-10-10T15:25:42.549Z] > git config --get remote.origin.url # timeout=10 [2022-10-10T15:25:42.569Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T15:25:42.574Z] Verifying host key using known hosts file [2022-10-10T15:25:42.581Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T15:25:42.596Z] > git merge 22d74d2547d10604d43a59f451f2f1d479f6a1f2 # timeout=10 [2022-10-10T15:25:42.621Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-10T15:25:42.646Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T15:25:42.660Z] > git checkout -f d7608bef33885ab978c5fad83f7633bf1a7789b2 # timeout=10 [2022-10-10T15:25:44.111Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-10T15:25:44.111Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T15:25:44.111Z] Dload Upload Total Spent Left Speed [2022-10-10T15:25:44.111Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 78762 0 --:--:-- --:--:-- --:--:-- 78762 [Pipeline] sh [2022-10-10T15:25:44.734Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-10T15:25:45.066Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-10T15:25:45.066Z] + sudo tee /etc/docker/daemon.new [2022-10-10T15:25:45.066Z] { [2022-10-10T15:25:45.066Z] "registry-mirrors": [ [2022-10-10T15:25:45.066Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-10T15:25:45.066Z] ], [2022-10-10T15:25:45.066Z] "bip": "10.250.0.254/24", [2022-10-10T15:25:45.066Z] "hosts": [ [2022-10-10T15:25:45.066Z] "tcp://0.0.0.0:5555", [2022-10-10T15:25:45.066Z] "unix:///var/run/docker.sock" [2022-10-10T15:25:45.066Z] ], [2022-10-10T15:25:45.066Z] "mtu": 1458, [2022-10-10T15:25:45.066Z] "selinux-enabled": true, [2022-10-10T15:25:45.066Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-10T15:25:45.066Z] } [Pipeline] sh [2022-10-10T15:25:45.392Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-10T15:25:45.737Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T15:26:03.977Z] provisioning config files... [2022-10-10T15:26:04.000Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config17726778185632949749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:26:04.345Z] ---> docker-login.sh [2022-10-10T15:26:04.345Z] nexus3.edgexfoundry.org:10001 [2022-10-10T15:26:04.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:26:05.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:26:05.208Z] Configure a credential helper to remove this warning. See [2022-10-10T15:26:05.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:26:05.208Z] [2022-10-10T15:26:05.208Z] Login Succeeded [2022-10-10T15:26:05.208Z] nexus3.edgexfoundry.org:10002 [2022-10-10T15:26:05.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:26:05.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:26:05.479Z] Configure a credential helper to remove this warning. See [2022-10-10T15:26:05.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:26:05.479Z] [2022-10-10T15:26:05.479Z] Login Succeeded [2022-10-10T15:26:05.479Z] nexus3.edgexfoundry.org:10003 [2022-10-10T15:26:05.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:26:05.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:26:05.749Z] Configure a credential helper to remove this warning. See [2022-10-10T15:26:05.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:26:05.749Z] [2022-10-10T15:26:05.749Z] Login Succeeded [2022-10-10T15:26:05.749Z] nexus3.edgexfoundry.org:10004 [2022-10-10T15:26:06.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:26:06.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:26:06.292Z] Configure a credential helper to remove this warning. See [2022-10-10T15:26:06.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:26:06.292Z] [2022-10-10T15:26:06.292Z] Login Succeeded [2022-10-10T15:26:06.292Z] docker.io [2022-10-10T15:26:06.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T15:26:06.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T15:26:06.828Z] Configure a credential helper to remove this warning. See [2022-10-10T15:26:06.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T15:26:06.828Z] [2022-10-10T15:26:06.828Z] Login Succeeded [2022-10-10T15:26:06.828Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T15:26:06.841Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T15:26:06.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T15:26:06.989Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T15:26:06.995Z] ========================================================= [2022-10-10T15:26:06.995Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-10T15:26:06.995Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:26:07.471Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-10T15:26:08.065Z] Sending build context to Docker daemon 14.64MB [2022-10-10T15:26:08.065Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T15:26:08.065Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-10T15:26:08.065Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-10T15:26:08.065Z] b3c136eddcbf: Pulling fs layer [2022-10-10T15:26:08.065Z] c0a3192eca97: Pulling fs layer [2022-10-10T15:26:08.065Z] a050256f5b6f: Pulling fs layer [2022-10-10T15:26:08.065Z] 656be50a0ddc: Pulling fs layer [2022-10-10T15:26:08.065Z] 2bbca73fdf42: Pulling fs layer [2022-10-10T15:26:08.065Z] f607e4fc86c3: Pulling fs layer [2022-10-10T15:26:08.065Z] 4d572c569a2c: Pulling fs layer [2022-10-10T15:26:08.065Z] fcf976331f73: Pulling fs layer [2022-10-10T15:26:08.065Z] f607e4fc86c3: Waiting [2022-10-10T15:26:08.065Z] 4d572c569a2c: Waiting [2022-10-10T15:26:08.065Z] fcf976331f73: Waiting [2022-10-10T15:26:08.065Z] 656be50a0ddc: Waiting [2022-10-10T15:26:08.065Z] 2bbca73fdf42: Waiting [2022-10-10T15:26:08.065Z] a050256f5b6f: Verifying Checksum [2022-10-10T15:26:08.065Z] a050256f5b6f: Download complete [2022-10-10T15:26:08.065Z] c0a3192eca97: Verifying Checksum [2022-10-10T15:26:08.065Z] c0a3192eca97: Download complete [2022-10-10T15:26:08.336Z] 2bbca73fdf42: Verifying Checksum [2022-10-10T15:26:08.336Z] 2bbca73fdf42: Download complete [2022-10-10T15:26:08.336Z] f607e4fc86c3: Verifying Checksum [2022-10-10T15:26:08.336Z] f607e4fc86c3: Download complete [2022-10-10T15:26:08.336Z] b3c136eddcbf: Verifying Checksum [2022-10-10T15:26:08.336Z] b3c136eddcbf: Download complete [2022-10-10T15:26:09.301Z] b3c136eddcbf: Pull complete [2022-10-10T15:26:09.301Z] fcf976331f73: Verifying Checksum [2022-10-10T15:26:09.301Z] fcf976331f73: Download complete [2022-10-10T15:26:09.569Z] c0a3192eca97: Pull complete [2022-10-10T15:26:09.841Z] a050256f5b6f: Pull complete [2022-10-10T15:26:10.430Z] 4d572c569a2c: Download complete [2022-10-10T15:26:11.038Z] 656be50a0ddc: Verifying Checksum [2022-10-10T15:26:11.038Z] 656be50a0ddc: Download complete [2022-10-10T15:26:23.497Z] 656be50a0ddc: Pull complete [2022-10-10T15:26:23.497Z] 2bbca73fdf42: Pull complete [2022-10-10T15:26:23.764Z] f607e4fc86c3: Pull complete [2022-10-10T15:26:30.435Z] 4d572c569a2c: Pull complete [2022-10-10T15:26:31.848Z] fcf976331f73: Pull complete [2022-10-10T15:26:31.848Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-10T15:26:31.848Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-10T15:26:31.848Z] ---> 3970a7415f9e [2022-10-10T15:26:31.848Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-10T15:26:33.799Z] ---> Running in e509d79a60d5 [2022-10-10T15:26:33.799Z] Removing intermediate container e509d79a60d5 [2022-10-10T15:26:33.799Z] ---> fc1eec9563c8 [2022-10-10T15:26:33.799Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T15:26:33.799Z] ---> Running in 57cbee36b3d6 [2022-10-10T15:26:34.068Z] Removing intermediate container 57cbee36b3d6 [2022-10-10T15:26:34.068Z] ---> e47620143353 [2022-10-10T15:26:34.068Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T15:26:34.339Z] ---> Running in ee287f4a6ea1 [2022-10-10T15:26:34.607Z] Removing intermediate container ee287f4a6ea1 [2022-10-10T15:26:34.607Z] ---> 6f2af43f0aee [2022-10-10T15:26:34.607Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T15:26:34.607Z] ---> Running in 63987f48776f [2022-10-10T15:26:34.876Z] Removing intermediate container 63987f48776f [2022-10-10T15:26:34.876Z] ---> edc78388d355 [2022-10-10T15:26:34.876Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-10T15:26:34.876Z] ---> Running in 76f41f97f250 [2022-10-10T15:26:35.145Z] Removing intermediate container 76f41f97f250 [2022-10-10T15:26:35.145Z] ---> 197e0e29f40d [2022-10-10T15:26:35.145Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T15:26:35.430Z] ---> Running in 4c97e5504c5a [2022-10-10T15:26:37.379Z] Removing intermediate container 4c97e5504c5a [2022-10-10T15:26:37.379Z] ---> e1876c40a008 [2022-10-10T15:26:37.379Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T15:26:37.379Z] ---> Running in 6bc5d4ab2b70 [2022-10-10T15:26:37.963Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T15:26:38.919Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T15:26:39.881Z] OK: 221 MiB in 51 packages [2022-10-10T15:26:40.474Z] Removing intermediate container 6bc5d4ab2b70 [2022-10-10T15:26:40.474Z] ---> b2b24fa83ba9 [2022-10-10T15:26:40.474Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-10T15:26:40.741Z] ---> Running in b5513a43b18e [2022-10-10T15:26:41.009Z] Removing intermediate container b5513a43b18e [2022-10-10T15:26:41.009Z] ---> 82170751af18 [2022-10-10T15:26:41.009Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-10T15:26:41.620Z] ---> 6a355597f40f [2022-10-10T15:26:41.620Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T15:26:41.620Z] ---> Running in cb125f1ad276 [2022-10-10T15:27:38.058Z] Removing intermediate container cb125f1ad276 [2022-10-10T15:27:38.058Z] ---> 4c385f281374 [2022-10-10T15:27:38.058Z] Step 13/14 : COPY . . [2022-10-10T15:27:38.058Z] ---> 62f4c986cf59 [2022-10-10T15:27:38.058Z] Step 14/14 : RUN ${MAKE} [2022-10-10T15:27:38.058Z] ---> Running in c2a97c3d8b8e [2022-10-10T15:27:38.058Z] noop [2022-10-10T15:27:38.058Z] Removing intermediate container c2a97c3d8b8e [2022-10-10T15:27:38.058Z] ---> 08e1ced4d04a [2022-10-10T15:27:38.058Z] Successfully built 08e1ced4d04a [2022-10-10T15:27:38.058Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:27:38.406Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T15:27:38.406Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:27:38.565Z] prd-ubuntu20.04-docker-arm64-4c-16g-7532 does not seem to be running inside a container [2022-10-10T15:27:38.627Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T15:27:39.695Z] $ docker top fd43aade528406eba0d4c0df155b6f5f59c5ddf062f0132111b31d3116556d16 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T15:27:40.494Z] + go version [2022-10-10T15:27:40.494Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-10T15:27:40.516Z] $ docker stop --time=1 fd43aade528406eba0d4c0df155b6f5f59c5ddf062f0132111b31d3116556d16 [2022-10-10T15:27:42.150Z] $ docker rm -f fd43aade528406eba0d4c0df155b6f5f59c5ddf062f0132111b31d3116556d16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:27:42.704Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T15:27:42.704Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:27:42.869Z] prd-ubuntu20.04-docker-arm64-4c-16g-7532 does not seem to be running inside a container [2022-10-10T15:27:42.942Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T15:27:44.063Z] $ docker top fed05768ebf49c7a1f71caff6340880a29b4ae55164cf1116e9e487fd77432ba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T15:27:44.571Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2022-10-10T15:27:44.907Z] + make test [2022-10-10T15:27:44.907Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T15:27:46.864Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-10T15:29:23.540Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-10T15:29:23.540Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.199s coverage: 28.2% of statements [2022-10-10T15:29:23.540Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-10T15:29:38.558Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.742s coverage: 86.5% of statements [2022-10-10T15:29:39.142Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-10T15:29:39.142Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T15:30:05.823Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T15:30:05.823Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T15:30:05.823Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T15:30:05.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T15:30:05.859Z] $ docker stop --time=1 fed05768ebf49c7a1f71caff6340880a29b4ae55164cf1116e9e487fd77432ba [2022-10-10T15:30:07.663Z] $ docker rm -f fed05768ebf49c7a1f71caff6340880a29b4ae55164cf1116e9e487fd77432ba [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T15:30:08.595Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T15:30:08.621Z] Warning: overwriting stash ‘coverage-report’ [2022-10-10T15:30:09.149Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T15:30:09.542Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T15:30:09.899Z] + ls -al . [2022-10-10T15:30:09.899Z] total 232 [2022-10-10T15:30:09.899Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 15:27 . [2022-10-10T15:30:09.899Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 15:25 .. [2022-10-10T15:30:09.899Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 15:25 .git [2022-10-10T15:30:09.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:25 .github [2022-10-10T15:30:09.899Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 10 15:25 .gitignore [2022-10-10T15:30:09.899Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 10 15:25 .golangci.yml [2022-10-10T15:30:09.899Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 10 15:25 Attribution.txt [2022-10-10T15:30:09.899Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 10 15:25 CHANGELOG.md [2022-10-10T15:30:09.899Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 10 15:25 Dockerfile [2022-10-10T15:30:09.899Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 15:25 GOVERNANCE.md [2022-10-10T15:30:09.899Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 10 15:25 Jenkinsfile [2022-10-10T15:30:09.899Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 10 15:25 LICENSE [2022-10-10T15:30:09.899Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 10 15:25 Makefile [2022-10-10T15:30:09.899Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 10 15:25 OWNERS.md [2022-10-10T15:30:09.899Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 10 15:25 README.md [2022-10-10T15:30:09.899Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 15:22 VERSION [2022-10-10T15:30:09.899Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 15:25 bin [2022-10-10T15:30:09.899Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 15:25 cmd [2022-10-10T15:30:09.899Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 10 15:29 coverage.out [2022-10-10T15:30:09.899Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 10 15:25 doc [2022-10-10T15:30:09.899Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 10 15:25 go.mod [2022-10-10T15:30:09.899Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 10 15:25 go.sum [2022-10-10T15:30:09.899Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 15:25 internal [2022-10-10T15:30:09.899Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 15:25 snap [2022-10-10T15:30:09.899Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 10 15:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:30:10.259Z] + 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=d7608bef33885ab978c5fad83f7633bf1a7789b2 --label arch=arm64 --label version=0.0.0 . [2022-10-10T15:30:10.844Z] Sending build context to Docker daemon 14.72MB [2022-10-10T15:30:11.113Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T15:30:11.113Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-10T15:30:11.113Z] ---> 08e1ced4d04a [2022-10-10T15:30:11.113Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-10T15:30:11.113Z] ---> Running in 4844a47782c7 [2022-10-10T15:30:11.389Z] Removing intermediate container 4844a47782c7 [2022-10-10T15:30:11.389Z] ---> 802488443221 [2022-10-10T15:30:11.389Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T15:30:11.658Z] ---> Running in 24b9ea180406 [2022-10-10T15:30:12.243Z] Removing intermediate container 24b9ea180406 [2022-10-10T15:30:12.243Z] ---> 0f32f5768166 [2022-10-10T15:30:12.243Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T15:30:12.243Z] ---> Running in e49c8280fd92 [2022-10-10T15:30:12.826Z] Removing intermediate container e49c8280fd92 [2022-10-10T15:30:12.826Z] ---> c302a3a115db [2022-10-10T15:30:12.826Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T15:30:12.826Z] ---> Running in 7d6c136d93be [2022-10-10T15:30:13.410Z] Removing intermediate container 7d6c136d93be [2022-10-10T15:30:13.410Z] ---> 48bbe4a7bdce [2022-10-10T15:30:13.410Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-10T15:30:13.410Z] ---> Running in 201e310b5746 [2022-10-10T15:30:13.998Z] Removing intermediate container 201e310b5746 [2022-10-10T15:30:13.998Z] ---> 3a217f1e3d2f [2022-10-10T15:30:13.998Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T15:30:13.998Z] ---> Running in 6278db5ccdc5 [2022-10-10T15:30:15.952Z] Removing intermediate container 6278db5ccdc5 [2022-10-10T15:30:15.952Z] ---> 0bb0bfc524b0 [2022-10-10T15:30:15.952Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T15:30:15.952Z] ---> Running in ae894db8a590 [2022-10-10T15:30:16.915Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T15:30:17.497Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T15:30:18.917Z] OK: 221 MiB in 51 packages [2022-10-10T15:30:19.893Z] Removing intermediate container ae894db8a590 [2022-10-10T15:30:19.893Z] ---> 55f2a3fe3f13 [2022-10-10T15:30:19.893Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-10T15:30:19.893Z] ---> Running in 09a97aa1df6d [2022-10-10T15:30:20.159Z] Removing intermediate container 09a97aa1df6d [2022-10-10T15:30:20.159Z] ---> dac9acf2ac59 [2022-10-10T15:30:20.159Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-10T15:30:20.742Z] ---> f1db0718e9f4 [2022-10-10T15:30:20.742Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T15:30:20.742Z] ---> Running in 7cdd821fd9f0 [2022-10-10T15:30:23.323Z] Removing intermediate container 7cdd821fd9f0 [2022-10-10T15:30:23.323Z] ---> d7ece9877796 [2022-10-10T15:30:23.323Z] Step 13/27 : COPY . . [2022-10-10T15:30:24.729Z] ---> e2df0fac0d67 [2022-10-10T15:30:24.729Z] Step 14/27 : RUN ${MAKE} [2022-10-10T15:30:24.729Z] ---> Running in 108f8f72fffc [2022-10-10T15:30:25.691Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-10T15:33:02.407Z] Removing intermediate container 108f8f72fffc [2022-10-10T15:33:02.407Z] ---> aabbfe7a17c7 [2022-10-10T15:33:02.407Z] Step 15/27 : FROM alpine:3.16 [2022-10-10T15:33:02.407Z] 3.16: Pulling from library/alpine [2022-10-10T15:33:02.407Z] 9b18e9b68314: Pulling fs layer [2022-10-10T15:33:02.407Z] 9b18e9b68314: Verifying Checksum [2022-10-10T15:33:02.407Z] 9b18e9b68314: Download complete [2022-10-10T15:33:02.407Z] 9b18e9b68314: Pull complete [2022-10-10T15:33:02.407Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T15:33:02.407Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T15:33:02.407Z] ---> a6215f271958 [2022-10-10T15:33:02.407Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-10T15:33:02.407Z] ---> Running in dec038e34cdd [2022-10-10T15:33:02.407Z] Removing intermediate container dec038e34cdd [2022-10-10T15:33:02.407Z] ---> 12969ac4ac93 [2022-10-10T15:33:02.407Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T15:33:02.407Z] ---> Running in 4f14c954a5fd [2022-10-10T15:33:02.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T15:33:02.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T15:33:02.407Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T15:33:02.407Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T15:33:02.407Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T15:33:02.407Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T15:33:02.407Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T15:33:02.407Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T15:33:02.407Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T15:33:02.407Z] OK: 8 MiB in 20 packages [2022-10-10T15:33:02.407Z] Removing intermediate container 4f14c954a5fd [2022-10-10T15:33:02.407Z] ---> a3fd19880084 [2022-10-10T15:33:02.407Z] Step 18/27 : WORKDIR / [2022-10-10T15:33:02.407Z] ---> Running in 2a08efc5125f [2022-10-10T15:33:02.407Z] Removing intermediate container 2a08efc5125f [2022-10-10T15:33:02.407Z] ---> 661393c05615 [2022-10-10T15:33:02.407Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-10T15:33:02.407Z] ---> 09a6999373a6 [2022-10-10T15:33:02.407Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-10T15:33:02.407Z] ---> d893751b3815 [2022-10-10T15:33:02.407Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-10T15:33:02.407Z] ---> 5731f316fda3 [2022-10-10T15:33:02.407Z] Step 22/27 : EXPOSE 59984 [2022-10-10T15:33:02.407Z] ---> Running in 0e63cced18fa [2022-10-10T15:33:02.407Z] Removing intermediate container 0e63cced18fa [2022-10-10T15:33:02.407Z] ---> a04cffaaa8bf [2022-10-10T15:33:02.407Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-10T15:33:02.407Z] ---> Running in 1d25c0f1b4f2 [2022-10-10T15:33:02.407Z] Removing intermediate container 1d25c0f1b4f2 [2022-10-10T15:33:02.407Z] ---> 917b11cd7a38 [2022-10-10T15:33:02.407Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T15:33:02.407Z] ---> Running in 7eb043fb1e22 [2022-10-10T15:33:02.407Z] Removing intermediate container 7eb043fb1e22 [2022-10-10T15:33:02.407Z] ---> 1824db4cc847 [2022-10-10T15:33:02.407Z] Step 25/27 : LABEL arch=arm64 [2022-10-10T15:33:02.407Z] ---> Running in 2bde6590727c [2022-10-10T15:33:02.407Z] Removing intermediate container 2bde6590727c [2022-10-10T15:33:02.407Z] ---> c33efed70ba5 [2022-10-10T15:33:02.407Z] Step 26/27 : LABEL git_sha=d7608bef33885ab978c5fad83f7633bf1a7789b2 [2022-10-10T15:33:02.407Z] ---> Running in 5f12ff8d844d [2022-10-10T15:33:02.407Z] Removing intermediate container 5f12ff8d844d [2022-10-10T15:33:02.407Z] ---> 57c3007c1433 [2022-10-10T15:33:02.407Z] Step 27/27 : LABEL version=0.0.0 [2022-10-10T15:33:02.407Z] ---> Running in eace1aacfb5b [2022-10-10T15:33:02.407Z] Removing intermediate container eace1aacfb5b [2022-10-10T15:33:02.407Z] ---> 4cc9001996fc [2022-10-10T15:33:02.407Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T15:33:02.407Z] Successfully built 4cc9001996fc [2022-10-10T15:33:02.407Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:33:02.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T15:33:02.831Z] [2022-10-10T15:33:02.831Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:33:03.159Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T15:33:03.159Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-10T15:33:03.159Z] 8998bd30e6a1: Pulling fs layer [2022-10-10T15:33:03.159Z] 04944245beec: Pulling fs layer [2022-10-10T15:33:03.159Z] 699f458cf7ca: Pulling fs layer [2022-10-10T15:33:03.159Z] 765212b225bb: Pulling fs layer [2022-10-10T15:33:03.159Z] f23df028b6ca: Pulling fs layer [2022-10-10T15:33:03.159Z] d65c8cfc05b1: Pulling fs layer [2022-10-10T15:33:03.159Z] 2437ff75d9bd: Pulling fs layer [2022-10-10T15:33:03.159Z] 765212b225bb: Waiting [2022-10-10T15:33:03.159Z] f23df028b6ca: Waiting [2022-10-10T15:33:03.159Z] d65c8cfc05b1: Waiting [2022-10-10T15:33:03.159Z] 2437ff75d9bd: Waiting [2022-10-10T15:33:03.426Z] 04944245beec: Verifying Checksum [2022-10-10T15:33:03.426Z] 04944245beec: Download complete [2022-10-10T15:33:03.426Z] 765212b225bb: Verifying Checksum [2022-10-10T15:33:03.426Z] 765212b225bb: Download complete [2022-10-10T15:33:03.426Z] f23df028b6ca: Verifying Checksum [2022-10-10T15:33:03.426Z] f23df028b6ca: Download complete [2022-10-10T15:33:03.426Z] d65c8cfc05b1: Verifying Checksum [2022-10-10T15:33:03.426Z] d65c8cfc05b1: Download complete [2022-10-10T15:33:03.695Z] 699f458cf7ca: Verifying Checksum [2022-10-10T15:33:03.695Z] 699f458cf7ca: Download complete [2022-10-10T15:33:03.964Z] 8998bd30e6a1: Verifying Checksum [2022-10-10T15:33:03.964Z] 8998bd30e6a1: Download complete [2022-10-10T15:33:06.552Z] 2437ff75d9bd: Download complete [2022-10-10T15:33:07.963Z] 8998bd30e6a1: Pull complete [2022-10-10T15:33:08.229Z] 04944245beec: Pull complete [2022-10-10T15:33:09.639Z] 699f458cf7ca: Pull complete [2022-10-10T15:33:09.905Z] 765212b225bb: Pull complete [2022-10-10T15:33:10.490Z] f23df028b6ca: Pull complete [2022-10-10T15:33:10.758Z] d65c8cfc05b1: Pull complete [2022-10-10T15:33:25.805Z] 2437ff75d9bd: Pull complete [2022-10-10T15:33:25.805Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-10T15:33:25.805Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T15:33:25.805Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:33:26.025Z] prd-ubuntu20.04-docker-arm64-4c-16g-7532 does not seem to be running inside a container [2022-10-10T15:33:26.097Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-10T15:33:28.694Z] $ docker top 19cf924fe8be6830445bc8f379fbfe39b49db6d4d60804717258e9178287d4a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:33:29.232Z] ---> job-cost.sh [2022-10-10T15:33:29.501Z] lf-activate-venv: SKIPPING [2022-10-10T15:33:29.501Z] INFO: No Stack... [2022-10-10T15:33:29.768Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-10T15:33:30.739Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T15:33:31.083Z] + cut -d, -f6 [2022-10-10T15:33:31.083Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [Pipeline] lock [2022-10-10T15:33:31.413Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-3-stack-cost] [2022-10-10T15:33:31.420Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-3-stack-cost] did not exist. Created. [2022-10-10T15:33:31.420Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T15:33:31.751Z] /w/workspace/device-onvif-camera/3@tmp/durable-15c9f8b7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-10T15:33:32.085Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-10T15:33:32.107Z] Warning: overwriting stash ‘stack-cost’ [2022-10-10T15:33:32.163Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T15:33:32.170Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T15:33:32.184Z] $ docker stop --time=1 19cf924fe8be6830445bc8f379fbfe39b49db6d4d60804717258e9178287d4a7 [2022-10-10T15:33:33.671Z] $ docker rm -f 19cf924fe8be6830445bc8f379fbfe39b49db6d4d60804717258e9178287d4a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-10T15:33:34.036Z] provisioning config files... [2022-10-10T15:33:34.043Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config13760893196325725985tmp [Pipeline] { [Pipeline] sh [2022-10-10T15:33:34.333Z] + set +x [2022-10-10T15:33:34.333Z] + curl+ -s https://codecov.io/bash [2022-10-10T15:33:34.334Z] bash -s -- [2022-10-10T15:33:34.334Z] [2022-10-10T15:33:34.334Z] _____ _ [2022-10-10T15:33:34.334Z] / ____| | | [2022-10-10T15:33:34.334Z] | | ___ __| | ___ ___ _____ __ [2022-10-10T15:33:34.334Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-10T15:33:34.334Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-10T15:33:34.334Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-10T15:33:34.334Z] Bash-1.0.6 [2022-10-10T15:33:34.334Z] [2022-10-10T15:33:34.334Z] [2022-10-10T15:33:34.334Z] ==> git version 2.25.1 found [2022-10-10T15:33:34.334Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-10T15:33:34.334Z] Release-Date: 2020-01-08 [2022-10-10T15:33:34.334Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-10T15:33:34.334Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-10T15:33:34.334Z] ==> Jenkins CI detected. [2022-10-10T15:33:34.334Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-174 [2022-10-10T15:33:34.334Z] project root: . [2022-10-10T15:33:34.334Z] --> token set from env [2022-10-10T15:33:34.334Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-10T15:33:34.334Z] ==> Running gcov in . (disable via -X gcov) [2022-10-10T15:33:34.334Z] ==> Python coveragepy not found [2022-10-10T15:33:34.334Z] ==> Searching for coverage reports in: [2022-10-10T15:33:34.334Z] + . [2022-10-10T15:33:34.334Z] -> Found 1 reports [2022-10-10T15:33:34.334Z] ==> Detecting git/mercurial file structure [2022-10-10T15:33:34.334Z] ==> Reading reports [2022-10-10T15:33:34.590Z] + ./coverage.out bytes=78461 [2022-10-10T15:33:34.590Z] ==> Appending adjustments [2022-10-10T15:33:34.590Z] https://docs.codecov.io/docs/fixing-reports [2022-10-10T15:33:34.590Z] + Found adjustments [2022-10-10T15:33:34.590Z] ==> Gzipping contents [2022-10-10T15:33:34.590Z] 12K /tmp/codecov.HgNHYO.gz [2022-10-10T15:33:34.590Z] ==> Uploading reports [2022-10-10T15:33:34.591Z] url: https://codecov.io [2022-10-10T15:33:34.591Z] query: branch=PR-174&commit=d7608bef33885ab978c5fad83f7633bf1a7789b2&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= [2022-10-10T15:33:34.591Z] -> Pinging Codecov [2022-10-10T15:33:34.591Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-174&commit=d7608bef33885ab978c5fad83f7633bf1a7789b2&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= [2022-10-10T15:33:34.849Z] -> Uploading to [2022-10-10T15:33:34.849Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-10/F29A59C45E3A92E06B3E522C9905F8EF/d7608bef33885ab978c5fad83f7633bf1a7789b2/1b3ee48e-0f21-4cff-b4b7-649582541b7b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T153334Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=89076340e52ff3cddc2c76963779677a41a0cfc755c353d7463df0c318ea2b70 [2022-10-10T15:33:34.849Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T15:33:34.849Z] Dload Upload Total Spent Left Speed [2022-10-10T15:33:35.107Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10767 0 0 100 10767 0 38316 --:--:-- --:--:-- --:--:-- 38316 [2022-10-10T15:33:35.107Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d7608bef33885ab978c5fad83f7633bf1a7789b2 [Pipeline] } [2022-10-10T15:33:35.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-10T15:33:35.756Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-174/archives ] [2022-10-10T15:33:35.757Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-10T15:33:35.757Z] total 16 [2022-10-10T15:33:35.757Z] drwxr-xr-x 3 root root 4096 Oct 10 15:23 . [2022-10-10T15:33:35.757Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 15:23 .. [2022-10-10T15:33:35.757Z] drwxr-xr-x 2 root root 4096 Oct 10 15:23 cost [2022-10-10T15:33:35.757Z] -rw-r--r-- 1 root root 91 Oct 10 15:23 cost.csv [2022-10-10T15:33:35.757Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-10T15:33:35.757Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-10T15:33:35.757Z] total 16 [2022-10-10T15:33:35.757Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 15:23 . [2022-10-10T15:33:35.757Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 15:23 .. [2022-10-10T15:33:35.757Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 15:23 cost [2022-10-10T15:33:35.757Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 10 15:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:33:36.042Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:33:36.896Z] ---> package-listing.sh [2022-10-10T15:33:36.896Z] ++ facter osfamily [2022-10-10T15:33:36.896Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T15:33:37.154Z] + OS_FAMILY=debian [2022-10-10T15:33:37.154Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-174 [2022-10-10T15:33:37.154Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T15:33:37.154Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T15:33:37.154Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T15:33:37.154Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T15:33:37.154Z] + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' [2022-10-10T15:33:37.154Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T15:33:37.154Z] + case "${OS_FAMILY}" in [2022-10-10T15:33:37.154Z] + dpkg -l [2022-10-10T15:33:37.154Z] + grep '^ii' [2022-10-10T15:33:37.154Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T15:33:37.154Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T15:33:37.154Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T15:33:37.154Z] + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' [2022-10-10T15:33:37.154Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-174/archives/ [2022-10-10T15:33:37.154Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-174/archives/ [Pipeline] echo [2022-10-10T15:33:37.165Z] 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-174/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-10T15:33:37.440Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T15:33:37.998Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T15:33:37.998Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T15:33:38.058Z] prd-ubuntu20.04-docker-8c-8g-7531 does not seem to be running inside a container [2022-10-10T15:33:38.108Z] $ 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-174/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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T15:33:38.340Z] $ docker top 035da052b2459b04d56f3f229e5687662a119714de9400f63c46f2f41c3218ba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T15:33:38.659Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T15:33:38.940Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T15:33:39.218Z] + ls /var/log/sa-host [2022-10-10T15:33:39.218Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T15:33:39.360Z] provisioning config files... [2022-10-10T15:33:39.367Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config8983012469504732545tmp [Pipeline] { [Pipeline] echo [2022-10-10T15:33:39.378Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:33:39.656Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T15:33:39.662Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:33:39.979Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T15:33:39.986Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:33:40.266Z] ---> sudo-logs.sh [2022-10-10T15:33:40.266Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T15:33:40.292Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:33:40.578Z] ---> job-cost.sh [2022-10-10T15:33:40.578Z] lf-activate-venv: SKIPPING [2022-10-10T15:33:40.578Z] DEBUG: total: 0.2199999988079071 [2022-10-10T15:33:40.578Z] INFO: Retrieving Stack Cost... [2022-10-10T15:33:41.146Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T15:33:41.405Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T15:33:41.416Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T15:33:41.696Z] ---> logs-deploy.sh [2022-10-10T15:33:41.696Z] lf-activate-venv: SKIPPING [2022-10-10T15:33:41.696Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-174/3 [2022-10-10T15:33:41.696Z] INFO: archiving workspace using pattern(s): [2022-10-10T15:33:42.634Z] Archives upload complete. [2022-10-10T15:33:42.634Z] INFO: archiving logs to Nexus