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 5d7a9db6a708ff5f4775a07ba788f56c414f1565 rather than ec78aac8f60fa80343258aafea3521d8f996d761 Obtained Jenkinsfile from 5d7a9db6a708ff5f4775a07ba788f56c414f1565 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-ssh1203975554429836809.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh14094235509559135935.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-182/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-182/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17640011920614991970.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh6653746637484580328.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-182/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-182/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh850492125695018413.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-67901’ is offline Running on prd-ubuntu20.04-docker-8c-8g-80503 in /w/workspace/undry_device-onvif-camera_PR-182 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-182 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5d7a9db6a708ff5f4775a07ba788f56c414f1565 into PR head commit ec78aac8f60fa80343258aafea3521d8f996d761 Merge succeeded, producing 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 Checking out Revision 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 (PR-182) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec78aac8f60fa80343258aafea3521d8f996d761 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 5d7a9db6a708ff5f4775a07ba788f56c414f1565 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 # timeout=10 Commit message: "Merge commit '5d7a9db6a708ff5f4775a07ba788f56c414f1565' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:20:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:20:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:20:01 ========================================================= 04:20:01 EdgeX Global Pipelines Version Info 04:20:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e09dbd97b5be6197d3c45e56cd36d2ed68e62c7a # timeout=10 04:20:02 ------------------- 04:20:02 stable info: 04:20:02 ------------------- 04:20:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:20:02 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 04:20:02 Message: update stable to v1.0.243 04:20:03 ------------------- 04:20:03 experimental info: 04:20:03 ------------------- 04:20:03 Commited By: **** collab-it+edgex@linuxfoundation.org 04:20:03 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 04:20:03 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-182 [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-182 [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-182 [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 134d258 [Pipeline] echo 04:20:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:20:03 provisioning config files... 04:20:03 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config3043778003154029640tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:03 ---> docker-login.sh 04:20:03 nexus3.edgexfoundry.org:10001 04:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:04 Configure a credential helper to remove this warning. See 04:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:04 04:20:04 Login Succeeded 04:20:04 nexus3.edgexfoundry.org:10002 04:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:04 Configure a credential helper to remove this warning. See 04:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:04 04:20:04 Login Succeeded 04:20:04 nexus3.edgexfoundry.org:10003 04:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:04 Configure a credential helper to remove this warning. See 04:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:04 04:20:04 Login Succeeded 04:20:04 nexus3.edgexfoundry.org:10004 04:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:04 Configure a credential helper to remove this warning. See 04:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:04 04:20:04 Login Succeeded 04:20:04 docker.io 04:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:05 Configure a credential helper to remove this warning. See 04:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:05 04:20:05 Login Succeeded 04:20:05 ---> docker-login.sh ends [Pipeline] } 04:20:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:20:05 + git rev-list -1 --merges 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8~1..134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 [Pipeline] echo 04:20:05 -----------> git rev-list -1 --merges 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8~1..134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 04:20:05 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 [false] [Pipeline] sh 04:20:05 + git log --format=format:%s -1 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 [Pipeline] echo 04:20:05 ========================================================= 04:20:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:20:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:20:06 + git log --format=format:%s -1 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 [Pipeline] echo 04:20:06 [semverPrep] GIT_COMMIT: 134d258ee2bdae13520e4fd8bee1812bcbf8e9d8, Commit Message: Merge commit '5d7a9db6a708ff5f4775a07ba788f56c414f1565' into HEAD [Pipeline] echo 04:20:06 [semverPrep] This is not a build commit. [Pipeline] sh 04:20:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:20:06 + grep -v github /etc/ssh/ssh_known_hosts 04:20:06 + [ -e /tmp/ssh_known_hosts ] 04:20:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:20:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:20:06 + sudo tee -a /etc/ssh/ssh_known_hosts 04:20:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:07 04:20:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:07 0.1.4: Pulling from edgex-devops/py-git-semver 04:20:07 b85a868b505f: Pulling fs layer 04:20:07 e2be974225ed: Pulling fs layer 04:20:07 339a4e72a1f5: Pulling fs layer 04:20:07 988bab9f4d93: Pulling fs layer 04:20:07 1469e6f7b9e6: Pulling fs layer 04:20:07 eaf3925da568: Pulling fs layer 04:20:07 bab4dde63d76: Pulling fs layer 04:20:07 bde34c3a00c8: Pulling fs layer 04:20:07 b352a97aabf1: Pulling fs layer 04:20:07 4872d77fe225: Pulling fs layer 04:20:07 5851b861e8e6: Pulling fs layer 04:20:07 988bab9f4d93: Waiting 04:20:07 1469e6f7b9e6: Waiting 04:20:07 eaf3925da568: Waiting 04:20:07 bde34c3a00c8: Waiting 04:20:07 bab4dde63d76: Waiting 04:20:07 b352a97aabf1: Waiting 04:20:07 5851b861e8e6: Waiting 04:20:07 4872d77fe225: Waiting 04:20:07 e2be974225ed: Verifying Checksum 04:20:07 e2be974225ed: Download complete 04:20:07 988bab9f4d93: Verifying Checksum 04:20:07 988bab9f4d93: Download complete 04:20:07 1469e6f7b9e6: Verifying Checksum 04:20:07 1469e6f7b9e6: Download complete 04:20:07 339a4e72a1f5: Verifying Checksum 04:20:07 339a4e72a1f5: Download complete 04:20:07 eaf3925da568: Verifying Checksum 04:20:07 eaf3925da568: Download complete 04:20:07 bde34c3a00c8: Verifying Checksum 04:20:07 bde34c3a00c8: Download complete 04:20:07 b352a97aabf1: Verifying Checksum 04:20:07 b352a97aabf1: Download complete 04:20:07 4872d77fe225: Verifying Checksum 04:20:07 4872d77fe225: Download complete 04:20:07 5851b861e8e6: Verifying Checksum 04:20:07 5851b861e8e6: Download complete 04:20:07 b85a868b505f: Download complete 04:20:08 bab4dde63d76: Verifying Checksum 04:20:08 bab4dde63d76: Download complete 04:20:09 b85a868b505f: Pull complete 04:20:09 e2be974225ed: Pull complete 04:20:09 339a4e72a1f5: Pull complete 04:20:09 988bab9f4d93: Pull complete 04:20:10 1469e6f7b9e6: Pull complete 04:20:10 eaf3925da568: Pull complete 04:20:12 bab4dde63d76: Pull complete 04:20:12 bde34c3a00c8: Pull complete 04:20:12 b352a97aabf1: Pull complete 04:20:12 4872d77fe225: Pull complete 04:20:13 5851b861e8e6: Pull complete 04:20:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:20:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:13 prd-ubuntu20.04-docker-8c-8g-80503 does not seem to be running inside a container 04:20:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:20:15 $ docker top edb8ea4ee777dc092f3ab00c52ce21e2c09aa36213f6c4c2361d1553f4fecfdf -eo pid,comm 04:20:15 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). 04:20:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:20:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:20:15 [ssh-agent] Looking for ssh-agent implementation... 04:20:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:20:15 $ docker exec edb8ea4ee777dc092f3ab00c52ce21e2c09aa36213f6c4c2361d1553f4fecfdf ssh-agent 04:20:16 SSH_AUTH_SOCK=/tmp/ssh-h6CX0WPN2sgy/agent.33 04:20:16 SSH_AGENT_PID=39 04:20:16 Running ssh-add (command line suppressed) 04:20:16 Identity added: /w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_11461601055037331532.key (/w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_11461601055037331532.key) 04:20:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:20:16 + git tag --points-at HEAD [Pipeline] } 04:20:16 $ docker exec --env ******** --env ******** edb8ea4ee777dc092f3ab00c52ce21e2c09aa36213f6c4c2361d1553f4fecfdf ssh-agent -k 04:20:16 unset SSH_AUTH_SOCK; 04:20:16 unset SSH_AGENT_PID; 04:20:16 echo Agent pid 39 killed; 04:20:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:20:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:20:16 [ssh-agent] Looking for ssh-agent implementation... 04:20:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:20:16 $ docker exec edb8ea4ee777dc092f3ab00c52ce21e2c09aa36213f6c4c2361d1553f4fecfdf ssh-agent 04:20:16 SSH_AUTH_SOCK=/tmp/ssh-vFmgXTp352SD/agent.71 04:20:16 SSH_AGENT_PID=77 04:20:16 Running ssh-add (command line suppressed) 04:20:16 Identity added: /w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_14549362915493571054.key (/w/workspace/undry_device-onvif-camera_PR-182@tmp/private_key_14549362915493571054.key) 04:20:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:20:17 + git semver init 04:20:17 2022-10-25 04:20:17,406 [run_init] DEBUG init version:0.0.0 force:False 04:20:17 2022-10-25 04:20:17,407 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-182/.semver 04:20:17 2022-10-25 04:20:17,407 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-182/.semver 04:20:17 2022-10-25 04:20:17,407 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-182/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-182, universal_newlines=False, shell=None, istream=None) 04:20:18 2022-10-25 04:20:18,438 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-182/.git/info/exclude 04:20:18 2022-10-25 04:20:18,439 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-182/.semver/PR-182 with force:False 04:20:18 2022-10-25 04:20:18,439 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-182/.semver/PR-182 04:20:18 2022-10-25 04:20:18,444 [execute] INFO git cat-file --batch-check 04:20:18 2022-10-25 04:20:18,445 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-182/.semver, universal_newlines=False, shell=None, istream=) 04:20:18 2022-10-25 04:20:18,450 [execute] INFO git cat-file --batch 04:20:18 2022-10-25 04:20:18,450 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-182/.semver, universal_newlines=False, shell=None, istream=) 04:20:18 2022-10-25 04:20:18,455 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-182/.semver/PR-182 04:20:18 0.0.0 [Pipeline] } 04:20:18 $ docker exec --env ******** --env ******** edb8ea4ee777dc092f3ab00c52ce21e2c09aa36213f6c4c2361d1553f4fecfdf ssh-agent -k 04:20:18 unset SSH_AUTH_SOCK; 04:20:18 unset SSH_AGENT_PID; 04:20:18 echo Agent pid 77 killed; 04:20:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:20:19 + git semver [Pipeline] } 04:20:19 $ docker stop --time=1 edb8ea4ee777dc092f3ab00c52ce21e2c09aa36213f6c4c2361d1553f4fecfdf 04:20:20 $ docker rm -f edb8ea4ee777dc092f3ab00c52ce21e2c09aa36213f6c4c2361d1553f4fecfdf [Pipeline] // withDockerContainer [Pipeline] sh 04:20:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:20:21 Stashed 1 file(s) [Pipeline] echo 04:20:21 [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 04:20:21 provisioning config files... 04:20:21 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config15992635234464195018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:21 ---> docker-login.sh 04:20:21 nexus3.edgexfoundry.org:10001 04:20:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:21 Configure a credential helper to remove this warning. See 04:20:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:21 04:20:21 Login Succeeded 04:20:21 nexus3.edgexfoundry.org:10002 04:20:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:21 Configure a credential helper to remove this warning. See 04:20:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:21 04:20:21 Login Succeeded 04:20:21 nexus3.edgexfoundry.org:10003 04:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:22 Configure a credential helper to remove this warning. See 04:20:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:22 04:20:22 Login Succeeded 04:20:22 nexus3.edgexfoundry.org:10004 04:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:22 Configure a credential helper to remove this warning. See 04:20:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:22 04:20:22 Login Succeeded 04:20:22 docker.io 04:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:22 Configure a credential helper to remove this warning. See 04:20:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:22 04:20:22 Login Succeeded 04:20:22 ---> docker-login.sh ends [Pipeline] } 04:20:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:20:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:20:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:20:22 ========================================================= 04:20:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:20:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:23 + 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 . 04:20:23 Sending build context to Docker daemon 21.54MB 04:20:23 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 04:20:23 Step 2/14 : FROM ${BASE} AS builder 04:20:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:20:23 213ec9aee27d: Pulling fs layer 04:20:23 4583459ba037: Pulling fs layer 04:20:23 93c1e223e6f2: Pulling fs layer 04:20:23 53926ce57604: Pulling fs layer 04:20:23 21b2b0c7a3f4: Pulling fs layer 04:20:23 30f14e443154: Pulling fs layer 04:20:23 801331c1e519: Pulling fs layer 04:20:23 99cc6dd402b0: Pulling fs layer 04:20:23 7d9ed39f4882: Pulling fs layer 04:20:23 53926ce57604: Waiting 04:20:23 21b2b0c7a3f4: Waiting 04:20:23 30f14e443154: Waiting 04:20:23 801331c1e519: Waiting 04:20:23 99cc6dd402b0: Waiting 04:20:23 7d9ed39f4882: Waiting 04:20:23 93c1e223e6f2: Verifying Checksum 04:20:23 93c1e223e6f2: Download complete 04:20:23 4583459ba037: Download complete 04:20:23 21b2b0c7a3f4: Verifying Checksum 04:20:23 21b2b0c7a3f4: Download complete 04:20:23 30f14e443154: Verifying Checksum 04:20:23 30f14e443154: Download complete 04:20:23 213ec9aee27d: Download complete 04:20:23 801331c1e519: Verifying Checksum 04:20:23 801331c1e519: Download complete 04:20:23 213ec9aee27d: Pull complete 04:20:23 4583459ba037: Pull complete 04:20:23 93c1e223e6f2: Pull complete 04:20:23 7d9ed39f4882: Verifying Checksum 04:20:23 7d9ed39f4882: Download complete 04:20:24 53926ce57604: Verifying Checksum 04:20:24 53926ce57604: Download complete 04:20:24 99cc6dd402b0: Verifying Checksum 04:20:24 99cc6dd402b0: Download complete 04:20:28 53926ce57604: Pull complete 04:20:28 21b2b0c7a3f4: Pull complete 04:20:28 30f14e443154: Pull complete 04:20:28 801331c1e519: Pull complete 04:20:30 99cc6dd402b0: Pull complete 04:20:31 7d9ed39f4882: Pull complete 04:20:31 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 04:20:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:20:31 ---> 1dedd983c030 04:20:31 Step 3/14 : ARG ADD_BUILD_TAGS="" 04:20:36 Still waiting to schedule task 04:20:36 ‘prd-ubuntu20.04-docker-arm64-4c-16g-80536’ is offline 04:20:36 ---> Running in 9fed07e98761 04:20:36 Removing intermediate container 9fed07e98761 04:20:36 ---> c61228941735 04:20:36 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:20:36 ---> Running in d6a519a47025 04:20:36 Removing intermediate container d6a519a47025 04:20:36 ---> adf01a443650 04:20:36 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:20:36 ---> Running in 9e14f3821e08 04:20:36 Removing intermediate container 9e14f3821e08 04:20:36 ---> 55abe633fdbe 04:20:36 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 04:20:36 ---> Running in 9c4b1ee42ede 04:20:36 Removing intermediate container 9c4b1ee42ede 04:20:36 ---> 994f55210481 04:20:36 Step 7/14 : LABEL Name=edgex-device-onvif-camera 04:20:36 ---> Running in 19a278b8f40d 04:20:36 Removing intermediate container 19a278b8f40d 04:20:36 ---> 0e73a42eb7cc 04:20:36 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:20:36 ---> Running in b9d8d74a4779 04:20:37 Removing intermediate container b9d8d74a4779 04:20:37 ---> d15973810dba 04:20:37 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:20:37 ---> Running in ac8decd6319c 04:20:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:20:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:20:38 OK: 211 MiB in 51 packages 04:20:39 Removing intermediate container ac8decd6319c 04:20:39 ---> d84a8523c5a1 04:20:39 Step 10/14 : WORKDIR /device-onvif-camera 04:20:39 ---> Running in 78bb71d74fcc 04:20:39 Removing intermediate container 78bb71d74fcc 04:20:39 ---> e8ebb88728e8 04:20:39 Step 11/14 : COPY go.mod vendor* ./ 04:20:39 ---> 5e9f617ef873 04:20:39 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:20:39 ---> Running in 79c05de246db 04:21:05 Removing intermediate container 79c05de246db 04:21:05 ---> 3c6e96d2acd1 04:21:05 Step 13/14 : COPY . . 04:21:06 ---> 860e7e695078 04:21:06 Step 14/14 : RUN ${MAKE} 04:21:06 ---> Running in 687e8ef9bf8d 04:21:06 noop 04:21:07 Removing intermediate container 687e8ef9bf8d 04:21:07 ---> 8078dde06510 04:21:07 Successfully built 8078dde06510 04:21:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:07 + docker inspect -f . ci-base-image-x86_64 04:21:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:07 prd-ubuntu20.04-docker-8c-8g-80503 does not seem to be running inside a container 04:21:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:21:08 $ docker top e63af283eea9f4d9d7c10a0b65da8dea20f2bf8c1baaf93b94e0ce30c6bc2d35 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:08 + go version 04:21:08 go version go1.18.7 linux/amd64 [Pipeline] } 04:21:08 $ docker stop --time=1 e63af283eea9f4d9d7c10a0b65da8dea20f2bf8c1baaf93b94e0ce30c6bc2d35 04:21:09 $ docker rm -f e63af283eea9f4d9d7c10a0b65da8dea20f2bf8c1baaf93b94e0ce30c6bc2d35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:10 + docker inspect -f . ci-base-image-x86_64 04:21:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:10 prd-ubuntu20.04-docker-8c-8g-80503 does not seem to be running inside a container 04:21:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:21:10 $ docker top 8e42875877bd8c7eda0eedb403f48de45e7027cb36bd855d9e09c72562232810 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:10 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-182 [Pipeline] fileExists [Pipeline] sh 04:21:11 + make test 04:21:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:21:11 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:21:23 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:21:26 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 29.3% of statements 04:21:26 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:21:26 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.486s coverage: 86.5% of statements 04:21:34 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." 04:21:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:21:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:21:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:21:38 ./bin/test-attribution-txt.sh [Pipeline] echo 04:21:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:21:38 $ docker stop --time=1 8e42875877bd8c7eda0eedb403f48de45e7027cb36bd855d9e09c72562232810 04:21:40 $ docker rm -f 8e42875877bd8c7eda0eedb403f48de45e7027cb36bd855d9e09c72562232810 [Pipeline] // withDockerContainer [Pipeline] sh 04:21:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:21:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:21:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:21:41 + ls -al . 04:21:41 total 244 04:21:41 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 04:21 . 04:21:41 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:19 .. 04:21:41 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 04:21 .git 04:21:41 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 04:19 .github 04:21:41 -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 04:19 .gitignore 04:21:41 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 04:19 .golangci.yml 04:21:41 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 04:20 .semver 04:21:41 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 04:19 Attribution.txt 04:21:41 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 04:19 CHANGELOG.md 04:21:41 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 25 04:19 Dockerfile 04:21:41 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 04:19 GOVERNANCE.md 04:21:41 -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 04:19 Jenkinsfile 04:21:41 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 04:19 LICENSE 04:21:41 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 04:19 Makefile 04:21:41 -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 04:19 OWNERS.md 04:21:41 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 04:19 README.md 04:21:41 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 04:20 VERSION 04:21:41 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 04:19 bin 04:21:41 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 04:19 cmd 04:21:41 -rw-r--r-- 1 jenkins jenkins 79184 Oct 25 04:21 coverage.out 04:21:41 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 04:19 doc 04:21:41 -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 04:19 go.mod 04:21:41 -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 04:19 go.sum 04:21:41 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:19 internal 04:21:41 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:19 snap 04:21:41 -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:42 + 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=134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 --label arch=amd64 --label version=0.0.0 . 04:21:42 Sending build context to Docker daemon 21.62MB 04:21:42 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 04:21:42 Step 2/27 : FROM ${BASE} AS builder 04:21:42 ---> 8078dde06510 04:21:42 Step 3/27 : ARG ADD_BUILD_TAGS="" 04:21:42 ---> Running in f2fdc09bd320 04:21:42 Removing intermediate container f2fdc09bd320 04:21:42 ---> 67e5063745ba 04:21:42 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:21:42 ---> Running in 318eedecd84a 04:21:42 Removing intermediate container 318eedecd84a 04:21:42 ---> a2e36ae11d8f 04:21:42 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:21:42 ---> Running in cafb878162c9 04:21:42 Removing intermediate container cafb878162c9 04:21:42 ---> 432bf0c67fde 04:21:42 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 04:21:42 ---> Running in 3d872bfd3499 04:21:42 Removing intermediate container 3d872bfd3499 04:21:42 ---> e349dcda128c 04:21:42 Step 7/27 : LABEL Name=edgex-device-onvif-camera 04:21:42 ---> Running in 9d7158ed3820 04:21:43 Removing intermediate container 9d7158ed3820 04:21:43 ---> 44364a08451e 04:21:43 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:21:43 ---> Running in fc3d4101dd25 04:21:43 Removing intermediate container fc3d4101dd25 04:21:43 ---> a0d5f076301c 04:21:43 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:21:43 ---> Running in 67e96ff99148 04:21:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:21:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:21:45 OK: 211 MiB in 51 packages 04:21:45 Removing intermediate container 67e96ff99148 04:21:45 ---> ad2a77babf07 04:21:45 Step 10/27 : WORKDIR /device-onvif-camera 04:21:45 ---> Running in 29df86ecc437 04:21:45 Removing intermediate container 29df86ecc437 04:21:45 ---> efebc0a77004 04:21:45 Step 11/27 : COPY go.mod vendor* ./ 04:21:45 ---> 441ed771a4f6 04:21:45 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:21:45 ---> Running in bfae61b8ca4d 04:21:46 Removing intermediate container bfae61b8ca4d 04:21:46 ---> c253d257d8ac 04:21:46 Step 13/27 : COPY . . 04:21:47 ---> 317434d2aad7 04:21:47 Step 14/27 : RUN ${MAKE} 04:21:47 ---> Running in 2ae61502bfed 04:21:47 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 04:22:13 Removing intermediate container 2ae61502bfed 04:22:13 ---> b97ce268920d 04:22:13 Step 15/27 : FROM alpine:3.16 04:22:13 3.16: Pulling from library/alpine 04:22:13 213ec9aee27d: Already exists 04:22:13 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:22:13 Status: Downloaded newer image for alpine:3.16 04:22:13 ---> 9c6f07244728 04:22:13 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:22:13 ---> Running in eceef814be97 04:22:13 Removing intermediate container eceef814be97 04:22:13 ---> 4280b50c7f80 04:22:13 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 04:22:13 ---> Running in e3c6ae06ba76 04:22:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:22:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:22:13 (1/6) Installing dumb-init (1.2.5-r1) 04:22:13 (2/6) Installing libgcc (11.2.1_git20220219-r2) 04:22:13 (3/6) Installing libsodium (1.0.18-r0) 04:22:13 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 04:22:13 (5/6) Installing libzmq (4.3.4-r0) 04:22:13 (6/6) Installing zeromq (4.3.4-r0) 04:22:13 Executing busybox-1.35.0-r17.trigger 04:22:13 OK: 8 MiB in 20 packages 04:22:13 Removing intermediate container e3c6ae06ba76 04:22:13 ---> 8e55bea462e4 04:22:13 Step 18/27 : WORKDIR / 04:22:13 ---> Running in 87bbda7f38b5 04:22:13 Removing intermediate container 87bbda7f38b5 04:22:13 ---> e2827cfb6c73 04:22:13 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 04:22:13 ---> 7db14ad29205 04:22:13 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 04:22:13 ---> e9abe0d2aa6d 04:22:13 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:22:13 ---> d14cf2a52179 04:22:13 Step 22/27 : EXPOSE 59984 04:22:13 ---> Running in ec3f363fcdea 04:22:13 Removing intermediate container ec3f363fcdea 04:22:13 ---> eda9ff4cb84a 04:22:13 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 04:22:13 ---> Running in 92518afea161 04:22:13 Removing intermediate container 92518afea161 04:22:13 ---> 6345516593c9 04:22:13 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:22:13 ---> Running in f0823f2f5482 04:22:14 Removing intermediate container f0823f2f5482 04:22:14 ---> 078b02cfad57 04:22:14 Step 25/27 : LABEL arch=amd64 04:22:14 ---> Running in 28df98238fbf 04:22:14 Removing intermediate container 28df98238fbf 04:22:14 ---> 6e0c4520af99 04:22:14 Step 26/27 : LABEL git_sha=134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 04:22:14 ---> Running in 9008cbcb46a8 04:22:14 Removing intermediate container 9008cbcb46a8 04:22:14 ---> 83e5ab791413 04:22:14 Step 27/27 : LABEL version=0.0.0 04:22:14 ---> Running in dee94bf6acfe 04:22:14 Removing intermediate container dee94bf6acfe 04:22:14 ---> 15a896105b63 04:22:14 [Warning] One or more build-args [ARCH] were not consumed 04:22:14 Successfully built 15a896105b63 04:22:14 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 04:22:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:14 04:22:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:15 latest: Pulling from edgex-lftools-log-publisher 04:22:15 5eb5b503b376: Pulling fs layer 04:22:15 5c69ac0246d0: Pulling fs layer 04:22:15 ec43610c2a17: Pulling fs layer 04:22:15 3a2ae6a8a46f: Pulling fs layer 04:22:15 33b1e0a273af: Pulling fs layer 04:22:15 5d3b04190fa2: Pulling fs layer 04:22:15 2f39f015ded8: Pulling fs layer 04:22:15 33b1e0a273af: Waiting 04:22:15 2f39f015ded8: Waiting 04:22:15 5d3b04190fa2: Waiting 04:22:15 3a2ae6a8a46f: Waiting 04:22:15 5c69ac0246d0: Download complete 04:22:15 3a2ae6a8a46f: Verifying Checksum 04:22:15 3a2ae6a8a46f: Download complete 04:22:15 33b1e0a273af: Verifying Checksum 04:22:15 33b1e0a273af: Download complete 04:22:15 5d3b04190fa2: Download complete 04:22:15 ec43610c2a17: Verifying Checksum 04:22:15 ec43610c2a17: Download complete 04:22:15 5eb5b503b376: Verifying Checksum 04:22:15 5eb5b503b376: Download complete 04:22:16 2f39f015ded8: Download complete 04:22:16 5eb5b503b376: Pull complete 04:22:16 5c69ac0246d0: Pull complete 04:22:17 ec43610c2a17: Pull complete 04:22:17 3a2ae6a8a46f: Pull complete 04:22:17 33b1e0a273af: Pull complete 04:22:17 5d3b04190fa2: Pull complete 04:22:23 2f39f015ded8: Pull complete 04:22:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:22:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:23 prd-ubuntu20.04-docker-8c-8g-80503 does not seem to be running inside a container 04:22:23 $ 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-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@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 04:22:25 $ docker top 954ceda3048e659c122ea0af107f93f37bbe84d51e433d60ae8854b463afe32b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:25 ---> job-cost.sh 04:22:25 lf-activate-venv: SKIPPING 04:22:25 INFO: No Stack... 04:22:26 INFO: Retrieving Pricing Info for: v3-standard-8 04:22:26 INFO: Archiving Costs [Pipeline] sh 04:22:27 + cat /w/workspace/undry_device-onvif-camera_PR-182/archives/cost.csv 04:22:27 + cut -d, -f6 [Pipeline] lock 04:22:27 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-182-2-stack-cost] 04:22:27 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-2-stack-cost] did not exist. Created. 04:22:27 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-182-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:22:27 + echo total: 0.2199999988079071 [Pipeline] stash 04:22:27 Stashed 1 file(s) [Pipeline] } 04:22:27 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-2-stack-cost] [Pipeline] // lock [Pipeline] } 04:22:27 $ docker stop --time=1 954ceda3048e659c122ea0af107f93f37bbe84d51e433d60ae8854b463afe32b 04:22:28 $ docker rm -f 954ceda3048e659c122ea0af107f93f37bbe84d51e433d60ae8854b463afe32b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:20:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-116810 in /w/workspace/undry_device-onvif-camera_PR-182 [Pipeline] { [Pipeline] ws 08:20:42 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 08:20:42 The recommended git tool is: git 08:20:47 using credential edgex-jenkins-ssh 08:20:47 Cloning the remote Git repository 08:20:47 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 08:20:47 > git init /w/workspace/device-onvif-camera/2 # timeout=10 08:20:48 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 08:20:48 > git --version # timeout=10 08:20:48 > git --version # 'git version 2.25.1' 08:20:48 using GIT_SSH to set credentials SSH Credentials for GitHub 08:20:48 Verifying host key using known hosts file 08:20:48 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 08:20:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:20:49 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 08:20:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:20:50 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 08:20:50 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 08:20:50 using GIT_SSH to set credentials SSH Credentials for GitHub 08:20:50 Verifying host key using known hosts file 08:20:50 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 08:20:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:20:51 Merging remotes/origin/main commit 5d7a9db6a708ff5f4775a07ba788f56c414f1565 into PR head commit ec78aac8f60fa80343258aafea3521d8f996d761 08:20:52 Merge succeeded, producing a532537c8df3e6dbad09e52d76e7984388350fce 08:20:52 Checking out Revision a532537c8df3e6dbad09e52d76e7984388350fce (PR-182) 08:20:51 > git config core.sparsecheckout # timeout=10 08:20:51 > git checkout -f ec78aac8f60fa80343258aafea3521d8f996d761 # timeout=10 08:20:51 > git remote # timeout=10 08:20:51 > git config --get remote.origin.url # timeout=10 08:20:51 using GIT_SSH to set credentials SSH Credentials for GitHub 08:20:51 Verifying host key using known hosts file 08:20:51 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 08:20:51 > git merge 5d7a9db6a708ff5f4775a07ba788f56c414f1565 # timeout=10 08:20:52 > git rev-parse HEAD^{commit} # timeout=10 08:20:52 > git config core.sparsecheckout # timeout=10 08:20:52 > git checkout -f a532537c8df3e6dbad09e52d76e7984388350fce # timeout=10 08:20:55 Commit message: "Merge commit '5d7a9db6a708ff5f4775a07ba788f56c414f1565' into HEAD" 08:20:55 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:20:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:20:56 % Total % Received % Xferd Average Speed Time Time Time Current 08:20:56 Dload Upload Total Spent Left Speed 08:20:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 232k 0 --:--:-- --:--:-- --:--:-- 236k 08:20:55 > git rev-list --no-walk e09dbd97b5be6197d3c45e56cd36d2ed68e62c7a # timeout=10 [Pipeline] sh 08:20:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:20:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:20:57 + sudo tee /etc/docker/daemon.new 08:20:57 { 08:20:57 "registry-mirrors": [ 08:20:57 "https://nexus3.edgexfoundry.org:10001" 08:20:57 ], 08:20:57 "bip": "10.250.0.254/24", 08:20:57 "hosts": [ 08:20:57 "tcp://0.0.0.0:5555", 08:20:57 "unix:///var/run/docker.sock" 08:20:57 ], 08:20:57 "mtu": 1458, 08:20:57 "selinux-enabled": true, 08:20:57 "seccomp-profile": "/etc/docker/seccomp.json" 08:20:57 } [Pipeline] sh 08:20:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:20:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:21:16 provisioning config files... 08:21:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config14122586805345878746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:21:17 ---> docker-login.sh 08:21:17 nexus3.edgexfoundry.org:10001 08:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:21:17 Configure a credential helper to remove this warning. See 08:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:21:17 08:21:17 Login Succeeded 08:21:17 nexus3.edgexfoundry.org:10002 08:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:21:18 Configure a credential helper to remove this warning. See 08:21:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:21:18 08:21:18 Login Succeeded 08:21:18 nexus3.edgexfoundry.org:10003 08:21:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:21:18 Configure a credential helper to remove this warning. See 08:21:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:21:18 08:21:18 Login Succeeded 08:21:18 nexus3.edgexfoundry.org:10004 08:21:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:21:18 Configure a credential helper to remove this warning. See 08:21:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:21:18 08:21:18 Login Succeeded 08:21:18 docker.io 08:21:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:21:19 Configure a credential helper to remove this warning. See 08:21:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:21:19 08:21:19 Login Succeeded 08:21:19 ---> docker-login.sh ends [Pipeline] } 08:21:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:21:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:21:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:21:19 ========================================================= 08:21:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 08:21:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:19 + 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 . 08:21:20 Sending build context to Docker daemon 14.85MB 08:21:20 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 08:21:20 Step 2/14 : FROM ${BASE} AS builder 08:21:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:21:20 9b18e9b68314: Pulling fs layer 08:21:20 d32db5db7311: Pulling fs layer 08:21:20 d0c4b47475fc: Pulling fs layer 08:21:20 5831b945b038: Pulling fs layer 08:21:20 86bbec2aaacd: Pulling fs layer 08:21:20 e10730c5d714: Pulling fs layer 08:21:20 5dd5c2283517: Pulling fs layer 08:21:20 d5ac0230b979: Pulling fs layer 08:21:20 5831b945b038: Waiting 08:21:20 86bbec2aaacd: Waiting 08:21:20 e10730c5d714: Waiting 08:21:20 5dd5c2283517: Waiting 08:21:20 d5ac0230b979: Waiting 08:21:20 d0c4b47475fc: Download complete 08:21:20 d32db5db7311: Verifying Checksum 08:21:20 d32db5db7311: Download complete 08:21:20 86bbec2aaacd: Download complete 08:21:20 e10730c5d714: Verifying Checksum 08:21:20 e10730c5d714: Download complete 08:21:20 9b18e9b68314: Verifying Checksum 08:21:20 9b18e9b68314: Download complete 08:21:21 d5ac0230b979: Verifying Checksum 08:21:21 d5ac0230b979: Download complete 08:21:22 9b18e9b68314: Pull complete 08:21:22 d32db5db7311: Pull complete 08:21:22 d0c4b47475fc: Pull complete 08:21:23 5dd5c2283517: Download complete 08:21:23 5831b945b038: Download complete 08:21:36 5831b945b038: Pull complete 08:21:36 86bbec2aaacd: Pull complete 08:21:36 e10730c5d714: Pull complete 08:21:42 5dd5c2283517: Pull complete 08:21:43 d5ac0230b979: Pull complete 08:21:43 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 08:21:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 08:21:44 ---> 59b3b1a385d4 08:21:44 Step 3/14 : ARG ADD_BUILD_TAGS="" 08:21:46 ---> Running in bd6c8df3acfb 08:21:46 Removing intermediate container bd6c8df3acfb 08:21:46 ---> 515071c45466 08:21:46 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:21:46 ---> Running in 28ec429d6011 08:21:47 Removing intermediate container 28ec429d6011 08:21:47 ---> 5fac224b087a 08:21:47 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:21:47 ---> Running in b23f32d53ed4 08:21:47 Removing intermediate container b23f32d53ed4 08:21:47 ---> 791b875ee3bd 08:21:47 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 08:21:47 ---> Running in 2a2ef249cd29 08:21:48 Removing intermediate container 2a2ef249cd29 08:21:48 ---> f1c13d62c9c8 08:21:48 Step 7/14 : LABEL Name=edgex-device-onvif-camera 08:21:48 ---> Running in fef685f90a0c 08:21:48 Removing intermediate container fef685f90a0c 08:21:48 ---> 34455f7f9f96 08:21:48 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:21:48 ---> Running in 7d2e477bff04 08:21:50 Removing intermediate container 7d2e477bff04 08:21:50 ---> 3790e2edfb15 08:21:50 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:21:50 ---> Running in 2a5b34b744ac 08:21:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:21:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:21:53 OK: 221 MiB in 51 packages 08:21:54 Removing intermediate container 2a5b34b744ac 08:21:54 ---> 9641a8d86d18 08:21:54 Step 10/14 : WORKDIR /device-onvif-camera 08:21:54 ---> Running in 138fd6f81a7a 08:21:54 Removing intermediate container 138fd6f81a7a 08:21:54 ---> fe39f1b12333 08:21:54 Step 11/14 : COPY go.mod vendor* ./ 08:21:55 ---> c82f4f8ef36e 08:21:55 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:21:55 ---> Running in 70b2fd459bb2 08:22:51 Removing intermediate container 70b2fd459bb2 08:22:51 ---> 4d8d81ecf30a 08:22:51 Step 13/14 : COPY . . 08:22:51 ---> 7d369be83106 08:22:51 Step 14/14 : RUN ${MAKE} 08:22:51 ---> Running in b5fd44d8e64b 08:22:52 noop 08:22:52 Removing intermediate container b5fd44d8e64b 08:22:52 ---> 2c0050b577e8 08:22:52 Successfully built 2c0050b577e8 08:22:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:53 + docker inspect -f . ci-base-image-arm64 08:22:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:22:53 prd-ubuntu20.04-docker-arm64-4c-16g-116810 does not seem to be running inside a container 08:22:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:22:54 $ docker top aec6528679e3feae03bf5c3461a4915deb9c5e4204028b54c725e51791f44e27 -eo pid,comm [Pipeline] { [Pipeline] sh 08:22:55 + go version 08:22:55 go version go1.18.7 linux/arm64 [Pipeline] } 08:22:55 $ docker stop --time=1 aec6528679e3feae03bf5c3461a4915deb9c5e4204028b54c725e51791f44e27 08:22:57 $ docker rm -f aec6528679e3feae03bf5c3461a4915deb9c5e4204028b54c725e51791f44e27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:57 + docker inspect -f . ci-base-image-arm64 08:22:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:22:57 prd-ubuntu20.04-docker-arm64-4c-16g-116810 does not seem to be running inside a container 08:22:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:22:59 $ docker top 93936469c8c0ba05f0f016bcf0c15c951109d1caa99edf4ac9bd3d9ba0be5124 -eo pid,comm [Pipeline] { [Pipeline] sh 08:23:00 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 08:23:00 + make test 08:23:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:23:02 ? github.com/edgexfoundry/device-onvif-camera [no test files] 08:24:54 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 08:24:54 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.213s coverage: 29.3% of statements 08:24:54 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 08:25:02 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.675s coverage: 86.5% of statements 08:25:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:25:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:25:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:25:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:25:41 ./bin/test-attribution-txt.sh [Pipeline] echo 08:25:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:25:41 $ docker stop --time=1 93936469c8c0ba05f0f016bcf0c15c951109d1caa99edf4ac9bd3d9ba0be5124 08:25:44 $ docker rm -f 93936469c8c0ba05f0f016bcf0c15c951109d1caa99edf4ac9bd3d9ba0be5124 [Pipeline] // withDockerContainer [Pipeline] sh 08:25:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:25:45 Warning: overwriting stash ‘coverage-report’ 08:25:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:25:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:25:46 + ls -al . 08:25:46 total 240 08:25:46 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 08:23 . 08:25:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:20 .. 08:25:46 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 08:20 .git 08:25:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:20 .github 08:25:46 -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 08:20 .gitignore 08:25:46 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 08:20 .golangci.yml 08:25:46 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 08:20 Attribution.txt 08:25:46 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 08:20 CHANGELOG.md 08:25:46 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 25 08:20 Dockerfile 08:25:46 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 08:20 GOVERNANCE.md 08:25:46 -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 08:20 Jenkinsfile 08:25:46 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 08:20 LICENSE 08:25:46 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 08:20 Makefile 08:25:46 -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 08:20 OWNERS.md 08:25:46 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 08:20 README.md 08:25:46 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 04:20 VERSION 08:25:46 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 08:20 bin 08:25:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:20 cmd 08:25:46 -rw-r--r-- 1 jenkins jenkins 79184 Oct 25 08:25 coverage.out 08:25:46 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 08:20 doc 08:25:46 -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 08:20 go.mod 08:25:46 -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 08:20 go.sum 08:25:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:20 internal 08:25:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:20 snap 08:25:46 -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 08:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:46 + 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=a532537c8df3e6dbad09e52d76e7984388350fce --label arch=arm64 --label version=0.0.0 . 08:25:47 Sending build context to Docker daemon 14.93MB 08:25:47 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 08:25:47 Step 2/27 : FROM ${BASE} AS builder 08:25:47 ---> 2c0050b577e8 08:25:47 Step 3/27 : ARG ADD_BUILD_TAGS="" 08:25:47 ---> Running in 8a3d2e666a74 08:25:49 Removing intermediate container 8a3d2e666a74 08:25:49 ---> 65dc918fc17f 08:25:49 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:25:49 ---> Running in d719c4c29ba1 08:25:49 Removing intermediate container d719c4c29ba1 08:25:49 ---> c92495bc14e3 08:25:49 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:25:49 ---> Running in fb06b852e0c9 08:25:50 Removing intermediate container fb06b852e0c9 08:25:50 ---> 59f2479d9ef6 08:25:50 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 08:25:50 ---> Running in 7cfc8cc36be6 08:25:52 Removing intermediate container 7cfc8cc36be6 08:25:52 ---> 335b032af15e 08:25:52 Step 7/27 : LABEL Name=edgex-device-onvif-camera 08:25:52 ---> Running in c3a7f3ee5541 08:25:52 Removing intermediate container c3a7f3ee5541 08:25:52 ---> 64d420d69816 08:25:52 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:25:52 ---> Running in c5fe39d334b2 08:25:55 Removing intermediate container c5fe39d334b2 08:25:55 ---> e17fef02f06a 08:25:55 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:25:55 ---> Running in ddc6a5d75ced 08:25:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:25:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:25:59 OK: 221 MiB in 51 packages 08:26:00 Removing intermediate container ddc6a5d75ced 08:26:00 ---> a4faa2b8e1a6 08:26:00 Step 10/27 : WORKDIR /device-onvif-camera 08:26:01 ---> Running in 74faf03f396e 08:26:01 Removing intermediate container 74faf03f396e 08:26:01 ---> d9ef64bb769a 08:26:01 Step 11/27 : COPY go.mod vendor* ./ 08:26:01 ---> fd658f6409d4 08:26:01 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:26:02 ---> Running in 756976a1113f 08:26:04 Removing intermediate container 756976a1113f 08:26:04 ---> cc6147204c8d 08:26:04 Step 13/27 : COPY . . 08:26:06 ---> 93155059feb8 08:26:06 Step 14/27 : RUN ${MAKE} 08:26:06 ---> Running in 8afc2c45d8d0 08:26:07 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 08:28:44 Removing intermediate container 8afc2c45d8d0 08:28:44 ---> dd3de6cb967f 08:28:44 Step 15/27 : FROM alpine:3.16 08:28:44 3.16: Pulling from library/alpine 08:28:44 9b18e9b68314: Already exists 08:28:44 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 08:28:44 Status: Downloaded newer image for alpine:3.16 08:28:44 ---> a6215f271958 08:28:44 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 08:28:44 ---> Running in 0ab9b88ee0bb 08:28:44 Removing intermediate container 0ab9b88ee0bb 08:28:44 ---> ae750c8a5dce 08:28:44 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 08:28:44 ---> Running in b03e6179eeaf 08:28:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:28:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:28:44 (1/6) Installing dumb-init (1.2.5-r1) 08:28:44 (2/6) Installing libgcc (11.2.1_git20220219-r2) 08:28:44 (3/6) Installing libsodium (1.0.18-r0) 08:28:44 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 08:28:44 (5/6) Installing libzmq (4.3.4-r0) 08:28:44 (6/6) Installing zeromq (4.3.4-r0) 08:28:44 Executing busybox-1.35.0-r17.trigger 08:28:44 OK: 8 MiB in 20 packages 08:28:45 Removing intermediate container b03e6179eeaf 08:28:45 ---> 45c05511a0ad 08:28:45 Step 18/27 : WORKDIR / 08:28:45 ---> Running in b4ea6cbcc576 08:28:46 Removing intermediate container b4ea6cbcc576 08:28:46 ---> b7b2ad2f1004 08:28:46 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 08:28:47 ---> 571451fd58b8 08:28:47 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 08:28:48 ---> 4611b5f8ebff 08:28:48 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 08:28:48 ---> 3418bfcdec50 08:28:48 Step 22/27 : EXPOSE 59984 08:28:48 ---> Running in fce17fbea591 08:28:49 Removing intermediate container fce17fbea591 08:28:49 ---> da5a4a6cb5a5 08:28:49 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 08:28:49 ---> Running in 4a748e83556f 08:28:49 Removing intermediate container 4a748e83556f 08:28:49 ---> 5fbac1a1c29e 08:28:49 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:28:49 ---> Running in 81446ae07b7a 08:28:49 Removing intermediate container 81446ae07b7a 08:28:49 ---> 6f2ed285be61 08:28:49 Step 25/27 : LABEL arch=arm64 08:28:50 ---> Running in 5fb1b932c27a 08:28:50 Removing intermediate container 5fb1b932c27a 08:28:50 ---> e283ebe51bf8 08:28:50 Step 26/27 : LABEL git_sha=a532537c8df3e6dbad09e52d76e7984388350fce 08:28:50 ---> Running in 7cca89e18733 08:28:50 Removing intermediate container 7cca89e18733 08:28:50 ---> 75a8f5f03fed 08:28:50 Step 27/27 : LABEL version=0.0.0 08:28:50 ---> Running in 5ec24fc1f0e5 08:28:50 Removing intermediate container 5ec24fc1f0e5 08:28:50 ---> 009e2f87de5c 08:28:50 [Warning] One or more build-args [ARCH] were not consumed 08:28:51 Successfully built 009e2f87de5c 08:28:51 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 08:28:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:28:51 08:28:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:28:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:28:52 arm64: Pulling from edgex-lftools-log-publisher 08:28:52 8998bd30e6a1: Pulling fs layer 08:28:52 04944245beec: Pulling fs layer 08:28:52 699f458cf7ca: Pulling fs layer 08:28:52 765212b225bb: Pulling fs layer 08:28:52 f23df028b6ca: Pulling fs layer 08:28:52 d65c8cfc05b1: Pulling fs layer 08:28:52 2437ff75d9bd: Pulling fs layer 08:28:52 765212b225bb: Waiting 08:28:52 d65c8cfc05b1: Waiting 08:28:52 2437ff75d9bd: Waiting 08:28:52 f23df028b6ca: Waiting 08:28:52 04944245beec: Verifying Checksum 08:28:52 04944245beec: Download complete 08:28:52 765212b225bb: Download complete 08:28:52 f23df028b6ca: Download complete 08:28:52 d65c8cfc05b1: Verifying Checksum 08:28:52 d65c8cfc05b1: Download complete 08:28:52 699f458cf7ca: Verifying Checksum 08:28:52 699f458cf7ca: Download complete 08:28:52 8998bd30e6a1: Verifying Checksum 08:28:52 8998bd30e6a1: Download complete 08:28:55 2437ff75d9bd: Verifying Checksum 08:28:55 2437ff75d9bd: Download complete 08:28:57 8998bd30e6a1: Pull complete 08:28:57 04944245beec: Pull complete 08:28:58 699f458cf7ca: Pull complete 08:28:59 765212b225bb: Pull complete 08:29:00 f23df028b6ca: Pull complete 08:29:00 d65c8cfc05b1: Pull complete 08:29:15 2437ff75d9bd: Pull complete 08:29:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:29:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:29:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:29:15 prd-ubuntu20.04-docker-arm64-4c-16g-116810 does not seem to be running inside a container 08:29:15 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:29:18 $ docker top 5f79c33155b0a8f4ed18bd349b11256b0712d22a18aa7fe2ae5a0e7cb36b9398 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:29:19 ---> job-cost.sh 08:29:19 lf-activate-venv: SKIPPING 08:29:19 INFO: No Stack... 08:29:19 INFO: Retrieving Pricing Info for: v3-standard-4 08:29:20 INFO: Archiving Costs [Pipeline] sh 08:29:20 + cut -d, -f6 08:29:20 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock 08:29:21 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-182-2-stack-cost] 08:29:21 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-2-stack-cost] did not exist. Created. 08:29:21 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-182-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:29:21 /w/workspace/device-onvif-camera/2@tmp/durable-8b44f831/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:29:22 + echo total: 0.10999999940395355 [Pipeline] stash 08:29:22 Warning: overwriting stash ‘stack-cost’ 08:29:22 Stashed 1 file(s) [Pipeline] } 08:29:22 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-182-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:29:22 $ docker stop --time=1 5f79c33155b0a8f4ed18bd349b11256b0712d22a18aa7fe2ae5a0e7cb36b9398 08:29:23 $ docker rm -f 5f79c33155b0a8f4ed18bd349b11256b0712d22a18aa7fe2ae5a0e7cb36b9398 [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 08:29:24 provisioning config files... 08:29:24 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config10331974962526420966tmp [Pipeline] { [Pipeline] sh 08:29:24 + set +x 08:29:24 + + curl -s https://codecov.io/bash 08:29:24 bash -s -- 08:29:24 08:29:24 _____ _ 08:29:24 / ____| | | 08:29:24 | | ___ __| | ___ ___ _____ __ 08:29:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:29:24 | |___| (_) | (_| | __/ (_| (_) \ V / 08:29:24 \_____\___/ \__,_|\___|\___\___/ \_/ 08:29:24 Bash-1.0.6 08:29:24 08:29:24 08:29:24 ==> git version 2.25.1 found 08:29:24 ==> 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 08:29:24 Release-Date: 2020-01-08 08:29:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:29:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:29:24 ==> Jenkins CI detected. 08:29:24 current dir:  /w/workspace/undry_device-onvif-camera_PR-182 08:29:24 project root: . 08:29:24 --> token set from env 08:29:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:29:24 ==> Running gcov in . (disable via -X gcov) 08:29:24 ==> Python coveragepy not found 08:29:24 ==> Searching for coverage reports in: 08:29:24 + . 08:29:24 -> Found 1 reports 08:29:24 ==> Detecting git/mercurial file structure 08:29:24 ==> Reading reports 08:29:24 + ./coverage.out bytes=79184 08:29:24 ==> Appending adjustments 08:29:24 https://docs.codecov.io/docs/fixing-reports 08:29:24 + Found adjustments 08:29:24 ==> Gzipping contents 08:29:24 12K /tmp/codecov.KyUw4Q.gz 08:29:24 ==> Uploading reports 08:29:24 url: https://codecov.io 08:29:24 query: branch=PR-182&commit=134d258ee2bdae13520e4fd8bee1812bcbf8e9d8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-182%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=182&job=&cmd_args= 08:29:24 -> Pinging Codecov 08:29:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-182&commit=134d258ee2bdae13520e4fd8bee1812bcbf8e9d8&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-182%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=182&job=&cmd_args= 08:29:24 -> Uploading to 08:29:24 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/F29A59C45E3A92E06B3E522C9905F8EF/134d258ee2bdae13520e4fd8bee1812bcbf8e9d8/872cbae9-8cb9-4430-b4a9-09dbb72d14f3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T082924Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2d6ad572081bba8bf020b9962a56695c5691e00aeb0377d654c13abb79c52bde 08:29:24 % Total % Received % Xferd Average Speed Time Time Time Current 08:29:24 Dload Upload Total Spent Left Speed 08:29:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10882 0 0 100 10882 0 49018 --:--:-- --:--:-- --:--:-- 49018 08:29:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/134d258ee2bdae13520e4fd8bee1812bcbf8e9d8 [Pipeline] } 08:29:25 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 08:29:25 + [ -d /w/workspace/undry_device-onvif-camera_PR-182/archives ] 08:29:25 + ls -al /w/workspace/undry_device-onvif-camera_PR-182/archives 08:29:25 total 16 08:29:25 drwxr-xr-x 3 root root 4096 Oct 25 04:22 . 08:29:25 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 04:22 .. 08:29:25 drwxr-xr-x 2 root root 4096 Oct 25 04:22 cost 08:29:25 -rw-r--r-- 1 root root 91 Oct 25 04:22 cost.csv 08:29:25 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-182/archives 08:29:25 + ls -al /w/workspace/undry_device-onvif-camera_PR-182/archives 08:29:25 total 16 08:29:25 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 04:22 . 08:29:25 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 04:22 .. 08:29:25 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 04:22 cost 08:29:25 -rw-r--r-- 1 jenkins jenkins 91 Oct 25 04:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:29:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:29:26 ---> package-listing.sh 08:29:26 ++ facter osfamily 08:29:26 ++ tr '[:upper:]' '[:lower:]' 08:29:26 + OS_FAMILY=debian 08:29:26 + workspace=/w/workspace/undry_device-onvif-camera_PR-182 08:29:26 + START_PACKAGES=/tmp/packages_start.txt 08:29:26 + END_PACKAGES=/tmp/packages_end.txt 08:29:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:29:26 + PACKAGES=/tmp/packages_start.txt 08:29:26 + '[' /w/workspace/undry_device-onvif-camera_PR-182 ']' 08:29:26 + PACKAGES=/tmp/packages_end.txt 08:29:26 + case "${OS_FAMILY}" in 08:29:26 + dpkg -l 08:29:26 + grep '^ii' 08:29:27 + '[' -f /tmp/packages_start.txt ']' 08:29:27 + '[' -f /tmp/packages_end.txt ']' 08:29:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:29:27 + '[' /w/workspace/undry_device-onvif-camera_PR-182 ']' 08:29:27 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-182/archives/ 08:29:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-182/archives/ [Pipeline] echo 08:29:27 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-182/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:29:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:29:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:29:28 prd-ubuntu20.04-docker-8c-8g-80503 does not seem to be running inside a container 08:29:28 $ 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-182/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-182 -v /w/workspace/undry_device-onvif-camera_PR-182:/w/workspace/undry_device-onvif-camera_PR-182:rw,z -v /w/workspace/undry_device-onvif-camera_PR-182@tmp:/w/workspace/undry_device-onvif-camera_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:29:28 $ docker top 8586a2ad81948334709f00d260fec56c7a9be51b4e62d150fef266619548505d -eo pid,comm [Pipeline] { [Pipeline] sh 08:29:28 + touch /tmp/pre-build-complete [Pipeline] sh 08:29:29 + mkdir -p /var/log/sysstat [Pipeline] sh 08:29:29 + ls /var/log/sa-host 08:29:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:29:29 provisioning config files... 08:29:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-182@tmp/config17362335296575725424tmp [Pipeline] { [Pipeline] echo 08:29:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:29:29 ---> create-netrc.sh [Pipeline] } 08:29:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:29:29 ---> python-tools-install.sh [Pipeline] echo 08:29:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:29:30 ---> sudo-logs.sh 08:29:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:29:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:29:30 ---> job-cost.sh 08:29:30 lf-activate-venv: SKIPPING 08:29:30 DEBUG: total: 0.2199999988079071 08:29:30 INFO: Retrieving Stack Cost... 08:29:30 INFO: Retrieving Pricing Info for: v3-standard-8 08:29:31 INFO: Archiving Costs [Pipeline] echo 08:29:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:29:31 ---> logs-deploy.sh 08:29:31 lf-activate-venv: SKIPPING 08:29:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-182/2 08:29:31 INFO: archiving workspace using pattern(s): 08:29:32 Archives upload complete. 08:29:32 INFO: archiving logs to Nexus