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 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 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-ssh10358056954255051374.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1573203834139002330.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10104834385059220796.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3289210139586760643.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-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4750892752555891082.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7609’ Running on prd-ubuntu20.04-docker-8c-8g-7614 in /w/workspace/undry_device-onvif-camera_PR-125 [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-125 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 42fce10a9ace6ac4207144ce76d97f5269555ec7 Checking out Revision 42fce10a9ace6ac4207144ce76d97f5269555ec7 (PR-125) > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub 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 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 42fce10a9ace6ac4207144ce76d97f5269555ec7 # timeout=10 Commit message: "Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:11:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:11:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:11:48 ========================================================= 02:11:48 EdgeX Global Pipelines Version Info 02:11:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:11:48 ------------------- 02:11:48 stable info: 02:11:48 ------------------- 02:11:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:11:48 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 02:11:48 Message: update stable to v1.0.239 > git rev-list --no-walk 89e5d6900a6dbc2cb88b7befb9a63728dacdb8c8 # timeout=10 02:11:49 ------------------- 02:11:49 experimental info: 02:11:49 ------------------- 02:11:49 Commited By: **** collab-it+edgex@linuxfoundation.org 02:11:49 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 02:11:49 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 42fce10a9ace6ac4207144ce76d97f5269555ec7 [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 42fce10 [Pipeline] echo 02:11:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:49 provisioning config files... 02:11:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config16023434629996077855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:50 ---> docker-login.sh 02:11:50 nexus3.edgexfoundry.org:10001 02:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:50 Configure a credential helper to remove this warning. See 02:11:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:50 02:11:50 Login Succeeded 02:11:50 nexus3.edgexfoundry.org:10002 02:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:50 Configure a credential helper to remove this warning. See 02:11:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:50 02:11:50 Login Succeeded 02:11:50 nexus3.edgexfoundry.org:10003 02:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:50 Configure a credential helper to remove this warning. See 02:11:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:50 02:11:50 Login Succeeded 02:11:50 nexus3.edgexfoundry.org:10004 02:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:50 Configure a credential helper to remove this warning. See 02:11:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:50 02:11:50 Login Succeeded 02:11:50 docker.io 02:11:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:51 Configure a credential helper to remove this warning. See 02:11:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:51 02:11:51 Login Succeeded 02:11:51 ---> docker-login.sh ends [Pipeline] } 02:11:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:11:51 + git rev-list -1 --merges 42fce10a9ace6ac4207144ce76d97f5269555ec7~1..42fce10a9ace6ac4207144ce76d97f5269555ec7 [Pipeline] echo 02:11:51 -----------> git rev-list -1 --merges 42fce10a9ace6ac4207144ce76d97f5269555ec7~1..42fce10a9ace6ac4207144ce76d97f5269555ec7 42fce10a9ace6ac4207144ce76d97f5269555ec7 02:11:51 42fce10a9ace6ac4207144ce76d97f5269555ec7 [false] [Pipeline] sh 02:11:51 + git log --format=format:%s -1 42fce10a9ace6ac4207144ce76d97f5269555ec7 [Pipeline] echo 02:11:51 ========================================================= 02:11:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:11:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:11:52 + git log --format=format:%s -1 42fce10a9ace6ac4207144ce76d97f5269555ec7 [Pipeline] echo 02:11:52 [semverPrep] GIT_COMMIT: 42fce10a9ace6ac4207144ce76d97f5269555ec7, Commit Message: Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD [Pipeline] echo 02:11:52 [semverPrep] This is not a build commit. [Pipeline] sh 02:11:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:11:52 + grep -v github /etc/ssh/ssh_known_hosts 02:11:52 + [ -e /tmp/ssh_known_hosts ] 02:11:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:11:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:11:52 + sudo tee -a /etc/ssh/ssh_known_hosts 02:11:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:11:52 02:11:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:11:53 0.1.4: Pulling from edgex-devops/py-git-semver 02:11:53 b85a868b505f: Pulling fs layer 02:11:53 e2be974225ed: Pulling fs layer 02:11:53 339a4e72a1f5: Pulling fs layer 02:11:53 988bab9f4d93: Pulling fs layer 02:11:53 1469e6f7b9e6: Pulling fs layer 02:11:53 eaf3925da568: Pulling fs layer 02:11:53 bab4dde63d76: Pulling fs layer 02:11:53 bde34c3a00c8: Pulling fs layer 02:11:53 b352a97aabf1: Pulling fs layer 02:11:53 4872d77fe225: Pulling fs layer 02:11:53 5851b861e8e6: Pulling fs layer 02:11:53 bab4dde63d76: Waiting 02:11:53 bde34c3a00c8: Waiting 02:11:53 1469e6f7b9e6: Waiting 02:11:53 eaf3925da568: Waiting 02:11:53 988bab9f4d93: Waiting 02:11:53 b352a97aabf1: Waiting 02:11:53 4872d77fe225: Waiting 02:11:53 5851b861e8e6: Waiting 02:11:53 e2be974225ed: Verifying Checksum 02:11:53 e2be974225ed: Download complete 02:11:53 988bab9f4d93: Verifying Checksum 02:11:53 988bab9f4d93: Download complete 02:11:53 1469e6f7b9e6: Verifying Checksum 02:11:53 1469e6f7b9e6: Download complete 02:11:53 339a4e72a1f5: Verifying Checksum 02:11:53 339a4e72a1f5: Download complete 02:11:53 eaf3925da568: Verifying Checksum 02:11:53 eaf3925da568: Download complete 02:11:53 bde34c3a00c8: Verifying Checksum 02:11:53 bde34c3a00c8: Download complete 02:11:53 b352a97aabf1: Download complete 02:11:53 4872d77fe225: Verifying Checksum 02:11:53 4872d77fe225: Download complete 02:11:53 5851b861e8e6: Verifying Checksum 02:11:53 5851b861e8e6: Download complete 02:11:53 b85a868b505f: Verifying Checksum 02:11:53 b85a868b505f: Download complete 02:11:53 bab4dde63d76: Verifying Checksum 02:11:53 bab4dde63d76: Download complete 02:11:55 b85a868b505f: Pull complete 02:11:55 e2be974225ed: Pull complete 02:11:55 339a4e72a1f5: Pull complete 02:11:55 988bab9f4d93: Pull complete 02:11:55 1469e6f7b9e6: Pull complete 02:11:55 eaf3925da568: Pull complete 02:11:57 bab4dde63d76: Pull complete 02:11:57 bde34c3a00c8: Pull complete 02:11:57 b352a97aabf1: Pull complete 02:11:58 4872d77fe225: Pull complete 02:11:58 5851b861e8e6: Pull complete 02:11:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:11:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:11:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:58 prd-ubuntu20.04-docker-8c-8g-7614 does not seem to be running inside a container 02:11:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:11:59 $ docker top 39418c55d2716de1a9b1ca65839e652ce5d8360a66fe12c581c4dfef0e0847c1 -eo pid,comm 02:11:59 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). 02:11:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:11:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:11:59 [ssh-agent] Looking for ssh-agent implementation... 02:12:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:12:00 $ docker exec 39418c55d2716de1a9b1ca65839e652ce5d8360a66fe12c581c4dfef0e0847c1 ssh-agent 02:12:00 SSH_AUTH_SOCK=/tmp/ssh-0FBlX4iEvfuj/agent.33 02:12:00 SSH_AGENT_PID=39 02:12:00 Running ssh-add (command line suppressed) 02:12:00 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_221568026561926194.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_221568026561926194.key) 02:12:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:12:00 + git tag --points-at HEAD [Pipeline] } 02:12:00 $ docker exec --env ******** --env ******** 39418c55d2716de1a9b1ca65839e652ce5d8360a66fe12c581c4dfef0e0847c1 ssh-agent -k 02:12:00 unset SSH_AUTH_SOCK; 02:12:00 unset SSH_AGENT_PID; 02:12:00 echo Agent pid 39 killed; 02:12:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:12:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:12:00 [ssh-agent] Looking for ssh-agent implementation... 02:12:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:12:00 $ docker exec 39418c55d2716de1a9b1ca65839e652ce5d8360a66fe12c581c4dfef0e0847c1 ssh-agent 02:12:00 SSH_AUTH_SOCK=/tmp/ssh-wh4y7VnIFWt7/agent.71 02:12:00 SSH_AGENT_PID=77 02:12:00 Running ssh-add (command line suppressed) 02:12:01 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_12465614602999461483.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_12465614602999461483.key) 02:12:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:12:01 + git semver init 02:12:01 2022-10-11 02:12:01,571 [run_init] DEBUG init version:0.0.0 force:False 02:12:01 2022-10-11 02:12:01,572 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver 02:12:01 2022-10-11 02:12:01,572 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver 02:12:01 2022-10-11 02:12:01,572 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) 02:12:02 2022-10-11 02:12:02,529 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude 02:12:02 2022-10-11 02:12:02,529 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False 02:12:02 2022-10-11 02:12:02,529 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 02:12:02 2022-10-11 02:12:02,534 [execute] INFO git cat-file --batch-check 02:12:02 2022-10-11 02:12:02,534 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) 02:12:02 2022-10-11 02:12:02,540 [execute] INFO git cat-file --batch 02:12:02 2022-10-11 02:12:02,541 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) 02:12:02 2022-10-11 02:12:02,546 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 02:12:02 0.0.0 [Pipeline] } 02:12:02 $ docker exec --env ******** --env ******** 39418c55d2716de1a9b1ca65839e652ce5d8360a66fe12c581c4dfef0e0847c1 ssh-agent -k 02:12:02 unset SSH_AUTH_SOCK; 02:12:02 unset SSH_AGENT_PID; 02:12:02 echo Agent pid 77 killed; 02:12:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:12:03 + git semver [Pipeline] } 02:12:03 $ docker stop --time=1 39418c55d2716de1a9b1ca65839e652ce5d8360a66fe12c581c4dfef0e0847c1 02:12:04 $ docker rm -f 39418c55d2716de1a9b1ca65839e652ce5d8360a66fe12c581c4dfef0e0847c1 [Pipeline] // withDockerContainer [Pipeline] sh 02:12:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:12:05 Stashed 1 file(s) [Pipeline] echo 02:12:05 [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 02:12:05 provisioning config files... 02:12:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config14140188293889844572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:12:05 ---> docker-login.sh 02:12:05 nexus3.edgexfoundry.org:10001 02:12:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:05 Configure a credential helper to remove this warning. See 02:12:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:05 02:12:05 Login Succeeded 02:12:05 nexus3.edgexfoundry.org:10002 02:12:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:05 Configure a credential helper to remove this warning. See 02:12:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:05 02:12:05 Login Succeeded 02:12:05 nexus3.edgexfoundry.org:10003 02:12:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:05 Configure a credential helper to remove this warning. See 02:12:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:05 02:12:05 Login Succeeded 02:12:05 nexus3.edgexfoundry.org:10004 02:12:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:06 Configure a credential helper to remove this warning. See 02:12:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:06 02:12:06 Login Succeeded 02:12:06 docker.io 02:12:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:12:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:12:06 Configure a credential helper to remove this warning. See 02:12:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:12:06 02:12:06 Login Succeeded 02:12:06 ---> docker-login.sh ends [Pipeline] } 02:12:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:12:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:12:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:12:06 ========================================================= 02:12:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:12:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:06 + 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 . 02:12:06 Sending build context to Docker daemon 20.8MB 02:12:06 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 02:12:06 Step 2/14 : FROM ${BASE} AS builder 02:12:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:12:07 213ec9aee27d: Pulling fs layer 02:12:07 4583459ba037: Pulling fs layer 02:12:07 93c1e223e6f2: Pulling fs layer 02:12:07 53926ce57604: Pulling fs layer 02:12:07 21b2b0c7a3f4: Pulling fs layer 02:12:07 30f14e443154: Pulling fs layer 02:12:07 801331c1e519: Pulling fs layer 02:12:07 99cc6dd402b0: Pulling fs layer 02:12:07 7d9ed39f4882: Pulling fs layer 02:12:07 21b2b0c7a3f4: Waiting 02:12:07 30f14e443154: Waiting 02:12:07 801331c1e519: Waiting 02:12:07 99cc6dd402b0: Waiting 02:12:07 7d9ed39f4882: Waiting 02:12:07 53926ce57604: Waiting 02:12:07 93c1e223e6f2: Verifying Checksum 02:12:07 93c1e223e6f2: Download complete 02:12:07 4583459ba037: Verifying Checksum 02:12:07 4583459ba037: Download complete 02:12:07 21b2b0c7a3f4: Verifying Checksum 02:12:07 21b2b0c7a3f4: Download complete 02:12:07 30f14e443154: Download complete 02:12:07 213ec9aee27d: Verifying Checksum 02:12:07 213ec9aee27d: Download complete 02:12:07 801331c1e519: Verifying Checksum 02:12:07 801331c1e519: Download complete 02:12:07 213ec9aee27d: Pull complete 02:12:07 4583459ba037: Pull complete 02:12:07 93c1e223e6f2: Pull complete 02:12:07 7d9ed39f4882: Download complete 02:12:08 99cc6dd402b0: Verifying Checksum 02:12:08 99cc6dd402b0: Download complete 02:12:08 53926ce57604: Verifying Checksum 02:12:08 53926ce57604: Download complete 02:12:12 53926ce57604: Pull complete 02:12:12 21b2b0c7a3f4: Pull complete 02:12:12 30f14e443154: Pull complete 02:12:12 801331c1e519: Pull complete 02:12:14 99cc6dd402b0: Pull complete 02:12:15 7d9ed39f4882: Pull complete 02:12:15 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 02:12:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:12:15 ---> 1dedd983c030 02:12:15 Step 3/14 : ARG ADD_BUILD_TAGS="" 02:12:16 ---> Running in fa80785e5b6d 02:12:17 Removing intermediate container fa80785e5b6d 02:12:17 ---> f5636a814ce2 02:12:17 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:12:17 ---> Running in 14fb3e5a7562 02:12:17 Removing intermediate container 14fb3e5a7562 02:12:17 ---> 2df7c02b331a 02:12:17 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:12:17 ---> Running in 900e45541957 02:12:17 Removing intermediate container 900e45541957 02:12:17 ---> b3bb707429fa 02:12:17 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 02:12:17 ---> Running in e51c92a5962b 02:12:17 Removing intermediate container e51c92a5962b 02:12:17 ---> d4249b224dea 02:12:17 Step 7/14 : LABEL Name=edgex-device-onvif-camera 02:12:17 ---> Running in 910caf74f329 02:12:17 Removing intermediate container 910caf74f329 02:12:17 ---> 173710c49dee 02:12:17 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:12:17 ---> Running in fa9ca2a4af8b 02:12:18 Removing intermediate container fa9ca2a4af8b 02:12:18 ---> cf608e6ff705 02:12:18 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:12:18 ---> Running in 24d918f13533 02:12:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:12:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:12:19 OK: 211 MiB in 51 packages 02:12:20 Removing intermediate container 24d918f13533 02:12:20 ---> 36edf31ef14f 02:12:20 Step 10/14 : WORKDIR /device-onvif-camera 02:12:20 ---> Running in 48d2384fd25a 02:12:20 Removing intermediate container 48d2384fd25a 02:12:20 ---> 35d96bf5c6cc 02:12:20 Step 11/14 : COPY go.mod vendor* ./ 02:12:20 Still waiting to schedule task 02:12:20 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7610’ 02:12:20 ---> 967a6d55d5b7 02:12:20 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:12:20 ---> Running in 018a402df4f9 02:12:38 Removing intermediate container 018a402df4f9 02:12:38 ---> 011c564d32f3 02:12:38 Step 13/14 : COPY . . 02:12:38 ---> 32259055bce5 02:12:38 Step 14/14 : RUN ${MAKE} 02:12:38 ---> Running in c2b5f1e41ce0 02:12:38 noop 02:12:38 Removing intermediate container c2b5f1e41ce0 02:12:38 ---> 5a1a188d424a 02:12:38 Successfully built 5a1a188d424a 02:12:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:38 + docker inspect -f . ci-base-image-x86_64 02:12:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:38 prd-ubuntu20.04-docker-8c-8g-7614 does not seem to be running inside a container 02:12:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:12:39 $ docker top 2e7c0fab2b5aee3a53119bf9201fe539d43e6382c9d9611a7634a7a462967184 -eo pid,comm [Pipeline] { [Pipeline] sh 02:12:39 + go version 02:12:39 go version go1.18.7 linux/amd64 [Pipeline] } 02:12:39 $ docker stop --time=1 2e7c0fab2b5aee3a53119bf9201fe539d43e6382c9d9611a7634a7a462967184 02:12:41 $ docker rm -f 2e7c0fab2b5aee3a53119bf9201fe539d43e6382c9d9611a7634a7a462967184 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:41 + docker inspect -f . ci-base-image-x86_64 02:12:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:12:41 prd-ubuntu20.04-docker-8c-8g-7614 does not seem to be running inside a container 02:12:41 $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:12:41 $ docker top 468a4bf40867bae4ae5e4f51e46f75c8112fd32467d01d3f347a8b1c9a39f313 -eo pid,comm [Pipeline] { [Pipeline] sh 02:12:42 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh 02:12:42 + make test 02:12:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:12:43 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:12:55 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:12:55 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.033s coverage: 28.2% of statements 02:12:55 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:12:55 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.729s coverage: 86.5% of statements 02:13:03 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." 02:13:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:13:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:13:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:13:06 ./bin/test-attribution-txt.sh [Pipeline] echo 02:13:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:13:06 $ docker stop --time=1 468a4bf40867bae4ae5e4f51e46f75c8112fd32467d01d3f347a8b1c9a39f313 02:13:08 $ docker rm -f 468a4bf40867bae4ae5e4f51e46f75c8112fd32467d01d3f347a8b1c9a39f313 [Pipeline] // withDockerContainer [Pipeline] sh 02:13:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:13:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:13:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:13:09 + ls -al . 02:13:09 total 236 02:13:09 drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 02:12 . 02:13:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:11 .. 02:13:09 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 02:12 .git 02:13:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 02:11 .github 02:13:09 -rw-rw-r-- 1 jenkins jenkins 418 Oct 11 02:11 .gitignore 02:13:09 -rw-rw-r-- 1 jenkins jenkins 42 Oct 11 02:11 .golangci.yml 02:13:09 drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 02:12 .semver 02:13:09 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 11 02:11 Attribution.txt 02:13:09 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 11 02:11 CHANGELOG.md 02:13:09 -rw-rw-r-- 1 jenkins jenkins 1799 Oct 11 02:11 Dockerfile 02:13:09 -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 02:11 GOVERNANCE.md 02:13:09 -rw-rw-r-- 1 jenkins jenkins 734 Oct 11 02:11 Jenkinsfile 02:13:09 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 11 02:11 LICENSE 02:13:09 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 11 02:11 Makefile 02:13:09 -rw-rw-r-- 1 jenkins jenkins 625 Oct 11 02:11 OWNERS.md 02:13:09 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 11 02:11 README.md 02:13:09 -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 02:12 VERSION 02:13:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 02:11 bin 02:13:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 02:11 cmd 02:13:09 -rw-r--r-- 1 jenkins jenkins 78461 Oct 11 02:12 coverage.out 02:13:09 drwxrwxr-x 6 jenkins jenkins 4096 Oct 11 02:11 doc 02:13:09 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 11 02:11 go.mod 02:13:09 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 11 02:11 go.sum 02:13:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:11 internal 02:13:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:11 snap 02:13:09 -rw-rw-r-- 1 jenkins jenkins 236 Oct 11 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:10 + 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=42fce10a9ace6ac4207144ce76d97f5269555ec7 --label arch=amd64 --label version=0.0.0 . 02:13:10 Sending build context to Docker daemon 20.88MB 02:13:10 Step 1/28 : ARG BASE=golang:1.18-alpine3.16 02:13:10 Step 2/28 : FROM ${BASE} AS builder 02:13:10 ---> 5a1a188d424a 02:13:10 Step 3/28 : ARG ADD_BUILD_TAGS="" 02:13:10 ---> Running in 5b5a4a7b8ea4 02:13:10 Removing intermediate container 5b5a4a7b8ea4 02:13:10 ---> ddb8619b58da 02:13:10 Step 4/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:13:10 ---> Running in 3bda72603a4b 02:13:10 Removing intermediate container 3bda72603a4b 02:13:10 ---> c491562887d9 02:13:10 Step 5/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:13:10 ---> Running in f63d1c1f9218 02:13:10 Removing intermediate container f63d1c1f9218 02:13:10 ---> 0269f0d5874c 02:13:10 Step 6/28 : ARG ALPINE_PKG_EXTRA="" 02:13:10 ---> Running in 3763b78d347f 02:13:10 Removing intermediate container 3763b78d347f 02:13:10 ---> db725f4f8a49 02:13:10 Step 7/28 : LABEL Name=edgex-device-onvif-camera 02:13:10 ---> Running in 13cb017b3f1a 02:13:10 Removing intermediate container 13cb017b3f1a 02:13:10 ---> 7479f9921885 02:13:10 Step 8/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:13:10 ---> Running in f574e43b6889 02:13:11 Removing intermediate container f574e43b6889 02:13:11 ---> 012210a98f7a 02:13:11 Step 9/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:13:11 ---> Running in 4c0a8775e33f 02:13:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:13:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:13:13 OK: 211 MiB in 51 packages 02:13:13 Removing intermediate container 4c0a8775e33f 02:13:13 ---> cf5aca943a81 02:13:13 Step 10/28 : WORKDIR /device-onvif-camera 02:13:13 ---> Running in dac93c053299 02:13:13 Removing intermediate container dac93c053299 02:13:13 ---> 13c77be4132f 02:13:13 Step 11/28 : COPY go.mod vendor* ./ 02:13:13 ---> 4d7be869d08d 02:13:13 Step 12/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:13:13 ---> Running in 5a7cd3c1e8fd 02:13:14 Removing intermediate container 5a7cd3c1e8fd 02:13:14 ---> 78f1fb1957ca 02:13:14 Step 13/28 : COPY . . 02:13:15 ---> 031c6d2c3eb5 02:13:15 Step 14/28 : RUN ${MAKE} 02:13:15 ---> Running in 5a487035026d 02:13:15 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 02:13:37 Removing intermediate container 5a487035026d 02:13:37 ---> c9ef80bd21e4 02:13:37 Step 15/28 : FROM alpine:3.16 02:13:37 3.16: Pulling from library/alpine 02:13:37 213ec9aee27d: Already exists 02:13:37 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:13:37 Status: Downloaded newer image for alpine:3.16 02:13:37 ---> 9c6f07244728 02:13:37 Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:13:37 ---> Running in 9e0ffcd64a29 02:13:37 Removing intermediate container 9e0ffcd64a29 02:13:37 ---> 05edca783326 02:13:37 Step 17/28 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 02:13:37 ---> Running in 69f44d6d5577 02:13:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:13:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:13:38 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 02:13:38 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 02:13:38 (3/21) Installing readline (8.1.2-r0) 02:13:38 (4/21) Installing bash (5.1.16-r2) 02:13:38 Executing bash-5.1.16-r2.post-install 02:13:38 (5/21) Installing ca-certificates (20220614-r0) 02:13:38 (6/21) Installing brotli-libs (1.0.9-r6) 02:13:38 (7/21) Installing nghttp2-libs (1.47.0-r0) 02:13:38 (8/21) Installing libcurl (7.83.1-r3) 02:13:38 (9/21) Installing curl (7.83.1-r3) 02:13:38 (10/21) Installing dumb-init (1.2.5-r1) 02:13:38 (11/21) Installing oniguruma (6.9.8-r0) 02:13:38 (12/21) Installing jq (1.6-r1) 02:13:38 (13/21) Installing popt (1.18-r0) 02:13:38 (14/21) Installing pcre (8.45-r2) 02:13:38 (15/21) Installing slang (2.3.2-r0) 02:13:38 (16/21) Installing newt (0.52.21-r2) 02:13:38 (17/21) Installing libgcc (11.2.1_git20220219-r2) 02:13:38 (18/21) Installing libsodium (1.0.18-r0) 02:13:38 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 02:13:38 (20/21) Installing libzmq (4.3.4-r0) 02:13:38 (21/21) Installing zeromq (4.3.4-r0) 02:13:38 Executing busybox-1.35.0-r17.trigger 02:13:38 Executing ca-certificates-20220614-r0.trigger 02:13:38 OK: 17 MiB in 35 packages 02:13:39 Removing intermediate container 69f44d6d5577 02:13:39 ---> ee978ceda690 02:13:39 Step 18/28 : WORKDIR / 02:13:39 ---> Running in 3887fc70bf87 02:13:39 Removing intermediate container 3887fc70bf87 02:13:39 ---> acd50a5d0121 02:13:39 Step 19/28 : COPY --from=builder /device-onvif-camera/cmd / 02:13:39 ---> 7bdfa9dc3e24 02:13:39 Step 20/28 : COPY --from=builder /device-onvif-camera/LICENSE / 02:13:39 ---> 126e7c88e5a0 02:13:39 Step 21/28 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:13:40 ---> 98ec61e7c0ef 02:13:40 Step 22/28 : COPY --from=builder /device-onvif-camera/bin /scripts/ 02:13:40 ---> c725762614cd 02:13:40 Step 23/28 : EXPOSE 59984 02:13:40 ---> Running in e93896c10ce4 02:13:40 Removing intermediate container e93896c10ce4 02:13:40 ---> 85bdd62be8e5 02:13:40 Step 24/28 : ENTRYPOINT ["/device-onvif-camera"] 02:13:40 ---> Running in 42e0c5689771 02:13:40 Removing intermediate container 42e0c5689771 02:13:40 ---> b52d21e9911c 02:13:40 Step 25/28 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:13:40 ---> Running in d5846dc40e54 02:13:40 Removing intermediate container d5846dc40e54 02:13:40 ---> eaf7dd768255 02:13:40 Step 26/28 : LABEL arch=amd64 02:13:40 ---> Running in 28398fd79545 02:13:40 Removing intermediate container 28398fd79545 02:13:40 ---> 5ea2d50b9e7d 02:13:40 Step 27/28 : LABEL git_sha=42fce10a9ace6ac4207144ce76d97f5269555ec7 02:13:40 ---> Running in ebb5d273b0f8 02:13:40 Removing intermediate container ebb5d273b0f8 02:13:40 ---> d8c353e5c23a 02:13:40 Step 28/28 : LABEL version=0.0.0 02:13:40 ---> Running in 79a59a4c0ecb 02:13:40 Removing intermediate container 79a59a4c0ecb 02:13:40 ---> 4adea6d84b19 02:13:40 [Warning] One or more build-args [ARCH] were not consumed 02:13:40 Successfully built 4adea6d84b19 02:13:40 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 02:13:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:41 02:13:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:41 latest: Pulling from edgex-lftools-log-publisher 02:13:41 5eb5b503b376: Pulling fs layer 02:13:41 5c69ac0246d0: Pulling fs layer 02:13:41 ec43610c2a17: Pulling fs layer 02:13:41 3a2ae6a8a46f: Pulling fs layer 02:13:41 33b1e0a273af: Pulling fs layer 02:13:41 5d3b04190fa2: Pulling fs layer 02:13:41 2f39f015ded8: Pulling fs layer 02:13:41 3a2ae6a8a46f: Waiting 02:13:41 5d3b04190fa2: Waiting 02:13:41 33b1e0a273af: Waiting 02:13:41 2f39f015ded8: Waiting 02:13:41 5c69ac0246d0: Verifying Checksum 02:13:41 5c69ac0246d0: Download complete 02:13:41 3a2ae6a8a46f: Verifying Checksum 02:13:41 3a2ae6a8a46f: Download complete 02:13:41 33b1e0a273af: Verifying Checksum 02:13:41 33b1e0a273af: Download complete 02:13:41 ec43610c2a17: Verifying Checksum 02:13:41 ec43610c2a17: Download complete 02:13:41 5d3b04190fa2: Verifying Checksum 02:13:41 5d3b04190fa2: Download complete 02:13:41 5eb5b503b376: Verifying Checksum 02:13:41 5eb5b503b376: Download complete 02:13:42 2f39f015ded8: Download complete 02:13:43 5eb5b503b376: Pull complete 02:13:43 5c69ac0246d0: Pull complete 02:13:43 ec43610c2a17: Pull complete 02:13:43 3a2ae6a8a46f: Pull complete 02:13:43 33b1e0a273af: Pull complete 02:13:43 5d3b04190fa2: Pull complete 02:13:48 2f39f015ded8: Pull complete 02:13:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:13:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:13:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:13:48 prd-ubuntu20.04-docker-8c-8g-7614 does not seem to be running inside a container 02:13:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:13:50 $ docker top c08a1fe9774d2d8620da2db4c1bcf6f066c499b31beb3af6b663d33acef4828a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:50 ---> job-cost.sh 02:13:50 lf-activate-venv: SKIPPING 02:13:50 INFO: No Stack... 02:13:50 INFO: Retrieving Pricing Info for: v3-standard-8 02:13:51 INFO: Archiving Costs [Pipeline] sh 02:13:51 + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv 02:13:51 + cut -d, -f6 [Pipeline] lock 02:13:51 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-19-stack-cost] 02:13:51 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-19-stack-cost] did not exist. Created. 02:13:51 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:13:51 + echo total: 0.2199999988079071 [Pipeline] stash 02:13:51 Stashed 1 file(s) [Pipeline] } 02:13:51 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-19-stack-cost] [Pipeline] // lock [Pipeline] } 02:13:51 $ docker stop --time=1 c08a1fe9774d2d8620da2db4c1bcf6f066c499b31beb3af6b663d33acef4828a 02:13:53 $ docker rm -f c08a1fe9774d2d8620da2db4c1bcf6f066c499b31beb3af6b663d33acef4828a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:15:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7617 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws 02:15:00 Running in /w/workspace/device-onvif-camera/19 [Pipeline] { [Pipeline] checkout 02:15:00 The recommended git tool is: git 02:15:06 using credential edgex-jenkins-ssh 02:15:06 Cloning the remote Git repository 02:15:06 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 02:15:06 > git init /w/workspace/device-onvif-camera/19 # timeout=10 02:15:06 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:15:06 > git --version # timeout=10 02:15:06 > git --version # 'git version 2.25.1' 02:15:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:15:07 Verifying host key using known hosts file 02:15:07 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. 02:15:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:15:08 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:15:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:15:09 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 02:15:09 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 02:15:09 using GIT_SSH to set credentials SSH Credentials for GitHub 02:15:09 Verifying host key using known hosts file 02:15:09 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. 02:15:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:15:10 Merging remotes/origin/main commit 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 02:15:10 > git config core.sparsecheckout # timeout=10 02:15:10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 02:15:10 > git remote # timeout=10 02:15:10 > git config --get remote.origin.url # timeout=10 02:15:10 using GIT_SSH to set credentials SSH Credentials for GitHub 02:15:10 Verifying host key using known hosts file 02:15:10 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. 02:15:10 > git merge 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 # timeout=10 02:15:10 > git rev-parse HEAD^{commit} # timeout=10 02:15:10 Merge succeeded, producing f552c862b91cdfed2575d1e6116913e56b77d3c0 02:15:11 Checking out Revision f552c862b91cdfed2575d1e6116913e56b77d3c0 (PR-125) 02:15:11 > git config core.sparsecheckout # timeout=10 02:15:11 > git checkout -f f552c862b91cdfed2575d1e6116913e56b77d3c0 # timeout=10 02:15:14 Commit message: "Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD" 02:15:14 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:15:14 > git rev-list --no-walk 89e5d6900a6dbc2cb88b7befb9a63728dacdb8c8 # timeout=10 02:15:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:15:15 % Total % Received % Xferd Average Speed Time Time Time Current 02:15:15 Dload Upload Total Spent Left Speed 02:15:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh 02:15:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:15:16 + + sudosudo tee jq /etc/docker/daemon.new 02:15:16 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:15:16 { 02:15:16 "registry-mirrors": [ 02:15:16 "https://nexus3.edgexfoundry.org:10001" 02:15:16 ], 02:15:16 "bip": "10.250.0.254/24", 02:15:16 "hosts": [ 02:15:16 "tcp://0.0.0.0:5555", 02:15:16 "unix:///var/run/docker.sock" 02:15:16 ], 02:15:16 "mtu": 1458, 02:15:16 "selinux-enabled": true, 02:15:16 "seccomp-profile": "/etc/docker/seccomp.json" 02:15:16 } [Pipeline] sh 02:15:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:15:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:15:35 provisioning config files... 02:15:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/19@tmp/config2551514804570307497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:15:36 ---> docker-login.sh 02:15:36 nexus3.edgexfoundry.org:10001 02:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:36 Configure a credential helper to remove this warning. See 02:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:36 02:15:36 Login Succeeded 02:15:36 nexus3.edgexfoundry.org:10002 02:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:37 Configure a credential helper to remove this warning. See 02:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:37 02:15:37 Login Succeeded 02:15:37 nexus3.edgexfoundry.org:10003 02:15:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:37 Configure a credential helper to remove this warning. See 02:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:37 02:15:37 Login Succeeded 02:15:37 nexus3.edgexfoundry.org:10004 02:15:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:37 Configure a credential helper to remove this warning. See 02:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:37 02:15:37 Login Succeeded 02:15:37 docker.io 02:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:38 Configure a credential helper to remove this warning. See 02:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:38 02:15:38 Login Succeeded 02:15:38 ---> docker-login.sh ends [Pipeline] } 02:15:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:15:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:15:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:15:38 ========================================================= 02:15:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:15:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:15:39 + 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 . 02:15:39 Sending build context to Docker daemon 14.22MB 02:15:39 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 02:15:39 Step 2/14 : FROM ${BASE} AS builder 02:15:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:15:40 9b18e9b68314: Pulling fs layer 02:15:40 d32db5db7311: Pulling fs layer 02:15:40 d0c4b47475fc: Pulling fs layer 02:15:40 5831b945b038: Pulling fs layer 02:15:40 86bbec2aaacd: Pulling fs layer 02:15:40 e10730c5d714: Pulling fs layer 02:15:40 5dd5c2283517: Pulling fs layer 02:15:40 d5ac0230b979: Pulling fs layer 02:15:40 e10730c5d714: Waiting 02:15:40 5dd5c2283517: Waiting 02:15:40 d5ac0230b979: Waiting 02:15:40 5831b945b038: Waiting 02:15:40 86bbec2aaacd: Waiting 02:15:40 d0c4b47475fc: Download complete 02:15:40 d32db5db7311: Verifying Checksum 02:15:40 d32db5db7311: Download complete 02:15:40 86bbec2aaacd: Verifying Checksum 02:15:40 86bbec2aaacd: Download complete 02:15:40 e10730c5d714: Verifying Checksum 02:15:40 e10730c5d714: Download complete 02:15:40 9b18e9b68314: Download complete 02:15:41 9b18e9b68314: Pull complete 02:15:41 d5ac0230b979: Verifying Checksum 02:15:41 d5ac0230b979: Download complete 02:15:41 d32db5db7311: Pull complete 02:15:42 d0c4b47475fc: Pull complete 02:15:42 5dd5c2283517: Verifying Checksum 02:15:42 5dd5c2283517: Download complete 02:15:42 5831b945b038: Verifying Checksum 02:15:42 5831b945b038: Download complete 02:15:55 5831b945b038: Pull complete 02:15:55 86bbec2aaacd: Pull complete 02:15:55 e10730c5d714: Pull complete 02:16:00 5dd5c2283517: Pull complete 02:16:01 d5ac0230b979: Pull complete 02:16:01 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 02:16:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:16:01 ---> 59b3b1a385d4 02:16:01 Step 3/14 : ARG ADD_BUILD_TAGS="" 02:16:03 ---> Running in 10e9d90a6f25 02:16:04 Removing intermediate container 10e9d90a6f25 02:16:04 ---> f85da96cc68d 02:16:04 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:16:04 ---> Running in 9c496cb5d80b 02:16:04 Removing intermediate container 9c496cb5d80b 02:16:04 ---> 75eff2911539 02:16:04 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:16:04 ---> Running in 89a9ac30ee69 02:16:05 Removing intermediate container 89a9ac30ee69 02:16:05 ---> cab3efdcd462 02:16:05 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 02:16:05 ---> Running in 9163831598f7 02:16:05 Removing intermediate container 9163831598f7 02:16:05 ---> 4a11569c9540 02:16:05 Step 7/14 : LABEL Name=edgex-device-onvif-camera 02:16:05 ---> Running in 2b8022baaab9 02:16:05 Removing intermediate container 2b8022baaab9 02:16:05 ---> 7e21709ea8cc 02:16:05 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:16:06 ---> Running in 49dcc81657d6 02:16:08 Removing intermediate container 49dcc81657d6 02:16:08 ---> bc7625843cbc 02:16:08 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:16:08 ---> Running in 1e2e440c38e9 02:16:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:16:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:16:10 OK: 221 MiB in 51 packages 02:16:11 Removing intermediate container 1e2e440c38e9 02:16:11 ---> 66b18955c5dd 02:16:11 Step 10/14 : WORKDIR /device-onvif-camera 02:16:11 ---> Running in fe209bd68bd4 02:16:12 Removing intermediate container fe209bd68bd4 02:16:12 ---> d551c250a721 02:16:12 Step 11/14 : COPY go.mod vendor* ./ 02:16:12 ---> 0a626a956485 02:16:12 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:16:12 ---> Running in 5ebf4753100a 02:17:09 Removing intermediate container 5ebf4753100a 02:17:09 ---> e49518badd7e 02:17:09 Step 13/14 : COPY . . 02:17:09 ---> 8a71308ea9f6 02:17:09 Step 14/14 : RUN ${MAKE} 02:17:09 ---> Running in f01e55dd2428 02:17:09 noop 02:17:09 Removing intermediate container f01e55dd2428 02:17:09 ---> d04e23f2b271 02:17:09 Successfully built d04e23f2b271 02:17:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:09 + docker inspect -f . ci-base-image-arm64 02:17:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:17:09 prd-ubuntu20.04-docker-arm64-4c-16g-7617 does not seem to be running inside a container 02:17:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/19 -v /w/workspace/device-onvif-camera/19:/w/workspace/device-onvif-camera/19:rw,z -v /w/workspace/device-onvif-camera/19@tmp:/w/workspace/device-onvif-camera/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:17:11 $ docker top 025b0c3fbd74962015dac1faa4737d0cafcef75cbbfba5e6c461b498108b4191 -eo pid,comm [Pipeline] { [Pipeline] sh 02:17:12 + go version 02:17:12 go version go1.18.7 linux/arm64 [Pipeline] } 02:17:12 $ docker stop --time=1 025b0c3fbd74962015dac1faa4737d0cafcef75cbbfba5e6c461b498108b4191 02:17:13 $ docker rm -f 025b0c3fbd74962015dac1faa4737d0cafcef75cbbfba5e6c461b498108b4191 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:14 + docker inspect -f . ci-base-image-arm64 02:17:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:17:14 prd-ubuntu20.04-docker-arm64-4c-16g-7617 does not seem to be running inside a container 02:17:14 $ 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/19 -v /w/workspace/device-onvif-camera/19:/w/workspace/device-onvif-camera/19:rw,z -v /w/workspace/device-onvif-camera/19@tmp:/w/workspace/device-onvif-camera/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:17:15 $ docker top eea454add42054306ac69ccf8d783a183694898c1ecc492e6c9a9822977f6a64 -eo pid,comm [Pipeline] { [Pipeline] sh 02:17:16 + git config --global --add safe.directory /w/workspace/device-onvif-camera/19 [Pipeline] fileExists [Pipeline] sh 02:17:17 + make test 02:17:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:17:19 ? github.com/edgexfoundry/device-onvif-camera [no test files] 02:19:11 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 02:19:13 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.207s coverage: 28.2% of statements 02:19:13 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 02:19:28 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.246s coverage: 86.5% of statements 02:19:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:19:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:20:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:20:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:20:07 ./bin/test-attribution-txt.sh [Pipeline] echo 02:20:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:20:07 $ docker stop --time=1 eea454add42054306ac69ccf8d783a183694898c1ecc492e6c9a9822977f6a64 02:20:09 $ docker rm -f eea454add42054306ac69ccf8d783a183694898c1ecc492e6c9a9822977f6a64 [Pipeline] // withDockerContainer [Pipeline] sh 02:20:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:20:10 Warning: overwriting stash ‘coverage-report’ 02:20:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:20:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:20:11 + ls -al . 02:20:11 total 232 02:20:11 drwxrwxr-x 9 jenkins jenkins 4096 Oct 11 02:17 . 02:20:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:15 .. 02:20:11 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 02:15 .git 02:20:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 02:15 .github 02:20:11 -rw-rw-r-- 1 jenkins jenkins 418 Oct 11 02:15 .gitignore 02:20:11 -rw-rw-r-- 1 jenkins jenkins 42 Oct 11 02:15 .golangci.yml 02:20:11 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 11 02:15 Attribution.txt 02:20:11 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 11 02:15 CHANGELOG.md 02:20:11 -rw-rw-r-- 1 jenkins jenkins 1799 Oct 11 02:15 Dockerfile 02:20:11 -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 02:15 GOVERNANCE.md 02:20:11 -rw-rw-r-- 1 jenkins jenkins 734 Oct 11 02:15 Jenkinsfile 02:20:11 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 11 02:15 LICENSE 02:20:11 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 11 02:15 Makefile 02:20:11 -rw-rw-r-- 1 jenkins jenkins 625 Oct 11 02:15 OWNERS.md 02:20:11 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 11 02:15 README.md 02:20:11 -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 02:12 VERSION 02:20:11 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 02:15 bin 02:20:11 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 02:15 cmd 02:20:11 -rw-r--r-- 1 jenkins jenkins 78461 Oct 11 02:19 coverage.out 02:20:11 drwxrwxr-x 6 jenkins jenkins 4096 Oct 11 02:15 doc 02:20:11 -rw-rw-r-- 1 jenkins jenkins 3747 Oct 11 02:15 go.mod 02:20:11 -rw-rw-r-- 1 jenkins jenkins 39691 Oct 11 02:15 go.sum 02:20:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:15 internal 02:20:11 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 02:15 snap 02:20:11 -rw-rw-r-- 1 jenkins jenkins 236 Oct 11 02:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:20:12 + 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=f552c862b91cdfed2575d1e6116913e56b77d3c0 --label arch=arm64 --label version=0.0.0 . 02:20:13 Sending build context to Docker daemon 14.3MB 02:20:13 Step 1/28 : ARG BASE=golang:1.18-alpine3.16 02:20:13 Step 2/28 : FROM ${BASE} AS builder 02:20:13 ---> d04e23f2b271 02:20:13 Step 3/28 : ARG ADD_BUILD_TAGS="" 02:20:13 ---> Running in 89535cfcf094 02:20:13 Removing intermediate container 89535cfcf094 02:20:13 ---> 8f4feb484858 02:20:13 Step 4/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:20:13 ---> Running in 07c2ef66d6cc 02:20:14 Removing intermediate container 07c2ef66d6cc 02:20:14 ---> f322c6c37189 02:20:14 Step 5/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 02:20:14 ---> Running in 7a1cbfed68ac 02:20:14 Removing intermediate container 7a1cbfed68ac 02:20:14 ---> bb4fb4a501d8 02:20:14 Step 6/28 : ARG ALPINE_PKG_EXTRA="" 02:20:14 ---> Running in e550b32d823d 02:20:15 Removing intermediate container e550b32d823d 02:20:15 ---> 75018eda62b3 02:20:15 Step 7/28 : LABEL Name=edgex-device-onvif-camera 02:20:15 ---> Running in d533ed0168ea 02:20:15 Removing intermediate container d533ed0168ea 02:20:15 ---> 6ee453b2692b 02:20:15 Step 8/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 02:20:15 ---> Running in 57e1523ccff1 02:20:17 Removing intermediate container 57e1523ccff1 02:20:17 ---> b8c9a9c42208 02:20:17 Step 9/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:20:17 ---> Running in 21c139146c4c 02:20:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:20:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:20:20 OK: 221 MiB in 51 packages 02:20:21 Removing intermediate container 21c139146c4c 02:20:21 ---> 26df320c1edd 02:20:21 Step 10/28 : WORKDIR /device-onvif-camera 02:20:21 ---> Running in 6ea911d5c468 02:20:22 Removing intermediate container 6ea911d5c468 02:20:22 ---> 7e128cebb412 02:20:22 Step 11/28 : COPY go.mod vendor* ./ 02:20:22 ---> a55adff24a20 02:20:22 Step 12/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:20:22 ---> Running in c22d177b942f 02:20:24 Removing intermediate container c22d177b942f 02:20:24 ---> db896f1a760f 02:20:24 Step 13/28 : COPY . . 02:20:26 ---> 3c910e06173a 02:20:26 Step 14/28 : RUN ${MAKE} 02:20:26 ---> Running in 85f88fb5a863 02:20:27 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 02:23:19 Removing intermediate container 85f88fb5a863 02:23:19 ---> 5c714f61a371 02:23:19 Step 15/28 : FROM alpine:3.16 02:23:19 3.16: Pulling from library/alpine 02:23:19 9b18e9b68314: Already exists 02:23:19 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:23:19 Status: Downloaded newer image for alpine:3.16 02:23:19 ---> a6215f271958 02:23:19 Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:23:19 ---> Running in 71803513e611 02:23:19 Removing intermediate container 71803513e611 02:23:19 ---> 785ce41770d0 02:23:19 Step 17/28 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 02:23:19 ---> Running in 26c1138d0656 02:23:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:23:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:23:19 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 02:23:19 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 02:23:19 (3/21) Installing readline (8.1.2-r0) 02:23:19 (4/21) Installing bash (5.1.16-r2) 02:23:19 Executing bash-5.1.16-r2.post-install 02:23:19 (5/21) Installing ca-certificates (20220614-r0) 02:23:19 (6/21) Installing brotli-libs (1.0.9-r6) 02:23:19 (7/21) Installing nghttp2-libs (1.47.0-r0) 02:23:19 (8/21) Installing libcurl (7.83.1-r3) 02:23:19 (9/21) Installing curl (7.83.1-r3) 02:23:19 (10/21) Installing dumb-init (1.2.5-r1) 02:23:19 (11/21) Installing oniguruma (6.9.8-r0) 02:23:19 (12/21) Installing jq (1.6-r1) 02:23:19 (13/21) Installing popt (1.18-r0) 02:23:19 (14/21) Installing pcre (8.45-r2) 02:23:19 (15/21) Installing slang (2.3.2-r0) 02:23:19 (16/21) Installing newt (0.52.21-r2) 02:23:19 (17/21) Installing libgcc (11.2.1_git20220219-r2) 02:23:19 (18/21) Installing libsodium (1.0.18-r0) 02:23:19 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 02:23:19 (20/21) Installing libzmq (4.3.4-r0) 02:23:19 (21/21) Installing zeromq (4.3.4-r0) 02:23:19 Executing busybox-1.35.0-r17.trigger 02:23:19 Executing ca-certificates-20220614-r0.trigger 02:23:19 OK: 16 MiB in 35 packages 02:23:19 Removing intermediate container 26c1138d0656 02:23:19 ---> 052a24b2fdbb 02:23:19 Step 18/28 : WORKDIR / 02:23:19 ---> Running in 4cb7ee7bf7a8 02:23:19 Removing intermediate container 4cb7ee7bf7a8 02:23:19 ---> 875321ecfdf3 02:23:19 Step 19/28 : COPY --from=builder /device-onvif-camera/cmd / 02:23:19 ---> 1907f97a14fd 02:23:19 Step 20/28 : COPY --from=builder /device-onvif-camera/LICENSE / 02:23:19 ---> c9b901d4fe1a 02:23:19 Step 21/28 : COPY --from=builder /device-onvif-camera/Attribution.txt / 02:23:19 ---> 8fd4381c8652 02:23:19 Step 22/28 : COPY --from=builder /device-onvif-camera/bin /scripts/ 02:23:19 ---> e25c4518cea5 02:23:19 Step 23/28 : EXPOSE 59984 02:23:19 ---> Running in 54dc30da1c76 02:23:19 Removing intermediate container 54dc30da1c76 02:23:19 ---> bf4cbc97e0bb 02:23:19 Step 24/28 : ENTRYPOINT ["/device-onvif-camera"] 02:23:19 ---> Running in fd7ed1011767 02:23:19 Removing intermediate container fd7ed1011767 02:23:19 ---> f027442fb0fc 02:23:19 Step 25/28 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:23:19 ---> Running in 7597b5b998a4 02:23:19 Removing intermediate container 7597b5b998a4 02:23:19 ---> bf8059df3347 02:23:19 Step 26/28 : LABEL arch=arm64 02:23:19 ---> Running in e997ccedbbf6 02:23:19 Removing intermediate container e997ccedbbf6 02:23:19 ---> a9ffc9712a37 02:23:19 Step 27/28 : LABEL git_sha=f552c862b91cdfed2575d1e6116913e56b77d3c0 02:23:19 ---> Running in 1c93969452c7 02:23:19 Removing intermediate container 1c93969452c7 02:23:19 ---> 5c49a688c8e8 02:23:19 Step 28/28 : LABEL version=0.0.0 02:23:19 ---> Running in fc4d92cad71e 02:23:19 Removing intermediate container fc4d92cad71e 02:23:19 ---> 277ac632b348 02:23:19 [Warning] One or more build-args [ARCH] were not consumed 02:23:19 Successfully built 277ac632b348 02:23:19 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 02:23:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:23:19 02:23:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:23:20 arm64: Pulling from edgex-lftools-log-publisher 02:23:20 8998bd30e6a1: Pulling fs layer 02:23:20 04944245beec: Pulling fs layer 02:23:20 699f458cf7ca: Pulling fs layer 02:23:20 765212b225bb: Pulling fs layer 02:23:20 f23df028b6ca: Pulling fs layer 02:23:20 d65c8cfc05b1: Pulling fs layer 02:23:20 2437ff75d9bd: Pulling fs layer 02:23:20 f23df028b6ca: Waiting 02:23:20 d65c8cfc05b1: Waiting 02:23:20 2437ff75d9bd: Waiting 02:23:20 765212b225bb: Waiting 02:23:20 04944245beec: Verifying Checksum 02:23:20 04944245beec: Download complete 02:23:20 765212b225bb: Download complete 02:23:20 f23df028b6ca: Verifying Checksum 02:23:20 f23df028b6ca: Download complete 02:23:20 d65c8cfc05b1: Verifying Checksum 02:23:20 d65c8cfc05b1: Download complete 02:23:20 699f458cf7ca: Verifying Checksum 02:23:20 699f458cf7ca: Download complete 02:23:20 8998bd30e6a1: Download complete 02:23:23 2437ff75d9bd: Verifying Checksum 02:23:24 8998bd30e6a1: Pull complete 02:23:25 04944245beec: Pull complete 02:23:26 699f458cf7ca: Pull complete 02:23:26 765212b225bb: Pull complete 02:23:27 f23df028b6ca: Pull complete 02:23:27 d65c8cfc05b1: Pull complete 02:23:39 2437ff75d9bd: Pull complete 02:23:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:23:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:23:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:39 prd-ubuntu20.04-docker-arm64-4c-16g-7617 does not seem to be running inside a container 02:23:39 $ 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/19 -v /w/workspace/device-onvif-camera/19:/w/workspace/device-onvif-camera/19:rw,z -v /w/workspace/device-onvif-camera/19@tmp:/w/workspace/device-onvif-camera/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:23:43 $ docker top 1734ad4156af7a20027ab7a6dd7b487b6d2f5d862f873f8fa440a3b59750ebaa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:23:44 ---> job-cost.sh 02:23:44 lf-activate-venv: SKIPPING 02:23:44 INFO: No Stack... 02:23:45 INFO: Retrieving Pricing Info for: v3-standard-4 02:23:45 INFO: Archiving Costs [Pipeline] sh 02:23:46 + cat /w/workspace/device-onvif-camera/19/archives/cost.csv 02:23:46 + cut -d, -f6 [Pipeline] lock 02:23:46 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-19-stack-cost] 02:23:46 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-19-stack-cost] did not exist. Created. 02:23:46 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:23:47 /w/workspace/device-onvif-camera/19@tmp/durable-26b0f5ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:23:47 + echo total: 0.10999999940395355 [Pipeline] stash 02:23:47 Warning: overwriting stash ‘stack-cost’ 02:23:47 Stashed 1 file(s) [Pipeline] } 02:23:47 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-19-stack-cost] [Pipeline] // lock [Pipeline] } 02:23:47 $ docker stop --time=1 1734ad4156af7a20027ab7a6dd7b487b6d2f5d862f873f8fa440a3b59750ebaa 02:23:49 $ docker rm -f 1734ad4156af7a20027ab7a6dd7b487b6d2f5d862f873f8fa440a3b59750ebaa [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 02:23:49 provisioning config files... 02:23:49 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config1796708427659898674tmp [Pipeline] { [Pipeline] sh 02:23:50 + set +x 02:23:50 + bash -s -- 02:23:50 + curl -s https://codecov.io/bash 02:23:50 02:23:50 _____ _ 02:23:50 / ____| | | 02:23:50 | | ___ __| | ___ ___ _____ __ 02:23:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:23:50 | |___| (_) | (_| | __/ (_| (_) \ V / 02:23:50 \_____\___/ \__,_|\___|\___\___/ \_/ 02:23:50 Bash-1.0.6 02:23:50 02:23:50 02:23:50 ==> git version 2.25.1 found 02:23:50 ==> 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 02:23:50 Release-Date: 2020-01-08 02:23:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:23:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:23:50 ==> Jenkins CI detected. 02:23:50 current dir:  /w/workspace/undry_device-onvif-camera_PR-125 02:23:50 project root: . 02:23:50 --> token set from env 02:23:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:23:50 ==> Running gcov in . (disable via -X gcov) 02:23:50 ==> Python coveragepy not found 02:23:50 ==> Searching for coverage reports in: 02:23:50 + . 02:23:50 -> Found 1 reports 02:23:50 ==> Detecting git/mercurial file structure 02:23:50 ==> Reading reports 02:23:50 + ./coverage.out bytes=78461 02:23:50 ==> Appending adjustments 02:23:50 https://docs.codecov.io/docs/fixing-reports 02:23:50 + Found adjustments 02:23:50 ==> Gzipping contents 02:23:50 12K /tmp/codecov.2EHIex.gz 02:23:50 ==> Uploading reports 02:23:50 url: https://codecov.io 02:23:50 query: branch=PR-125&commit=42fce10a9ace6ac4207144ce76d97f5269555ec7&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 02:23:50 -> Pinging Codecov 02:23:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=42fce10a9ace6ac4207144ce76d97f5269555ec7&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 02:23:50 -> Uploading to 02:23:50 https://storage.googleapis.com/codecov/v4/raw/2022-10-11/F29A59C45E3A92E06B3E522C9905F8EF/42fce10a9ace6ac4207144ce76d97f5269555ec7/dc375546-5318-4de4-a471-19b4e9264aa6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221011%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221011T022350Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0efd27c0f63a2dcdb82ed7ed30345c8e3bc7f9e12a6c19c31c837780d6a9c26d 02:23:50 % Total % Received % Xferd Average Speed Time Time Time Current 02:23:50 Dload Upload Total Spent Left Speed 02:23:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10735 0 0 100 10735 0 51119 --:--:-- --:--:-- --:--:-- 51119 02:23:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/42fce10a9ace6ac4207144ce76d97f5269555ec7 [Pipeline] } 02:23:50 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 02:23:51 + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] 02:23:51 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 02:23:51 total 16 02:23:51 drwxr-xr-x 3 root root 4096 Oct 11 02:13 . 02:23:51 drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 02:13 .. 02:23:51 drwxr-xr-x 2 root root 4096 Oct 11 02:13 cost 02:23:51 -rw-r--r-- 1 root root 92 Oct 11 02:13 cost.csv 02:23:51 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives 02:23:51 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 02:23:51 total 16 02:23:51 drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 02:13 . 02:23:51 drwxrwxr-x 11 jenkins jenkins 4096 Oct 11 02:13 .. 02:23:51 drwxr-xr-x 2 jenkins jenkins 4096 Oct 11 02:13 cost 02:23:51 -rw-r--r-- 1 jenkins jenkins 92 Oct 11 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:23:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:23:52 ---> package-listing.sh 02:23:52 ++ facter osfamily 02:23:52 ++ tr '[:upper:]' '[:lower:]' 02:23:53 + OS_FAMILY=debian 02:23:53 + workspace=/w/workspace/undry_device-onvif-camera_PR-125 02:23:53 + START_PACKAGES=/tmp/packages_start.txt 02:23:53 + END_PACKAGES=/tmp/packages_end.txt 02:23:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:23:53 + PACKAGES=/tmp/packages_start.txt 02:23:53 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 02:23:53 + PACKAGES=/tmp/packages_end.txt 02:23:53 + case "${OS_FAMILY}" in 02:23:53 + dpkg -l 02:23:53 + grep '^ii' 02:23:53 + '[' -f /tmp/packages_start.txt ']' 02:23:53 + '[' -f /tmp/packages_end.txt ']' 02:23:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:23:53 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 02:23:53 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ 02:23:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo 02:23:53 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:23:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:23:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:53 prd-ubuntu20.04-docker-8c-8g-7614 does not seem to be running inside a container 02:23:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:23:54 $ docker top 7a808d6e00adc74ffda02d36f519dfb73790c37ed68c558fa9590b0fd253513f -eo pid,comm [Pipeline] { [Pipeline] sh 02:23:54 + touch /tmp/pre-build-complete [Pipeline] sh 02:23:54 + mkdir -p /var/log/sysstat [Pipeline] sh 02:23:55 + ls /var/log/sa-host 02:23:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:23:55 provisioning config files... 02:23:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config14904212243701562980tmp [Pipeline] { [Pipeline] echo 02:23:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:23:55 ---> create-netrc.sh [Pipeline] } 02:23:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:23:55 ---> python-tools-install.sh [Pipeline] echo 02:23:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:23:56 ---> sudo-logs.sh 02:23:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:23:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:23:56 ---> job-cost.sh 02:23:56 lf-activate-venv: SKIPPING 02:23:56 DEBUG: total: 0.2199999988079071 02:23:56 INFO: Retrieving Stack Cost... 02:23:56 INFO: Retrieving Pricing Info for: v3-standard-8 02:23:57 INFO: Archiving Costs [Pipeline] echo 02:23:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:23:57 ---> logs-deploy.sh 02:23:57 lf-activate-venv: SKIPPING 02:23:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/19 02:23:57 INFO: archiving workspace using pattern(s): 02:23:58 Archives upload complete. 02:23:58 INFO: archiving logs to Nexus