Pull request #283 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch levski at a19c49b13c0fa898c897ffa06db9bfcb5560ce91 rather than 52bb2f830998cbf2cea456f40f1b08ae3e247aaf Obtained Jenkinsfile from a19c49b13c0fa898c897ffa06db9bfcb5560ce91 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-ssh14100694872229738869.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh11907895538494936550.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-283/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-283/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17328298019321717072.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-283/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17938633775518256298.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh5953854407177598892.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-283/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-283/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8875539667849807274.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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, goVersion:1.18, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4967 in /w/workspace/undry_device-onvif-camera_PR-283 [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-283 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/levski commit a19c49b13c0fa898c897ffa06db9bfcb5560ce91 into PR head commit 52bb2f830998cbf2cea456f40f1b08ae3e247aaf Merge succeeded, producing 52bb2f830998cbf2cea456f40f1b08ae3e247aaf Checking out Revision 52bb2f830998cbf2cea456f40f1b08ae3e247aaf (PR-283) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/283/head:refs/remotes/origin/PR-283 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 52bb2f830998cbf2cea456f40f1b08ae3e247aaf # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a19c49b13c0fa898c897ffa06db9bfcb5560ce91 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 52bb2f830998cbf2cea456f40f1b08ae3e247aaf # timeout=10 Commit message: "docs: change log upated with levski patch" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:13:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:13:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:13:48 ========================================================= 22:13:48 EdgeX Global Pipelines Version Info 22:13:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:13:49 ------------------- 22:13:49 stable info: 22:13:49 ------------------- 22:13:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:13:49 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 22:13:49 Message: update stable to v1.0.245 22:13:49 ------------------- 22:13:49 experimental info: 22:13:49 ------------------- 22:13:49 Commited By: **** collab-it+edgex@linuxfoundation.org 22:13:49 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 22:13:49 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:13:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:13:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:13:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:13:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:13:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:13:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:13:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:13:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:13:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:13:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:13:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:13:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:13:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:13:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:13:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:13:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:13:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:13:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:13:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:13:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:13:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:13:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:13:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:13:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:13:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:13:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:13:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:13:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-283 [Pipeline] echo 22:13:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-283 [Pipeline] echo 22:13:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-283 [Pipeline] echo 22:13:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 52bb2f830998cbf2cea456f40f1b08ae3e247aaf [Pipeline] echo 22:13:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 52bb2f8 [Pipeline] echo 22:13:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:13:51 provisioning config files... 22:13:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-283@tmp/config1015444012259237710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:52 ---> docker-login.sh 22:13:52 nexus3.edgexfoundry.org:10001 22:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:52 Configure a credential helper to remove this warning. See 22:13:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:52 22:13:52 Login Succeeded 22:13:52 nexus3.edgexfoundry.org:10002 22:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:52 Configure a credential helper to remove this warning. See 22:13:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:52 22:13:52 Login Succeeded 22:13:52 nexus3.edgexfoundry.org:10003 22:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:52 Configure a credential helper to remove this warning. See 22:13:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:52 22:13:52 Login Succeeded 22:13:52 nexus3.edgexfoundry.org:10004 22:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:52 Configure a credential helper to remove this warning. See 22:13:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:52 22:13:52 Login Succeeded 22:13:52 docker.io 22:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:53 Configure a credential helper to remove this warning. See 22:13:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:53 22:13:53 Login Succeeded 22:13:53 ---> docker-login.sh ends [Pipeline] } 22:13:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:13:53 + git rev-list -1 --merges 52bb2f830998cbf2cea456f40f1b08ae3e247aaf~1..52bb2f830998cbf2cea456f40f1b08ae3e247aaf [Pipeline] echo 22:13:53 -----------> git rev-list -1 --merges 52bb2f830998cbf2cea456f40f1b08ae3e247aaf~1..52bb2f830998cbf2cea456f40f1b08ae3e247aaf 52bb2f830998cbf2cea456f40f1b08ae3e247aaf [false] [Pipeline] sh 22:13:54 + git log --format=format:%s -1 52bb2f830998cbf2cea456f40f1b08ae3e247aaf [Pipeline] echo 22:13:54 ========================================================= 22:13:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:13:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:13:54 + git log --format=format:%s -1 52bb2f830998cbf2cea456f40f1b08ae3e247aaf [Pipeline] echo 22:13:54 [semverPrep] GIT_COMMIT: 52bb2f830998cbf2cea456f40f1b08ae3e247aaf, Commit Message: docs: change log upated with levski patch [Pipeline] echo 22:13:54 [semverPrep] This is not a build commit. [Pipeline] sh 22:13:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:13:55 + grep -v github /etc/ssh/ssh_known_hosts 22:13:55 + [ -e /tmp/ssh_known_hosts ] 22:13:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:13:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:13:55 + sudo tee -a /etc/ssh/ssh_known_hosts 22:13:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:13:55 22:13:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:13:55 0.1.4: Pulling from edgex-devops/py-git-semver 22:13:55 b85a868b505f: Pulling fs layer 22:13:55 e2be974225ed: Pulling fs layer 22:13:55 339a4e72a1f5: Pulling fs layer 22:13:55 988bab9f4d93: Pulling fs layer 22:13:55 1469e6f7b9e6: Pulling fs layer 22:13:55 eaf3925da568: Pulling fs layer 22:13:55 bab4dde63d76: Pulling fs layer 22:13:55 bde34c3a00c8: Pulling fs layer 22:13:55 b352a97aabf1: Pulling fs layer 22:13:55 4872d77fe225: Pulling fs layer 22:13:55 5851b861e8e6: Pulling fs layer 22:13:55 bab4dde63d76: Waiting 22:13:55 bde34c3a00c8: Waiting 22:13:55 988bab9f4d93: Waiting 22:13:55 1469e6f7b9e6: Waiting 22:13:55 eaf3925da568: Waiting 22:13:55 b352a97aabf1: Waiting 22:13:55 4872d77fe225: Waiting 22:13:55 e2be974225ed: Verifying Checksum 22:13:55 e2be974225ed: Download complete 22:13:55 988bab9f4d93: Verifying Checksum 22:13:55 988bab9f4d93: Download complete 22:13:56 339a4e72a1f5: Verifying Checksum 22:13:56 339a4e72a1f5: Download complete 22:13:56 eaf3925da568: Verifying Checksum 22:13:56 eaf3925da568: Download complete 22:13:56 1469e6f7b9e6: Retrying in 5 seconds 22:13:56 b85a868b505f: Download complete 22:13:56 bde34c3a00c8: Download complete 22:13:56 b352a97aabf1: Verifying Checksum 22:13:56 b352a97aabf1: Download complete 22:13:56 4872d77fe225: Download complete 22:13:56 5851b861e8e6: Verifying Checksum 22:13:56 5851b861e8e6: Download complete 22:13:56 bab4dde63d76: Verifying Checksum 22:13:57 1469e6f7b9e6: Retrying in 4 seconds 22:13:57 b85a868b505f: Pull complete 22:13:57 e2be974225ed: Pull complete 22:13:58 1469e6f7b9e6: Retrying in 3 seconds 22:13:58 339a4e72a1f5: Pull complete 22:13:58 988bab9f4d93: Pull complete 22:13:59 1469e6f7b9e6: Retrying in 2 seconds 22:14:00 1469e6f7b9e6: Retrying in 1 second 22:14:01 1469e6f7b9e6: Retrying in 10 seconds 22:14:02 1469e6f7b9e6: Retrying in 9 seconds 22:14:03 1469e6f7b9e6: Retrying in 8 seconds 22:14:04 1469e6f7b9e6: Retrying in 7 seconds 22:14:05 1469e6f7b9e6: Retrying in 6 seconds 22:14:06 1469e6f7b9e6: Retrying in 5 seconds 22:14:07 1469e6f7b9e6: Retrying in 4 seconds 22:14:08 1469e6f7b9e6: Retrying in 3 seconds 22:14:09 1469e6f7b9e6: Retrying in 2 seconds 22:14:10 1469e6f7b9e6: Retrying in 1 second 22:14:11 1469e6f7b9e6: Verifying Checksum 22:14:11 1469e6f7b9e6: Download complete 22:14:11 1469e6f7b9e6: Pull complete 22:14:11 eaf3925da568: Pull complete 22:14:13 bab4dde63d76: Pull complete 22:14:13 bde34c3a00c8: Pull complete 22:14:13 b352a97aabf1: Pull complete 22:14:13 4872d77fe225: Pull complete 22:14:13 5851b861e8e6: Pull complete 22:14:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:14:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:14:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:14 prd-ubuntu20.04-docker-8c-8g-4967 does not seem to be running inside a container 22:14:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-283 -v /w/workspace/undry_device-onvif-camera_PR-283:/w/workspace/undry_device-onvif-camera_PR-283:rw,z -v /w/workspace/undry_device-onvif-camera_PR-283@tmp:/w/workspace/undry_device-onvif-camera_PR-283@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:14:16 $ docker top a02679c2c4a371d3a99eee1e3089e5ef0089bc5d6a10d9fad79a59bcaf3d1219 -eo pid,comm 22:14:16 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). 22:14:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:14:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:14:16 [ssh-agent] Looking for ssh-agent implementation... 22:14:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:14:17 $ docker exec a02679c2c4a371d3a99eee1e3089e5ef0089bc5d6a10d9fad79a59bcaf3d1219 ssh-agent 22:14:17 SSH_AUTH_SOCK=/tmp/ssh-lYcycRR6tZGU/agent.32 22:14:17 SSH_AGENT_PID=38 22:14:17 Running ssh-add (command line suppressed) 22:14:17 Identity added: /w/workspace/undry_device-onvif-camera_PR-283@tmp/private_key_7626092025617839149.key (/w/workspace/undry_device-onvif-camera_PR-283@tmp/private_key_7626092025617839149.key) 22:14:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:14:17 + git tag --points-at HEAD [Pipeline] } 22:14:17 $ docker exec --env ******** --env ******** a02679c2c4a371d3a99eee1e3089e5ef0089bc5d6a10d9fad79a59bcaf3d1219 ssh-agent -k 22:14:17 unset SSH_AUTH_SOCK; 22:14:17 unset SSH_AGENT_PID; 22:14:17 echo Agent pid 38 killed; 22:14:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:14:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:14:17 [ssh-agent] Looking for ssh-agent implementation... 22:14:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:14:17 $ docker exec a02679c2c4a371d3a99eee1e3089e5ef0089bc5d6a10d9fad79a59bcaf3d1219 ssh-agent 22:14:18 SSH_AUTH_SOCK=/tmp/ssh-FD8hq540Os7S/agent.70 22:14:18 SSH_AGENT_PID=76 22:14:18 Running ssh-add (command line suppressed) 22:14:18 Identity added: /w/workspace/undry_device-onvif-camera_PR-283@tmp/private_key_12084953850878952144.key (/w/workspace/undry_device-onvif-camera_PR-283@tmp/private_key_12084953850878952144.key) 22:14:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:14:18 + git semver init 22:14:18 2023-03-21 22:14:18,791 [run_init] DEBUG init version:0.0.0 force:False 22:14:18 2023-03-21 22:14:18,792 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-283/.semver 22:14:18 2023-03-21 22:14:18,792 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-283/.semver 22:14:18 2023-03-21 22:14:18,793 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-283/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-283, universal_newlines=False, shell=None, istream=None) 22:14:19 2023-03-21 22:14:19,686 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-283/.git/info/exclude 22:14:19 2023-03-21 22:14:19,686 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-283/.semver/PR-283 with force:False 22:14:19 2023-03-21 22:14:19,686 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-283/.semver/PR-283 22:14:19 2023-03-21 22:14:19,689 [execute] INFO git cat-file --batch-check 22:14:19 2023-03-21 22:14:19,689 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-283/.semver, universal_newlines=False, shell=None, istream=) 22:14:19 2023-03-21 22:14:19,695 [execute] INFO git cat-file --batch 22:14:19 2023-03-21 22:14:19,695 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-283/.semver, universal_newlines=False, shell=None, istream=) 22:14:19 2023-03-21 22:14:19,700 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-283/.semver/PR-283 22:14:19 0.0.0 [Pipeline] } 22:14:19 $ docker exec --env ******** --env ******** a02679c2c4a371d3a99eee1e3089e5ef0089bc5d6a10d9fad79a59bcaf3d1219 ssh-agent -k 22:14:19 unset SSH_AUTH_SOCK; 22:14:19 unset SSH_AGENT_PID; 22:14:19 echo Agent pid 76 killed; 22:14:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:14:20 + git semver [Pipeline] } 22:14:20 $ docker stop --time=1 a02679c2c4a371d3a99eee1e3089e5ef0089bc5d6a10d9fad79a59bcaf3d1219 22:14:21 $ docker rm -f --volumes a02679c2c4a371d3a99eee1e3089e5ef0089bc5d6a10d9fad79a59bcaf3d1219 [Pipeline] // withDockerContainer [Pipeline] sh 22:14:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:14:22 Stashed 1 file(s) [Pipeline] echo 22:14:22 [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 22:14:23 provisioning config files... 22:14:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-283@tmp/config2294660915954240964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:23 ---> docker-login.sh 22:14:23 nexus3.edgexfoundry.org:10001 22:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:23 Configure a credential helper to remove this warning. See 22:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:23 22:14:23 Login Succeeded 22:14:23 nexus3.edgexfoundry.org:10002 22:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:23 Configure a credential helper to remove this warning. See 22:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:23 22:14:23 Login Succeeded 22:14:23 nexus3.edgexfoundry.org:10003 22:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:23 Configure a credential helper to remove this warning. See 22:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:23 22:14:23 Login Succeeded 22:14:23 nexus3.edgexfoundry.org:10004 22:14:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:23 Configure a credential helper to remove this warning. See 22:14:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:23 22:14:23 Login Succeeded 22:14:23 docker.io 22:14:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:24 Configure a credential helper to remove this warning. See 22:14:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:24 22:14:24 Login Succeeded 22:14:24 ---> docker-login.sh ends [Pipeline] } 22:14:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:14:24 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:24 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:24 ========================================================= 22:14:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:14:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:14:24 + 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 . 22:14:24 Sending build context to Docker daemon 27.01MB 22:14:24 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:14:24 Step 2/13 : FROM ${BASE} AS builder 22:14:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:14:25 213ec9aee27d: Pulling fs layer 22:14:25 4583459ba037: Pulling fs layer 22:14:25 93c1e223e6f2: Pulling fs layer 22:14:25 53926ce57604: Pulling fs layer 22:14:25 21b2b0c7a3f4: Pulling fs layer 22:14:25 22ff95d597cd: Pulling fs layer 22:14:25 12d6caf4c0d1: Pulling fs layer 22:14:25 96b7cbca73a9: Pulling fs layer 22:14:25 a7acece74701: Pulling fs layer 22:14:25 53926ce57604: Waiting 22:14:25 21b2b0c7a3f4: Waiting 22:14:25 22ff95d597cd: Waiting 22:14:25 12d6caf4c0d1: Waiting 22:14:25 96b7cbca73a9: Waiting 22:14:25 a7acece74701: Waiting 22:14:25 93c1e223e6f2: Verifying Checksum 22:14:25 93c1e223e6f2: Download complete 22:14:25 4583459ba037: Download complete 22:14:25 21b2b0c7a3f4: Verifying Checksum 22:14:25 21b2b0c7a3f4: Download complete 22:14:25 22ff95d597cd: Verifying Checksum 22:14:25 22ff95d597cd: Download complete 22:14:25 213ec9aee27d: Verifying Checksum 22:14:25 213ec9aee27d: Download complete 22:14:25 12d6caf4c0d1: Verifying Checksum 22:14:25 12d6caf4c0d1: Download complete 22:14:25 213ec9aee27d: Pull complete 22:14:25 4583459ba037: Pull complete 22:14:25 93c1e223e6f2: Pull complete 22:14:25 a7acece74701: Verifying Checksum 22:14:25 a7acece74701: Download complete 22:14:25 96b7cbca73a9: Verifying Checksum 22:14:25 96b7cbca73a9: Download complete 22:14:25 53926ce57604: Download complete 22:14:30 53926ce57604: Pull complete 22:14:30 21b2b0c7a3f4: Pull complete 22:14:30 22ff95d597cd: Pull complete 22:14:30 12d6caf4c0d1: Pull complete 22:14:31 96b7cbca73a9: Pull complete 22:14:32 a7acece74701: Pull complete 22:14:32 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 22:14:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:14:32 ---> db6d94c90886 22:14:32 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:14:37 ---> Running in 3764861a8918 22:14:37 Removing intermediate container 3764861a8918 22:14:37 ---> c3b9f2e59edc 22:14:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:14:37 ---> Running in f7621da73ed5 22:14:37 Removing intermediate container f7621da73ed5 22:14:37 ---> 652d57c84654 22:14:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:14:37 ---> Running in 627d48bc85b4 22:14:37 Removing intermediate container 627d48bc85b4 22:14:37 ---> 75d32a73c990 22:14:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:14:37 ---> Running in 3b1b4fd31d86 22:14:37 Removing intermediate container 3b1b4fd31d86 22:14:37 ---> 650c021a19d7 22:14:37 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:14:37 ---> Running in 1257d31e9e9d 22:14:37 Removing intermediate container 1257d31e9e9d 22:14:37 ---> 89239a898c15 22:14:37 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:14:37 ---> Running in a772cc6af1a9 22:14:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:14:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:14:38 Still waiting to schedule task 22:14:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:14:38 OK: 211 MiB in 51 packages 22:14:38 Removing intermediate container a772cc6af1a9 22:14:38 ---> dd9ecf66f86b 22:14:38 Step 9/13 : WORKDIR /device-onvif-camera 22:14:38 ---> Running in b8b5b6c2d65d 22:14:38 Removing intermediate container b8b5b6c2d65d 22:14:38 ---> 1b08eb84e910 22:14:38 Step 10/13 : COPY go.mod vendor* ./ 22:14:38 ---> ed12937897a8 22:14:38 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:38 ---> Running in f8090ecea75d 22:15:05 Removing intermediate container f8090ecea75d 22:15:05 ---> b07f48cbfda1 22:15:05 Step 12/13 : COPY . . 22:15:05 ---> 6cacbd8c2e34 22:15:05 Step 13/13 : RUN ${MAKE} 22:15:05 ---> Running in 0640615286bc 22:15:05 noop 22:15:05 Removing intermediate container 0640615286bc 22:15:05 ---> 642c430d6a79 22:15:05 Successfully built 642c430d6a79 22:15:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:05 + docker inspect -f . ci-base-image-x86_64 22:15:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:05 prd-ubuntu20.04-docker-8c-8g-4967 does not seem to be running inside a container 22:15:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-283 -v /w/workspace/undry_device-onvif-camera_PR-283:/w/workspace/undry_device-onvif-camera_PR-283:rw,z -v /w/workspace/undry_device-onvif-camera_PR-283@tmp:/w/workspace/undry_device-onvif-camera_PR-283@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 ******** ci-base-image-x86_64 cat 22:15:06 $ docker top 4fe231214124680ddd34d508ea25a7643512d276cc1451722535fdf1c23fc4de -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:06 + go version 22:15:06 go version go1.18.7 linux/amd64 [Pipeline] } 22:15:06 $ docker stop --time=1 4fe231214124680ddd34d508ea25a7643512d276cc1451722535fdf1c23fc4de 22:15:07 $ docker rm -f --volumes 4fe231214124680ddd34d508ea25a7643512d276cc1451722535fdf1c23fc4de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:08 + docker inspect -f . ci-base-image-x86_64 22:15:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:08 prd-ubuntu20.04-docker-8c-8g-4967 does not seem to be running inside a container 22:15:08 $ 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-283 -v /w/workspace/undry_device-onvif-camera_PR-283:/w/workspace/undry_device-onvif-camera_PR-283:rw,z -v /w/workspace/undry_device-onvif-camera_PR-283@tmp:/w/workspace/undry_device-onvif-camera_PR-283@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 ******** ci-base-image-x86_64 cat 22:15:09 $ docker top afbee7aee6ec956f2da526ebb1a10f44d549ea88ce22210af3e0a5129d746eb0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:09 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-283 [Pipeline] fileExists [Pipeline] sh 22:15:09 + make test 22:15:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:15:10 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:15:22 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:15:24 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 29.3% of statements 22:15:24 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:15:24 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.404s coverage: 86.5% of statements 22:15:33 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." 22:15:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:15:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:15:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:15:36 ./bin/test-attribution-txt.sh [Pipeline] echo 22:15:36 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:15:36 $ docker stop --time=1 afbee7aee6ec956f2da526ebb1a10f44d549ea88ce22210af3e0a5129d746eb0 22:15:38 $ docker rm -f --volumes afbee7aee6ec956f2da526ebb1a10f44d549ea88ce22210af3e0a5129d746eb0 [Pipeline] // withDockerContainer [Pipeline] sh 22:15:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:15:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:15:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:15:40 + ls -al . 22:15:40 total 248 22:15:40 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 22:15 . 22:15:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 22:13 .. 22:15:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 22:15 .git 22:15:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 22:13 .github 22:15:40 -rw-rw-r-- 1 jenkins jenkins 496 Mar 21 22:13 .gitignore 22:15:40 -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 22:13 .golangci.yml 22:15:40 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 22:14 .semver 22:15:40 -rw-rw-r-- 1 jenkins jenkins 9739 Mar 21 22:13 Attribution.txt 22:15:40 -rw-rw-r-- 1 jenkins jenkins 6535 Mar 21 22:13 CHANGELOG.md 22:15:40 -rw-rw-r-- 1 jenkins jenkins 1637 Mar 21 22:13 Dockerfile 22:15:40 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 22:13 GOVERNANCE.md 22:15:40 -rw-rw-r-- 1 jenkins jenkins 762 Mar 21 22:13 Jenkinsfile 22:15:40 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 22:13 LICENSE 22:15:40 -rw-rw-r-- 1 jenkins jenkins 2997 Mar 21 22:13 Makefile 22:15:40 -rw-rw-r-- 1 jenkins jenkins 625 Mar 21 22:13 OWNERS.md 22:15:40 -rw-rw-r-- 1 jenkins jenkins 6048 Mar 21 22:13 README.md 22:15:40 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 22:14 VERSION 22:15:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 22:13 bin 22:15:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 22:13 cmd 22:15:40 -rw-r--r-- 1 jenkins jenkins 79184 Mar 21 22:15 coverage.out 22:15:40 drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 22:13 doc 22:15:40 -rw-rw-r-- 1 jenkins jenkins 3687 Mar 21 22:13 go.mod 22:15:40 -rw-rw-r-- 1 jenkins jenkins 46105 Mar 21 22:13 go.sum 22:15:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 22:13 internal 22:15:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 22:13 snap 22:15:40 -rw-rw-r-- 1 jenkins jenkins 236 Mar 21 22:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:40 + 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=52bb2f830998cbf2cea456f40f1b08ae3e247aaf --label arch=amd64 --label version=0.0.0 . 22:15:40 Sending build context to Docker daemon 27.09MB 22:15:40 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:15:40 Step 2/26 : FROM ${BASE} AS builder 22:15:40 ---> 642c430d6a79 22:15:40 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:15:40 ---> Running in f178b389b370 22:15:40 Removing intermediate container f178b389b370 22:15:40 ---> 3c014fa541f4 22:15:40 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:15:40 ---> Running in 4c4febc65634 22:15:40 Removing intermediate container 4c4febc65634 22:15:40 ---> 3f9369c81f36 22:15:40 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:15:41 ---> Running in 2a2a780c2586 22:15:41 Removing intermediate container 2a2a780c2586 22:15:41 ---> f01184603487 22:15:41 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:15:41 ---> Running in bd27fd6d61c3 22:15:41 Removing intermediate container bd27fd6d61c3 22:15:41 ---> 31ad0be3295b 22:15:41 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:15:41 ---> Running in 86ae0128abad 22:15:41 Removing intermediate container 86ae0128abad 22:15:41 ---> f04631875251 22:15:41 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:15:41 ---> Running in c62766e42531 22:15:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:15:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:15:41 OK: 211 MiB in 51 packages 22:15:42 Removing intermediate container c62766e42531 22:15:42 ---> 5f5262ecee59 22:15:42 Step 9/26 : WORKDIR /device-onvif-camera 22:15:42 ---> Running in 2f6fc16a7b8d 22:15:42 Removing intermediate container 2f6fc16a7b8d 22:15:42 ---> 6b63e9a35d2e 22:15:42 Step 10/26 : COPY go.mod vendor* ./ 22:15:42 ---> dba813207f60 22:15:42 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:15:42 ---> Running in fea691005d9a 22:15:43 Removing intermediate container fea691005d9a 22:15:43 ---> 45b4a226a6de 22:15:43 Step 12/26 : COPY . . 22:15:43 ---> 17a25e768731 22:15:43 Step 13/26 : RUN ${MAKE} 22:15:43 ---> Running in d6392754ec41 22:15:44 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.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 22:16:06 Removing intermediate container d6392754ec41 22:16:06 ---> c25aa1408655 22:16:06 Step 14/26 : FROM alpine:3.16 22:16:06 3.16: Pulling from library/alpine 22:16:06 ef5531b6e74e: Pulling fs layer 22:16:06 ef5531b6e74e: Verifying Checksum 22:16:06 ef5531b6e74e: Download complete 22:16:06 ef5531b6e74e: Pull complete 22:16:06 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 22:16:06 Status: Downloaded newer image for alpine:3.16 22:16:06 ---> dfd21b5a31f5 22:16:06 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:16:06 ---> Running in 6eaa21012257 22:16:06 Removing intermediate container 6eaa21012257 22:16:06 ---> 7c179e498842 22:16:06 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 22:16:06 ---> Running in 575958986c2c 22:16:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:16:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:16:07 (1/6) Installing dumb-init (1.2.5-r1) 22:16:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:16:07 (3/6) Installing libsodium (1.0.18-r0) 22:16:07 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:16:07 (5/6) Installing libzmq (4.3.4-r0) 22:16:07 (6/6) Installing zeromq (4.3.4-r0) 22:16:07 Executing busybox-1.35.0-r17.trigger 22:16:07 OK: 8 MiB in 20 packages 22:16:07 Removing intermediate container 575958986c2c 22:16:07 ---> 0df6dd8d7bc7 22:16:07 Step 17/26 : WORKDIR / 22:16:07 ---> Running in 1c074daf8218 22:16:07 Removing intermediate container 1c074daf8218 22:16:07 ---> 121cc052dfca 22:16:07 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:16:08 ---> 6a1d7cc28996 22:16:08 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:16:08 ---> 3044dcfd7650 22:16:08 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:16:08 ---> c2032a9972dd 22:16:08 Step 21/26 : EXPOSE 59984 22:16:08 ---> Running in ed2be6958a7d 22:16:09 Removing intermediate container ed2be6958a7d 22:16:09 ---> 888e24c5534e 22:16:09 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:16:09 ---> Running in 9223363715f4 22:16:09 Removing intermediate container 9223363715f4 22:16:09 ---> 74f42f9c6c90 22:16:09 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:16:09 ---> Running in d7e2e5f66f3a 22:16:09 Removing intermediate container d7e2e5f66f3a 22:16:09 ---> f973389566c3 22:16:09 Step 24/26 : LABEL arch=amd64 22:16:09 ---> Running in 02ea0b06ad29 22:16:09 Removing intermediate container 02ea0b06ad29 22:16:09 ---> 893fc72f215e 22:16:09 Step 25/26 : LABEL git_sha=52bb2f830998cbf2cea456f40f1b08ae3e247aaf 22:16:09 ---> Running in 45e32b89d4a3 22:16:09 Removing intermediate container 45e32b89d4a3 22:16:09 ---> 430b7e77e02e 22:16:09 Step 26/26 : LABEL version=0.0.0 22:16:09 ---> Running in 14ef00fe097d 22:16:09 Removing intermediate container 14ef00fe097d 22:16:09 ---> 0aa62e278c49 22:16:09 [Warning] One or more build-args [ARCH] were not consumed 22:16:09 Successfully built 0aa62e278c49 22:16:09 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 22:16:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:16:10 22:16:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:16:10 latest: Pulling from edgex-lftools-log-publisher 22:16:10 5eb5b503b376: Pulling fs layer 22:16:10 5c69ac0246d0: Pulling fs layer 22:16:10 ec43610c2a17: Pulling fs layer 22:16:10 3a2ae6a8a46f: Pulling fs layer 22:16:10 33b1e0a273af: Pulling fs layer 22:16:10 5d3b04190fa2: Pulling fs layer 22:16:10 2f39f015ded8: Pulling fs layer 22:16:10 3a2ae6a8a46f: Waiting 22:16:10 33b1e0a273af: Waiting 22:16:10 5d3b04190fa2: Waiting 22:16:10 5c69ac0246d0: Verifying Checksum 22:16:10 5c69ac0246d0: Download complete 22:16:10 3a2ae6a8a46f: Download complete 22:16:11 ec43610c2a17: Verifying Checksum 22:16:11 ec43610c2a17: Download complete 22:16:11 33b1e0a273af: Verifying Checksum 22:16:11 33b1e0a273af: Download complete 22:16:11 5d3b04190fa2: Verifying Checksum 22:16:11 5d3b04190fa2: Download complete 22:16:11 5eb5b503b376: Verifying Checksum 22:16:11 5eb5b503b376: Download complete 22:16:12 2f39f015ded8: Download complete 22:16:12 5eb5b503b376: Pull complete 22:16:12 5c69ac0246d0: Pull complete 22:16:12 ec43610c2a17: Pull complete 22:16:13 3a2ae6a8a46f: Pull complete 22:16:13 33b1e0a273af: Pull complete 22:16:13 5d3b04190fa2: Pull complete 22:16:17 2f39f015ded8: Pull complete 22:16:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:16:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:16:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:17 prd-ubuntu20.04-docker-8c-8g-4967 does not seem to be running inside a container 22:16:17 $ 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-283 -v /w/workspace/undry_device-onvif-camera_PR-283:/w/workspace/undry_device-onvif-camera_PR-283:rw,z -v /w/workspace/undry_device-onvif-camera_PR-283@tmp:/w/workspace/undry_device-onvif-camera_PR-283@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-lftools-log-publisher:latest cat 22:16:21 $ docker top 5948a3e2ab81f9d1d8ccfce88d1e56e30fb1d4d86b3ebc51e14bf6f1026d900f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:16:21 ---> job-cost.sh 22:16:21 lf-activate-venv: SKIPPING 22:16:21 INFO: No Stack... 22:16:22 INFO: Retrieving Pricing Info for: v3-standard-8 22:16:22 INFO: Archiving Costs [Pipeline] sh 22:16:22 + cat /w/workspace/undry_device-onvif-camera_PR-283/archives/cost.csv 22:16:22 + cut -d, -f6 [Pipeline] lock 22:16:22 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-283-1-stack-cost] 22:16:22 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-283-1-stack-cost] did not exist. Created. 22:16:22 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-283-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:16:23 + echo total: 0.2199999988079071 [Pipeline] stash 22:16:23 Stashed 1 file(s) [Pipeline] } 22:16:23 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-283-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:16:23 $ docker stop --time=1 5948a3e2ab81f9d1d8ccfce88d1e56e30fb1d4d86b3ebc51e14bf6f1026d900f 22:16:24 $ docker rm -f --volumes 5948a3e2ab81f9d1d8ccfce88d1e56e30fb1d4d86b3ebc51e14bf6f1026d900f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:16:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4969 in /w/workspace/undry_device-onvif-camera_PR-283 [Pipeline] { [Pipeline] ws 22:16:57 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 22:16:57 The recommended git tool is: git 22:17:04 using credential edgex-jenkins-ssh 22:17:04 Cloning the remote Git repository 22:17:04 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:17:04 > git init /w/workspace/device-onvif-camera/1 # timeout=10 22:17:04 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:17:04 > git --version # timeout=10 22:17:04 > git --version # 'git version 2.25.1' 22:17:04 using GIT_SSH to set credentials SSH Credentials for GitHub 22:17:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:17:06 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:17:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:17:07 Merging remotes/origin/levski commit a19c49b13c0fa898c897ffa06db9bfcb5560ce91 into PR head commit 52bb2f830998cbf2cea456f40f1b08ae3e247aaf 22:17:07 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:17:07 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:17:07 using GIT_SSH to set credentials SSH Credentials for GitHub 22:17:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/283/head:refs/remotes/origin/PR-283 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 22:17:07 > git config core.sparsecheckout # timeout=10 22:17:08 > git checkout -f 52bb2f830998cbf2cea456f40f1b08ae3e247aaf # timeout=10 22:17:08 Merge succeeded, producing 52bb2f830998cbf2cea456f40f1b08ae3e247aaf 22:17:08 Checking out Revision 52bb2f830998cbf2cea456f40f1b08ae3e247aaf (PR-283) 22:17:08 > git remote # timeout=10 22:17:08 > git config --get remote.origin.url # timeout=10 22:17:08 using GIT_SSH to set credentials SSH Credentials for GitHub 22:17:08 > git merge a19c49b13c0fa898c897ffa06db9bfcb5560ce91 # timeout=10 22:17:08 > git rev-parse HEAD^{commit} # timeout=10 22:17:08 > git config core.sparsecheckout # timeout=10 22:17:08 > git checkout -f 52bb2f830998cbf2cea456f40f1b08ae3e247aaf # timeout=10 22:17:12 Commit message: "docs: change log upated with levski patch" 22:17:12 > git --version # timeout=10 22:17:12 > git --version # 'git version 2.25.1' 22:17:12 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:17:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:17:13 % Total % Received % Xferd Average Speed Time Time Time Current 22:17:13 Dload Upload Total Spent Left Speed 22:17:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 22:17:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:17:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:17:14 + sudo tee /etc/docker/daemon.new 22:17:14 { 22:17:14 "registry-mirrors": [ 22:17:14 "https://nexus3.edgexfoundry.org:10001" 22:17:14 ], 22:17:14 "bip": "10.250.0.254/24", 22:17:14 "hosts": [ 22:17:14 "tcp://0.0.0.0:5555", 22:17:14 "unix:///var/run/docker.sock" 22:17:14 ], 22:17:14 "mtu": 1458, 22:17:14 "selinux-enabled": true, 22:17:14 "seccomp-profile": "/etc/docker/seccomp.json" 22:17:14 } [Pipeline] sh 22:17:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:17:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:17:33 provisioning config files... 22:17:33 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config6745028443569082100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:17:34 ---> docker-login.sh 22:17:34 nexus3.edgexfoundry.org:10001 22:17:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:34 Configure a credential helper to remove this warning. See 22:17:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:34 22:17:34 Login Succeeded 22:17:34 nexus3.edgexfoundry.org:10002 22:17:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:35 Configure a credential helper to remove this warning. See 22:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:35 22:17:35 Login Succeeded 22:17:35 nexus3.edgexfoundry.org:10003 22:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:35 Configure a credential helper to remove this warning. See 22:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:35 22:17:35 Login Succeeded 22:17:35 nexus3.edgexfoundry.org:10004 22:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:35 Configure a credential helper to remove this warning. See 22:17:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:35 22:17:35 Login Succeeded 22:17:35 docker.io 22:17:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:17:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:17:36 Configure a credential helper to remove this warning. See 22:17:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:17:36 22:17:36 Login Succeeded 22:17:36 ---> docker-login.sh ends [Pipeline] } 22:17:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:17:36 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:17:36 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:17:36 ========================================================= 22:17:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:17:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:37 + 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 . 22:17:37 Sending build context to Docker daemon 19.71MB 22:17:37 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:17:37 Step 2/13 : FROM ${BASE} AS builder 22:17:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:17:37 9b18e9b68314: Pulling fs layer 22:17:37 35d82f9e3411: Pulling fs layer 22:17:37 e16973657156: Pulling fs layer 22:17:37 fc693d55d65f: Pulling fs layer 22:17:37 7e9fc2657dce: Pulling fs layer 22:17:37 dda99020689f: Pulling fs layer 22:17:37 db1c61fa0a46: Pulling fs layer 22:17:37 891c053d2c06: Pulling fs layer 22:17:37 fc693d55d65f: Waiting 22:17:37 7e9fc2657dce: Waiting 22:17:37 dda99020689f: Waiting 22:17:37 db1c61fa0a46: Waiting 22:17:37 891c053d2c06: Waiting 22:17:38 e16973657156: Verifying Checksum 22:17:38 e16973657156: Download complete 22:17:38 35d82f9e3411: Download complete 22:17:38 7e9fc2657dce: Verifying Checksum 22:17:38 7e9fc2657dce: Download complete 22:17:38 dda99020689f: Verifying Checksum 22:17:38 dda99020689f: Download complete 22:17:38 9b18e9b68314: Verifying Checksum 22:17:38 9b18e9b68314: Download complete 22:17:39 9b18e9b68314: Pull complete 22:17:39 891c053d2c06: Verifying Checksum 22:17:39 891c053d2c06: Download complete 22:17:39 35d82f9e3411: Pull complete 22:17:39 e16973657156: Pull complete 22:17:40 db1c61fa0a46: Verifying Checksum 22:17:40 db1c61fa0a46: Download complete 22:17:41 fc693d55d65f: Verifying Checksum 22:17:41 fc693d55d65f: Download complete 22:17:53 fc693d55d65f: Pull complete 22:17:53 7e9fc2657dce: Pull complete 22:17:53 dda99020689f: Pull complete 22:17:58 db1c61fa0a46: Pull complete 22:18:00 891c053d2c06: Pull complete 22:18:00 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 22:18:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:18:00 ---> f96f9c87975a 22:18:00 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:18:02 ---> Running in d5eb1fba6812 22:18:02 Removing intermediate container d5eb1fba6812 22:18:02 ---> f729c2bc3a5d 22:18:02 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:18:03 ---> Running in 60a35f590b4d 22:18:03 Removing intermediate container 60a35f590b4d 22:18:03 ---> 4f82ee082bcd 22:18:03 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:18:03 ---> Running in e4b11a08c6e4 22:18:03 Removing intermediate container e4b11a08c6e4 22:18:03 ---> 90eb88b83355 22:18:03 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:18:03 ---> Running in c30d907741aa 22:18:03 Removing intermediate container c30d907741aa 22:18:03 ---> 30dcc0eb2a96 22:18:03 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:18:04 ---> Running in 38ed3e3483c7 22:18:04 Removing intermediate container 38ed3e3483c7 22:18:04 ---> d4e1462bed23 22:18:04 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:18:04 ---> Running in b91351068c66 22:18:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:18:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:18:07 OK: 221 MiB in 51 packages 22:18:09 Removing intermediate container b91351068c66 22:18:09 ---> 894c86edf476 22:18:09 Step 9/13 : WORKDIR /device-onvif-camera 22:18:09 ---> Running in 6b7039b1dab5 22:18:10 Removing intermediate container 6b7039b1dab5 22:18:10 ---> 7cc08fcd9cec 22:18:10 Step 10/13 : COPY go.mod vendor* ./ 22:18:10 ---> 8ab0e77bcbfd 22:18:10 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:18:10 ---> Running in b788cd2dc883 22:19:18 Removing intermediate container b788cd2dc883 22:19:18 ---> c44f8fbb6d9d 22:19:18 Step 12/13 : COPY . . 22:19:18 ---> 27cb6440b752 22:19:18 Step 13/13 : RUN ${MAKE} 22:19:18 ---> Running in 2902592677c5 22:19:18 noop 22:19:18 Removing intermediate container 2902592677c5 22:19:18 ---> 33efdb51ba57 22:19:18 Successfully built 33efdb51ba57 22:19:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:19 + docker inspect -f . ci-base-image-arm64 22:19:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:19 prd-ubuntu20.04-docker-arm64-4c-16g-4969 does not seem to be running inside a container 22:19:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 22:19:20 $ docker top 808d73a9c1f0279b920449754e3de5905590901eec06c0c88bbe7a965a536361 -eo pid,comm [Pipeline] { [Pipeline] sh 22:19:21 + go version 22:19:21 go version go1.18.7 linux/arm64 [Pipeline] } 22:19:21 $ docker stop --time=1 808d73a9c1f0279b920449754e3de5905590901eec06c0c88bbe7a965a536361 22:19:23 $ docker rm -f --volumes 808d73a9c1f0279b920449754e3de5905590901eec06c0c88bbe7a965a536361 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:19:24 + docker inspect -f . ci-base-image-arm64 22:19:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:19:24 prd-ubuntu20.04-docker-arm64-4c-16g-4969 does not seem to be running inside a container 22:19:24 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 22:19:26 $ docker top cf3cc7b43caa983882b87b1c80f3dda456e2bcda848bb3aae19c5c04e0ba9b72 -eo pid,comm [Pipeline] { [Pipeline] sh 22:19:27 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 22:19:27 + make test 22:19:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:19:29 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:21:06 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:21:16 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.215s coverage: 29.3% of statements 22:21:16 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:21:34 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.983s coverage: 86.5% of statements 22:21:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:21:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:22:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:22:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:22:06 ./bin/test-attribution-txt.sh [Pipeline] echo 22:22:06 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:22:07 $ docker stop --time=1 cf3cc7b43caa983882b87b1c80f3dda456e2bcda848bb3aae19c5c04e0ba9b72 22:22:08 $ docker rm -f --volumes cf3cc7b43caa983882b87b1c80f3dda456e2bcda848bb3aae19c5c04e0ba9b72 [Pipeline] // withDockerContainer [Pipeline] sh 22:22:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:22:09 Warning: overwriting stash ‘coverage-report’ 22:22:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:22:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:22:11 + ls -al . 22:22:11 total 244 22:22:11 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 22:19 . 22:22:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 22:17 .. 22:22:11 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 22:17 .git 22:22:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 22:17 .github 22:22:11 -rw-rw-r-- 1 jenkins jenkins 496 Mar 21 22:17 .gitignore 22:22:11 -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 22:17 .golangci.yml 22:22:11 -rw-rw-r-- 1 jenkins jenkins 9739 Mar 21 22:17 Attribution.txt 22:22:11 -rw-rw-r-- 1 jenkins jenkins 6535 Mar 21 22:17 CHANGELOG.md 22:22:11 -rw-rw-r-- 1 jenkins jenkins 1637 Mar 21 22:17 Dockerfile 22:22:11 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 22:17 GOVERNANCE.md 22:22:11 -rw-rw-r-- 1 jenkins jenkins 762 Mar 21 22:17 Jenkinsfile 22:22:11 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 22:17 LICENSE 22:22:11 -rw-rw-r-- 1 jenkins jenkins 2997 Mar 21 22:17 Makefile 22:22:11 -rw-rw-r-- 1 jenkins jenkins 625 Mar 21 22:17 OWNERS.md 22:22:11 -rw-rw-r-- 1 jenkins jenkins 6048 Mar 21 22:17 README.md 22:22:11 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 22:14 VERSION 22:22:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 22:17 bin 22:22:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 22:17 cmd 22:22:11 -rw-r--r-- 1 jenkins jenkins 79184 Mar 21 22:21 coverage.out 22:22:11 drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 22:17 doc 22:22:11 -rw-rw-r-- 1 jenkins jenkins 3687 Mar 21 22:17 go.mod 22:22:11 -rw-rw-r-- 1 jenkins jenkins 46105 Mar 21 22:17 go.sum 22:22:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 22:17 internal 22:22:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 22:17 snap 22:22:11 -rw-rw-r-- 1 jenkins jenkins 236 Mar 21 22:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:11 + 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=52bb2f830998cbf2cea456f40f1b08ae3e247aaf --label arch=arm64 --label version=0.0.0 . 22:22:12 Sending build context to Docker daemon 19.79MB 22:22:12 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:22:12 Step 2/26 : FROM ${BASE} AS builder 22:22:12 ---> 33efdb51ba57 22:22:12 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:22:12 ---> Running in be4ddfdfe0a0 22:22:13 Removing intermediate container be4ddfdfe0a0 22:22:13 ---> 1f7f0806d259 22:22:13 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:22:13 ---> Running in 057dafdc9a85 22:22:13 Removing intermediate container 057dafdc9a85 22:22:13 ---> a578534b332e 22:22:13 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:22:13 ---> Running in cafeca02777d 22:22:14 Removing intermediate container cafeca02777d 22:22:14 ---> 2473392bee10 22:22:14 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:22:14 ---> Running in 0c717a033405 22:22:14 Removing intermediate container 0c717a033405 22:22:14 ---> 35fa70947764 22:22:14 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:22:14 ---> Running in b56baa96f30d 22:22:14 Removing intermediate container b56baa96f30d 22:22:14 ---> 60d8d35de88e 22:22:14 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:22:14 ---> Running in 417bf3d5a5c9 22:22:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:22:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:22:17 OK: 221 MiB in 51 packages 22:22:18 Removing intermediate container 417bf3d5a5c9 22:22:18 ---> ea4a27c5e4e0 22:22:18 Step 9/26 : WORKDIR /device-onvif-camera 22:22:18 ---> Running in 50959c50a529 22:22:18 Removing intermediate container 50959c50a529 22:22:18 ---> 83530f32c989 22:22:18 Step 10/26 : COPY go.mod vendor* ./ 22:22:19 ---> 7b420241c4de 22:22:19 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:22:19 ---> Running in 931d6a816ca3 22:22:21 Removing intermediate container 931d6a816ca3 22:22:21 ---> e22b507aac40 22:22:21 Step 12/26 : COPY . . 22:22:23 ---> c7baf9be4055 22:22:23 Step 13/26 : RUN ${MAKE} 22:22:23 ---> Running in 7cad3efbaa14 22:22:24 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.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 22:25:00 Removing intermediate container 7cad3efbaa14 22:25:00 ---> 4f47a8c306e9 22:25:00 Step 14/26 : FROM alpine:3.16 22:25:00 3.16: Pulling from library/alpine 22:25:00 3760b48202b3: Pulling fs layer 22:25:00 3760b48202b3: Verifying Checksum 22:25:00 3760b48202b3: Download complete 22:25:00 3760b48202b3: Pull complete 22:25:00 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 22:25:00 Status: Downloaded newer image for alpine:3.16 22:25:00 ---> 4c81e5bf8899 22:25:00 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:25:00 ---> Running in 220e57de2705 22:25:00 Removing intermediate container 220e57de2705 22:25:00 ---> 175be56af361 22:25:00 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 22:25:00 ---> Running in 13dc269d15ec 22:25:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:25:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:25:00 (1/6) Installing dumb-init (1.2.5-r1) 22:25:00 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:25:00 (3/6) Installing libsodium (1.0.18-r0) 22:25:00 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:25:00 (5/6) Installing libzmq (4.3.4-r0) 22:25:00 (6/6) Installing zeromq (4.3.4-r0) 22:25:00 Executing busybox-1.35.0-r17.trigger 22:25:00 OK: 8 MiB in 20 packages 22:25:00 Removing intermediate container 13dc269d15ec 22:25:00 ---> eb33ed9081aa 22:25:00 Step 17/26 : WORKDIR / 22:25:00 ---> Running in 4f5843f2c1b2 22:25:00 Removing intermediate container 4f5843f2c1b2 22:25:00 ---> cc8b695db3ba 22:25:00 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:25:00 ---> 702946259d3d 22:25:00 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:25:00 ---> c318e17aea99 22:25:00 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:25:00 ---> df3e473a064d 22:25:00 Step 21/26 : EXPOSE 59984 22:25:00 ---> Running in 7fa0c7f1f1e7 22:25:00 Removing intermediate container 7fa0c7f1f1e7 22:25:00 ---> 2cf17fb80cca 22:25:00 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:25:00 ---> Running in 0543a2a96376 22:25:00 Removing intermediate container 0543a2a96376 22:25:00 ---> 78b1eed21cac 22:25:00 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:25:00 ---> Running in f7366b211517 22:25:00 Removing intermediate container f7366b211517 22:25:00 ---> fc678d7e6abd 22:25:00 Step 24/26 : LABEL arch=arm64 22:25:00 ---> Running in 5af656eb99e2 22:25:00 Removing intermediate container 5af656eb99e2 22:25:00 ---> 2a326832b335 22:25:00 Step 25/26 : LABEL git_sha=52bb2f830998cbf2cea456f40f1b08ae3e247aaf 22:25:00 ---> Running in 1089c1e56087 22:25:00 Removing intermediate container 1089c1e56087 22:25:00 ---> 238d5152de5d 22:25:00 Step 26/26 : LABEL version=0.0.0 22:25:00 ---> Running in 66c5c1884e54 22:25:00 Removing intermediate container 66c5c1884e54 22:25:00 ---> 424607f6999b 22:25:00 [Warning] One or more build-args [ARCH] were not consumed 22:25:00 Successfully built 424607f6999b 22:25:00 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 22:25:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:25:01 22:25:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:25:02 arm64: Pulling from edgex-lftools-log-publisher 22:25:02 8998bd30e6a1: Pulling fs layer 22:25:02 04944245beec: Pulling fs layer 22:25:02 699f458cf7ca: Pulling fs layer 22:25:02 765212b225bb: Pulling fs layer 22:25:02 f23df028b6ca: Pulling fs layer 22:25:02 d65c8cfc05b1: Pulling fs layer 22:25:02 2437ff75d9bd: Pulling fs layer 22:25:02 765212b225bb: Waiting 22:25:02 f23df028b6ca: Waiting 22:25:02 d65c8cfc05b1: Waiting 22:25:02 2437ff75d9bd: Waiting 22:25:02 04944245beec: Verifying Checksum 22:25:02 04944245beec: Download complete 22:25:02 765212b225bb: Verifying Checksum 22:25:02 765212b225bb: Download complete 22:25:02 f23df028b6ca: Verifying Checksum 22:25:02 f23df028b6ca: Download complete 22:25:02 d65c8cfc05b1: Verifying Checksum 22:25:02 d65c8cfc05b1: Download complete 22:25:02 699f458cf7ca: Verifying Checksum 22:25:02 699f458cf7ca: Download complete 22:25:02 8998bd30e6a1: Verifying Checksum 22:25:02 8998bd30e6a1: Download complete 22:25:05 2437ff75d9bd: Verifying Checksum 22:25:05 2437ff75d9bd: Download complete 22:25:06 8998bd30e6a1: Pull complete 22:25:07 04944245beec: Pull complete 22:25:08 699f458cf7ca: Pull complete 22:25:08 765212b225bb: Pull complete 22:25:09 f23df028b6ca: Pull complete 22:25:09 d65c8cfc05b1: Pull complete 22:25:24 2437ff75d9bd: Pull complete 22:25:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:25:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:25:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:25 prd-ubuntu20.04-docker-arm64-4c-16g-4969 does not seem to be running inside a container 22:25:25 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:25:27 $ docker top 9977ba39ee6911ef20bc34f1d5720e29b925acd177b8f3ad2a43fa1f9ac103ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:28 ---> job-cost.sh 22:25:28 lf-activate-venv: SKIPPING 22:25:28 INFO: No Stack... 22:25:29 INFO: Retrieving Pricing Info for: v3-standard-4 22:25:29 INFO: Archiving Costs [Pipeline] sh 22:25:30 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 22:25:30 + cut -d, -f6 [Pipeline] lock 22:25:30 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-283-1-stack-cost] 22:25:30 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-283-1-stack-cost] did not exist. Created. 22:25:30 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-283-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:25:31 /w/workspace/device-onvif-camera/1@tmp/durable-b7ab3a34/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:25:32 + echo total: 0.10999999940395355 [Pipeline] stash 22:25:32 Warning: overwriting stash ‘stack-cost’ 22:25:32 Stashed 1 file(s) [Pipeline] } 22:25:32 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-283-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:25:32 $ docker stop --time=1 9977ba39ee6911ef20bc34f1d5720e29b925acd177b8f3ad2a43fa1f9ac103ec 22:25:33 $ docker rm -f --volumes 9977ba39ee6911ef20bc34f1d5720e29b925acd177b8f3ad2a43fa1f9ac103ec [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 22:25:34 provisioning config files... 22:25:34 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-283@tmp/config7655912678966233749tmp [Pipeline] { [Pipeline] sh 22:25:35 + set +x 22:25:35 + curl -s https://codecov.io/bash 22:25:35 + bash -s -- 22:25:35 22:25:35 _____ _ 22:25:35 / ____| | | 22:25:35 | | ___ __| | ___ ___ _____ __ 22:25:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:25:35 | |___| (_) | (_| | __/ (_| (_) \ V / 22:25:35 \_____\___/ \__,_|\___|\___\___/ \_/ 22:25:35 Bash-1.0.6 22:25:35 22:25:35 22:25:35 ==> git version 2.25.1 found 22:25:35 ==> 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 22:25:35 Release-Date: 2020-01-08 22:25:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:25:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:25:35 ==> Jenkins CI detected. 22:25:35 current dir:  /w/workspace/undry_device-onvif-camera_PR-283 22:25:35 project root: . 22:25:35 --> token set from env 22:25:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:25:35 ==> Running gcov in . (disable via -X gcov) 22:25:35 ==> Python coveragepy not found 22:25:35 ==> Searching for coverage reports in: 22:25:35 + . 22:25:35 -> Found 1 reports 22:25:35 ==> Detecting git/mercurial file structure 22:25:35 ==> Reading reports 22:25:35 + ./coverage.out bytes=79184 22:25:35 ==> Appending adjustments 22:25:35 https://docs.codecov.io/docs/fixing-reports 22:25:35 + Found adjustments 22:25:35 ==> Gzipping contents 22:25:35 12K /tmp/codecov.w0KdFh.gz 22:25:35 ==> Uploading reports 22:25:35 url: https://codecov.io 22:25:35 query: branch=PR-283&commit=52bb2f830998cbf2cea456f40f1b08ae3e247aaf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-283%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=283&job=&cmd_args= 22:25:35 -> Pinging Codecov 22:25:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-283&commit=52bb2f830998cbf2cea456f40f1b08ae3e247aaf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-283%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=283&job=&cmd_args= 22:25:35 -> Uploading to 22:25:35 https://storage.googleapis.com/codecov/v4/raw/2023-03-21/F29A59C45E3A92E06B3E522C9905F8EF/52bb2f830998cbf2cea456f40f1b08ae3e247aaf/0a95a289-cdfe-4961-a973-af1cfdab315f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T222535Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4d0e19d15336a5e3263077af8c18cf596b94797fb1dd652a10a29c1a0ebe2731 22:25:35 % Total % Received % Xferd Average Speed Time Time Time Current 22:25:35 Dload Upload Total Spent Left Speed 22:25:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10888 0 0 100 10888 0 53900 --:--:-- --:--:-- --:--:-- 53635 100 10888 0 0 100 10888 0 41557 --:--:-- --:--:-- --:--:-- 41399 22:25:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/52bb2f830998cbf2cea456f40f1b08ae3e247aaf [Pipeline] } 22:25:35 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 22:25:37 + [ -d /w/workspace/undry_device-onvif-camera_PR-283/archives ] 22:25:37 + ls -al /w/workspace/undry_device-onvif-camera_PR-283/archives 22:25:37 total 16 22:25:37 drwxr-xr-x 3 root root 4096 Mar 21 22:16 . 22:25:37 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 22:16 .. 22:25:37 drwxr-xr-x 2 root root 4096 Mar 21 22:16 cost 22:25:37 -rw-r--r-- 1 root root 91 Mar 21 22:16 cost.csv 22:25:37 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-283/archives 22:25:37 + ls -al /w/workspace/undry_device-onvif-camera_PR-283/archives 22:25:37 total 16 22:25:37 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 22:16 . 22:25:37 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 22:16 .. 22:25:37 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 22:16 cost 22:25:37 -rw-r--r-- 1 jenkins jenkins 91 Mar 21 22:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:25:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:25:38 ---> package-listing.sh 22:25:38 ++ facter osfamily 22:25:38 ++ tr '[:upper:]' '[:lower:]' 22:25:39 + OS_FAMILY=debian 22:25:39 + workspace=/w/workspace/undry_device-onvif-camera_PR-283 22:25:39 + START_PACKAGES=/tmp/packages_start.txt 22:25:39 + END_PACKAGES=/tmp/packages_end.txt 22:25:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:25:39 + PACKAGES=/tmp/packages_start.txt 22:25:39 + '[' /w/workspace/undry_device-onvif-camera_PR-283 ']' 22:25:39 + PACKAGES=/tmp/packages_end.txt 22:25:39 + case "${OS_FAMILY}" in 22:25:39 + dpkg -l 22:25:39 + grep '^ii' 22:25:39 + '[' -f /tmp/packages_start.txt ']' 22:25:39 + '[' -f /tmp/packages_end.txt ']' 22:25:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:25:39 + '[' /w/workspace/undry_device-onvif-camera_PR-283 ']' 22:25:39 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-283/archives/ 22:25:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-283/archives/ [Pipeline] echo 22:25:39 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-283/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:25:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:25:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:40 prd-ubuntu20.04-docker-8c-8g-4967 does not seem to be running inside a container 22:25:40 $ 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-283/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-283 -v /w/workspace/undry_device-onvif-camera_PR-283:/w/workspace/undry_device-onvif-camera_PR-283:rw,z -v /w/workspace/undry_device-onvif-camera_PR-283@tmp:/w/workspace/undry_device-onvif-camera_PR-283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:25:40 $ docker top 00295b4d859007ca214d341d0a7aea40d2fb2515f86b7a47f69077cf24c03e82 -eo pid,comm [Pipeline] { [Pipeline] sh 22:25:40 + touch /tmp/pre-build-complete [Pipeline] sh 22:25:41 + mkdir -p /var/log/sysstat [Pipeline] sh 22:25:41 + ls /var/log/sa-host 22:25:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:41 provisioning config files... 22:25:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-283@tmp/config13067286969735142586tmp [Pipeline] { [Pipeline] echo 22:25:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:25:42 ---> create-netrc.sh [Pipeline] } 22:25:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:25:42 ---> python-tools-install.sh [Pipeline] echo 22:25:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:25:42 ---> sudo-logs.sh 22:25:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:25:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:25:43 ---> job-cost.sh 22:25:43 lf-activate-venv: SKIPPING 22:25:43 DEBUG: total: 0.2199999988079071 22:25:43 INFO: Retrieving Stack Cost... 22:25:43 INFO: Retrieving Pricing Info for: v3-standard-8 22:25:44 INFO: Archiving Costs [Pipeline] echo 22:25:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:25:44 ---> logs-deploy.sh 22:25:44 lf-activate-venv: SKIPPING 22:25:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-283/1 22:25:44 INFO: archiving workspace using pattern(s): 22:25:45 Archives upload complete. 22:25:45 INFO: archiving logs to Nexus