Pull request #164 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 09e68456677e29f0efc0f70ff4b2aa36e54dd0db+eff61ece5709928a9f31d9a775fc6c989cb12ea4 (c3f5ce2de3153c1ab452c4e9cd1b598ae4a11806) 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-ssh9207801890528202290.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-ssh1820386222729518947.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-164/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-164/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11112986084060428725.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-ssh6443162207661637374.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-164/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-164/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh276920526371442551.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 Running on prd-ubuntu20.04-docker-8c-8g-1858 in /w/workspace/undry_device-onvif-camera_PR-164 [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-164 # 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/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit eff61ece5709928a9f31d9a775fc6c989cb12ea4 into PR head commit 09e68456677e29f0efc0f70ff4b2aa36e54dd0db Merge succeeded, producing 09e68456677e29f0efc0f70ff4b2aa36e54dd0db Checking out Revision 09e68456677e29f0efc0f70ff4b2aa36e54dd0db (PR-164) > git config core.sparsecheckout # timeout=10 > git checkout -f 09e68456677e29f0efc0f70ff4b2aa36e54dd0db # 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 eff61ece5709928a9f31d9a775fc6c989cb12ea4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 09e68456677e29f0efc0f70ff4b2aa36e54dd0db # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:26:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:26:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:26:44 ========================================================= 20:26:44 EdgeX Global Pipelines Version Info 20:26:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:26:44 ------------------- 20:26:44 stable info: 20:26:44 ------------------- 20:26:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:26:44 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:26:44 Message: update stable to v1.0.239 > git rev-list --no-walk 50a13ee558ba2efde0d9211aba0413d3406de588 # timeout=10 20:26:45 ------------------- 20:26:45 experimental info: 20:26:45 ------------------- 20:26:45 Commited By: **** collab-it+edgex@linuxfoundation.org 20:26:45 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:26:45 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-164 [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-164 [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-164 [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 09e68456677e29f0efc0f70ff4b2aa36e54dd0db [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 09e6845 [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:26:46 provisioning config files... 20:26:46 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-164@tmp/config4217995156514624847tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:26:46 ---> docker-login.sh 20:26:46 nexus3.edgexfoundry.org:10001 20:26:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:47 Configure a credential helper to remove this warning. See 20:26:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:47 20:26:47 Login Succeeded 20:26:47 nexus3.edgexfoundry.org:10002 20:26:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:47 Configure a credential helper to remove this warning. See 20:26:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:47 20:26:47 Login Succeeded 20:26:47 nexus3.edgexfoundry.org:10003 20:26:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:47 Configure a credential helper to remove this warning. See 20:26:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:47 20:26:47 Login Succeeded 20:26:47 nexus3.edgexfoundry.org:10004 20:26:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:47 Configure a credential helper to remove this warning. See 20:26:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:47 20:26:47 Login Succeeded 20:26:47 docker.io 20:26:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:47 Configure a credential helper to remove this warning. See 20:26:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:47 20:26:47 Login Succeeded 20:26:47 ---> docker-login.sh ends [Pipeline] } 20:26:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:26:48 + git rev-list -1 --merges 09e68456677e29f0efc0f70ff4b2aa36e54dd0db~1..09e68456677e29f0efc0f70ff4b2aa36e54dd0db [Pipeline] echo 20:26:48 -----------> git rev-list -1 --merges 09e68456677e29f0efc0f70ff4b2aa36e54dd0db~1..09e68456677e29f0efc0f70ff4b2aa36e54dd0db 09e68456677e29f0efc0f70ff4b2aa36e54dd0db [false] [Pipeline] sh 20:26:48 + git log --format=format:%s -1 09e68456677e29f0efc0f70ff4b2aa36e54dd0db [Pipeline] echo 20:26:48 ========================================================= 20:26:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:26:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:26:48 + git log --format=format:%s -1 09e68456677e29f0efc0f70ff4b2aa36e54dd0db [Pipeline] echo 20:26:48 [semverPrep] GIT_COMMIT: 09e68456677e29f0efc0f70ff4b2aa36e54dd0db, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo 20:26:48 [semverPrep] This is not a build commit. [Pipeline] sh 20:26:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:26:49 + grep -v github /etc/ssh/ssh_known_hosts 20:26:49 + [ -e /tmp/ssh_known_hosts ] 20:26:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:26:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:26:49 + sudo tee -a /etc/ssh/ssh_known_hosts 20:26:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:26:49 20:26:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:26:50 0.1.4: Pulling from edgex-devops/py-git-semver 20:26:50 b85a868b505f: Pulling fs layer 20:26:50 e2be974225ed: Pulling fs layer 20:26:50 339a4e72a1f5: Pulling fs layer 20:26:50 988bab9f4d93: Pulling fs layer 20:26:50 1469e6f7b9e6: Pulling fs layer 20:26:50 eaf3925da568: Pulling fs layer 20:26:50 bab4dde63d76: Pulling fs layer 20:26:50 bde34c3a00c8: Pulling fs layer 20:26:50 b352a97aabf1: Pulling fs layer 20:26:50 4872d77fe225: Pulling fs layer 20:26:50 5851b861e8e6: Pulling fs layer 20:26:50 988bab9f4d93: Waiting 20:26:50 1469e6f7b9e6: Waiting 20:26:50 eaf3925da568: Waiting 20:26:50 bab4dde63d76: Waiting 20:26:50 bde34c3a00c8: Waiting 20:26:50 b352a97aabf1: Waiting 20:26:50 4872d77fe225: Waiting 20:26:50 5851b861e8e6: Waiting 20:26:50 e2be974225ed: Verifying Checksum 20:26:50 e2be974225ed: Download complete 20:26:50 988bab9f4d93: Verifying Checksum 20:26:50 988bab9f4d93: Download complete 20:26:50 1469e6f7b9e6: Verifying Checksum 20:26:50 1469e6f7b9e6: Download complete 20:26:50 eaf3925da568: Verifying Checksum 20:26:50 eaf3925da568: Download complete 20:26:50 339a4e72a1f5: Verifying Checksum 20:26:50 339a4e72a1f5: Download complete 20:26:50 bde34c3a00c8: Verifying Checksum 20:26:50 bde34c3a00c8: Download complete 20:26:50 b352a97aabf1: Verifying Checksum 20:26:50 b352a97aabf1: Download complete 20:26:50 4872d77fe225: Verifying Checksum 20:26:50 4872d77fe225: Download complete 20:26:50 5851b861e8e6: Verifying Checksum 20:26:50 5851b861e8e6: Download complete 20:26:50 b85a868b505f: Verifying Checksum 20:26:50 b85a868b505f: Download complete 20:26:50 bab4dde63d76: Verifying Checksum 20:26:50 bab4dde63d76: Download complete 20:26:51 b85a868b505f: Pull complete 20:26:51 e2be974225ed: Pull complete 20:26:52 339a4e72a1f5: Pull complete 20:26:52 988bab9f4d93: Pull complete 20:26:52 1469e6f7b9e6: Pull complete 20:26:52 eaf3925da568: Pull complete 20:26:54 bab4dde63d76: Pull complete 20:26:54 bde34c3a00c8: Pull complete 20:26:54 b352a97aabf1: Pull complete 20:26:54 4872d77fe225: Pull complete 20:26:54 5851b861e8e6: Pull complete 20:26:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:26:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:26:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:26:54 prd-ubuntu20.04-docker-8c-8g-1858 does not seem to be running inside a container 20:26:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:26:56 $ docker top 56cf17e452c5c7ba12019ce42a5c5f02eb7262b490e3e109433ed1c52160fe01 -eo pid,comm 20:26:56 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). 20:26:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:26:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:26:56 [ssh-agent] Looking for ssh-agent implementation... 20:26:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:26:56 $ docker exec 56cf17e452c5c7ba12019ce42a5c5f02eb7262b490e3e109433ed1c52160fe01 ssh-agent 20:26:56 SSH_AUTH_SOCK=/tmp/ssh-5gNqsZq1z5vr/agent.32 20:26:56 SSH_AGENT_PID=38 20:26:56 Running ssh-add (command line suppressed) 20:26:56 Identity added: /w/workspace/undry_device-onvif-camera_PR-164@tmp/private_key_12377883361758362134.key (/w/workspace/undry_device-onvif-camera_PR-164@tmp/private_key_12377883361758362134.key) 20:26:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:26:57 + git tag --points-at HEAD [Pipeline] } 20:26:57 $ docker exec --env ******** --env ******** 56cf17e452c5c7ba12019ce42a5c5f02eb7262b490e3e109433ed1c52160fe01 ssh-agent -k 20:26:57 unset SSH_AUTH_SOCK; 20:26:57 unset SSH_AGENT_PID; 20:26:57 echo Agent pid 38 killed; 20:26:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:26:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:26:57 [ssh-agent] Looking for ssh-agent implementation... 20:26:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:26:57 $ docker exec 56cf17e452c5c7ba12019ce42a5c5f02eb7262b490e3e109433ed1c52160fe01 ssh-agent 20:26:57 SSH_AUTH_SOCK=/tmp/ssh-wUcjFFCOnpKe/agent.70 20:26:57 SSH_AGENT_PID=76 20:26:57 Running ssh-add (command line suppressed) 20:26:57 Identity added: /w/workspace/undry_device-onvif-camera_PR-164@tmp/private_key_6808574540003054005.key (/w/workspace/undry_device-onvif-camera_PR-164@tmp/private_key_6808574540003054005.key) 20:26:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:26:57 + git semver init 20:26:58 2022-09-28 20:26:58,138 [run_init] DEBUG init version:0.0.0 force:False 20:26:58 2022-09-28 20:26:58,139 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-164/.semver 20:26:58 2022-09-28 20:26:58,140 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-164/.semver 20:26:58 2022-09-28 20:26:58,140 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-164/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-164, universal_newlines=False, shell=None, istream=None) 20:26:59 2022-09-28 20:26:59,123 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-164/.git/info/exclude 20:26:59 2022-09-28 20:26:59,123 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-164/.semver/PR-164 with force:False 20:26:59 2022-09-28 20:26:59,123 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-164/.semver/PR-164 20:26:59 2022-09-28 20:26:59,128 [execute] INFO git cat-file --batch-check 20:26:59 2022-09-28 20:26:59,128 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-164/.semver, universal_newlines=False, shell=None, istream=) 20:26:59 2022-09-28 20:26:59,134 [execute] INFO git cat-file --batch 20:26:59 2022-09-28 20:26:59,134 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-164/.semver, universal_newlines=False, shell=None, istream=) 20:26:59 2022-09-28 20:26:59,140 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-164/.semver/PR-164 20:26:59 0.0.0 [Pipeline] } 20:26:59 $ docker exec --env ******** --env ******** 56cf17e452c5c7ba12019ce42a5c5f02eb7262b490e3e109433ed1c52160fe01 ssh-agent -k 20:26:59 unset SSH_AUTH_SOCK; 20:26:59 unset SSH_AGENT_PID; 20:26:59 echo Agent pid 76 killed; 20:26:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:26:59 + git semver [Pipeline] } 20:26:59 $ docker stop --time=1 56cf17e452c5c7ba12019ce42a5c5f02eb7262b490e3e109433ed1c52160fe01 20:27:01 $ docker rm -f 56cf17e452c5c7ba12019ce42a5c5f02eb7262b490e3e109433ed1c52160fe01 [Pipeline] // withDockerContainer [Pipeline] sh 20:27:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:27:01 Stashed 1 file(s) [Pipeline] echo 20:27:01 [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 20:27:01 provisioning config files... 20:27:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-164@tmp/config16287169059349735700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:02 ---> docker-login.sh 20:27:02 nexus3.edgexfoundry.org:10001 20:27:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:02 Configure a credential helper to remove this warning. See 20:27:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:02 20:27:02 Login Succeeded 20:27:02 nexus3.edgexfoundry.org:10002 20:27:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:02 Configure a credential helper to remove this warning. See 20:27:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:02 20:27:02 Login Succeeded 20:27:02 nexus3.edgexfoundry.org:10003 20:27:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:02 Configure a credential helper to remove this warning. See 20:27:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:02 20:27:02 Login Succeeded 20:27:02 nexus3.edgexfoundry.org:10004 20:27:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:02 Configure a credential helper to remove this warning. See 20:27:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:02 20:27:02 Login Succeeded 20:27:02 docker.io 20:27:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:02 Configure a credential helper to remove this warning. See 20:27:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:02 20:27:02 Login Succeeded 20:27:02 ---> docker-login.sh ends [Pipeline] } 20:27:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:27:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:27:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:27:03 ========================================================= 20:27:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:27:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:03 + 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 . 20:27:03 Sending build context to Docker daemon 20.77MB 20:27:03 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 20:27:03 Step 2/14 : FROM ${BASE} AS builder 20:27:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:27:03 2408cc74d12b: Pulling fs layer 20:27:03 ea60b727a1ce: Pulling fs layer 20:27:03 30c4a7721957: Pulling fs layer 20:27:03 370296b7ddb6: Pulling fs layer 20:27:03 7c6cee850709: Pulling fs layer 20:27:03 39a5fcdaea64: Pulling fs layer 20:27:03 d94ebbe4e438: Pulling fs layer 20:27:03 bcfd1f05c69d: Pulling fs layer 20:27:03 59ccb84bbe0f: Pulling fs layer 20:27:03 bcfd1f05c69d: Waiting 20:27:03 39a5fcdaea64: Waiting 20:27:03 59ccb84bbe0f: Waiting 20:27:03 d94ebbe4e438: Waiting 20:27:03 370296b7ddb6: Waiting 20:27:03 7c6cee850709: Waiting 20:27:03 30c4a7721957: Download complete 20:27:03 ea60b727a1ce: Verifying Checksum 20:27:03 ea60b727a1ce: Download complete 20:27:03 7c6cee850709: Download complete 20:27:03 39a5fcdaea64: Verifying Checksum 20:27:03 39a5fcdaea64: Download complete 20:27:03 2408cc74d12b: Verifying Checksum 20:27:03 2408cc74d12b: Download complete 20:27:03 d94ebbe4e438: Download complete 20:27:03 2408cc74d12b: Pull complete 20:27:03 ea60b727a1ce: Pull complete 20:27:03 30c4a7721957: Pull complete 20:27:04 59ccb84bbe0f: Verifying Checksum 20:27:04 59ccb84bbe0f: Download complete 20:27:04 bcfd1f05c69d: Verifying Checksum 20:27:04 bcfd1f05c69d: Download complete 20:27:04 370296b7ddb6: Verifying Checksum 20:27:04 370296b7ddb6: Download complete 20:27:08 370296b7ddb6: Pull complete 20:27:08 7c6cee850709: Pull complete 20:27:08 39a5fcdaea64: Pull complete 20:27:08 d94ebbe4e438: Pull complete 20:27:10 bcfd1f05c69d: Pull complete 20:27:11 59ccb84bbe0f: Pull complete 20:27:11 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:27:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:27:11 ---> a4fb48ad2a94 20:27:11 Step 3/14 : ARG ADD_BUILD_TAGS="" 20:27:13 ---> Running in 7a76427adf25 20:27:13 Removing intermediate container 7a76427adf25 20:27:13 ---> 6a808e1b4ba1 20:27:13 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:27:13 ---> Running in 9d25d6cfdf5d 20:27:13 Removing intermediate container 9d25d6cfdf5d 20:27:13 ---> c2689503556c 20:27:13 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:27:13 ---> Running in 7fefbada624c 20:27:13 Removing intermediate container 7fefbada624c 20:27:13 ---> 3f3d9a2228bf 20:27:13 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 20:27:13 ---> Running in a8f540760e47 20:27:13 Removing intermediate container a8f540760e47 20:27:13 ---> 8d24f72f8882 20:27:13 Step 7/14 : LABEL Name=edgex-device-onvif-camera 20:27:13 ---> Running in 7d2e80f11e3f 20:27:13 Removing intermediate container 7d2e80f11e3f 20:27:13 ---> e5cb1c85cae4 20:27:13 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:27:13 ---> Running in 17e506be504d 20:27:14 Removing intermediate container 17e506be504d 20:27:14 ---> 7eda930318da 20:27:14 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:27:14 ---> Running in 085b01a195a8 20:27:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:27:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:27:15 OK: 211 MiB in 51 packages 20:27:16 Removing intermediate container 085b01a195a8 20:27:16 ---> 11f1e9618d42 20:27:16 Step 10/14 : WORKDIR /device-onvif-camera 20:27:16 ---> Running in 5a7037d12cfb 20:27:16 Removing intermediate container 5a7037d12cfb 20:27:16 ---> b0f123b8a294 20:27:16 Step 11/14 : COPY go.mod vendor* ./ 20:27:16 ---> f969afe492cb 20:27:16 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:27:16 ---> Running in 3b75fb2ceafb 20:27:16 Still waiting to schedule task 20:27:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:27:38 Removing intermediate container 3b75fb2ceafb 20:27:38 ---> 265fae760235 20:27:38 Step 13/14 : COPY . . 20:27:38 ---> 79af191901a9 20:27:38 Step 14/14 : RUN ${MAKE} 20:27:38 ---> Running in 6f6943c61270 20:27:38 noop 20:27:38 Removing intermediate container 6f6943c61270 20:27:38 ---> a21710674b77 20:27:38 Successfully built a21710674b77 20:27:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:38 + docker inspect -f . ci-base-image-x86_64 20:27:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:39 prd-ubuntu20.04-docker-8c-8g-1858 does not seem to be running inside a container 20:27:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:27:39 $ docker top 7ef8dfa3e2d284ce0cee65ccf5dcf261e514cb9381a6459070fe8f5c0f50adaa -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:39 + go version 20:27:39 go version go1.18.3 linux/amd64 [Pipeline] } 20:27:39 $ docker stop --time=1 7ef8dfa3e2d284ce0cee65ccf5dcf261e514cb9381a6459070fe8f5c0f50adaa 20:27:41 $ docker rm -f 7ef8dfa3e2d284ce0cee65ccf5dcf261e514cb9381a6459070fe8f5c0f50adaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:41 + docker inspect -f . ci-base-image-x86_64 20:27:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:41 prd-ubuntu20.04-docker-8c-8g-1858 does not seem to be running inside a container 20:27: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-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:27:42 $ docker top 73dfb75b55f93ca929bbf420e26651ef5d6470cdbf2f411f5e800f5ac611d1d6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:42 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-164 [Pipeline] fileExists [Pipeline] sh 20:27:42 + make test 20:27:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:27:43 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:27:55 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:27:55 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.041s coverage: 28.2% of statements 20:27:55 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:27:55 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.458s coverage: 86.5% of statements 20:28: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." 20:28:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:28:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:28:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:28:07 ./bin/test-attribution-txt.sh [Pipeline] echo 20:28:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:28:07 $ docker stop --time=1 73dfb75b55f93ca929bbf420e26651ef5d6470cdbf2f411f5e800f5ac611d1d6 20:28:09 $ docker rm -f 73dfb75b55f93ca929bbf420e26651ef5d6470cdbf2f411f5e800f5ac611d1d6 [Pipeline] // withDockerContainer [Pipeline] sh 20:28:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:28:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:28:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:28:10 + ls -al . 20:28:10 total 236 20:28:10 drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 20:27 . 20:28:10 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 20:26 .. 20:28:10 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 20:27 .git 20:28:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 20:26 .github 20:28:10 -rw-rw-r-- 1 jenkins jenkins 418 Sep 28 20:26 .gitignore 20:28:10 -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 20:26 .golangci.yml 20:28:10 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 20:26 .semver 20:28:10 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 28 20:26 Attribution.txt 20:28:10 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 28 20:26 CHANGELOG.md 20:28:10 -rw-rw-r-- 1 jenkins jenkins 1726 Sep 28 20:26 Dockerfile 20:28:10 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 20:26 GOVERNANCE.md 20:28:10 -rw-rw-r-- 1 jenkins jenkins 734 Sep 28 20:26 Jenkinsfile 20:28:10 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 20:26 LICENSE 20:28:10 -rw-rw-r-- 1 jenkins jenkins 2858 Sep 28 20:26 Makefile 20:28:10 -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 20:26 OWNERS.md 20:28:10 -rw-rw-r-- 1 jenkins jenkins 6595 Sep 28 20:26 README.md 20:28:10 -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 20:27 VERSION 20:28:10 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 20:26 bin 20:28:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 20:26 cmd 20:28:10 -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 20:27 coverage.out 20:28:10 drwxrwxr-x 6 jenkins jenkins 4096 Sep 28 20:26 doc 20:28:10 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 28 20:26 go.mod 20:28:10 -rw-rw-r-- 1 jenkins jenkins 39691 Sep 28 20:26 go.sum 20:28:10 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 20:26 internal 20:28:10 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 20:26 snap 20:28:10 -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 20:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:11 + 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=09e68456677e29f0efc0f70ff4b2aa36e54dd0db --label arch=amd64 --label version=0.0.0 . 20:28:11 Sending build context to Docker daemon 20.84MB 20:28:11 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 20:28:11 Step 2/27 : FROM ${BASE} AS builder 20:28:11 ---> a21710674b77 20:28:11 Step 3/27 : ARG ADD_BUILD_TAGS="" 20:28:11 ---> Running in 2816fa9b4a25 20:28:11 Removing intermediate container 2816fa9b4a25 20:28:11 ---> 97ad0dcd218f 20:28:11 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:28:11 ---> Running in 61f83db02af6 20:28:11 Removing intermediate container 61f83db02af6 20:28:11 ---> 7afab57f7cf3 20:28:11 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:28:11 ---> Running in 1bb587cfea89 20:28:11 Removing intermediate container 1bb587cfea89 20:28:11 ---> c19b09e6db1e 20:28:11 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 20:28:11 ---> Running in c53fea794729 20:28:11 Removing intermediate container c53fea794729 20:28:11 ---> c43f3a1df048 20:28:11 Step 7/27 : LABEL Name=edgex-device-onvif-camera 20:28:11 ---> Running in a09afbfe4215 20:28:11 Removing intermediate container a09afbfe4215 20:28:11 ---> 5849f718cc8d 20:28:11 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:28:11 ---> Running in ce84aa026943 20:28:12 Removing intermediate container ce84aa026943 20:28:12 ---> e4de86b7352b 20:28:12 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:28:12 ---> Running in 3e2010c6cc0d 20:28:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:28:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:28:13 OK: 211 MiB in 51 packages 20:28:14 Removing intermediate container 3e2010c6cc0d 20:28:14 ---> 682ffd497baf 20:28:14 Step 10/27 : WORKDIR /device-onvif-camera 20:28:14 ---> Running in c9bcc0ce3ffd 20:28:14 Removing intermediate container c9bcc0ce3ffd 20:28:14 ---> 4a4de2c2bece 20:28:14 Step 11/27 : COPY go.mod vendor* ./ 20:28:14 ---> 8034489ae30a 20:28:14 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:28:14 ---> Running in 0897f8a0e441 20:28:14 Removing intermediate container 0897f8a0e441 20:28:14 ---> da99b305db3b 20:28:14 Step 13/27 : COPY . . 20:28:15 ---> e4b5dee00423 20:28:15 Step 14/27 : RUN ${MAKE} 20:28:15 ---> Running in f247ce62229a 20:28: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 20:28:37 Removing intermediate container f247ce62229a 20:28:37 ---> 5b19c156f40b 20:28:37 Step 15/27 : FROM alpine:3.16 20:28:37 3.16: Pulling from library/alpine 20:28:37 213ec9aee27d: Pulling fs layer 20:28:37 213ec9aee27d: Verifying Checksum 20:28:37 213ec9aee27d: Download complete 20:28:37 213ec9aee27d: Pull complete 20:28:37 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:28:37 Status: Downloaded newer image for alpine:3.16 20:28:37 ---> 9c6f07244728 20:28:37 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:28:37 ---> Running in d3a9ad9a569b 20:28:37 Removing intermediate container d3a9ad9a569b 20:28:37 ---> ed2125bcf1c0 20:28:37 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 20:28:37 ---> Running in d2e987c5ffb9 20:28:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:28:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:28:37 (1/6) Installing dumb-init (1.2.5-r1) 20:28:37 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:28:37 (3/6) Installing libsodium (1.0.18-r0) 20:28:37 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:28:37 (5/6) Installing libzmq (4.3.4-r0) 20:28:37 (6/6) Installing zeromq (4.3.4-r0) 20:28:37 Executing busybox-1.35.0-r17.trigger 20:28:37 OK: 8 MiB in 20 packages 20:28:38 Removing intermediate container d2e987c5ffb9 20:28:38 ---> 6260109f2a2e 20:28:38 Step 18/27 : WORKDIR / 20:28:38 ---> Running in 659109dd4b7f 20:28:38 Removing intermediate container 659109dd4b7f 20:28:38 ---> dfd2fea1e5ef 20:28:38 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 20:28:38 ---> 00f483c7890e 20:28:38 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 20:28:38 ---> 8de83f7854ca 20:28:38 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:28:39 ---> ee2fe68016a0 20:28:39 Step 22/27 : EXPOSE 59984 20:28:39 ---> Running in 1bcbf26ca382 20:28:39 Removing intermediate container 1bcbf26ca382 20:28:39 ---> 1890578f3535 20:28:39 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 20:28:39 ---> Running in ac5e8c9e6f39 20:28:39 Removing intermediate container ac5e8c9e6f39 20:28:39 ---> 0e91ea9510dc 20:28:39 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:28:39 ---> Running in 6972feab73de 20:28:39 Removing intermediate container 6972feab73de 20:28:39 ---> f75802341b4c 20:28:39 Step 25/27 : LABEL arch=amd64 20:28:39 ---> Running in 26c0c00817e8 20:28:39 Removing intermediate container 26c0c00817e8 20:28:39 ---> 5855d5cb533b 20:28:39 Step 26/27 : LABEL git_sha=09e68456677e29f0efc0f70ff4b2aa36e54dd0db 20:28:39 ---> Running in 698ceb30fb4e 20:28:39 Removing intermediate container 698ceb30fb4e 20:28:39 ---> c7455ef6dec2 20:28:39 Step 27/27 : LABEL version=0.0.0 20:28:39 ---> Running in 8034d2a8117a 20:28:39 Removing intermediate container 8034d2a8117a 20:28:39 ---> ce2dad059d04 20:28:39 [Warning] One or more build-args [ARCH] were not consumed 20:28:39 Successfully built ce2dad059d04 20:28:39 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 20:28:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:28:40 20:28:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:28:40 latest: Pulling from edgex-lftools-log-publisher 20:28:40 5eb5b503b376: Pulling fs layer 20:28:40 5c69ac0246d0: Pulling fs layer 20:28:40 ec43610c2a17: Pulling fs layer 20:28:40 3a2ae6a8a46f: Pulling fs layer 20:28:40 33b1e0a273af: Pulling fs layer 20:28:40 5d3b04190fa2: Pulling fs layer 20:28:40 2f39f015ded8: Pulling fs layer 20:28:40 3a2ae6a8a46f: Waiting 20:28:40 33b1e0a273af: Waiting 20:28:40 5d3b04190fa2: Waiting 20:28:40 2f39f015ded8: Waiting 20:28:40 5c69ac0246d0: Verifying Checksum 20:28:40 5c69ac0246d0: Download complete 20:28:40 3a2ae6a8a46f: Verifying Checksum 20:28:40 3a2ae6a8a46f: Download complete 20:28:40 33b1e0a273af: Verifying Checksum 20:28:40 33b1e0a273af: Download complete 20:28:40 ec43610c2a17: Verifying Checksum 20:28:40 ec43610c2a17: Download complete 20:28:40 5d3b04190fa2: Verifying Checksum 20:28:40 5d3b04190fa2: Download complete 20:28:40 5eb5b503b376: Download complete 20:28:41 2f39f015ded8: Download complete 20:28:41 5eb5b503b376: Pull complete 20:28:41 5c69ac0246d0: Pull complete 20:28:42 ec43610c2a17: Pull complete 20:28:42 3a2ae6a8a46f: Pull complete 20:28:42 33b1e0a273af: Pull complete 20:28:42 5d3b04190fa2: Pull complete 20:28:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1859 in /w/workspace/undry_device-onvif-camera_PR-164 [Pipeline] { [Pipeline] ws 20:28:43 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 20:28:43 The recommended git tool is: git 20:28:46 2f39f015ded8: Pull complete 20:28:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:28:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:28:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:46 prd-ubuntu20.04-docker-8c-8g-1858 does not seem to be running inside a container 20:28:47 $ 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-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@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 20:28:48 using credential edgex-jenkins-ssh 20:28:48 Cloning the remote Git repository 20:28:48 $ docker top ac33dfb00ec43436cef4e59c42ee232884a4a381687a4206c10af65f2051b7cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:28:48 ---> job-cost.sh 20:28:48 lf-activate-venv: SKIPPING 20:28:48 INFO: No Stack... 20:28:49 INFO: Retrieving Pricing Info for: v3-standard-8 20:28:48 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 20:28:48 > git init /w/workspace/device-onvif-camera/2 # timeout=10 20:28:48 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:28:48 > git --version # timeout=10 20:28:48 > git --version # 'git version 2.25.1' 20:28:48 using GIT_SSH to set credentials SSH Credentials for GitHub 20:28:48 Verifying host key using known hosts file 20:28:48 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:28:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:28:49 INFO: Archiving Costs [Pipeline] sh 20:28:49 + cat /w/workspace/undry_device-onvif-camera_PR-164/archives/cost.csv 20:28:49 + cut -d, -f6 [Pipeline] lock 20:28:49 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-164-2-stack-cost] 20:28:49 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-164-2-stack-cost] did not exist. Created. 20:28:49 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-164-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:28:50 + echo total: 0.2199999988079071 [Pipeline] stash 20:28:50 Stashed 1 file(s) [Pipeline] } 20:28:50 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-164-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:28:50 $ docker stop --time=1 ac33dfb00ec43436cef4e59c42ee232884a4a381687a4206c10af65f2051b7cc 20:28:49 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:28:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:28:51 Merging remotes/origin/main commit eff61ece5709928a9f31d9a775fc6c989cb12ea4 into PR head commit 09e68456677e29f0efc0f70ff4b2aa36e54dd0db 20:28:51 $ docker rm -f ac33dfb00ec43436cef4e59c42ee232884a4a381687a4206c10af65f2051b7cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:28:51 Merge succeeded, producing 09e68456677e29f0efc0f70ff4b2aa36e54dd0db 20:28:51 Checking out Revision 09e68456677e29f0efc0f70ff4b2aa36e54dd0db (PR-164) 20:28:50 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:28:50 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:28:50 using GIT_SSH to set credentials SSH Credentials for GitHub 20:28:50 Verifying host key using known hosts file 20:28:50 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:28:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:28:51 > git config core.sparsecheckout # timeout=10 20:28:51 > git checkout -f 09e68456677e29f0efc0f70ff4b2aa36e54dd0db # timeout=10 20:28:51 > git remote # timeout=10 20:28:51 > git config --get remote.origin.url # timeout=10 20:28:51 using GIT_SSH to set credentials SSH Credentials for GitHub 20:28:51 Verifying host key using known hosts file 20:28:51 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:28:51 > git merge eff61ece5709928a9f31d9a775fc6c989cb12ea4 # timeout=10 20:28:51 > git rev-parse HEAD^{commit} # timeout=10 20:28:51 > git config core.sparsecheckout # timeout=10 20:28:51 > git checkout -f 09e68456677e29f0efc0f70ff4b2aa36e54dd0db # timeout=10 20:28:55 Commit message: "build: Add option to build Service with NATS Capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:28:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:28:56 % Total % Received % Xferd Average Speed Time Time Time Current 20:28:56 Dload Upload Total Spent Left Speed 20:28:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 53625 0 --:--:-- --:--:-- --:--:-- 53398 [Pipeline] sh 20:28:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:28:57 + sudo tee /etc/docker/daemon.new 20:28:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:28:57 { 20:28:57 "registry-mirrors": [ 20:28:57 "https://nexus3.edgexfoundry.org:10001" 20:28:57 ], 20:28:57 "bip": "10.250.0.254/24", 20:28:57 "hosts": [ 20:28:57 "tcp://0.0.0.0:5555", 20:28:57 "unix:///var/run/docker.sock" 20:28:57 ], 20:28:57 "mtu": 1458, 20:28:57 "selinux-enabled": true, 20:28:57 "seccomp-profile": "/etc/docker/seccomp.json" 20:28:57 } [Pipeline] sh 20:28:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:28:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:29:16 provisioning config files... 20:29:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config304837383118842363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:16 ---> docker-login.sh 20:29:16 nexus3.edgexfoundry.org:10001 20:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:16 Configure a credential helper to remove this warning. See 20:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:16 20:29:16 Login Succeeded 20:29:16 nexus3.edgexfoundry.org:10002 20:29:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:17 Configure a credential helper to remove this warning. See 20:29:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:17 20:29:17 Login Succeeded 20:29:17 nexus3.edgexfoundry.org:10003 20:29:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:17 Configure a credential helper to remove this warning. See 20:29:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:17 20:29:17 Login Succeeded 20:29:17 nexus3.edgexfoundry.org:10004 20:29:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:18 Configure a credential helper to remove this warning. See 20:29:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:18 20:29:18 Login Succeeded 20:29:18 docker.io 20:29:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:18 Configure a credential helper to remove this warning. See 20:29:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:18 20:29:18 Login Succeeded 20:29:18 ---> docker-login.sh ends [Pipeline] } 20:29:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:29:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:29:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:29:18 ========================================================= 20:29:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:29:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:29:19 Sending build context to Docker daemon 14.2MB 20:29:19 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 20:29:19 Step 2/14 : FROM ${BASE} AS builder 20:29:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:29:19 b3c136eddcbf: Pulling fs layer 20:29:19 c0a3192eca97: Pulling fs layer 20:29:19 a050256f5b6f: Pulling fs layer 20:29:19 656be50a0ddc: Pulling fs layer 20:29:19 2bbca73fdf42: Pulling fs layer 20:29:19 46d945488cbd: Pulling fs layer 20:29:19 8a5474983e97: Pulling fs layer 20:29:19 329c88fbcd65: Pulling fs layer 20:29:19 46d945488cbd: Waiting 20:29:19 8a5474983e97: Waiting 20:29:19 656be50a0ddc: Waiting 20:29:19 329c88fbcd65: Waiting 20:29:19 2bbca73fdf42: Waiting 20:29:19 a050256f5b6f: Download complete 20:29:19 c0a3192eca97: Verifying Checksum 20:29:19 c0a3192eca97: Download complete 20:29:19 2bbca73fdf42: Verifying Checksum 20:29:19 2bbca73fdf42: Download complete 20:29:19 46d945488cbd: Verifying Checksum 20:29:19 46d945488cbd: Download complete 20:29:19 b3c136eddcbf: Verifying Checksum 20:29:20 b3c136eddcbf: Pull complete 20:29:20 329c88fbcd65: Verifying Checksum 20:29:20 329c88fbcd65: Download complete 20:29:21 c0a3192eca97: Pull complete 20:29:21 a050256f5b6f: Pull complete 20:29:21 8a5474983e97: Verifying Checksum 20:29:21 8a5474983e97: Download complete 20:29:22 656be50a0ddc: Download complete 20:29:34 656be50a0ddc: Pull complete 20:29:34 2bbca73fdf42: Pull complete 20:29:34 46d945488cbd: Pull complete 20:29:41 8a5474983e97: Pull complete 20:29:43 329c88fbcd65: Pull complete 20:29:43 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 20:29:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:29:43 ---> ff4287adb874 20:29:43 Step 3/14 : ARG ADD_BUILD_TAGS="" 20:29:45 ---> Running in c8ce29740e00 20:29:45 Removing intermediate container c8ce29740e00 20:29:45 ---> 1c12b9e6a2d9 20:29:45 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:29:45 ---> Running in d3116aa4931e 20:29:45 Removing intermediate container d3116aa4931e 20:29:45 ---> 583900974773 20:29:45 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:29:45 ---> Running in 0d04983dafaf 20:29:46 Removing intermediate container 0d04983dafaf 20:29:46 ---> 26dee599c461 20:29:46 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 20:29:46 ---> Running in e57c4c9329c4 20:29:46 Removing intermediate container e57c4c9329c4 20:29:46 ---> c1b0840afb9e 20:29:46 Step 7/14 : LABEL Name=edgex-device-onvif-camera 20:29:46 ---> Running in 2d0005a2a980 20:29:47 Removing intermediate container 2d0005a2a980 20:29:47 ---> a2682906fa03 20:29:47 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:29:47 ---> Running in df71b65eed52 20:29:48 Removing intermediate container df71b65eed52 20:29:48 ---> ce20de7f69fb 20:29:48 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:29:48 ---> Running in 74851faf205e 20:29:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:29:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:29:51 OK: 221 MiB in 51 packages 20:29:52 Removing intermediate container 74851faf205e 20:29:52 ---> 64260f221f69 20:29:52 Step 10/14 : WORKDIR /device-onvif-camera 20:29:52 ---> Running in 91ecde432e3f 20:29:53 Removing intermediate container 91ecde432e3f 20:29:53 ---> d3df547e75a4 20:29:53 Step 11/14 : COPY go.mod vendor* ./ 20:29:53 ---> 82e9cf924bab 20:29:53 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:29:53 ---> Running in 0d739daadf93 20:30:50 Removing intermediate container 0d739daadf93 20:30:50 ---> a114ba03affb 20:30:50 Step 13/14 : COPY . . 20:30:50 ---> 6be719d4ffdb 20:30:50 Step 14/14 : RUN ${MAKE} 20:30:50 ---> Running in d26d45eaabb8 20:30:50 noop 20:30:50 Removing intermediate container d26d45eaabb8 20:30:50 ---> 8375b16cb565 20:30:50 Successfully built 8375b16cb565 20:30:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:50 + docker inspect -f . ci-base-image-arm64 20:30:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:50 prd-ubuntu20.04-docker-arm64-4c-16g-1859 does not seem to be running inside a container 20:30:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:30:51 $ docker top 600c0b263d4e57b2ec867a73c18689bfe384fc02a68f88dc36dc8b1aa073c637 -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:52 + go version 20:30:52 go version go1.18.3 linux/arm64 [Pipeline] } 20:30:52 $ docker stop --time=1 600c0b263d4e57b2ec867a73c18689bfe384fc02a68f88dc36dc8b1aa073c637 20:30:54 $ docker rm -f 600c0b263d4e57b2ec867a73c18689bfe384fc02a68f88dc36dc8b1aa073c637 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:54 + docker inspect -f . ci-base-image-arm64 20:30:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:54 prd-ubuntu20.04-docker-arm64-4c-16g-1859 does not seem to be running inside a container 20:30:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:30:56 $ docker top 44682d255228b6ac8aa2e08788e30f33323ca6716797c1fbf2c7ea3c587ec077 -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:56 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 20:30:56 + make test 20:30:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:30:58 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:32:35 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:32:35 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.192s coverage: 28.2% of statements 20:32:35 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:32:53 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.267s coverage: 86.5% of statements 20:32:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:32:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:33:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:33:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:33:20 ./bin/test-attribution-txt.sh [Pipeline] echo 20:33:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:33:20 $ docker stop --time=1 44682d255228b6ac8aa2e08788e30f33323ca6716797c1fbf2c7ea3c587ec077 20:33:22 $ docker rm -f 44682d255228b6ac8aa2e08788e30f33323ca6716797c1fbf2c7ea3c587ec077 [Pipeline] // withDockerContainer [Pipeline] sh 20:33:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:33:23 Warning: overwriting stash ‘coverage-report’ 20:33:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:33:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:33:25 + ls -al . 20:33:25 total 232 20:33:25 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 20:30 . 20:33:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 20:28 .. 20:33:25 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 20:28 .git 20:33:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 20:28 .github 20:33:25 -rw-rw-r-- 1 jenkins jenkins 418 Sep 28 20:28 .gitignore 20:33:25 -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 20:28 .golangci.yml 20:33:25 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 28 20:28 Attribution.txt 20:33:25 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 28 20:28 CHANGELOG.md 20:33:25 -rw-rw-r-- 1 jenkins jenkins 1726 Sep 28 20:28 Dockerfile 20:33:25 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 20:28 GOVERNANCE.md 20:33:25 -rw-rw-r-- 1 jenkins jenkins 734 Sep 28 20:28 Jenkinsfile 20:33:25 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 20:28 LICENSE 20:33:25 -rw-rw-r-- 1 jenkins jenkins 2858 Sep 28 20:28 Makefile 20:33:25 -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 20:28 OWNERS.md 20:33:25 -rw-rw-r-- 1 jenkins jenkins 6595 Sep 28 20:28 README.md 20:33:25 -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 20:27 VERSION 20:33:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 20:28 bin 20:33:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 20:28 cmd 20:33:25 -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 20:32 coverage.out 20:33:25 drwxrwxr-x 6 jenkins jenkins 4096 Sep 28 20:28 doc 20:33:25 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 28 20:28 go.mod 20:33:25 -rw-rw-r-- 1 jenkins jenkins 39691 Sep 28 20:28 go.sum 20:33:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 20:28 internal 20:33:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 20:28 snap 20:33:25 -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 20:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:25 + 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=09e68456677e29f0efc0f70ff4b2aa36e54dd0db --label arch=arm64 --label version=0.0.0 . 20:33:25 Sending build context to Docker daemon 14.27MB 20:33:25 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 20:33:25 Step 2/27 : FROM ${BASE} AS builder 20:33:25 ---> 8375b16cb565 20:33:25 Step 3/27 : ARG ADD_BUILD_TAGS="" 20:33:26 ---> Running in dc2a9728b89a 20:33:26 Removing intermediate container dc2a9728b89a 20:33:26 ---> 4064a75060ee 20:33:26 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:33:26 ---> Running in c2a134cdd2e3 20:33:27 Removing intermediate container c2a134cdd2e3 20:33:27 ---> 58ad525c0740 20:33:27 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:33:27 ---> Running in 84c9cbc9bd91 20:33:27 Removing intermediate container 84c9cbc9bd91 20:33:27 ---> cbe736ad6b2e 20:33:27 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 20:33:27 ---> Running in 49c466aed284 20:33:27 Removing intermediate container 49c466aed284 20:33:27 ---> 735c64806518 20:33:27 Step 7/27 : LABEL Name=edgex-device-onvif-camera 20:33:28 ---> Running in 63a4df74dcde 20:33:28 Removing intermediate container 63a4df74dcde 20:33:28 ---> ca9e8a0d4562 20:33:28 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:33:28 ---> Running in 8e535a308427 20:33:30 Removing intermediate container 8e535a308427 20:33:30 ---> 22418c4ac9c2 20:33:30 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:33:30 ---> Running in b62666bbc266 20:33:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:33:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:33:33 OK: 221 MiB in 51 packages 20:33:35 Removing intermediate container b62666bbc266 20:33:35 ---> abb65088b8b6 20:33:35 Step 10/27 : WORKDIR /device-onvif-camera 20:33:35 ---> Running in 282ae8674070 20:33:35 Removing intermediate container 282ae8674070 20:33:35 ---> ae3420787402 20:33:35 Step 11/27 : COPY go.mod vendor* ./ 20:33:37 ---> bd0d25eab670 20:33:37 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:33:37 ---> Running in ac3b86c7d035 20:33:39 Removing intermediate container ac3b86c7d035 20:33:39 ---> f886f317bcda 20:33:39 Step 13/27 : COPY . . 20:33:41 ---> 3d1a7fde1ac0 20:33:41 Step 14/27 : RUN ${MAKE} 20:33:41 ---> Running in d61427991025 20:33:42 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 20:36:18 Removing intermediate container d61427991025 20:36:18 ---> 00e098f9b867 20:36:18 Step 15/27 : FROM alpine:3.16 20:36:18 3.16: Pulling from library/alpine 20:36:18 9b18e9b68314: Pulling fs layer 20:36:18 9b18e9b68314: Verifying Checksum 20:36:18 9b18e9b68314: Download complete 20:36:18 9b18e9b68314: Pull complete 20:36:18 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:36:18 Status: Downloaded newer image for alpine:3.16 20:36:18 ---> a6215f271958 20:36:18 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:36:18 ---> Running in ca2ea6ae101f 20:36:18 Removing intermediate container ca2ea6ae101f 20:36:18 ---> 15bfead5bd61 20:36:18 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 20:36:18 ---> Running in 6a424586dd51 20:36:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:36:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:36:18 (1/6) Installing dumb-init (1.2.5-r1) 20:36:18 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:36:18 (3/6) Installing libsodium (1.0.18-r0) 20:36:18 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:36:18 (5/6) Installing libzmq (4.3.4-r0) 20:36:18 (6/6) Installing zeromq (4.3.4-r0) 20:36:18 Executing busybox-1.35.0-r17.trigger 20:36:18 OK: 8 MiB in 20 packages 20:36:18 Removing intermediate container 6a424586dd51 20:36:18 ---> 09ba52f6a1a6 20:36:18 Step 18/27 : WORKDIR / 20:36:18 ---> Running in ef66fc47384b 20:36:18 Removing intermediate container ef66fc47384b 20:36:18 ---> 92250a734678 20:36:18 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 20:36:18 ---> ee6c9b34cf7a 20:36:18 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 20:36:18 ---> 70c4001b7019 20:36:18 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:36:18 ---> 574896eb0271 20:36:18 Step 22/27 : EXPOSE 59984 20:36:18 ---> Running in be0be004f1e5 20:36:18 Removing intermediate container be0be004f1e5 20:36:18 ---> 3ff8d4d4135a 20:36:18 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 20:36:18 ---> Running in fd4e2403e57e 20:36:18 Removing intermediate container fd4e2403e57e 20:36:18 ---> 63db8acc2da5 20:36:18 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:36:18 ---> Running in f95c31b93fe7 20:36:18 Removing intermediate container f95c31b93fe7 20:36:18 ---> 6546f81a9f72 20:36:18 Step 25/27 : LABEL arch=arm64 20:36:18 ---> Running in 81cb5b52dc49 20:36:18 Removing intermediate container 81cb5b52dc49 20:36:18 ---> 19d1d9b020c8 20:36:18 Step 26/27 : LABEL git_sha=09e68456677e29f0efc0f70ff4b2aa36e54dd0db 20:36:18 ---> Running in 79ae42b26438 20:36:18 Removing intermediate container 79ae42b26438 20:36:18 ---> de725ae04ee8 20:36:18 Step 27/27 : LABEL version=0.0.0 20:36:18 ---> Running in 8e9ad59d628e 20:36:18 Removing intermediate container 8e9ad59d628e 20:36:18 ---> 4067aa719b7b 20:36:18 [Warning] One or more build-args [ARCH] were not consumed 20:36:18 Successfully built 4067aa719b7b 20:36:18 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 20:36:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:36:19 20:36:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:36:19 arm64: Pulling from edgex-lftools-log-publisher 20:36:19 8998bd30e6a1: Pulling fs layer 20:36:19 04944245beec: Pulling fs layer 20:36:19 699f458cf7ca: Pulling fs layer 20:36:19 765212b225bb: Pulling fs layer 20:36:19 f23df028b6ca: Pulling fs layer 20:36:19 d65c8cfc05b1: Pulling fs layer 20:36:19 2437ff75d9bd: Pulling fs layer 20:36:19 d65c8cfc05b1: Waiting 20:36:19 765212b225bb: Waiting 20:36:19 2437ff75d9bd: Waiting 20:36:19 f23df028b6ca: Waiting 20:36:19 04944245beec: Verifying Checksum 20:36:19 04944245beec: Download complete 20:36:19 765212b225bb: Verifying Checksum 20:36:19 765212b225bb: Download complete 20:36:19 f23df028b6ca: Download complete 20:36:19 d65c8cfc05b1: Verifying Checksum 20:36:19 d65c8cfc05b1: Download complete 20:36:19 699f458cf7ca: Verifying Checksum 20:36:19 699f458cf7ca: Download complete 20:36:20 8998bd30e6a1: Verifying Checksum 20:36:20 8998bd30e6a1: Download complete 20:36:23 2437ff75d9bd: Verifying Checksum 20:36:23 2437ff75d9bd: Download complete 20:36:24 8998bd30e6a1: Pull complete 20:36:24 04944245beec: Pull complete 20:36:26 699f458cf7ca: Pull complete 20:36:26 765212b225bb: Pull complete 20:36:27 f23df028b6ca: Pull complete 20:36:27 d65c8cfc05b1: Pull complete 20:36:42 2437ff75d9bd: Pull complete 20:36:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:36:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:36:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:42 prd-ubuntu20.04-docker-arm64-4c-16g-1859 does not seem to be running inside a container 20:36:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:36:45 $ docker top f498cd77ff94e192395b42fbfbad0f3da39e49c3c036c7b3963fea58009c6397 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:45 ---> job-cost.sh 20:36:46 lf-activate-venv: SKIPPING 20:36:46 INFO: No Stack... 20:36:46 INFO: Retrieving Pricing Info for: v3-standard-4 20:36:47 INFO: Archiving Costs [Pipeline] sh 20:36:48 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 20:36:48 + cut -d, -f6 [Pipeline] lock 20:36:48 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-164-2-stack-cost] 20:36:48 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-164-2-stack-cost] did not exist. Created. 20:36:48 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-164-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:36:48 /w/workspace/device-onvif-camera/2@tmp/durable-66c3483a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:36:48 + echo total: 0.10999999940395355 [Pipeline] stash 20:36:48 Warning: overwriting stash ‘stack-cost’ 20:36:49 Stashed 1 file(s) [Pipeline] } 20:36:49 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-164-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:36:49 $ docker stop --time=1 f498cd77ff94e192395b42fbfbad0f3da39e49c3c036c7b3963fea58009c6397 20:36:50 $ docker rm -f f498cd77ff94e192395b42fbfbad0f3da39e49c3c036c7b3963fea58009c6397 [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 20:36:50 provisioning config files... 20:36:50 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-164@tmp/config17335120291795233840tmp [Pipeline] { [Pipeline] sh 20:36:51 + set +x 20:36:51 + bash -s -- 20:36:51 + curl -s https://codecov.io/bash 20:36:51 20:36:51 _____ _ 20:36:51 / ____| | | 20:36:51 | | ___ __| | ___ ___ _____ __ 20:36:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:36:51 | |___| (_) | (_| | __/ (_| (_) \ V / 20:36:51 \_____\___/ \__,_|\___|\___\___/ \_/ 20:36:51 Bash-1.0.6 20:36:51 20:36:51 20:36:51 ==> git version 2.25.1 found 20:36:51 ==> 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 20:36:51 Release-Date: 2020-01-08 20:36:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:36:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:36:51 ==> Jenkins CI detected. 20:36:51 current dir:  /w/workspace/undry_device-onvif-camera_PR-164 20:36:51 project root: . 20:36:51 --> token set from env 20:36:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:36:51 ==> Running gcov in . (disable via -X gcov) 20:36:51 ==> Python coveragepy not found 20:36:51 ==> Searching for coverage reports in: 20:36:51 + . 20:36:51 -> Found 1 reports 20:36:51 ==> Detecting git/mercurial file structure 20:36:51 ==> Reading reports 20:36:51 + ./coverage.out bytes=78461 20:36:51 ==> Appending adjustments 20:36:51 https://docs.codecov.io/docs/fixing-reports 20:36:51 + Found adjustments 20:36:51 ==> Gzipping contents 20:36:51 12K /tmp/codecov.U1vGDj.gz 20:36:51 ==> Uploading reports 20:36:51 url: https://codecov.io 20:36:51 query: branch=PR-164&commit=09e68456677e29f0efc0f70ff4b2aa36e54dd0db&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-164%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=164&job=&cmd_args= 20:36:51 -> Pinging Codecov 20:36:51 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-164&commit=09e68456677e29f0efc0f70ff4b2aa36e54dd0db&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-164%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=164&job=&cmd_args= 20:36:52 -> Uploading to 20:36:52 https://storage.googleapis.com/codecov/v4/raw/2022-09-28/F29A59C45E3A92E06B3E522C9905F8EF/09e68456677e29f0efc0f70ff4b2aa36e54dd0db/1a75fae6-f5f6-429f-b7f4-79344ac9735d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T203651Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2ff919f5bf2fabc97d271e6a9fa37de67efc1f5c6432c85afc7c9b95b4c190cb 20:36:52 % Total % Received % Xferd Average Speed Time Time Time Current 20:36:52 Dload Upload Total Spent Left Speed 20:36:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10708 0 0 100 10708 0 52490 --:--:-- --:--:-- --:--:-- 52490 20:36:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/09e68456677e29f0efc0f70ff4b2aa36e54dd0db [Pipeline] } 20:36:52 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 20:36:52 + [ -d /w/workspace/undry_device-onvif-camera_PR-164/archives ] 20:36:52 + ls -al /w/workspace/undry_device-onvif-camera_PR-164/archives 20:36:52 total 16 20:36:52 drwxr-xr-x 3 root root 4096 Sep 28 20:28 . 20:36:52 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 20:28 .. 20:36:52 drwxr-xr-x 2 root root 4096 Sep 28 20:28 cost 20:36:52 -rw-r--r-- 1 root root 91 Sep 28 20:28 cost.csv 20:36:52 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-164/archives 20:36:52 + ls -al /w/workspace/undry_device-onvif-camera_PR-164/archives 20:36:52 total 16 20:36:52 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 20:28 . 20:36:52 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 20:28 .. 20:36:52 drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 20:28 cost 20:36:52 -rw-r--r-- 1 jenkins jenkins 91 Sep 28 20:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:36:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:36:53 ---> package-listing.sh 20:36:53 ++ facter osfamily 20:36:53 ++ tr '[:upper:]' '[:lower:]' 20:36:54 + OS_FAMILY=debian 20:36:54 + workspace=/w/workspace/undry_device-onvif-camera_PR-164 20:36:54 + START_PACKAGES=/tmp/packages_start.txt 20:36:54 + END_PACKAGES=/tmp/packages_end.txt 20:36:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:36:54 + PACKAGES=/tmp/packages_start.txt 20:36:54 + '[' /w/workspace/undry_device-onvif-camera_PR-164 ']' 20:36:54 + PACKAGES=/tmp/packages_end.txt 20:36:54 + case "${OS_FAMILY}" in 20:36:54 + dpkg -l 20:36:54 + grep '^ii' 20:36:54 + '[' -f /tmp/packages_start.txt ']' 20:36:54 + '[' -f /tmp/packages_end.txt ']' 20:36:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:36:54 + '[' /w/workspace/undry_device-onvif-camera_PR-164 ']' 20:36:54 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-164/archives/ 20:36:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-164/archives/ [Pipeline] echo 20:36:54 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-164/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:36:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:36:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:55 prd-ubuntu20.04-docker-8c-8g-1858 does not seem to be running inside a container 20:36:55 $ 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-164/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-164 -v /w/workspace/undry_device-onvif-camera_PR-164:/w/workspace/undry_device-onvif-camera_PR-164:rw,z -v /w/workspace/undry_device-onvif-camera_PR-164@tmp:/w/workspace/undry_device-onvif-camera_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:36:55 $ docker top 94dd11e2c6d3e966b1136a1e09038487b1e4b6ab4e6c840ac18335428fb83a03 -eo pid,comm [Pipeline] { [Pipeline] sh 20:36:55 + touch /tmp/pre-build-complete [Pipeline] sh 20:36:55 + mkdir -p /var/log/sysstat [Pipeline] sh 20:36:56 + ls /var/log/sa-host 20:36:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:36:56 provisioning config files... 20:36:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-164@tmp/config17887001705730546659tmp [Pipeline] { [Pipeline] echo 20:36:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:36:56 ---> create-netrc.sh [Pipeline] } 20:36:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:36:56 ---> python-tools-install.sh [Pipeline] echo 20:36:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:36:57 ---> sudo-logs.sh 20:36:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:36:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:36:57 ---> job-cost.sh 20:36:57 lf-activate-venv: SKIPPING 20:36:57 DEBUG: total: 0.2199999988079071 20:36:57 INFO: Retrieving Stack Cost... 20:36:58 INFO: Retrieving Pricing Info for: v3-standard-8 20:36:58 INFO: Archiving Costs [Pipeline] echo 20:36:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:36:58 ---> logs-deploy.sh 20:36:58 lf-activate-venv: SKIPPING 20:36:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-164/2 20:36:58 INFO: archiving workspace using pattern(s): 20:36:59 Archives upload complete. 20:36:59 INFO: archiving logs to Nexus 20:37:00 ---> uname -a: 20:37:00 Linux prd-ubuntu20-04-docker-8c-8g-1858 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:37:00 20:37:00 20:37:00 ---> lscpu: 20:37:00 Architecture: x86_64 20:37:00 CPU op-mode(s): 32-bit, 64-bit 20:37:00 Byte Order: Little Endian 20:37:00 Address sizes: 40 bits physical, 48 bits virtual 20:37:00 CPU(s): 8 20:37:00 On-line CPU(s) list: 0-7 20:37:00 Thread(s) per core: 1 20:37:00 Core(s) per socket: 1 20:37:00 Socket(s): 8 20:37:00 NUMA node(s): 1 20:37:00 Vendor ID: AuthenticAMD 20:37:00 CPU family: 23 20:37:00 Model: 49 20:37:00 Model name: AMD EPYC-Rome Processor 20:37:00 Stepping: 0 20:37:00 CPU MHz: 2799.996 20:37:00 BogoMIPS: 5599.99 20:37:00 Virtualization: AMD-V 20:37:00 Hypervisor vendor: KVM 20:37:00 Virtualization type: full 20:37:00 L1d cache: 256 KiB 20:37:00 L1i cache: 256 KiB 20:37:00 L2 cache: 4 MiB 20:37:00 L3 cache: 128 MiB 20:37:00 NUMA node0 CPU(s): 0-7 20:37:00 Vulnerability Itlb multihit: Not affected 20:37:00 Vulnerability L1tf: Not affected 20:37:00 Vulnerability Mds: Not affected 20:37:00 Vulnerability Meltdown: Not affected 20:37:00 Vulnerability Mmio stale data: Not affected 20:37:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:37:00 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:37:00 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:37:00 Vulnerability Srbds: Not affected 20:37:00 Vulnerability Tsx async abort: Not affected 20:37:00 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 20:37:00 20:37:00 20:37:00 ---> nproc: 20:37:00 8 20:37:00 20:37:00 20:37:00 ---> df -h: 20:37:00 Filesystem Size Used Avail Use% Mounted on 20:37:00 overlay 155G 12G 144G 8% / 20:37:00 tmpfs 64M 0 64M 0% /dev 20:37:00 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:37:00 shm 64M 0 64M 0% /dev/shm 20:37:00 /dev/vda1 155G 12G 144G 8% /facter-os 20:37:00 20:37:00 20:37:00 ---> sar -b -r -n DEV: 20:37:00 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-1858) 09/28/22 _x86_64_ (8 CPU) 20:37:00 20:37:00 20:26:06 LINUX RESTART (8 CPU) 20:37:00 20:37:00 20:27:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:37:00 20:28:01 180.19 1.18 179.01 0.00 39.19 65382.34 0.00 20:37:00 20:29:01 204.05 1.17 202.88 0.00 24.66 43407.03 0.00 20:37:00 20:30:01 1.78 0.00 1.78 0.00 0.00 21.61 0.00 20:37:00 20:31:01 1.63 0.00 1.63 0.00 0.00 19.06 0.00 20:37:00 20:32:01 40.54 9.35 31.19 0.00 2888.59 4824.66 0.00 20:37:00 20:33:01 3.57 1.58 1.98 0.00 37.19 23.06 0.00 20:37:00 20:34:01 1.32 0.00 1.32 0.00 0.00 14.26 0.00 20:37:00 20:35:01 1.55 0.00 1.55 0.00 0.00 17.19 0.00 20:37:00 20:36:01 1.02 0.00 1.02 0.00 0.00 11.60 0.00 20:37:00 Average: 48.41 1.48 46.93 0.00 332.16 12635.92 0.00 20:37:00 20:37:00 20:27:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:37:00 20:28:01 27906596 31094320 1205868 3.67 134848 3248316 2232416 6.58 1712560 2808600 147656 20:37:00 20:29:01 27738040 31558636 740908 2.25 148700 3827964 1757364 5.18 1307228 3338844 404 20:37:00 20:30:01 27738164 31558832 740240 2.25 148728 3827968 1757364 5.18 1306832 3338848 40 20:37:00 20:31:01 27741716 31562572 736164 2.24 148764 3827964 1757364 5.18 1302920 3338848 28 20:37:00 20:32:01 27451024 31546212 737604 2.24 167100 4076848 1780108 5.25 1456868 3450780 144 20:37:00 20:33:01 27448080 31545484 738164 2.24 167168 4077936 1780108 5.25 1461056 3451152 16 20:37:00 20:34:01 27448672 31546340 737404 2.24 167244 4077972 1780108 5.25 1460388 3451280 8 20:37:00 20:35:01 27448556 31546276 737644 2.24 167260 4077988 1780108 5.25 1460672 3451280 4 20:37:00 20:36:01 27448024 31546308 737900 2.24 167308 4077980 1780108 5.25 1460328 3451812 20 20:37:00 Average: 27596541 31500553 790211 2.40 157458 3902326 1822783 5.37 1436539 3342383 16480 20:37:00 20:37:00 20:27:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:37:00 20:28:01 docker0 167.73 207.26 12.99 1736.34 0.00 0.00 0.00 0.00 20:37:00 20:28:01 veth2269ff9 0.00 0.20 0.00 0.02 0.00 0.00 0.00 0.00 20:37:00 20:28:01 lo 2.60 2.60 0.25 0.25 0.00 0.00 0.00 0.00 20:37:00 20:28:01 ens3 379.94 273.66 5694.64 38.68 0.00 0.00 0.00 0.00 20:37:00 20:29:01 docker0 11.25 15.58 0.66 98.86 0.00 0.00 0.00 0.00 20:37:00 20:29:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 20:37:00 20:29:01 ens3 138.78 95.13 2685.97 21.37 0.00 0.00 0.00 0.00 20:37:00 20:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:37:00 20:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:37:00 20:30:01 ens3 0.20 0.00 0.02 0.00 0.00 0.00 0.00 0.00 20:37:00 20:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:37:00 20:31:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:37:00 20:31:01 ens3 4.43 2.67 12.47 0.37 0.00 0.00 0.00 0.00 20:37:00 20:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:37:00 20:32:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 20:37:00 20:32:01 ens3 92.65 56.91 1299.77 4.14 0.00 0.00 0.00 0.00 20:37:00 20:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:37:00 20:33:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 20:37:00 20:33:01 ens3 7.43 5.53 5.18 5.82 0.00 0.00 0.00 0.00 20:37:00 20:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:37:00 20:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:37:00 20:34:01 ens3 0.58 0.00 0.05 0.00 0.00 0.00 0.00 0.00 20:37:00 20:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:37:00 20:35:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:37:00 20:35:01 ens3 0.53 0.42 0.26 0.22 0.00 0.00 0.00 0.00 20:37:00 20:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:37:00 20:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:37:00 20:36:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:37:00 Average: docker0 19.89 24.76 1.52 203.93 0.00 0.00 0.00 0.00 20:37:00 Average: lo 0.64 0.64 0.06 0.06 0.00 0.00 0.00 0.00 20:37:00 Average: ens3 69.40 48.26 1077.62 7.84 0.00 0.00 0.00 0.00 20:37:00 20:37:00 20:37:00 ---> sar -P ALL: 20:37:00 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-1858) 09/28/22 _x86_64_ (8 CPU) 20:37:00 20:37:00 20:26:06 LINUX RESTART (8 CPU) 20:37:00 20:37:00 20:27:01 CPU %user %nice %system %iowait %steal %idle 20:37:00 20:28:01 all 27.95 0.00 6.51 1.41 0.07 64.07 20:37:00 20:28:01 0 27.82 0.00 5.77 0.12 0.07 66.22 20:37:00 20:28:01 1 28.14 0.00 6.17 1.60 0.07 64.03 20:37:00 20:28:01 2 27.46 0.00 5.22 0.44 0.07 66.81 20:37:00 20:28:01 3 28.80 0.00 6.92 0.24 0.07 63.99 20:37:00 20:28:01 4 26.55 0.00 7.19 0.24 0.07 65.95 20:37:00 20:28:01 5 29.54 0.00 6.62 2.56 0.08 61.19 20:37:00 20:28:01 6 27.10 0.00 7.40 2.11 0.07 63.32 20:37:00 20:28:01 7 28.16 0.00 6.77 4.01 0.07 60.99 20:37:00 20:29:01 all 25.63 0.00 5.63 0.84 0.06 67.84 20:37:00 20:29:01 0 25.25 0.00 5.88 2.62 0.07 66.18 20:37:00 20:29:01 1 26.30 0.00 5.42 0.27 0.05 67.96 20:37:00 20:29:01 2 24.68 0.00 6.04 0.17 0.07 69.05 20:37:00 20:29:01 3 26.14 0.00 5.84 0.57 0.07 67.38 20:37:00 20:29:01 4 25.27 0.00 5.41 0.17 0.05 69.10 20:37:00 20:29:01 5 27.15 0.00 5.75 0.45 0.05 66.59 20:37:00 20:29:01 6 24.88 0.00 5.73 0.17 0.07 69.16 20:37:00 20:29:01 7 25.38 0.00 4.96 2.30 0.07 67.29 20:37:00 20:30:01 all 0.03 0.00 0.02 0.01 0.01 99.94 20:37:00 20:30:01 0 0.02 0.00 0.02 0.03 0.00 99.93 20:37:00 20:30:01 1 0.02 0.00 0.00 0.00 0.00 99.98 20:37:00 20:30:01 2 0.07 0.00 0.00 0.00 0.00 99.93 20:37:00 20:30:01 3 0.02 0.00 0.00 0.00 0.00 99.98 20:37:00 20:30:01 4 0.02 0.00 0.03 0.00 0.02 99.93 20:37:00 20:30:01 5 0.07 0.00 0.02 0.00 0.03 99.88 20:37:00 20:30:01 6 0.02 0.00 0.03 0.00 0.00 99.95 20:37:00 20:30:01 7 0.03 0.00 0.03 0.02 0.00 99.92 20:37:00 20:31:01 all 0.05 0.00 0.01 0.00 0.00 99.93 20:37:00 20:31:01 0 0.00 0.00 0.00 0.02 0.00 99.98 20:37:00 20:31:01 1 0.00 0.00 0.00 0.00 0.00 100.00 20:37:00 20:31:01 2 0.05 0.00 0.02 0.00 0.00 99.93 20:37:00 20:31:01 3 0.03 0.00 0.02 0.00 0.00 99.95 20:37:00 20:31:01 4 0.13 0.00 0.02 0.00 0.00 99.85 20:37:00 20:31:01 5 0.05 0.00 0.02 0.00 0.00 99.93 20:37:00 20:31:01 6 0.03 0.00 0.02 0.00 0.00 99.95 20:37:00 20:31:01 7 0.10 0.00 0.03 0.02 0.02 99.83 20:37:00 20:32:01 all 1.20 0.00 0.79 0.30 0.01 97.69 20:37:00 20:32:01 0 1.15 0.00 1.82 0.12 0.02 96.90 20:37:00 20:32:01 1 0.88 0.00 0.55 0.03 0.02 98.51 20:37:00 20:32:01 2 0.69 0.00 0.42 0.03 0.02 98.84 20:37:00 20:32:01 3 1.79 0.00 0.72 0.10 0.02 97.38 20:37:00 20:32:01 4 1.27 0.00 0.65 0.07 0.02 98.00 20:37:00 20:32:01 5 1.53 0.00 0.83 0.55 0.02 97.06 20:37:00 20:32:01 6 0.62 0.00 0.93 0.13 0.00 98.32 20:37:00 20:32:01 7 1.69 0.00 0.40 1.37 0.02 96.52 20:37:00 20:33:01 all 0.28 0.00 0.03 0.01 0.01 99.67 20:37:00 20:33:01 0 0.27 0.00 0.02 0.00 0.00 99.72 20:37:00 20:33:01 1 0.12 0.00 0.07 0.00 0.02 99.80 20:37:00 20:33:01 2 0.12 0.00 0.00 0.00 0.02 99.87 20:37:00 20:33:01 3 0.73 0.00 0.02 0.03 0.02 99.20 20:37:00 20:33:01 4 0.25 0.00 0.03 0.00 0.00 99.72 20:37:00 20:33:01 5 0.25 0.00 0.05 0.03 0.00 99.67 20:37:00 20:33:01 6 0.27 0.00 0.05 0.02 0.00 99.67 20:37:00 20:33:01 7 0.23 0.00 0.02 0.03 0.00 99.72 20:37:00 20:34:01 all 0.09 0.00 0.02 0.00 0.00 99.89 20:37:00 20:34:01 0 0.00 0.00 0.00 0.00 0.00 100.00 20:37:00 20:34:01 1 0.02 0.00 0.03 0.00 0.02 99.93 20:37:00 20:34:01 2 0.62 0.00 0.05 0.00 0.00 99.33 20:37:00 20:34:01 3 0.00 0.00 0.02 0.00 0.00 99.98 20:37:00 20:34:01 4 0.03 0.00 0.02 0.00 0.00 99.95 20:37:00 20:34:01 5 0.02 0.00 0.02 0.00 0.00 99.97 20:37:00 20:34:01 6 0.00 0.00 0.00 0.00 0.00 100.00 20:37:00 20:34:01 7 0.03 0.00 0.02 0.02 0.02 99.92 20:37:00 20:35:01 all 0.02 0.00 0.02 0.01 0.00 99.95 20:37:00 20:35:01 0 0.00 0.00 0.00 0.00 0.00 100.00 20:37:00 20:35:01 1 0.02 0.00 0.03 0.00 0.02 99.93 20:37:00 20:35:01 2 0.02 0.00 0.02 0.00 0.00 99.97 20:37:00 20:35:01 3 0.05 0.00 0.00 0.00 0.00 99.95 20:37:00 20:35:01 4 0.03 0.00 0.03 0.00 0.00 99.93 20:37:00 20:35:01 5 0.02 0.00 0.02 0.03 0.02 99.92 20:37:00 20:35:01 6 0.02 0.00 0.02 0.00 0.00 99.97 20:37:00 20:35:01 7 0.03 0.00 0.02 0.02 0.00 99.93 20:37:00 20:36:01 all 0.14 0.00 0.01 0.01 0.00 99.84 20:37:00 20:36:01 0 0.02 0.00 0.02 0.00 0.00 99.97 20:37:00 20:36:01 1 0.02 0.00 0.00 0.00 0.00 99.98 20:37:00 20:36:01 2 1.03 0.00 0.02 0.00 0.02 98.94 20:37:00 20:36:01 3 0.03 0.00 0.00 0.00 0.00 99.97 20:37:00 20:36:01 4 0.02 0.00 0.00 0.00 0.00 99.98 20:37:00 20:36:01 5 0.00 0.00 0.02 0.00 0.00 99.98 20:37:00 20:36:01 6 0.00 0.00 0.00 0.02 0.00 99.98 20:37:00 20:36:01 7 0.00 0.00 0.02 0.03 0.00 99.95 20:37:00 Average: all 6.10 0.00 1.44 0.29 0.02 92.16 20:37:00 Average: 0 6.01 0.00 1.49 0.32 0.02 92.16 20:37:00 Average: 1 6.13 0.00 1.35 0.21 0.02 92.29 20:37:00 Average: 2 6.03 0.00 1.30 0.07 0.02 92.59 20:37:00 Average: 3 6.35 0.00 1.49 0.10 0.02 92.04 20:37:00 Average: 4 5.90 0.00 1.47 0.05 0.02 92.56 20:37:00 Average: 5 6.45 0.00 1.47 0.40 0.02 91.65 20:37:00 Average: 6 5.81 0.00 1.56 0.27 0.01 92.35 20:37:00 Average: 7 6.11 0.00 1.35 0.86 0.02 91.66 20:37:00 20:37:00 20:37:00