Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 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-ssh4833899075628101259.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh14093422339797917214.key > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-125/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-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14215517211023768932.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh3034070189218706386.key > 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-125/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-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17129700212568671761.key > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22956 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-125 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 1d3742651726644f3f9bf79e2aebff6ef3031127 Checking out Revision 1d3742651726644f3f9bf79e2aebff6ef3031127 (PR-125) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d3742651726644f3f9bf79e2aebff6ef3031127 # timeout=10 Commit message: "Merge commit 'a7f4bbdd92e86766513fcb71b61d6b3a5793edb3' into HEAD" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 0b086b11444ac4aaa19ffe84290587416c982765 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-17T10:10:54.433Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-17T10:10:54.499Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-17T10:10:54.509Z] ========================================================= [2022-08-17T10:10:54.509Z] EdgeX Global Pipelines Version Info [2022-08-17T10:10:54.509Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-17T10:10:55.277Z] ------------------- [2022-08-17T10:10:55.277Z] stable info: [2022-08-17T10:10:55.277Z] ------------------- [2022-08-17T10:10:55.277Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-17T10:10:55.277Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-17T10:10:55.277Z] Message: update stable to v1.0.238 [2022-08-17T10:10:55.849Z] ------------------- [2022-08-17T10:10:55.849Z] experimental info: [2022-08-17T10:10:55.849Z] ------------------- [2022-08-17T10:10:55.849Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-17T10:10:55.849Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-17T10:10:55.849Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-17T10:10:56.049Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-17T10:10:56.059Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-17T10:10:56.068Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-17T10:10:56.077Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-17T10:10:56.086Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-17T10:10:56.094Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-17T10:10:56.103Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-17T10:10:56.111Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-17T10:10:56.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-17T10:10:56.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-17T10:10:56.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-17T10:10:56.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-17T10:10:56.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-17T10:10:56.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-17T10:10:56.173Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-17T10:10:56.182Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-17T10:10:56.191Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-17T10:10:56.200Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-17T10:10:56.208Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-17T10:10:56.217Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-17T10:10:56.226Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-17T10:10:56.234Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-17T10:10:56.243Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-17T10:10:56.252Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-17T10:10:56.261Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-17T10:10:56.270Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-17T10:10:56.278Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-17T10:10:56.287Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-08-17T10:10:56.296Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-08-17T10:10:56.305Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-08-17T10:10:56.314Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1d3742651726644f3f9bf79e2aebff6ef3031127 [Pipeline] echo [2022-08-17T10:10:56.323Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1d37426 [Pipeline] echo [2022-08-17T10:10:56.331Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-17T10:10:56.373Z] provisioning config files... [2022-08-17T10:10:56.390Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config8096844066774085217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-17T10:10:56.708Z] ---> docker-login.sh [2022-08-17T10:10:56.708Z] nexus3.edgexfoundry.org:10001 [2022-08-17T10:10:56.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-17T10:10:57.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-17T10:10:57.234Z] Configure a credential helper to remove this warning. See [2022-08-17T10:10:57.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-17T10:10:57.234Z] [2022-08-17T10:10:57.234Z] Login Succeeded [2022-08-17T10:10:57.234Z] nexus3.edgexfoundry.org:10002 [2022-08-17T10:10:57.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-17T10:10:57.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-17T10:10:57.496Z] Configure a credential helper to remove this warning. See [2022-08-17T10:10:57.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-17T10:10:57.496Z] [2022-08-17T10:10:57.496Z] Login Succeeded [2022-08-17T10:10:57.496Z] nexus3.edgexfoundry.org:10003 [2022-08-17T10:10:57.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-17T10:10:57.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-17T10:10:57.496Z] Configure a credential helper to remove this warning. See [2022-08-17T10:10:57.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-17T10:10:57.496Z] [2022-08-17T10:10:57.496Z] Login Succeeded [2022-08-17T10:10:57.496Z] nexus3.edgexfoundry.org:10004 [2022-08-17T10:10:57.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-17T10:10:57.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-17T10:10:57.759Z] Configure a credential helper to remove this warning. See [2022-08-17T10:10:57.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-17T10:10:57.759Z] [2022-08-17T10:10:57.759Z] Login Succeeded [2022-08-17T10:10:57.759Z] docker.io [2022-08-17T10:10:57.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-17T10:10:58.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-17T10:10:58.335Z] Configure a credential helper to remove this warning. See [2022-08-17T10:10:58.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-17T10:10:58.335Z] [2022-08-17T10:10:58.335Z] Login Succeeded [2022-08-17T10:10:58.335Z] ---> docker-login.sh ends [Pipeline] } [2022-08-17T10:10:58.345Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-17T10:10:58.731Z] + git rev-list -1 --merges 1d3742651726644f3f9bf79e2aebff6ef3031127~1..1d3742651726644f3f9bf79e2aebff6ef3031127 [Pipeline] echo [2022-08-17T10:10:58.762Z] -----------> git rev-list -1 --merges 1d3742651726644f3f9bf79e2aebff6ef3031127~1..1d3742651726644f3f9bf79e2aebff6ef3031127 1d3742651726644f3f9bf79e2aebff6ef3031127 [2022-08-17T10:10:58.762Z] 1d3742651726644f3f9bf79e2aebff6ef3031127 [false] [Pipeline] sh [2022-08-17T10:10:59.074Z] + git log --format=format:%s -1 1d3742651726644f3f9bf79e2aebff6ef3031127 [Pipeline] echo [2022-08-17T10:10:59.094Z] ========================================================= [2022-08-17T10:10:59.094Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-17T10:10:59.094Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-17T10:10:59.437Z] + git log --format=format:%s -1 1d3742651726644f3f9bf79e2aebff6ef3031127 [Pipeline] echo [2022-08-17T10:10:59.450Z] [semverPrep] GIT_COMMIT: 1d3742651726644f3f9bf79e2aebff6ef3031127, Commit Message: Merge commit 'a7f4bbdd92e86766513fcb71b61d6b3a5793edb3' into HEAD [Pipeline] echo [2022-08-17T10:10:59.461Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-17T10:10:59.849Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-17T10:10:59.849Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-17T10:10:59.849Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-17T10:10:59.849Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-17T10:10:59.849Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-17T10:10:59.849Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-17T10:10:59.849Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-17T10:11:00.305Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-17T10:11:00.305Z] [2022-08-17T10:11:00.305Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-17T10:11:00.613Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-17T10:11:00.613Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-17T10:11:00.613Z] b85a868b505f: Pulling fs layer [2022-08-17T10:11:00.613Z] e2be974225ed: Pulling fs layer [2022-08-17T10:11:00.613Z] 339a4e72a1f5: Pulling fs layer [2022-08-17T10:11:00.613Z] 988bab9f4d93: Pulling fs layer [2022-08-17T10:11:00.613Z] 1469e6f7b9e6: Pulling fs layer [2022-08-17T10:11:00.614Z] eaf3925da568: Pulling fs layer [2022-08-17T10:11:00.614Z] bab4dde63d76: Pulling fs layer [2022-08-17T10:11:00.614Z] bde34c3a00c8: Pulling fs layer [2022-08-17T10:11:00.614Z] b352a97aabf1: Pulling fs layer [2022-08-17T10:11:00.614Z] 4872d77fe225: Pulling fs layer [2022-08-17T10:11:00.614Z] 5851b861e8e6: Pulling fs layer [2022-08-17T10:11:00.614Z] 988bab9f4d93: Waiting [2022-08-17T10:11:00.614Z] eaf3925da568: Waiting [2022-08-17T10:11:00.614Z] 1469e6f7b9e6: Waiting [2022-08-17T10:11:00.614Z] bab4dde63d76: Waiting [2022-08-17T10:11:00.614Z] bde34c3a00c8: Waiting [2022-08-17T10:11:00.614Z] 4872d77fe225: Waiting [2022-08-17T10:11:00.614Z] e2be974225ed: Verifying Checksum [2022-08-17T10:11:00.614Z] e2be974225ed: Download complete [2022-08-17T10:11:00.614Z] 988bab9f4d93: Verifying Checksum [2022-08-17T10:11:00.614Z] 988bab9f4d93: Download complete [2022-08-17T10:11:00.879Z] 1469e6f7b9e6: Verifying Checksum [2022-08-17T10:11:00.879Z] 1469e6f7b9e6: Download complete [2022-08-17T10:11:00.879Z] eaf3925da568: Verifying Checksum [2022-08-17T10:11:00.879Z] eaf3925da568: Download complete [2022-08-17T10:11:00.879Z] 339a4e72a1f5: Verifying Checksum [2022-08-17T10:11:00.879Z] 339a4e72a1f5: Download complete [2022-08-17T10:11:00.879Z] bde34c3a00c8: Download complete [2022-08-17T10:11:00.879Z] b352a97aabf1: Download complete [2022-08-17T10:11:00.879Z] 4872d77fe225: Verifying Checksum [2022-08-17T10:11:00.879Z] 4872d77fe225: Download complete [2022-08-17T10:11:00.879Z] 5851b861e8e6: Verifying Checksum [2022-08-17T10:11:00.879Z] 5851b861e8e6: Download complete [2022-08-17T10:11:00.879Z] b85a868b505f: Verifying Checksum [2022-08-17T10:11:00.879Z] b85a868b505f: Download complete [2022-08-17T10:11:01.138Z] bab4dde63d76: Verifying Checksum [2022-08-17T10:11:01.138Z] bab4dde63d76: Download complete [2022-08-17T10:11:02.522Z] b85a868b505f: Pull complete [2022-08-17T10:11:02.522Z] e2be974225ed: Pull complete [2022-08-17T10:11:03.092Z] 339a4e72a1f5: Pull complete [2022-08-17T10:11:03.092Z] 988bab9f4d93: Pull complete [2022-08-17T10:11:03.353Z] 1469e6f7b9e6: Pull complete [2022-08-17T10:11:03.614Z] eaf3925da568: Pull complete [2022-08-17T10:11:05.528Z] bab4dde63d76: Pull complete [2022-08-17T10:11:05.528Z] bde34c3a00c8: Pull complete [2022-08-17T10:11:05.789Z] b352a97aabf1: Pull complete [2022-08-17T10:11:05.789Z] 4872d77fe225: Pull complete [2022-08-17T10:11:05.789Z] 5851b861e8e6: Pull complete [2022-08-17T10:11:05.789Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-17T10:11:05.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-17T10:11:06.050Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-17T10:11:06.162Z] prd-ubuntu20.04-docker-8c-8g-22956 does not seem to be running inside a container [2022-08-17T10:11:06.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-17T10:11:07.768Z] $ docker top bb4f4c377b7aafbb7b3dc220ca2a4e7935103de3385af8c29fa5a14b520e1731 -eo pid,comm [2022-08-17T10:11:07.847Z] 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-08-17T10:11:07.847Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-17T10:11:07.888Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-17T10:11:07.888Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-17T10:11:08.027Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-17T10:11:08.022Z] $ docker exec bb4f4c377b7aafbb7b3dc220ca2a4e7935103de3385af8c29fa5a14b520e1731 ssh-agent [2022-08-17T10:11:08.154Z] SSH_AUTH_SOCK=/tmp/ssh-RJLkBrc2rahJ/agent.33 [2022-08-17T10:11:08.154Z] SSH_AGENT_PID=39 [2022-08-17T10:11:08.161Z] Running ssh-add (command line suppressed) [2022-08-17T10:11:08.263Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_9186266124338726724.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_9186266124338726724.key) [2022-08-17T10:11:08.287Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-17T10:11:08.583Z] + git tag --points-at HEAD [Pipeline] } [2022-08-17T10:11:08.594Z] $ docker exec --env ******** --env ******** bb4f4c377b7aafbb7b3dc220ca2a4e7935103de3385af8c29fa5a14b520e1731 ssh-agent -k [2022-08-17T10:11:08.723Z] unset SSH_AUTH_SOCK; [2022-08-17T10:11:08.723Z] unset SSH_AGENT_PID; [2022-08-17T10:11:08.723Z] echo Agent pid 39 killed; [2022-08-17T10:11:08.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-17T10:11:08.770Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-17T10:11:08.770Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-17T10:11:08.916Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-17T10:11:08.911Z] $ docker exec bb4f4c377b7aafbb7b3dc220ca2a4e7935103de3385af8c29fa5a14b520e1731 ssh-agent [2022-08-17T10:11:09.062Z] SSH_AUTH_SOCK=/tmp/ssh-8Iqpap7OQu6i/agent.73 [2022-08-17T10:11:09.062Z] SSH_AGENT_PID=79 [2022-08-17T10:11:09.068Z] Running ssh-add (command line suppressed) [2022-08-17T10:11:09.181Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_733789456593857591.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_733789456593857591.key) [2022-08-17T10:11:09.208Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-17T10:11:09.504Z] + git semver init [2022-08-17T10:11:09.765Z] 2022-08-17 10:11:09,712 [run_init] DEBUG init version:0.0.0 force:False [2022-08-17T10:11:09.765Z] 2022-08-17 10:11:09,712 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-08-17T10:11:09.765Z] 2022-08-17 10:11:09,713 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-08-17T10:11:09.765Z] 2022-08-17 10:11:09,713 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) [2022-08-17T10:11:10.710Z] 2022-08-17 10:11:10,498 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-08-17T10:11:10.710Z] 2022-08-17 10:11:10,498 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False [2022-08-17T10:11:10.710Z] 2022-08-17 10:11:10,499 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-08-17T10:11:10.710Z] 2022-08-17 10:11:10,503 [execute] INFO git cat-file --batch-check [2022-08-17T10:11:10.710Z] 2022-08-17 10:11:10,503 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-08-17T10:11:10.710Z] 2022-08-17 10:11:10,510 [execute] INFO git cat-file --batch [2022-08-17T10:11:10.710Z] 2022-08-17 10:11:10,510 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-08-17T10:11:10.710Z] 2022-08-17 10:11:10,517 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-08-17T10:11:10.710Z] 0.0.0 [Pipeline] } [2022-08-17T10:11:10.715Z] $ docker exec --env ******** --env ******** bb4f4c377b7aafbb7b3dc220ca2a4e7935103de3385af8c29fa5a14b520e1731 ssh-agent -k [2022-08-17T10:11:10.833Z] unset SSH_AUTH_SOCK; [2022-08-17T10:11:10.833Z] unset SSH_AGENT_PID; [2022-08-17T10:11:10.834Z] echo Agent pid 79 killed; [2022-08-17T10:11:10.852Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-17T10:11:11.168Z] + git semver [Pipeline] } [2022-08-17T10:11:11.437Z] $ docker stop --time=1 bb4f4c377b7aafbb7b3dc220ca2a4e7935103de3385af8c29fa5a14b520e1731 [2022-08-17T10:11:12.768Z] $ docker rm -f bb4f4c377b7aafbb7b3dc220ca2a4e7935103de3385af8c29fa5a14b520e1731 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-17T10:11:13.150Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-17T10:11:13.394Z] Stashed 1 file(s) [Pipeline] echo [2022-08-17T10:11:13.397Z] [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-08-17T10:11:13.517Z] provisioning config files... [2022-08-17T10:11:13.534Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config5138452663707974686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-17T10:11:13.829Z] ---> docker-login.sh [2022-08-17T10:11:13.829Z] nexus3.edgexfoundry.org:10001 [2022-08-17T10:11:13.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-17T10:11:13.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-17T10:11:13.829Z] Configure a credential helper to remove this warning. See [2022-08-17T10:11:13.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-17T10:11:13.829Z] [2022-08-17T10:11:13.829Z] Login Succeeded [2022-08-17T10:11:13.829Z] nexus3.edgexfoundry.org:10002 [2022-08-17T10:11:13.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-17T10:11:14.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-17T10:11:14.090Z] Configure a credential helper to remove this warning. See [2022-08-17T10:11:14.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-17T10:11:14.090Z] [2022-08-17T10:11:14.090Z] Login Succeeded [2022-08-17T10:11:14.090Z] nexus3.edgexfoundry.org:10003 [2022-08-17T10:11:14.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-17T10:11:14.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-17T10:11:14.090Z] Configure a credential helper to remove this warning. See [2022-08-17T10:11:14.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-17T10:11:14.090Z] [2022-08-17T10:11:14.090Z] Login Succeeded [2022-08-17T10:11:14.090Z] nexus3.edgexfoundry.org:10004 [2022-08-17T10:11:14.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-17T10:11:14.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-17T10:11:14.350Z] Configure a credential helper to remove this warning. See [2022-08-17T10:11:14.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-17T10:11:14.350Z] [2022-08-17T10:11:14.350Z] Login Succeeded [2022-08-17T10:11:14.350Z] docker.io [2022-08-17T10:11:14.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-17T10:11:14.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-17T10:11:14.921Z] Configure a credential helper to remove this warning. See [2022-08-17T10:11:14.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-17T10:11:14.921Z] [2022-08-17T10:11:14.921Z] Login Succeeded [2022-08-17T10:11:14.921Z] ---> docker-login.sh ends [Pipeline] } [2022-08-17T10:11:14.931Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-17T10:11:14.996Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-17T10:11:15.012Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-17T10:11:15.021Z] ========================================================= [2022-08-17T10:11:15.021Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-17T10:11:15.021Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-17T10:11:15.348Z] + 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-08-17T10:11:15.348Z] Sending build context to Docker daemon 20.5MB [2022-08-17T10:11:15.348Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-17T10:11:15.348Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-17T10:11:15.611Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-17T10:11:15.611Z] 2408cc74d12b: Pulling fs layer [2022-08-17T10:11:15.611Z] ea60b727a1ce: Pulling fs layer [2022-08-17T10:11:15.611Z] 30c4a7721957: Pulling fs layer [2022-08-17T10:11:15.611Z] 370296b7ddb6: Pulling fs layer [2022-08-17T10:11:15.611Z] 7c6cee850709: Pulling fs layer [2022-08-17T10:11:15.611Z] 39a5fcdaea64: Pulling fs layer [2022-08-17T10:11:15.611Z] d94ebbe4e438: Pulling fs layer [2022-08-17T10:11:15.611Z] bcfd1f05c69d: Pulling fs layer [2022-08-17T10:11:15.611Z] 59ccb84bbe0f: Pulling fs layer [2022-08-17T10:11:15.611Z] 370296b7ddb6: Waiting [2022-08-17T10:11:15.611Z] 7c6cee850709: Waiting [2022-08-17T10:11:15.611Z] 39a5fcdaea64: Waiting [2022-08-17T10:11:15.611Z] d94ebbe4e438: Waiting [2022-08-17T10:11:15.611Z] bcfd1f05c69d: Waiting [2022-08-17T10:11:15.611Z] 59ccb84bbe0f: Waiting [2022-08-17T10:11:15.611Z] 30c4a7721957: Download complete [2022-08-17T10:11:15.611Z] ea60b727a1ce: Verifying Checksum [2022-08-17T10:11:15.611Z] ea60b727a1ce: Download complete [2022-08-17T10:11:15.611Z] 7c6cee850709: Download complete [2022-08-17T10:11:15.611Z] 39a5fcdaea64: Verifying Checksum [2022-08-17T10:11:15.611Z] 39a5fcdaea64: Download complete [2022-08-17T10:11:15.611Z] 2408cc74d12b: Verifying Checksum [2022-08-17T10:11:15.611Z] 2408cc74d12b: Download complete [2022-08-17T10:11:15.611Z] d94ebbe4e438: Download complete [2022-08-17T10:11:15.611Z] 2408cc74d12b: Pull complete [2022-08-17T10:11:15.876Z] ea60b727a1ce: Pull complete [2022-08-17T10:11:15.876Z] 30c4a7721957: Pull complete [2022-08-17T10:11:16.147Z] 59ccb84bbe0f: Verifying Checksum [2022-08-17T10:11:16.147Z] 59ccb84bbe0f: Download complete [2022-08-17T10:11:16.407Z] bcfd1f05c69d: Verifying Checksum [2022-08-17T10:11:16.407Z] bcfd1f05c69d: Download complete [2022-08-17T10:11:16.407Z] 370296b7ddb6: Verifying Checksum [2022-08-17T10:11:16.407Z] 370296b7ddb6: Download complete [2022-08-17T10:11:20.610Z] 370296b7ddb6: Pull complete [2022-08-17T10:11:20.872Z] 7c6cee850709: Pull complete [2022-08-17T10:11:20.872Z] 39a5fcdaea64: Pull complete [2022-08-17T10:11:20.872Z] d94ebbe4e438: Pull complete [2022-08-17T10:11:23.411Z] bcfd1f05c69d: Pull complete [2022-08-17T10:11:23.981Z] 59ccb84bbe0f: Pull complete [2022-08-17T10:11:23.981Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-17T10:11:23.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-17T10:11:23.981Z] ---> a4fb48ad2a94 [2022-08-17T10:11:23.981Z] Step 3/13 : ARG MAKE="make build" [2022-08-17T10:11:25.899Z] ---> Running in 60640eee7352 [2022-08-17T10:11:25.899Z] Removing intermediate container 60640eee7352 [2022-08-17T10:11:25.899Z] ---> 3247040503ff [2022-08-17T10:11:25.899Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-17T10:11:25.899Z] ---> Running in 1013667614a1 [2022-08-17T10:11:25.899Z] Removing intermediate container 1013667614a1 [2022-08-17T10:11:25.899Z] ---> d539be5db772 [2022-08-17T10:11:25.899Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-17T10:11:25.899Z] ---> Running in 73315c87b1d9 [2022-08-17T10:11:25.899Z] Removing intermediate container 73315c87b1d9 [2022-08-17T10:11:25.899Z] ---> e533f1d1110c [2022-08-17T10:11:25.899Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-17T10:11:25.899Z] ---> Running in c390fb26d336 [2022-08-17T10:11:26.161Z] Removing intermediate container c390fb26d336 [2022-08-17T10:11:26.161Z] ---> 00cc7d1b8181 [2022-08-17T10:11:26.161Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-17T10:11:26.161Z] ---> Running in 2d9157a82cb1 [2022-08-17T10:11:26.732Z] Removing intermediate container 2d9157a82cb1 [2022-08-17T10:11:26.732Z] ---> fb574bf87235 [2022-08-17T10:11:26.732Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-17T10:11:26.732Z] ---> Running in 5bc1bfe8a2cf [2022-08-17T10:11:26.995Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-17T10:11:27.943Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-17T10:11:28.216Z] OK: 211 MiB in 51 packages [2022-08-17T10:11:28.483Z] Still waiting to schedule task [2022-08-17T10:11:28.483Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-17T10:11:28.790Z] Removing intermediate container 5bc1bfe8a2cf [2022-08-17T10:11:28.790Z] ---> d8e25ded31fb [2022-08-17T10:11:28.790Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-17T10:11:28.790Z] ---> Running in 10d216f0c852 [2022-08-17T10:11:28.790Z] Removing intermediate container 10d216f0c852 [2022-08-17T10:11:28.790Z] ---> 86351125b941 [2022-08-17T10:11:28.790Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-17T10:11:28.790Z] ---> 7f26bf35b7c0 [2022-08-17T10:11:28.790Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-17T10:11:29.051Z] ---> Running in 900879354edb [2022-08-17T10:11:51.040Z] Removing intermediate container 900879354edb [2022-08-17T10:11:51.040Z] ---> 4283100eb8f3 [2022-08-17T10:11:51.040Z] Step 12/13 : COPY . . [2022-08-17T10:11:51.040Z] ---> d8ffa9f7f79f [2022-08-17T10:11:51.040Z] Step 13/13 : RUN ${MAKE} [2022-08-17T10:11:51.040Z] ---> Running in 9b3dcbd31f31 [2022-08-17T10:11:51.040Z] noop [2022-08-17T10:11:51.040Z] Removing intermediate container 9b3dcbd31f31 [2022-08-17T10:11:51.040Z] ---> b1c0a6486af4 [2022-08-17T10:11:51.040Z] Successfully built b1c0a6486af4 [2022-08-17T10:11:51.040Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-17T10:11:51.370Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-17T10:11:51.370Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-17T10:11:51.465Z] prd-ubuntu20.04-docker-8c-8g-22956 does not seem to be running inside a container [2022-08-17T10:11:51.513Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-17T10:11:51.902Z] $ docker top d703d08d53483bdd1bf40055583ec3d3da25bf326fed3752a3dc95f3b713f1c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-17T10:11:52.265Z] + go version [2022-08-17T10:11:52.265Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-17T10:11:52.288Z] $ docker stop --time=1 d703d08d53483bdd1bf40055583ec3d3da25bf326fed3752a3dc95f3b713f1c6 [2022-08-17T10:11:53.608Z] $ docker rm -f d703d08d53483bdd1bf40055583ec3d3da25bf326fed3752a3dc95f3b713f1c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-17T10:11:54.052Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-17T10:11:54.052Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-17T10:11:54.180Z] prd-ubuntu20.04-docker-8c-8g-22956 does not seem to be running inside a container [2022-08-17T10:11:54.279Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-17T10:11:54.660Z] $ docker top 5c64180e4fe77109369194c16da3fc6db1e5f4179ca88c4ca018d70af8aba1d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-17T10:11:55.013Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-08-17T10:11:55.318Z] + make test [2022-08-17T10:11:55.318Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-17T10:11:55.578Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-17T10:12:07.807Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-17T10:12:07.807Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.025s coverage: 10.6% of statements [2022-08-17T10:12:07.807Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-17T10:12:11.107Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 6.142s coverage: 13.8% of statements [2022-08-17T10:12:19.250Z] 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-08-17T10:12:19.250Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-17T10:12:21.790Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-17T10:12:21.790Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-17T10:12:21.790Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-17T10:12:21.804Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-17T10:12:21.827Z] $ docker stop --time=1 5c64180e4fe77109369194c16da3fc6db1e5f4179ca88c4ca018d70af8aba1d6 [2022-08-17T10:12:23.722Z] $ docker rm -f 5c64180e4fe77109369194c16da3fc6db1e5f4179ca88c4ca018d70af8aba1d6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-17T10:12:24.179Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-17T10:12:24.227Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-17T10:12:24.764Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-17T10:12:25.057Z] + ls -al . [2022-08-17T10:12:25.057Z] total 232 [2022-08-17T10:12:25.057Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 17 10:11 . [2022-08-17T10:12:25.057Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 10:10 .. [2022-08-17T10:12:25.057Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 10:12 .git [2022-08-17T10:12:25.057Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 10:10 .github [2022-08-17T10:12:25.057Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 17 10:10 .gitignore [2022-08-17T10:12:25.057Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 17 10:10 .golangci.yml [2022-08-17T10:12:25.057Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 17 10:11 .semver [2022-08-17T10:12:25.057Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 17 10:10 Attribution.txt [2022-08-17T10:12:25.057Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 17 10:10 CHANGELOG.md [2022-08-17T10:12:25.057Z] -rw-rw-r-- 1 jenkins jenkins 1742 Aug 17 10:10 Dockerfile [2022-08-17T10:12:25.057Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 17 10:10 GOVERNANCE.md [2022-08-17T10:12:25.057Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 17 10:10 Jenkinsfile [2022-08-17T10:12:25.057Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 17 10:10 LICENSE [2022-08-17T10:12:25.057Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 17 10:10 Makefile [2022-08-17T10:12:25.057Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 17 10:10 OWNERS.md [2022-08-17T10:12:25.057Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 17 10:10 README.md [2022-08-17T10:12:25.057Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 17 10:11 VERSION [2022-08-17T10:12:25.057Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 10:10 bin [2022-08-17T10:12:25.057Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 10:10 cmd [2022-08-17T10:12:25.057Z] -rw-r--r-- 1 jenkins jenkins 76854 Aug 17 10:12 coverage.out [2022-08-17T10:12:25.057Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 17 10:10 doc [2022-08-17T10:12:25.057Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 17 10:10 go.mod [2022-08-17T10:12:25.057Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 17 10:10 go.sum [2022-08-17T10:12:25.057Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 10:10 internal [2022-08-17T10:12:25.057Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 10:10 snap [2022-08-17T10:12:25.057Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 17 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-17T10:12:25.381Z] + 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=1d3742651726644f3f9bf79e2aebff6ef3031127 --label arch=amd64 --label version=0.0.0 . [2022-08-17T10:12:25.381Z] Sending build context to Docker daemon 20.58MB [2022-08-17T10:12:25.381Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-08-17T10:12:25.381Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-17T10:12:25.381Z] ---> b1c0a6486af4 [2022-08-17T10:12:25.381Z] Step 3/27 : ARG MAKE="make build" [2022-08-17T10:12:25.641Z] ---> Running in c7ec76cb7f7c [2022-08-17T10:12:25.641Z] Removing intermediate container c7ec76cb7f7c [2022-08-17T10:12:25.641Z] ---> 7fb1f97da16a [2022-08-17T10:12:25.641Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-17T10:12:25.641Z] ---> Running in 4530d6080c87 [2022-08-17T10:12:25.641Z] Removing intermediate container 4530d6080c87 [2022-08-17T10:12:25.641Z] ---> 74976b86406e [2022-08-17T10:12:25.641Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-17T10:12:25.903Z] ---> Running in c201d3094dbe [2022-08-17T10:12:25.903Z] Removing intermediate container c201d3094dbe [2022-08-17T10:12:25.903Z] ---> c9fae67e279a [2022-08-17T10:12:25.903Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-08-17T10:12:25.903Z] ---> Running in 03ed86d78059 [2022-08-17T10:12:25.903Z] Removing intermediate container 03ed86d78059 [2022-08-17T10:12:25.903Z] ---> 68562e3464fc [2022-08-17T10:12:25.903Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-17T10:12:26.163Z] ---> Running in b03a7bcd1332 [2022-08-17T10:12:26.737Z] Removing intermediate container b03a7bcd1332 [2022-08-17T10:12:26.737Z] ---> 2af9179ff9de [2022-08-17T10:12:26.737Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-17T10:12:26.737Z] ---> Running in 5129a4370dd8 [2022-08-17T10:12:26.998Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-17T10:12:27.941Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-17T10:12:27.941Z] OK: 211 MiB in 51 packages [2022-08-17T10:12:28.514Z] Removing intermediate container 5129a4370dd8 [2022-08-17T10:12:28.514Z] ---> ad381ae772de [2022-08-17T10:12:28.514Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-08-17T10:12:28.514Z] ---> Running in dc0438626f5e [2022-08-17T10:12:28.514Z] Removing intermediate container dc0438626f5e [2022-08-17T10:12:28.514Z] ---> b93c7ee36f4c [2022-08-17T10:12:28.514Z] Step 10/27 : COPY go.mod vendor* ./ [2022-08-17T10:12:28.774Z] ---> 97762ba49d2f [2022-08-17T10:12:28.774Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-17T10:12:28.774Z] ---> Running in 385fcc1a2f62 [2022-08-17T10:12:29.348Z] Removing intermediate container 385fcc1a2f62 [2022-08-17T10:12:29.348Z] ---> 5ba7477d0fe7 [2022-08-17T10:12:29.348Z] Step 12/27 : COPY . . [2022-08-17T10:12:29.917Z] ---> 8d9076aa8607 [2022-08-17T10:12:29.917Z] Step 13/27 : RUN ${MAKE} [2022-08-17T10:12:29.917Z] ---> Running in 441c47ac860b [2022-08-17T10:12:30.178Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-17T10:12:52.160Z] Removing intermediate container 441c47ac860b [2022-08-17T10:12:52.160Z] ---> b7b720624cf1 [2022-08-17T10:12:52.160Z] Step 14/27 : FROM alpine:3.16 [2022-08-17T10:12:52.160Z] 3.16: Pulling from library/alpine [2022-08-17T10:12:52.160Z] 213ec9aee27d: Pulling fs layer [2022-08-17T10:12:52.160Z] 213ec9aee27d: Verifying Checksum [2022-08-17T10:12:52.160Z] 213ec9aee27d: Download complete [2022-08-17T10:12:52.160Z] 213ec9aee27d: Pull complete [2022-08-17T10:12:52.160Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-17T10:12:52.160Z] Status: Downloaded newer image for alpine:3.16 [2022-08-17T10:12:52.160Z] ---> 9c6f07244728 [2022-08-17T10:12:52.160Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-17T10:12:52.160Z] ---> Running in 94cc834a300c [2022-08-17T10:12:52.160Z] Removing intermediate container 94cc834a300c [2022-08-17T10:12:52.160Z] ---> 04bc08f5fb79 [2022-08-17T10:12:52.160Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-08-17T10:12:52.160Z] ---> Running in 2863886cf28e [2022-08-17T10:12:52.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-17T10:12:52.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-17T10:12:52.160Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-08-17T10:12:52.160Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-08-17T10:12:52.160Z] (3/21) Installing readline (8.1.2-r0) [2022-08-17T10:12:52.160Z] (4/21) Installing bash (5.1.16-r2) [2022-08-17T10:12:52.160Z] Executing bash-5.1.16-r2.post-install [2022-08-17T10:12:52.160Z] (5/21) Installing ca-certificates (20220614-r0) [2022-08-17T10:12:52.160Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-08-17T10:12:52.160Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-08-17T10:12:52.160Z] (8/21) Installing libcurl (7.83.1-r2) [2022-08-17T10:12:52.160Z] (9/21) Installing curl (7.83.1-r2) [2022-08-17T10:12:52.160Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-08-17T10:12:52.160Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-08-17T10:12:52.160Z] (12/21) Installing jq (1.6-r1) [2022-08-17T10:12:52.160Z] (13/21) Installing popt (1.18-r0) [2022-08-17T10:12:52.160Z] (14/21) Installing pcre (8.45-r2) [2022-08-17T10:12:52.160Z] (15/21) Installing slang (2.3.2-r0) [2022-08-17T10:12:52.160Z] (16/21) Installing newt (0.52.21-r2) [2022-08-17T10:12:52.160Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-08-17T10:12:52.161Z] (18/21) Installing libsodium (1.0.18-r0) [2022-08-17T10:12:52.161Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-17T10:12:52.161Z] (20/21) Installing libzmq (4.3.4-r0) [2022-08-17T10:12:52.161Z] (21/21) Installing zeromq (4.3.4-r0) [2022-08-17T10:12:52.161Z] Executing busybox-1.35.0-r17.trigger [2022-08-17T10:12:52.161Z] Executing ca-certificates-20220614-r0.trigger [2022-08-17T10:12:52.161Z] OK: 17 MiB in 35 packages [2022-08-17T10:12:52.161Z] Removing intermediate container 2863886cf28e [2022-08-17T10:12:52.161Z] ---> f587fe6d9cbb [2022-08-17T10:12:52.161Z] Step 17/27 : WORKDIR / [2022-08-17T10:12:52.161Z] ---> Running in 05266c007d05 [2022-08-17T10:12:52.161Z] Removing intermediate container 05266c007d05 [2022-08-17T10:12:52.161Z] ---> 18aa9bbfcbbf [2022-08-17T10:12:52.161Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-17T10:12:52.422Z] ---> c28618300b07 [2022-08-17T10:12:52.422Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-17T10:12:52.422Z] ---> 2a1c9852081e [2022-08-17T10:12:52.422Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-17T10:12:52.684Z] ---> 337a472f1f83 [2022-08-17T10:12:52.684Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-08-17T10:12:52.684Z] ---> dec0c8eec4e9 [2022-08-17T10:12:52.684Z] Step 22/27 : EXPOSE 59984 [2022-08-17T10:12:52.684Z] ---> Running in 73714eef0dbd [2022-08-17T10:12:52.946Z] Removing intermediate container 73714eef0dbd [2022-08-17T10:12:52.946Z] ---> 67e6102f4222 [2022-08-17T10:12:52.946Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-17T10:12:52.946Z] ---> Running in 83cad1c2a874 [2022-08-17T10:12:52.946Z] Removing intermediate container 83cad1c2a874 [2022-08-17T10:12:52.946Z] ---> fddb5e851126 [2022-08-17T10:12:52.946Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-17T10:12:52.946Z] ---> Running in 98f07ff2f37e [2022-08-17T10:12:53.207Z] Removing intermediate container 98f07ff2f37e [2022-08-17T10:12:53.207Z] ---> 6d9d9506535b [2022-08-17T10:12:53.207Z] Step 25/27 : LABEL arch=amd64 [2022-08-17T10:12:53.207Z] ---> Running in f048bcfe1344 [2022-08-17T10:12:53.207Z] Removing intermediate container f048bcfe1344 [2022-08-17T10:12:53.207Z] ---> 0b83d3b5bc74 [2022-08-17T10:12:53.207Z] Step 26/27 : LABEL git_sha=1d3742651726644f3f9bf79e2aebff6ef3031127 [2022-08-17T10:12:53.207Z] ---> Running in 1395a52f8f1a [2022-08-17T10:12:53.469Z] Removing intermediate container 1395a52f8f1a [2022-08-17T10:12:53.469Z] ---> 8798011641cd [2022-08-17T10:12:53.469Z] Step 27/27 : LABEL version=0.0.0 [2022-08-17T10:12:53.469Z] ---> Running in 89b60c478a2e [2022-08-17T10:12:53.469Z] Removing intermediate container 89b60c478a2e [2022-08-17T10:12:53.469Z] ---> 3c3f5f050e0a [2022-08-17T10:12:53.469Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-17T10:12:53.469Z] Successfully built 3c3f5f050e0a [2022-08-17T10:12:53.469Z] 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-08-17T10:12:53.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-17T10:12:53.949Z] [2022-08-17T10:12:53.949Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-17T10:12:54.253Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-17T10:12:54.253Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-17T10:12:54.253Z] 5eb5b503b376: Pulling fs layer [2022-08-17T10:12:54.253Z] 5c69ac0246d0: Pulling fs layer [2022-08-17T10:12:54.253Z] ec43610c2a17: Pulling fs layer [2022-08-17T10:12:54.253Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-17T10:12:54.253Z] 33b1e0a273af: Pulling fs layer [2022-08-17T10:12:54.253Z] 5d3b04190fa2: Pulling fs layer [2022-08-17T10:12:54.253Z] 2f39f015ded8: Pulling fs layer [2022-08-17T10:12:54.253Z] 33b1e0a273af: Waiting [2022-08-17T10:12:54.253Z] 5d3b04190fa2: Waiting [2022-08-17T10:12:54.253Z] 3a2ae6a8a46f: Waiting [2022-08-17T10:12:54.253Z] 5c69ac0246d0: Download complete [2022-08-17T10:12:54.253Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-17T10:12:54.253Z] 3a2ae6a8a46f: Download complete [2022-08-17T10:12:54.253Z] 33b1e0a273af: Verifying Checksum [2022-08-17T10:12:54.253Z] 33b1e0a273af: Download complete [2022-08-17T10:12:54.517Z] 5d3b04190fa2: Download complete [2022-08-17T10:12:54.517Z] ec43610c2a17: Verifying Checksum [2022-08-17T10:12:54.517Z] ec43610c2a17: Download complete [2022-08-17T10:12:54.517Z] 5eb5b503b376: Verifying Checksum [2022-08-17T10:12:54.517Z] 5eb5b503b376: Download complete [2022-08-17T10:12:55.088Z] 2f39f015ded8: Download complete [2022-08-17T10:12:56.028Z] 5eb5b503b376: Pull complete [2022-08-17T10:12:56.028Z] 5c69ac0246d0: Pull complete [2022-08-17T10:12:56.289Z] ec43610c2a17: Pull complete [2022-08-17T10:12:56.548Z] 3a2ae6a8a46f: Pull complete [2022-08-17T10:12:56.809Z] 33b1e0a273af: Pull complete [2022-08-17T10:12:56.809Z] 5d3b04190fa2: Pull complete [2022-08-17T10:13:01.010Z] 2f39f015ded8: Pull complete [2022-08-17T10:13:01.010Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-17T10:13:01.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-17T10:13:01.010Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-17T10:13:01.120Z] prd-ubuntu20.04-docker-8c-8g-22956 does not seem to be running inside a container [2022-08-17T10:13:01.173Z] $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-17T10:13:02.784Z] $ docker top 205e14a04e82dac5aea12a357401251b52513d6fe2599927acdf06e82002387f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-17T10:13:03.202Z] ---> job-cost.sh [2022-08-17T10:13:03.203Z] lf-activate-venv: SKIPPING [2022-08-17T10:13:03.203Z] INFO: No Stack... [2022-08-17T10:13:03.462Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-17T10:13:04.031Z] INFO: Archiving Costs [Pipeline] sh [2022-08-17T10:13:04.340Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-08-17T10:13:04.340Z] + cut -d, -f6 [Pipeline] lock [2022-08-17T10:13:04.356Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-6-stack-cost] [2022-08-17T10:13:04.366Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-6-stack-cost] did not exist. Created. [2022-08-17T10:13:04.366Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-17T10:13:04.686Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-17T10:13:04.717Z] Stashed 1 file(s) [Pipeline] } [2022-08-17T10:13:04.723Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-17T10:13:04.755Z] $ docker stop --time=1 205e14a04e82dac5aea12a357401251b52513d6fe2599927acdf06e82002387f [2022-08-17T10:13:05.936Z] $ docker rm -f 205e14a04e82dac5aea12a357401251b52513d6fe2599927acdf06e82002387f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-17T10:13:10.720Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22957 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-08-17T10:13:10.732Z] Running in /w/workspace/device-onvif-camera/6 [Pipeline] { [Pipeline] checkout [2022-08-17T10:13:10.786Z] Selected Git installation does not exist. Using Default [2022-08-17T10:13:10.787Z] The recommended git tool is: NONE [2022-08-17T10:13:17.903Z] using credential edgex-jenkins-ssh [2022-08-17T10:13:17.924Z] Cloning the remote Git repository [2022-08-17T10:13:18.061Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-17T10:13:18.181Z] > git init /w/workspace/device-onvif-camera/6 # timeout=10 [2022-08-17T10:13:18.257Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-17T10:13:18.257Z] > git --version # timeout=10 [2022-08-17T10:13:18.274Z] > git --version # 'git version 2.25.1' [2022-08-17T10:13:18.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-17T10:13:18.448Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-17T10:13:20.306Z] Merging remotes/origin/main commit a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-08-17T10:13:19.676Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-17T10:13:19.704Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-17T10:13:19.731Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-17T10:13:19.774Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-17T10:13:19.775Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-17T10:13:19.796Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-17T10:13:20.327Z] > git config core.sparsecheckout # timeout=10 [2022-08-17T10:13:20.359Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-08-17T10:13:21.074Z] Merge succeeded, producing 54a616185e58ca27ef124d4b0ab3c0f1615a7fbe [2022-08-17T10:13:21.074Z] Checking out Revision 54a616185e58ca27ef124d4b0ab3c0f1615a7fbe (PR-125) [2022-08-17T10:13:20.605Z] > git remote # timeout=10 [2022-08-17T10:13:20.631Z] > git config --get remote.origin.url # timeout=10 [2022-08-17T10:13:20.647Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-17T10:13:20.661Z] > git merge a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 # timeout=10 [2022-08-17T10:13:21.057Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-17T10:13:21.081Z] > git config core.sparsecheckout # timeout=10 [2022-08-17T10:13:21.107Z] > git checkout -f 54a616185e58ca27ef124d4b0ab3c0f1615a7fbe # timeout=10 [2022-08-17T10:13:25.247Z] Commit message: "Merge commit 'a7f4bbdd92e86766513fcb71b61d6b3a5793edb3' into HEAD" [2022-08-17T10:13:25.272Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-17T10:13:26.190Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-17T10:13:26.190Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-17T10:13:26.190Z] Dload Upload Total Spent Left Speed [2022-08-17T10:13:26.190Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 90676 0 --:--:-- --:--:-- --:--:-- 90014 [2022-08-17T10:13:25.255Z] > git rev-list --no-walk 0b086b11444ac4aaa19ffe84290587416c982765 # timeout=10 [Pipeline] sh [2022-08-17T10:13:26.969Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-17T10:13:27.329Z] + sudo tee /etc/docker/daemon.new [2022-08-17T10:13:27.329Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-17T10:13:27.329Z] { [2022-08-17T10:13:27.329Z] "registry-mirrors": [ [2022-08-17T10:13:27.329Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-17T10:13:27.329Z] ], [2022-08-17T10:13:27.329Z] "bip": "10.250.0.254/24", [2022-08-17T10:13:27.329Z] "hosts": [ [2022-08-17T10:13:27.329Z] "tcp://0.0.0.0:5555", [2022-08-17T10:13:27.329Z] "unix:///var/run/docker.sock" [2022-08-17T10:13:27.329Z] ], [2022-08-17T10:13:27.329Z] "mtu": 1458, [2022-08-17T10:13:27.329Z] "selinux-enabled": true, [2022-08-17T10:13:27.329Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-17T10:13:27.329Z] } [Pipeline] sh [2022-08-17T10:13:27.668Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-17T10:13:28.006Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-17T10:13:46.347Z] provisioning config files... [2022-08-17T10:13:46.369Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/6@tmp/config842590241778798929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-17T10:13:46.728Z] ---> docker-login.sh [2022-08-17T10:13:46.728Z] nexus3.edgexfoundry.org:10001 [2022-08-17T10:13:47.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-17T10:13:47.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-17T10:13:47.601Z] Configure a credential helper to remove this warning. See [2022-08-17T10:13:47.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-17T10:13:47.601Z] [2022-08-17T10:13:47.601Z] Login Succeeded [2022-08-17T10:13:47.601Z] nexus3.edgexfoundry.org:10002 [2022-08-17T10:13:47.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-17T10:13:47.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-17T10:13:47.873Z] Configure a credential helper to remove this warning. See [2022-08-17T10:13:47.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-17T10:13:47.873Z] [2022-08-17T10:13:48.149Z] Login Succeeded [2022-08-17T10:13:48.149Z] nexus3.edgexfoundry.org:10003 [2022-08-17T10:13:48.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-17T10:13:48.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-17T10:13:48.424Z] Configure a credential helper to remove this warning. See [2022-08-17T10:13:48.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-17T10:13:48.424Z] [2022-08-17T10:13:48.424Z] Login Succeeded [2022-08-17T10:13:48.424Z] nexus3.edgexfoundry.org:10004 [2022-08-17T10:13:49.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-17T10:13:49.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-17T10:13:49.025Z] Configure a credential helper to remove this warning. See [2022-08-17T10:13:49.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-17T10:13:49.025Z] [2022-08-17T10:13:49.025Z] Login Succeeded [2022-08-17T10:13:49.025Z] docker.io [2022-08-17T10:13:49.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-17T10:13:49.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-17T10:13:49.570Z] Configure a credential helper to remove this warning. See [2022-08-17T10:13:49.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-17T10:13:49.570Z] [2022-08-17T10:13:49.570Z] Login Succeeded [2022-08-17T10:13:49.843Z] ---> docker-login.sh ends [Pipeline] } [2022-08-17T10:13:49.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-17T10:13:50.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-17T10:13:50.378Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-17T10:13:50.392Z] ========================================================= [2022-08-17T10:13:50.392Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-17T10:13:50.392Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-17T10:13:50.750Z] + 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-08-17T10:13:51.346Z] Sending build context to Docker daemon 14.04MB [2022-08-17T10:13:51.346Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-17T10:13:51.346Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-17T10:13:51.622Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-17T10:13:51.622Z] b3c136eddcbf: Pulling fs layer [2022-08-17T10:13:51.622Z] c0a3192eca97: Pulling fs layer [2022-08-17T10:13:51.622Z] a050256f5b6f: Pulling fs layer [2022-08-17T10:13:51.622Z] 656be50a0ddc: Pulling fs layer [2022-08-17T10:13:51.622Z] 2bbca73fdf42: Pulling fs layer [2022-08-17T10:13:51.622Z] 46d945488cbd: Pulling fs layer [2022-08-17T10:13:51.622Z] 8a5474983e97: Pulling fs layer [2022-08-17T10:13:51.622Z] 329c88fbcd65: Pulling fs layer [2022-08-17T10:13:51.622Z] 2bbca73fdf42: Waiting [2022-08-17T10:13:51.622Z] 46d945488cbd: Waiting [2022-08-17T10:13:51.622Z] 8a5474983e97: Waiting [2022-08-17T10:13:51.622Z] 329c88fbcd65: Waiting [2022-08-17T10:13:51.622Z] 656be50a0ddc: Waiting [2022-08-17T10:13:51.622Z] a050256f5b6f: Download complete [2022-08-17T10:13:51.622Z] c0a3192eca97: Verifying Checksum [2022-08-17T10:13:51.622Z] c0a3192eca97: Download complete [2022-08-17T10:13:51.622Z] 2bbca73fdf42: Verifying Checksum [2022-08-17T10:13:51.622Z] 2bbca73fdf42: Download complete [2022-08-17T10:13:51.622Z] 46d945488cbd: Download complete [2022-08-17T10:13:51.622Z] b3c136eddcbf: Verifying Checksum [2022-08-17T10:13:51.622Z] b3c136eddcbf: Download complete [2022-08-17T10:13:52.620Z] b3c136eddcbf: Pull complete [2022-08-17T10:13:52.620Z] 329c88fbcd65: Verifying Checksum [2022-08-17T10:13:52.620Z] 329c88fbcd65: Download complete [2022-08-17T10:13:53.224Z] c0a3192eca97: Pull complete [2022-08-17T10:13:53.502Z] a050256f5b6f: Pull complete [2022-08-17T10:13:53.776Z] 8a5474983e97: Verifying Checksum [2022-08-17T10:13:53.776Z] 8a5474983e97: Download complete [2022-08-17T10:13:54.372Z] 656be50a0ddc: Verifying Checksum [2022-08-17T10:13:54.372Z] 656be50a0ddc: Download complete [2022-08-17T10:14:09.458Z] 656be50a0ddc: Pull complete [2022-08-17T10:14:09.458Z] 2bbca73fdf42: Pull complete [2022-08-17T10:14:09.458Z] 46d945488cbd: Pull complete [2022-08-17T10:14:14.886Z] 8a5474983e97: Pull complete [2022-08-17T10:14:16.332Z] 329c88fbcd65: Pull complete [2022-08-17T10:14:16.332Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-17T10:14:16.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-17T10:14:16.332Z] ---> ff4287adb874 [2022-08-17T10:14:16.332Z] Step 3/13 : ARG MAKE="make build" [2022-08-17T10:14:17.315Z] ---> Running in 033a1c01348e [2022-08-17T10:14:17.315Z] Removing intermediate container 033a1c01348e [2022-08-17T10:14:17.315Z] ---> 5ce15bdb811c [2022-08-17T10:14:17.315Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-17T10:14:17.588Z] ---> Running in 4a44b30b495a [2022-08-17T10:14:17.863Z] Removing intermediate container 4a44b30b495a [2022-08-17T10:14:17.863Z] ---> b83a76c70c6b [2022-08-17T10:14:17.863Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-17T10:14:17.863Z] ---> Running in 3c32f64ef084 [2022-08-17T10:14:18.139Z] Removing intermediate container 3c32f64ef084 [2022-08-17T10:14:18.139Z] ---> dfc376aeb3a1 [2022-08-17T10:14:18.139Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-17T10:14:18.139Z] ---> Running in af7c3312b731 [2022-08-17T10:14:18.413Z] Removing intermediate container af7c3312b731 [2022-08-17T10:14:18.413Z] ---> 3c164980d6c7 [2022-08-17T10:14:18.413Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-17T10:14:18.685Z] ---> Running in aae720a3e22d [2022-08-17T10:14:20.130Z] Removing intermediate container aae720a3e22d [2022-08-17T10:14:20.130Z] ---> dc34c465fa97 [2022-08-17T10:14:20.130Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-17T10:14:20.416Z] ---> Running in 07cec03373cd [2022-08-17T10:14:21.414Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-17T10:14:22.399Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-17T10:14:23.008Z] OK: 221 MiB in 51 packages [2022-08-17T10:14:23.992Z] Removing intermediate container 07cec03373cd [2022-08-17T10:14:23.992Z] ---> 45b9b52ce8f5 [2022-08-17T10:14:23.992Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-17T10:14:23.992Z] ---> Running in 973d60d86525 [2022-08-17T10:14:24.270Z] Removing intermediate container 973d60d86525 [2022-08-17T10:14:24.270Z] ---> 489ccd3458e2 [2022-08-17T10:14:24.270Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-17T10:14:24.867Z] ---> f9f7dd874098 [2022-08-17T10:14:24.867Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-17T10:14:24.867Z] ---> Running in 842a84b7ef4f [2022-08-17T10:15:21.428Z] Removing intermediate container 842a84b7ef4f [2022-08-17T10:15:21.428Z] ---> 634578910d6a [2022-08-17T10:15:21.428Z] Step 12/13 : COPY . . [2022-08-17T10:15:21.428Z] ---> dc14645f1c3d [2022-08-17T10:15:21.428Z] Step 13/13 : RUN ${MAKE} [2022-08-17T10:15:21.428Z] ---> Running in ecb84adfb7d8 [2022-08-17T10:15:21.428Z] noop [2022-08-17T10:15:21.428Z] Removing intermediate container ecb84adfb7d8 [2022-08-17T10:15:21.428Z] ---> d32194d6f188 [2022-08-17T10:15:21.428Z] Successfully built d32194d6f188 [2022-08-17T10:15:21.428Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-17T10:15:21.798Z] + docker inspect -f . ci-base-image-arm64 [2022-08-17T10:15:21.798Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-17T10:15:22.038Z] prd-ubuntu20.04-docker-arm64-4c-16g-22957 does not seem to be running inside a container [2022-08-17T10:15:22.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-17T10:15:23.427Z] $ docker top c75bdc11101bb2163d409dbbb65516c6d7d7de29877c5bec9e73a1f050e5cac2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-17T10:15:24.348Z] + go version [2022-08-17T10:15:24.348Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-17T10:15:24.375Z] $ docker stop --time=1 c75bdc11101bb2163d409dbbb65516c6d7d7de29877c5bec9e73a1f050e5cac2 [2022-08-17T10:15:26.002Z] $ docker rm -f c75bdc11101bb2163d409dbbb65516c6d7d7de29877c5bec9e73a1f050e5cac2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-17T10:15:26.636Z] + docker inspect -f . ci-base-image-arm64 [2022-08-17T10:15:26.636Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-17T10:15:26.868Z] prd-ubuntu20.04-docker-arm64-4c-16g-22957 does not seem to be running inside a container [2022-08-17T10:15:26.957Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-17T10:15:28.146Z] $ docker top 0a9fb93ad169758827a1098f15216d93a0531dc4cf56dc4c78515c62593a4599 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-17T10:15:29.036Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/6 [Pipeline] fileExists [Pipeline] sh [2022-08-17T10:15:29.713Z] + make test [2022-08-17T10:15:29.713Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-17T10:15:31.151Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-17T10:16:53.011Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-17T10:16:59.754Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.124s coverage: 10.6% of statements [2022-08-17T10:16:59.754Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-17T10:17:26.542Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.070s coverage: 13.8% of statements [2022-08-17T10:17:26.542Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-17T10:17:26.542Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-17T10:17:44.904Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-17T10:17:44.904Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-17T10:17:44.904Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-17T10:17:44.927Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-17T10:17:44.940Z] $ docker stop --time=1 0a9fb93ad169758827a1098f15216d93a0531dc4cf56dc4c78515c62593a4599 [2022-08-17T10:17:46.730Z] $ docker rm -f 0a9fb93ad169758827a1098f15216d93a0531dc4cf56dc4c78515c62593a4599 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-17T10:17:47.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-17T10:17:47.759Z] Warning: overwriting stash ‘coverage-report’ [2022-08-17T10:17:48.288Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-17T10:17:48.671Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-17T10:17:49.002Z] + ls -al . [2022-08-17T10:17:49.002Z] total 228 [2022-08-17T10:17:49.002Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 17 10:15 . [2022-08-17T10:17:49.002Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 10:13 .. [2022-08-17T10:17:49.002Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 17 10:13 .git [2022-08-17T10:17:49.002Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 10:13 .github [2022-08-17T10:17:49.002Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 17 10:13 .gitignore [2022-08-17T10:17:49.002Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 17 10:13 .golangci.yml [2022-08-17T10:17:49.002Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 17 10:13 Attribution.txt [2022-08-17T10:17:49.002Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 17 10:13 CHANGELOG.md [2022-08-17T10:17:49.002Z] -rw-rw-r-- 1 jenkins jenkins 1742 Aug 17 10:13 Dockerfile [2022-08-17T10:17:49.002Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 17 10:13 GOVERNANCE.md [2022-08-17T10:17:49.002Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 17 10:13 Jenkinsfile [2022-08-17T10:17:49.002Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 17 10:13 LICENSE [2022-08-17T10:17:49.002Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 17 10:13 Makefile [2022-08-17T10:17:49.002Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 17 10:13 OWNERS.md [2022-08-17T10:17:49.002Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 17 10:13 README.md [2022-08-17T10:17:49.002Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 17 10:11 VERSION [2022-08-17T10:17:49.002Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 17 10:13 bin [2022-08-17T10:17:49.002Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 17 10:13 cmd [2022-08-17T10:17:49.002Z] -rw-r--r-- 1 jenkins jenkins 76854 Aug 17 10:17 coverage.out [2022-08-17T10:17:49.002Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 17 10:13 doc [2022-08-17T10:17:49.002Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 17 10:13 go.mod [2022-08-17T10:17:49.002Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 17 10:13 go.sum [2022-08-17T10:17:49.002Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 10:13 internal [2022-08-17T10:17:49.002Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 17 10:13 snap [2022-08-17T10:17:49.002Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 17 10:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-17T10:17:49.355Z] + 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=54a616185e58ca27ef124d4b0ab3c0f1615a7fbe --label arch=arm64 --label version=0.0.0 . [2022-08-17T10:17:49.955Z] Sending build context to Docker daemon 14.12MB [2022-08-17T10:17:49.955Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-08-17T10:17:49.955Z] Step 2/27 : FROM ${BASE} AS builder [2022-08-17T10:17:49.955Z] ---> d32194d6f188 [2022-08-17T10:17:49.955Z] Step 3/27 : ARG MAKE="make build" [2022-08-17T10:17:49.955Z] ---> Running in d8b0b820e57d [2022-08-17T10:17:50.228Z] Removing intermediate container d8b0b820e57d [2022-08-17T10:17:50.228Z] ---> 3e138ecafb40 [2022-08-17T10:17:50.228Z] Step 4/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-17T10:17:50.501Z] ---> Running in def566882339 [2022-08-17T10:17:50.774Z] Removing intermediate container def566882339 [2022-08-17T10:17:50.774Z] ---> f73b02e61b91 [2022-08-17T10:17:50.774Z] Step 5/27 : ARG ALPINE_PKG_EXTRA="" [2022-08-17T10:17:50.774Z] ---> Running in 252d1ce15dda [2022-08-17T10:17:51.051Z] Removing intermediate container 252d1ce15dda [2022-08-17T10:17:51.052Z] ---> a677881996b8 [2022-08-17T10:17:51.052Z] Step 6/27 : LABEL Name=edgex-device-onvif-camera [2022-08-17T10:17:51.325Z] ---> Running in 46260eaa8d81 [2022-08-17T10:17:51.604Z] Removing intermediate container 46260eaa8d81 [2022-08-17T10:17:51.604Z] ---> 3a6f77f7595a [2022-08-17T10:17:51.604Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-17T10:17:51.604Z] ---> Running in e9b4a8654f94 [2022-08-17T10:17:53.589Z] Removing intermediate container e9b4a8654f94 [2022-08-17T10:17:53.589Z] ---> a42cffb94f04 [2022-08-17T10:17:53.589Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-17T10:17:53.589Z] ---> Running in ee6f1741d1c6 [2022-08-17T10:17:54.185Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-17T10:17:55.160Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-17T10:17:56.140Z] OK: 221 MiB in 51 packages [2022-08-17T10:17:56.753Z] Removing intermediate container ee6f1741d1c6 [2022-08-17T10:17:56.753Z] ---> 18f6852671a4 [2022-08-17T10:17:56.753Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-08-17T10:17:56.753Z] ---> Running in 006aea37bc8a [2022-08-17T10:17:57.350Z] Removing intermediate container 006aea37bc8a [2022-08-17T10:17:57.351Z] ---> e4bd1e6fbbb4 [2022-08-17T10:17:57.351Z] Step 10/27 : COPY go.mod vendor* ./ [2022-08-17T10:17:57.641Z] ---> 8fb796c28b7d [2022-08-17T10:17:57.641Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-17T10:17:57.923Z] ---> Running in 161ad3c8d203 [2022-08-17T10:17:59.912Z] Removing intermediate container 161ad3c8d203 [2022-08-17T10:17:59.912Z] ---> 16b8929acf7a [2022-08-17T10:17:59.912Z] Step 12/27 : COPY . . [2022-08-17T10:18:01.365Z] ---> 95fad91402b0 [2022-08-17T10:18:01.365Z] Step 13/27 : RUN ${MAKE} [2022-08-17T10:18:01.365Z] ---> Running in 69393b501c57 [2022-08-17T10:18:02.357Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-17T10:20:24.301Z] Removing intermediate container 69393b501c57 [2022-08-17T10:20:24.301Z] ---> caeacdcc014c [2022-08-17T10:20:24.301Z] Step 14/27 : FROM alpine:3.16 [2022-08-17T10:20:24.301Z] 3.16: Pulling from library/alpine [2022-08-17T10:20:24.301Z] 9b18e9b68314: Pulling fs layer [2022-08-17T10:20:24.301Z] 9b18e9b68314: Verifying Checksum [2022-08-17T10:20:24.301Z] 9b18e9b68314: Download complete [2022-08-17T10:20:24.301Z] 9b18e9b68314: Pull complete [2022-08-17T10:20:24.301Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-17T10:20:24.301Z] Status: Downloaded newer image for alpine:3.16 [2022-08-17T10:20:24.301Z] ---> a6215f271958 [2022-08-17T10:20:24.301Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-17T10:20:24.301Z] ---> Running in 8397c07add74 [2022-08-17T10:20:24.301Z] Removing intermediate container 8397c07add74 [2022-08-17T10:20:24.301Z] ---> 3e64a9690b5e [2022-08-17T10:20:24.301Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-08-17T10:20:24.301Z] ---> Running in 97de9df7afbd [2022-08-17T10:20:24.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-17T10:20:24.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-17T10:20:24.301Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-08-17T10:20:24.301Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-08-17T10:20:24.301Z] (3/21) Installing readline (8.1.2-r0) [2022-08-17T10:20:24.301Z] (4/21) Installing bash (5.1.16-r2) [2022-08-17T10:20:24.301Z] Executing bash-5.1.16-r2.post-install [2022-08-17T10:20:24.301Z] (5/21) Installing ca-certificates (20220614-r0) [2022-08-17T10:20:24.301Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-08-17T10:20:24.301Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-08-17T10:20:24.301Z] (8/21) Installing libcurl (7.83.1-r2) [2022-08-17T10:20:24.301Z] (9/21) Installing curl (7.83.1-r2) [2022-08-17T10:20:24.301Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-08-17T10:20:24.301Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-08-17T10:20:24.301Z] (12/21) Installing jq (1.6-r1) [2022-08-17T10:20:24.301Z] (13/21) Installing popt (1.18-r0) [2022-08-17T10:20:24.301Z] (14/21) Installing pcre (8.45-r2) [2022-08-17T10:20:24.301Z] (15/21) Installing slang (2.3.2-r0) [2022-08-17T10:20:24.301Z] (16/21) Installing newt (0.52.21-r2) [2022-08-17T10:20:24.301Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-08-17T10:20:24.301Z] (18/21) Installing libsodium (1.0.18-r0) [2022-08-17T10:20:24.301Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-17T10:20:24.301Z] (20/21) Installing libzmq (4.3.4-r0) [2022-08-17T10:20:24.301Z] (21/21) Installing zeromq (4.3.4-r0) [2022-08-17T10:20:24.301Z] Executing busybox-1.35.0-r17.trigger [2022-08-17T10:20:24.301Z] Executing ca-certificates-20220614-r0.trigger [2022-08-17T10:20:24.301Z] OK: 16 MiB in 35 packages [2022-08-17T10:20:24.301Z] Removing intermediate container 97de9df7afbd [2022-08-17T10:20:24.301Z] ---> d0973632ad46 [2022-08-17T10:20:24.301Z] Step 17/27 : WORKDIR / [2022-08-17T10:20:24.301Z] ---> Running in ea8dd70e57c0 [2022-08-17T10:20:24.302Z] Removing intermediate container ea8dd70e57c0 [2022-08-17T10:20:24.302Z] ---> def5272e5da3 [2022-08-17T10:20:24.302Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-17T10:20:24.302Z] ---> ff2789d4a2b6 [2022-08-17T10:20:24.302Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-17T10:20:24.302Z] ---> 33f10ef25408 [2022-08-17T10:20:24.302Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-17T10:20:24.302Z] ---> 9e59c52a24e6 [2022-08-17T10:20:24.302Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-08-17T10:20:24.302Z] ---> 1aab556db1de [2022-08-17T10:20:24.302Z] Step 22/27 : EXPOSE 59984 [2022-08-17T10:20:24.302Z] ---> Running in 4827c400a941 [2022-08-17T10:20:24.302Z] Removing intermediate container 4827c400a941 [2022-08-17T10:20:24.302Z] ---> 0616d16bc17c [2022-08-17T10:20:24.302Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-17T10:20:24.302Z] ---> Running in e5eeeef31308 [2022-08-17T10:20:24.302Z] Removing intermediate container e5eeeef31308 [2022-08-17T10:20:24.302Z] ---> 2a047eaddc60 [2022-08-17T10:20:24.302Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-17T10:20:24.302Z] ---> Running in 0d04cc14e200 [2022-08-17T10:20:24.302Z] Removing intermediate container 0d04cc14e200 [2022-08-17T10:20:24.302Z] ---> d36a9164fd50 [2022-08-17T10:20:24.302Z] Step 25/27 : LABEL arch=arm64 [2022-08-17T10:20:24.302Z] ---> Running in fd8fc46cac45 [2022-08-17T10:20:24.302Z] Removing intermediate container fd8fc46cac45 [2022-08-17T10:20:24.302Z] ---> 528169582173 [2022-08-17T10:20:24.302Z] Step 26/27 : LABEL git_sha=54a616185e58ca27ef124d4b0ab3c0f1615a7fbe [2022-08-17T10:20:24.302Z] ---> Running in 1bc5aa9e6d51 [2022-08-17T10:20:24.302Z] Removing intermediate container 1bc5aa9e6d51 [2022-08-17T10:20:24.302Z] ---> a99b175d7f20 [2022-08-17T10:20:24.302Z] Step 27/27 : LABEL version=0.0.0 [2022-08-17T10:20:24.302Z] ---> Running in 7ed2eddc5860 [2022-08-17T10:20:24.302Z] Removing intermediate container 7ed2eddc5860 [2022-08-17T10:20:24.302Z] ---> 4249f2930ad1 [2022-08-17T10:20:24.302Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-17T10:20:24.302Z] Successfully built 4249f2930ad1 [2022-08-17T10:20:24.302Z] 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-08-17T10:20:24.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-17T10:20:24.766Z] [2022-08-17T10:20:24.766Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-17T10:20:25.121Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-17T10:20:25.401Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-17T10:20:25.401Z] 8998bd30e6a1: Pulling fs layer [2022-08-17T10:20:25.401Z] 04944245beec: Pulling fs layer [2022-08-17T10:20:25.401Z] 699f458cf7ca: Pulling fs layer [2022-08-17T10:20:25.401Z] 765212b225bb: Pulling fs layer [2022-08-17T10:20:25.401Z] f23df028b6ca: Pulling fs layer [2022-08-17T10:20:25.401Z] d65c8cfc05b1: Pulling fs layer [2022-08-17T10:20:25.401Z] 2437ff75d9bd: Pulling fs layer [2022-08-17T10:20:25.401Z] 765212b225bb: Waiting [2022-08-17T10:20:25.401Z] f23df028b6ca: Waiting [2022-08-17T10:20:25.401Z] d65c8cfc05b1: Waiting [2022-08-17T10:20:25.401Z] 2437ff75d9bd: Waiting [2022-08-17T10:20:25.401Z] 04944245beec: Verifying Checksum [2022-08-17T10:20:25.401Z] 04944245beec: Download complete [2022-08-17T10:20:25.401Z] 765212b225bb: Verifying Checksum [2022-08-17T10:20:25.401Z] 765212b225bb: Download complete [2022-08-17T10:20:25.401Z] f23df028b6ca: Verifying Checksum [2022-08-17T10:20:25.401Z] f23df028b6ca: Download complete [2022-08-17T10:20:25.401Z] d65c8cfc05b1: Verifying Checksum [2022-08-17T10:20:25.401Z] d65c8cfc05b1: Download complete [2022-08-17T10:20:25.677Z] 699f458cf7ca: Verifying Checksum [2022-08-17T10:20:25.677Z] 699f458cf7ca: Download complete [2022-08-17T10:20:25.949Z] 8998bd30e6a1: Verifying Checksum [2022-08-17T10:20:25.949Z] 8998bd30e6a1: Download complete [2022-08-17T10:20:27.937Z] 2437ff75d9bd: Verifying Checksum [2022-08-17T10:20:27.937Z] 2437ff75d9bd: Download complete [2022-08-17T10:20:30.567Z] 8998bd30e6a1: Pull complete [2022-08-17T10:20:30.567Z] 04944245beec: Pull complete [2022-08-17T10:20:32.557Z] 699f458cf7ca: Pull complete [2022-08-17T10:20:32.557Z] 765212b225bb: Pull complete [2022-08-17T10:20:33.158Z] f23df028b6ca: Pull complete [2022-08-17T10:20:33.434Z] d65c8cfc05b1: Pull complete [2022-08-17T10:20:48.550Z] 2437ff75d9bd: Pull complete [2022-08-17T10:20:48.550Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-17T10:20:48.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-17T10:20:48.550Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-17T10:20:48.804Z] prd-ubuntu20.04-docker-arm64-4c-16g-22957 does not seem to be running inside a container [2022-08-17T10:20:48.894Z] $ 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/6 -v /w/workspace/device-onvif-camera/6:/w/workspace/device-onvif-camera/6:rw,z -v /w/workspace/device-onvif-camera/6@tmp:/w/workspace/device-onvif-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-17T10:20:51.531Z] $ docker top fb22cdfa5376cdc2f9d978b17f982713cabf6ed7fec2bd1ce21ac678e6924313 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-17T10:20:52.461Z] ---> job-cost.sh [2022-08-17T10:20:52.461Z] lf-activate-venv: SKIPPING [2022-08-17T10:20:52.461Z] INFO: No Stack... [2022-08-17T10:20:53.056Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-17T10:20:54.036Z] INFO: Archiving Costs [Pipeline] sh [2022-08-17T10:20:54.705Z] + cut+ -d, -f6 [2022-08-17T10:20:54.705Z] cat /w/workspace/device-onvif-camera/6/archives/cost.csv [Pipeline] lock [2022-08-17T10:20:54.768Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-6-stack-cost] [2022-08-17T10:20:54.775Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-6-stack-cost] did not exist. Created. [2022-08-17T10:20:54.775Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-17T10:20:55.472Z] /w/workspace/device-onvif-camera/6@tmp/durable-6e3bd022/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-17T10:20:56.156Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-17T10:20:56.178Z] Warning: overwriting stash ‘stack-cost’ [2022-08-17T10:20:56.236Z] Stashed 1 file(s) [Pipeline] } [2022-08-17T10:20:56.245Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-17T10:20:56.270Z] $ docker stop --time=1 fb22cdfa5376cdc2f9d978b17f982713cabf6ed7fec2bd1ce21ac678e6924313 [2022-08-17T10:20:57.769Z] $ docker rm -f fb22cdfa5376cdc2f9d978b17f982713cabf6ed7fec2bd1ce21ac678e6924313 [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-08-17T10:20:58.219Z] provisioning config files... [2022-08-17T10:20:58.250Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config8559888869852583007tmp [Pipeline] { [Pipeline] sh [2022-08-17T10:20:58.565Z] + set +x [2022-08-17T10:20:58.565Z] + curl -s https://codecov.io/bash [2022-08-17T10:20:58.565Z] + bash -s -- [2022-08-17T10:20:58.565Z] [2022-08-17T10:20:58.565Z] _____ _ [2022-08-17T10:20:58.565Z] / ____| | | [2022-08-17T10:20:58.565Z] | | ___ __| | ___ ___ _____ __ [2022-08-17T10:20:58.565Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-17T10:20:58.565Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-17T10:20:58.565Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-17T10:20:58.565Z] Bash-1.0.6 [2022-08-17T10:20:58.565Z] [2022-08-17T10:20:58.565Z] [2022-08-17T10:20:58.565Z] ==> git version 2.25.1 found [2022-08-17T10:20:58.565Z] ==> 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-08-17T10:20:58.565Z] Release-Date: 2020-01-08 [2022-08-17T10:20:58.565Z] 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-08-17T10:20:58.565Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-17T10:20:58.565Z] ==> Jenkins CI detected. [2022-08-17T10:20:58.565Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-08-17T10:20:58.565Z] project root: . [2022-08-17T10:20:58.565Z] --> token set from env [2022-08-17T10:20:58.566Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-17T10:20:58.566Z] ==> Running gcov in . (disable via -X gcov) [2022-08-17T10:20:58.566Z] ==> Python coveragepy not found [2022-08-17T10:20:58.566Z] ==> Searching for coverage reports in: [2022-08-17T10:20:58.566Z] + . [2022-08-17T10:20:58.566Z] -> Found 1 reports [2022-08-17T10:20:58.566Z] ==> Detecting git/mercurial file structure [2022-08-17T10:20:58.825Z] ==> Reading reports [2022-08-17T10:20:58.825Z] + ./coverage.out bytes=76854 [2022-08-17T10:20:58.825Z] ==> Appending adjustments [2022-08-17T10:20:58.825Z] https://docs.codecov.io/docs/fixing-reports [2022-08-17T10:20:58.825Z] + Found adjustments [2022-08-17T10:20:58.825Z] ==> Gzipping contents [2022-08-17T10:20:58.825Z] 12K /tmp/codecov.bMpSBX.gz [2022-08-17T10:20:58.825Z] ==> Uploading reports [2022-08-17T10:20:58.825Z] url: https://codecov.io [2022-08-17T10:20:58.825Z] query: branch=PR-125&commit=1d3742651726644f3f9bf79e2aebff6ef3031127&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-08-17T10:20:58.825Z] -> Pinging Codecov [2022-08-17T10:20:58.825Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=1d3742651726644f3f9bf79e2aebff6ef3031127&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-08-17T10:20:59.086Z] -> Uploading to [2022-08-17T10:20:59.086Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-17/F29A59C45E3A92E06B3E522C9905F8EF/1d3742651726644f3f9bf79e2aebff6ef3031127/1e65a105-66f9-4775-a0ef-32d7c55980aa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220817%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220817T102058Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1f3002b27b6e42ba067f50e6c504761eb80365630cf91ad5fa39633710a146f3 [2022-08-17T10:20:59.086Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-17T10:20:59.086Z] Dload Upload Total Spent Left Speed [2022-08-17T10:20:59.349Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10389 0 0 100 10389 0 44208 --:--:-- --:--:-- --:--:-- 44208 [2022-08-17T10:20:59.349Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/1d3742651726644f3f9bf79e2aebff6ef3031127 [Pipeline] } [2022-08-17T10:20:59.358Z] 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-08-17T10:21:00.029Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-08-17T10:21:00.030Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-17T10:21:00.030Z] total 16 [2022-08-17T10:21:00.030Z] drwxr-xr-x 3 root root 4096 Aug 17 10:13 . [2022-08-17T10:21:00.030Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 17 10:13 .. [2022-08-17T10:21:00.030Z] drwxr-xr-x 2 root root 4096 Aug 17 10:13 cost [2022-08-17T10:21:00.030Z] -rw-r--r-- 1 root root 91 Aug 17 10:13 cost.csv [2022-08-17T10:21:00.030Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-17T10:21:00.030Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-08-17T10:21:00.030Z] total 16 [2022-08-17T10:21:00.030Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 17 10:13 . [2022-08-17T10:21:00.030Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 17 10:13 .. [2022-08-17T10:21:00.030Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 17 10:13 cost [2022-08-17T10:21:00.030Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 17 10:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-17T10:21:00.325Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-17T10:21:01.192Z] ---> package-listing.sh [2022-08-17T10:21:01.192Z] ++ facter osfamily [2022-08-17T10:21:01.192Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-17T10:21:01.452Z] + OS_FAMILY=debian [2022-08-17T10:21:01.452Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-08-17T10:21:01.452Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-17T10:21:01.452Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-17T10:21:01.452Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-17T10:21:01.452Z] + PACKAGES=/tmp/packages_start.txt [2022-08-17T10:21:01.452Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-08-17T10:21:01.452Z] + PACKAGES=/tmp/packages_end.txt [2022-08-17T10:21:01.452Z] + case "${OS_FAMILY}" in [2022-08-17T10:21:01.452Z] + dpkg -l [2022-08-17T10:21:01.452Z] + grep '^ii' [2022-08-17T10:21:01.452Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-17T10:21:01.452Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-17T10:21:01.452Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-17T10:21:01.452Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-08-17T10:21:01.452Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-08-17T10:21:01.452Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo [2022-08-17T10:21:01.470Z] 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-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-17T10:21:01.750Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-17T10:21:02.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-17T10:21:02.321Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-17T10:21:02.407Z] prd-ubuntu20.04-docker-8c-8g-22956 does not seem to be running inside a container [2022-08-17T10:21:02.458Z] $ 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-125/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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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-08-17T10:21:02.668Z] $ docker top f17faaf352e2a1cfdcf64266f56b61c7b8171746782cb51a8bdb28b32fc5a324 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-17T10:21:03.007Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-17T10:21:03.294Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-17T10:21:03.584Z] + ls /var/log/sa-host [2022-08-17T10:21:03.584Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-17T10:21:03.818Z] provisioning config files... [2022-08-17T10:21:03.842Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config6642166990436702784tmp [Pipeline] { [Pipeline] echo [2022-08-17T10:21:03.878Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-17T10:21:04.159Z] ---> create-netrc.sh [Pipeline] } [2022-08-17T10:21:04.168Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-17T10:21:04.502Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-17T10:21:04.513Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-17T10:21:04.802Z] ---> sudo-logs.sh [2022-08-17T10:21:04.802Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-17T10:21:04.827Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-17T10:21:05.110Z] ---> job-cost.sh [2022-08-17T10:21:05.110Z] lf-activate-venv: SKIPPING [2022-08-17T10:21:05.110Z] DEBUG: total: 0.2199999988079071 [2022-08-17T10:21:05.110Z] INFO: Retrieving Stack Cost... [2022-08-17T10:21:05.371Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-17T10:21:05.943Z] INFO: Archiving Costs [Pipeline] echo [2022-08-17T10:21:05.954Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-17T10:21:06.242Z] ---> logs-deploy.sh [2022-08-17T10:21:06.242Z] lf-activate-venv: SKIPPING [2022-08-17T10:21:06.242Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/6 [2022-08-17T10:21:06.242Z] INFO: archiving workspace using pattern(s): [2022-08-17T10:21:07.186Z] Archives upload complete. [2022-08-17T10:21:07.187Z] INFO: archiving logs to Nexus