Pull request #165 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 hahattan for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 4fecb75244958f6e7e3e674ac9e9e5846ce878c9+93a2116a16fd236fe7cdb3fd99bdb7206e0b648a (3a2705f0ddfa5d581831436564189c7a298f7864) 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-ssh12969696474389705368.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4446454997900892821.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh 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-165/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-165/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2141680584562187380.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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-165/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10233980957614762850.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh11626409004001534424.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-165/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-165/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7149314463410248093.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-1803’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1804 in /w/workspace/undry_device-onvif-camera_PR-165 [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-165 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a into PR head commit 4fecb75244958f6e7e3e674ac9e9e5846ce878c9 Merge succeeded, producing 4fecb75244958f6e7e3e674ac9e9e5846ce878c9 Checking out Revision 4fecb75244958f6e7e3e674ac9e9e5846ce878c9 (PR-165) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fecb75244958f6e7e3e674ac9e9e5846ce878c9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4fecb75244958f6e7e3e674ac9e9e5846ce878c9 # timeout=10 Commit message: "feat: add internal command request/response topics" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:12:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:12:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:12:21 ========================================================= 08:12:21 EdgeX Global Pipelines Version Info 08:12:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:12:22 ------------------- 08:12:22 stable info: 08:12:22 ------------------- 08:12:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:12:22 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 08:12:22 Message: update stable to v1.0.239 08:12:23 ------------------- 08:12:23 experimental info: 08:12:23 ------------------- 08:12:23 Commited By: **** collab-it+edgex@linuxfoundation.org 08:12:23 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 08:12:23 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:12:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 08:12:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 08:12:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:12:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:12:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:12:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 08:12:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:12:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:12:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:12:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:12:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:12:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 08:12:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:12:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:12:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:12:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:12:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:12:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:12:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:12:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:12:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:12:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 08:12:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:12:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:12:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:12:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:12:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:12:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo 08:12:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo 08:12:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo 08:12:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4fecb75244958f6e7e3e674ac9e9e5846ce878c9 [Pipeline] echo 08:12:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4fecb75 [Pipeline] echo 08:12:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:12:24 provisioning config files... 08:12:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-165@tmp/config9723933899380436507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:12:25 ---> docker-login.sh 08:12:25 nexus3.edgexfoundry.org:10001 08:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:25 Configure a credential helper to remove this warning. See 08:12:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:25 08:12:25 Login Succeeded 08:12:25 nexus3.edgexfoundry.org:10002 08:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:25 Configure a credential helper to remove this warning. See 08:12:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:25 08:12:25 Login Succeeded 08:12:25 nexus3.edgexfoundry.org:10003 08:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:25 Configure a credential helper to remove this warning. See 08:12:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:25 08:12:25 Login Succeeded 08:12:25 nexus3.edgexfoundry.org:10004 08:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:25 Configure a credential helper to remove this warning. See 08:12:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:25 08:12:25 Login Succeeded 08:12:25 docker.io 08:12:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:26 Configure a credential helper to remove this warning. See 08:12:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:26 08:12:26 Login Succeeded 08:12:26 ---> docker-login.sh ends [Pipeline] } 08:12:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:12:26 + git rev-list -1 --merges 4fecb75244958f6e7e3e674ac9e9e5846ce878c9~1..4fecb75244958f6e7e3e674ac9e9e5846ce878c9 [Pipeline] echo 08:12:26 -----------> git rev-list -1 --merges 4fecb75244958f6e7e3e674ac9e9e5846ce878c9~1..4fecb75244958f6e7e3e674ac9e9e5846ce878c9 4fecb75244958f6e7e3e674ac9e9e5846ce878c9 [false] [Pipeline] sh 08:12:27 + git log --format=format:%s -1 4fecb75244958f6e7e3e674ac9e9e5846ce878c9 [Pipeline] echo 08:12:27 ========================================================= 08:12:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:12:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:12:27 + git log --format=format:%s -1 4fecb75244958f6e7e3e674ac9e9e5846ce878c9 [Pipeline] echo 08:12:27 [semverPrep] GIT_COMMIT: 4fecb75244958f6e7e3e674ac9e9e5846ce878c9, Commit Message: feat: add internal command request/response topics [Pipeline] echo 08:12:27 [semverPrep] This is not a build commit. [Pipeline] sh 08:12:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:12:28 + grep -v github /etc/ssh/ssh_known_hosts 08:12:28 + [ -e /tmp/ssh_known_hosts ] 08:12:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:12:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:12:28 + sudo tee -a /etc/ssh/ssh_known_hosts 08:12:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:12:28 08:12:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:12:28 0.1.4: Pulling from edgex-devops/py-git-semver 08:12:28 b85a868b505f: Pulling fs layer 08:12:28 e2be974225ed: Pulling fs layer 08:12:28 339a4e72a1f5: Pulling fs layer 08:12:28 988bab9f4d93: Pulling fs layer 08:12:28 1469e6f7b9e6: Pulling fs layer 08:12:28 eaf3925da568: Pulling fs layer 08:12:28 bab4dde63d76: Pulling fs layer 08:12:28 bde34c3a00c8: Pulling fs layer 08:12:28 b352a97aabf1: Pulling fs layer 08:12:28 4872d77fe225: Pulling fs layer 08:12:28 5851b861e8e6: Pulling fs layer 08:12:28 bde34c3a00c8: Waiting 08:12:28 1469e6f7b9e6: Waiting 08:12:28 b352a97aabf1: Waiting 08:12:28 988bab9f4d93: Waiting 08:12:28 eaf3925da568: Waiting 08:12:28 bab4dde63d76: Waiting 08:12:28 5851b861e8e6: Waiting 08:12:28 4872d77fe225: Waiting 08:12:28 e2be974225ed: Verifying Checksum 08:12:28 e2be974225ed: Download complete 08:12:28 988bab9f4d93: Verifying Checksum 08:12:28 988bab9f4d93: Download complete 08:12:29 1469e6f7b9e6: Verifying Checksum 08:12:29 1469e6f7b9e6: Download complete 08:12:29 eaf3925da568: Download complete 08:12:29 339a4e72a1f5: Verifying Checksum 08:12:29 339a4e72a1f5: Download complete 08:12:29 bde34c3a00c8: Download complete 08:12:29 b352a97aabf1: Verifying Checksum 08:12:29 b352a97aabf1: Download complete 08:12:29 4872d77fe225: Download complete 08:12:29 5851b861e8e6: Verifying Checksum 08:12:29 5851b861e8e6: Download complete 08:12:29 b85a868b505f: Verifying Checksum 08:12:29 b85a868b505f: Download complete 08:12:29 bab4dde63d76: Verifying Checksum 08:12:29 bab4dde63d76: Download complete 08:12:30 b85a868b505f: Pull complete 08:12:30 e2be974225ed: Pull complete 08:12:31 339a4e72a1f5: Pull complete 08:12:31 988bab9f4d93: Pull complete 08:12:31 1469e6f7b9e6: Pull complete 08:12:31 eaf3925da568: Pull complete 08:12:33 bab4dde63d76: Pull complete 08:12:33 bde34c3a00c8: Pull complete 08:12:33 b352a97aabf1: Pull complete 08:12:33 4872d77fe225: Pull complete 08:12:33 5851b861e8e6: Pull complete 08:12:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:12:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:12:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:12:33 prd-ubuntu20.04-docker-8c-8g-1804 does not seem to be running inside a container 08:12:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-165 -v /w/workspace/undry_device-onvif-camera_PR-165:/w/workspace/undry_device-onvif-camera_PR-165:rw,z -v /w/workspace/undry_device-onvif-camera_PR-165@tmp:/w/workspace/undry_device-onvif-camera_PR-165@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:12:35 $ docker top 229ce3bf395f9b0776bc762aa338b1461759c80ed69e1adb4dc4fc42e5cefab5 -eo pid,comm 08:12:35 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). 08:12:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:12:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:12:35 [ssh-agent] Looking for ssh-agent implementation... 08:12:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:12:35 $ docker exec 229ce3bf395f9b0776bc762aa338b1461759c80ed69e1adb4dc4fc42e5cefab5 ssh-agent 08:12:35 SSH_AUTH_SOCK=/tmp/ssh-KjUu9DhwsBwE/agent.32 08:12:35 SSH_AGENT_PID=39 08:12:35 Running ssh-add (command line suppressed) 08:12:35 Identity added: /w/workspace/undry_device-onvif-camera_PR-165@tmp/private_key_18302094505807130180.key (/w/workspace/undry_device-onvif-camera_PR-165@tmp/private_key_18302094505807130180.key) 08:12:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:12:35 + git tag --points-at HEAD [Pipeline] } 08:12:36 $ docker exec --env ******** --env ******** 229ce3bf395f9b0776bc762aa338b1461759c80ed69e1adb4dc4fc42e5cefab5 ssh-agent -k 08:12:36 unset SSH_AUTH_SOCK; 08:12:36 unset SSH_AGENT_PID; 08:12:36 echo Agent pid 39 killed; 08:12:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:12:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:12:36 [ssh-agent] Looking for ssh-agent implementation... 08:12:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:12:36 $ docker exec 229ce3bf395f9b0776bc762aa338b1461759c80ed69e1adb4dc4fc42e5cefab5 ssh-agent 08:12:36 SSH_AUTH_SOCK=/tmp/ssh-f0jdK0hu7U63/agent.72 08:12:36 SSH_AGENT_PID=78 08:12:36 Running ssh-add (command line suppressed) 08:12:36 Identity added: /w/workspace/undry_device-onvif-camera_PR-165@tmp/private_key_8665923058415154719.key (/w/workspace/undry_device-onvif-camera_PR-165@tmp/private_key_8665923058415154719.key) 08:12:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:12:36 + git semver init 08:12:37 2022-09-28 08:12:37,088 [run_init] DEBUG init version:0.0.0 force:False 08:12:37 2022-09-28 08:12:37,089 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-165/.semver 08:12:37 2022-09-28 08:12:37,090 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-165/.semver 08:12:37 2022-09-28 08:12:37,090 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-165/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-165, universal_newlines=False, shell=None, istream=None) 08:12:38 2022-09-28 08:12:38,028 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-165/.git/info/exclude 08:12:38 2022-09-28 08:12:38,029 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-165/.semver/PR-165 with force:False 08:12:38 2022-09-28 08:12:38,029 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-165/.semver/PR-165 08:12:38 2022-09-28 08:12:38,033 [execute] INFO git cat-file --batch-check 08:12:38 2022-09-28 08:12:38,034 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-165/.semver, universal_newlines=False, shell=None, istream=) 08:12:38 2022-09-28 08:12:38,040 [execute] INFO git cat-file --batch 08:12:38 2022-09-28 08:12:38,041 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-165/.semver, universal_newlines=False, shell=None, istream=) 08:12:38 2022-09-28 08:12:38,046 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-165/.semver/PR-165 08:12:38 0.0.0 [Pipeline] } 08:12:38 $ docker exec --env ******** --env ******** 229ce3bf395f9b0776bc762aa338b1461759c80ed69e1adb4dc4fc42e5cefab5 ssh-agent -k 08:12:38 unset SSH_AUTH_SOCK; 08:12:38 unset SSH_AGENT_PID; 08:12:38 echo Agent pid 78 killed; 08:12:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:12:38 + git semver [Pipeline] } 08:12:38 $ docker stop --time=1 229ce3bf395f9b0776bc762aa338b1461759c80ed69e1adb4dc4fc42e5cefab5 08:12:40 $ docker rm -f 229ce3bf395f9b0776bc762aa338b1461759c80ed69e1adb4dc4fc42e5cefab5 [Pipeline] // withDockerContainer [Pipeline] sh 08:12:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:12:40 Stashed 1 file(s) [Pipeline] echo 08:12:40 [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 08:12:41 provisioning config files... 08:12:41 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-165@tmp/config12666114656578402734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:12:41 ---> docker-login.sh 08:12:41 nexus3.edgexfoundry.org:10001 08:12:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:41 Configure a credential helper to remove this warning. See 08:12:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:41 08:12:41 Login Succeeded 08:12:41 nexus3.edgexfoundry.org:10002 08:12:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:41 Configure a credential helper to remove this warning. See 08:12:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:41 08:12:41 Login Succeeded 08:12:41 nexus3.edgexfoundry.org:10003 08:12:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:42 Configure a credential helper to remove this warning. See 08:12:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:42 08:12:42 Login Succeeded 08:12:42 nexus3.edgexfoundry.org:10004 08:12:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:42 Configure a credential helper to remove this warning. See 08:12:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:42 08:12:42 Login Succeeded 08:12:42 docker.io 08:12:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:12:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:12:42 Configure a credential helper to remove this warning. See 08:12:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:12:42 08:12:42 Login Succeeded 08:12:42 ---> docker-login.sh ends [Pipeline] } 08:12:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:12:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:12:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:12:42 ========================================================= 08:12:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 08:12:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:12:43 + 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 . 08:12:43 Sending build context to Docker daemon 20.75MB 08:12:43 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 08:12:43 Step 2/13 : FROM ${BASE} AS builder 08:12:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 08:12:43 2408cc74d12b: Pulling fs layer 08:12:43 ea60b727a1ce: Pulling fs layer 08:12:43 30c4a7721957: Pulling fs layer 08:12:43 370296b7ddb6: Pulling fs layer 08:12:43 7c6cee850709: Pulling fs layer 08:12:43 39a5fcdaea64: Pulling fs layer 08:12:43 d94ebbe4e438: Pulling fs layer 08:12:43 bcfd1f05c69d: Pulling fs layer 08:12:43 59ccb84bbe0f: Pulling fs layer 08:12:43 370296b7ddb6: Waiting 08:12:43 7c6cee850709: Waiting 08:12:43 39a5fcdaea64: Waiting 08:12:43 d94ebbe4e438: Waiting 08:12:43 59ccb84bbe0f: Waiting 08:12:43 bcfd1f05c69d: Waiting 08:12:43 30c4a7721957: Verifying Checksum 08:12:43 30c4a7721957: Download complete 08:12:43 ea60b727a1ce: Download complete 08:12:43 7c6cee850709: Verifying Checksum 08:12:43 7c6cee850709: Download complete 08:12:43 39a5fcdaea64: Verifying Checksum 08:12:43 39a5fcdaea64: Download complete 08:12:43 2408cc74d12b: Verifying Checksum 08:12:43 2408cc74d12b: Download complete 08:12:43 d94ebbe4e438: Verifying Checksum 08:12:43 d94ebbe4e438: Download complete 08:12:43 2408cc74d12b: Pull complete 08:12:43 ea60b727a1ce: Pull complete 08:12:43 30c4a7721957: Pull complete 08:12:44 bcfd1f05c69d: Verifying Checksum 08:12:44 bcfd1f05c69d: Download complete 08:12:44 59ccb84bbe0f: Download complete 08:12:44 370296b7ddb6: Verifying Checksum 08:12:44 370296b7ddb6: Download complete 08:12:48 370296b7ddb6: Pull complete 08:12:48 7c6cee850709: Pull complete 08:12:48 39a5fcdaea64: Pull complete 08:12:48 d94ebbe4e438: Pull complete 08:12:50 bcfd1f05c69d: Pull complete 08:12:51 59ccb84bbe0f: Pull complete 08:12:51 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 08:12:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 08:12:51 ---> a4fb48ad2a94 08:12:51 Step 3/13 : ARG MAKE="make build" 08:12:53 ---> Running in b8aebcb28915 08:12:53 Removing intermediate container b8aebcb28915 08:12:53 ---> 50245bb4e1ab 08:12:53 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:12:53 ---> Running in 0ce118128ede 08:12:53 Removing intermediate container 0ce118128ede 08:12:53 ---> 7a1c41befd0f 08:12:53 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 08:12:53 ---> Running in 957a06784868 08:12:53 Removing intermediate container 957a06784868 08:12:53 ---> 3f838381da31 08:12:53 Step 6/13 : LABEL Name=edgex-device-onvif-camera 08:12:53 ---> Running in af38c85a0239 08:12:53 Removing intermediate container af38c85a0239 08:12:53 ---> d18533a6c650 08:12:53 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:12:53 ---> Running in bb603be9bfd6 08:12:54 Removing intermediate container bb603be9bfd6 08:12:54 ---> f87b3ce76312 08:12:54 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:12:54 ---> Running in 6903e0588e69 08:12:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:12:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:12:55 OK: 211 MiB in 51 packages 08:12:56 Removing intermediate container 6903e0588e69 08:12:56 ---> 6c29f9e817b9 08:12:56 Step 9/13 : WORKDIR /device-onvif-camera 08:12:56 ---> Running in 6b63c741a221 08:12:56 Removing intermediate container 6b63c741a221 08:12:56 ---> 84105cf714c8 08:12:56 Step 10/13 : COPY go.mod vendor* ./ 08:12:56 ---> be28764edc99 08:12:56 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:12:56 ---> Running in 2bfe5969600a 08:12:56 Still waiting to schedule task 08:12:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1805’ is offline 08:13:11 Removing intermediate container 2bfe5969600a 08:13:11 ---> 54c0bc322008 08:13:11 Step 12/13 : COPY . . 08:13:11 ---> ac2cc7b8a30b 08:13:11 Step 13/13 : RUN ${MAKE} 08:13:11 ---> Running in c26744e0b76b 08:13:11 noop 08:13:12 Removing intermediate container c26744e0b76b 08:13:12 ---> 19e0ccfacd23 08:13:12 Successfully built 19e0ccfacd23 08:13:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:12 + docker inspect -f . ci-base-image-x86_64 08:13:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:13:13 prd-ubuntu20.04-docker-8c-8g-1804 does not seem to be running inside a container 08:13:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-165 -v /w/workspace/undry_device-onvif-camera_PR-165:/w/workspace/undry_device-onvif-camera_PR-165:rw,z -v /w/workspace/undry_device-onvif-camera_PR-165@tmp:/w/workspace/undry_device-onvif-camera_PR-165@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-x86_64 cat 08:13:13 $ docker top 060460b36bd271bf8069bbb46331057c3b726def13d8d715865d88799942298d -eo pid,comm [Pipeline] { [Pipeline] sh 08:13:13 + go version 08:13:13 go version go1.18.3 linux/amd64 [Pipeline] } 08:13:13 $ docker stop --time=1 060460b36bd271bf8069bbb46331057c3b726def13d8d715865d88799942298d 08:13:15 $ docker rm -f 060460b36bd271bf8069bbb46331057c3b726def13d8d715865d88799942298d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:15 + docker inspect -f . ci-base-image-x86_64 08:13:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:13:15 prd-ubuntu20.04-docker-8c-8g-1804 does not seem to be running inside a container 08:13:15 $ 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-165 -v /w/workspace/undry_device-onvif-camera_PR-165:/w/workspace/undry_device-onvif-camera_PR-165:rw,z -v /w/workspace/undry_device-onvif-camera_PR-165@tmp:/w/workspace/undry_device-onvif-camera_PR-165@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-x86_64 cat 08:13:16 $ docker top 3077e968e3b4eba2ed3292b9b0e629c30f993a1db03501a96d12a2d01d127475 -eo pid,comm [Pipeline] { [Pipeline] sh 08:13:16 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-165 [Pipeline] fileExists [Pipeline] sh 08:13:17 + make test 08:13:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:13:17 ? github.com/edgexfoundry/device-onvif-camera [no test files] 08:13:29 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 08:13:29 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.038s coverage: 28.2% of statements 08:13:29 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 08:13:29 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.508s coverage: 86.5% of statements 08:13:37 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." 08:13:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:13:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:13:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:13:41 ./bin/test-attribution-txt.sh [Pipeline] echo 08:13:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:13:41 $ docker stop --time=1 3077e968e3b4eba2ed3292b9b0e629c30f993a1db03501a96d12a2d01d127475 08:13:42 $ docker rm -f 3077e968e3b4eba2ed3292b9b0e629c30f993a1db03501a96d12a2d01d127475 [Pipeline] // withDockerContainer [Pipeline] sh 08:13:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:13:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:13:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:13:44 + ls -al . 08:13:44 total 236 08:13:44 drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 08:13 . 08:13:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 08:12 .. 08:13:44 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 08:13 .git 08:13:44 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 08:12 .github 08:13:44 -rw-rw-r-- 1 jenkins jenkins 418 Sep 28 08:12 .gitignore 08:13:44 -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 08:12 .golangci.yml 08:13:44 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 08:12 .semver 08:13:44 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 28 08:12 Attribution.txt 08:13:44 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 28 08:12 CHANGELOG.md 08:13:44 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 28 08:12 Dockerfile 08:13:44 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 08:12 GOVERNANCE.md 08:13:44 -rw-rw-r-- 1 jenkins jenkins 734 Sep 28 08:12 Jenkinsfile 08:13:44 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 08:12 LICENSE 08:13:44 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 28 08:12 Makefile 08:13:44 -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 08:12 OWNERS.md 08:13:44 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 28 08:12 README.md 08:13:44 -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 08:12 VERSION 08:13:44 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 08:12 bin 08:13:44 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 08:12 cmd 08:13:44 -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 08:13 coverage.out 08:13:44 drwxrwxr-x 6 jenkins jenkins 4096 Sep 28 08:12 doc 08:13:44 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 28 08:12 go.mod 08:13:44 -rw-rw-r-- 1 jenkins jenkins 39691 Sep 28 08:12 go.sum 08:13:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 08:12 internal 08:13:44 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 08:12 snap 08:13:44 -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 08:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:44 + 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=4fecb75244958f6e7e3e674ac9e9e5846ce878c9 --label arch=amd64 --label version=0.0.0 . 08:13:44 Sending build context to Docker daemon 20.83MB 08:13:44 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 08:13:44 Step 2/26 : FROM ${BASE} AS builder 08:13:44 ---> 19e0ccfacd23 08:13:44 Step 3/26 : ARG MAKE="make build" 08:13:45 ---> Running in 6e147d2a42ce 08:13:45 Removing intermediate container 6e147d2a42ce 08:13:45 ---> 00b66d8ec07d 08:13:45 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:13:45 ---> Running in 331848936bb8 08:13:45 Removing intermediate container 331848936bb8 08:13:45 ---> b85bfda425aa 08:13:45 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 08:13:45 ---> Running in 2921f710c3d2 08:13:45 Removing intermediate container 2921f710c3d2 08:13:45 ---> 70d7d3b7fb0c 08:13:45 Step 6/26 : LABEL Name=edgex-device-onvif-camera 08:13:45 ---> Running in 38dbcb0258d6 08:13:45 Removing intermediate container 38dbcb0258d6 08:13:45 ---> 8655d1a712a9 08:13:45 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:13:45 ---> Running in b4463d204821 08:13:46 Removing intermediate container b4463d204821 08:13:46 ---> cb4d3fc4bad0 08:13:46 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:13:46 ---> Running in 2a9cc849143e 08:13:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:13:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:13:47 OK: 211 MiB in 51 packages 08:13:47 Removing intermediate container 2a9cc849143e 08:13:47 ---> 5613cb8f0ef5 08:13:47 Step 9/26 : WORKDIR /device-onvif-camera 08:13:47 ---> Running in 452da2862b52 08:13:47 Removing intermediate container 452da2862b52 08:13:47 ---> 8ca54ada0d97 08:13:47 Step 10/26 : COPY go.mod vendor* ./ 08:13:47 ---> 376f3743bc0f 08:13:47 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:13:47 ---> Running in 012cb57a2c75 08:13:48 Removing intermediate container 012cb57a2c75 08:13:48 ---> 138d4c03b568 08:13:48 Step 12/26 : COPY . . 08:13:49 ---> d3c95f6d9bd4 08:13:49 Step 13/26 : RUN ${MAKE} 08:13:49 ---> Running in 8497950436c1 08:13:49 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 08:14:11 Removing intermediate container 8497950436c1 08:14:11 ---> 5432d5050091 08:14:11 Step 14/26 : FROM alpine:3.16 08:14:11 3.16: Pulling from library/alpine 08:14:11 213ec9aee27d: Pulling fs layer 08:14:11 213ec9aee27d: Verifying Checksum 08:14:11 213ec9aee27d: Download complete 08:14:11 213ec9aee27d: Pull complete 08:14:11 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 08:14:11 Status: Downloaded newer image for alpine:3.16 08:14:11 ---> 9c6f07244728 08:14:11 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 08:14:11 ---> Running in 2fe14e6a66ae 08:14:11 Removing intermediate container 2fe14e6a66ae 08:14:11 ---> 8a1b3d88cc0d 08:14:11 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 08:14:11 ---> Running in 1ebea7ae9c8a 08:14:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 08:14:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 08:14:12 (1/6) Installing dumb-init (1.2.5-r1) 08:14:12 (2/6) Installing libgcc (11.2.1_git20220219-r2) 08:14:12 (3/6) Installing libsodium (1.0.18-r0) 08:14:12 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 08:14:12 (5/6) Installing libzmq (4.3.4-r0) 08:14:12 (6/6) Installing zeromq (4.3.4-r0) 08:14:12 Executing busybox-1.35.0-r17.trigger 08:14:12 OK: 8 MiB in 20 packages 08:14:12 Removing intermediate container 1ebea7ae9c8a 08:14:12 ---> 8669d845ea1f 08:14:12 Step 17/26 : WORKDIR / 08:14:12 ---> Running in 888510d26493 08:14:12 Removing intermediate container 888510d26493 08:14:12 ---> e770375dd6c2 08:14:12 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 08:14:13 ---> 93256b586cd5 08:14:13 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 08:14:14 ---> cd70471811d8 08:14:14 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 08:14:14 ---> 54d8d00f52bc 08:14:14 Step 21/26 : EXPOSE 59984 08:14:14 ---> Running in 57bf61f03932 08:14:14 Removing intermediate container 57bf61f03932 08:14:14 ---> f6985c453e0b 08:14:14 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 08:14:14 ---> Running in 9f1082549c5a 08:14:14 Removing intermediate container 9f1082549c5a 08:14:14 ---> c24cce8c3bf6 08:14:14 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:14:14 ---> Running in e445d53ff2ed 08:14:14 Removing intermediate container e445d53ff2ed 08:14:14 ---> 5b9397aea4d4 08:14:14 Step 24/26 : LABEL arch=amd64 08:14:14 ---> Running in a24677abf35a 08:14:14 Removing intermediate container a24677abf35a 08:14:14 ---> 6dbf866d9fc5 08:14:14 Step 25/26 : LABEL git_sha=4fecb75244958f6e7e3e674ac9e9e5846ce878c9 08:14:14 ---> Running in 2f9f7910649b 08:14:14 Removing intermediate container 2f9f7910649b 08:14:14 ---> e3a154fa28fb 08:14:14 Step 26/26 : LABEL version=0.0.0 08:14:14 ---> Running in 710398773f79 08:14:14 Removing intermediate container 710398773f79 08:14:14 ---> f9869f145c01 08:14:14 [Warning] One or more build-args [ARCH] were not consumed 08:14:14 Successfully built f9869f145c01 08:14:14 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:14:15 08:14:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:14:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:14:16 latest: Pulling from edgex-lftools-log-publisher 08:14:16 5eb5b503b376: Pulling fs layer 08:14:16 5c69ac0246d0: Pulling fs layer 08:14:16 ec43610c2a17: Pulling fs layer 08:14:16 3a2ae6a8a46f: Pulling fs layer 08:14:16 33b1e0a273af: Pulling fs layer 08:14:16 5d3b04190fa2: Pulling fs layer 08:14:16 2f39f015ded8: Pulling fs layer 08:14:16 3a2ae6a8a46f: Waiting 08:14:16 33b1e0a273af: Waiting 08:14:16 5d3b04190fa2: Waiting 08:14:16 2f39f015ded8: Waiting 08:14:16 5c69ac0246d0: Download complete 08:14:16 3a2ae6a8a46f: Download complete 08:14:16 33b1e0a273af: Verifying Checksum 08:14:16 33b1e0a273af: Download complete 08:14:16 5d3b04190fa2: Verifying Checksum 08:14:16 5d3b04190fa2: Download complete 08:14:16 ec43610c2a17: Download complete 08:14:16 5eb5b503b376: Verifying Checksum 08:14:16 5eb5b503b376: Download complete 08:14:16 2f39f015ded8: Verifying Checksum 08:14:16 2f39f015ded8: Download complete 08:14:17 5eb5b503b376: Pull complete 08:14:17 5c69ac0246d0: Pull complete 08:14:17 ec43610c2a17: Pull complete 08:14:17 3a2ae6a8a46f: Pull complete 08:14:17 33b1e0a273af: Pull complete 08:14:18 5d3b04190fa2: Pull complete 08:14:22 2f39f015ded8: Pull complete 08:14:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:14:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:14:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:14:22 prd-ubuntu20.04-docker-8c-8g-1804 does not seem to be running inside a container 08:14:22 $ 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-165 -v /w/workspace/undry_device-onvif-camera_PR-165:/w/workspace/undry_device-onvif-camera_PR-165:rw,z -v /w/workspace/undry_device-onvif-camera_PR-165@tmp:/w/workspace/undry_device-onvif-camera_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:14:24 $ docker top a755678a636f510e4ef4ebfcc9721ce68e3245a09a8f351e4b8905a834dc5a8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:14:24 ---> job-cost.sh 08:14:24 lf-activate-venv: SKIPPING 08:14:24 INFO: No Stack... 08:14:24 INFO: Retrieving Pricing Info for: v3-standard-8 08:14:25 INFO: Archiving Costs [Pipeline] sh 08:14:25 + cat /w/workspace/undry_device-onvif-camera_PR-165/archives/cost.csv 08:14:25 + cut -d, -f6 [Pipeline] lock 08:14:25 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-165-1-stack-cost] 08:14:25 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-165-1-stack-cost] did not exist. Created. 08:14:25 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-165-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:14:26 + echo total: 0.2199999988079071 [Pipeline] stash 08:14:26 Stashed 1 file(s) [Pipeline] } 08:14:26 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-165-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:14:26 $ docker stop --time=1 a755678a636f510e4ef4ebfcc9721ce68e3245a09a8f351e4b8905a834dc5a8b 08:14:27 $ docker rm -f a755678a636f510e4ef4ebfcc9721ce68e3245a09a8f351e4b8905a834dc5a8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:15:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1807 in /w/workspace/undry_device-onvif-camera_PR-165 [Pipeline] { [Pipeline] ws 08:15:19 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 08:15:19 The recommended git tool is: git 08:15:24 using credential edgex-jenkins-ssh 08:15:24 Cloning the remote Git repository 08:15:24 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 08:15:24 > git init /w/workspace/device-onvif-camera/1 # timeout=10 08:15:24 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 08:15:24 > git --version # timeout=10 08:15:24 > git --version # 'git version 2.25.1' 08:15:24 using GIT_SSH to set credentials SSH Credentials for GitHub 08:15:25 Verifying host key using known hosts file 08:15:25 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 08:15:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:15:26 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 08:15:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:15:27 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 08:15:27 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 08:15:27 using GIT_SSH to set credentials SSH Credentials for GitHub 08:15:27 Verifying host key using known hosts file 08:15:27 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 08:15:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:15:27 Merging remotes/origin/main commit 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a into PR head commit 4fecb75244958f6e7e3e674ac9e9e5846ce878c9 08:15:28 Merge succeeded, producing 4fecb75244958f6e7e3e674ac9e9e5846ce878c9 08:15:28 Checking out Revision 4fecb75244958f6e7e3e674ac9e9e5846ce878c9 (PR-165) 08:15:27 > git config core.sparsecheckout # timeout=10 08:15:28 > git checkout -f 4fecb75244958f6e7e3e674ac9e9e5846ce878c9 # timeout=10 08:15:28 > git remote # timeout=10 08:15:28 > git config --get remote.origin.url # timeout=10 08:15:28 using GIT_SSH to set credentials SSH Credentials for GitHub 08:15:28 Verifying host key using known hosts file 08:15:28 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 08:15:28 > git merge 93a2116a16fd236fe7cdb3fd99bdb7206e0b648a # timeout=10 08:15:28 > git rev-parse HEAD^{commit} # timeout=10 08:15:28 > git config core.sparsecheckout # timeout=10 08:15:28 > git checkout -f 4fecb75244958f6e7e3e674ac9e9e5846ce878c9 # timeout=10 08:15:32 Commit message: "feat: add internal command request/response topics" 08:15:32 > git --version # timeout=10 08:15:32 > git --version # 'git version 2.25.1' 08:15:32 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:15:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:15:33 % Total % Received % Xferd Average Speed Time Time Time Current 08:15:33 Dload Upload Total Spent Left Speed 08:15:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 192k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh 08:15:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:15:34 + sudo tee /etc/docker/daemon.new 08:15:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:15:34 { 08:15:34 "registry-mirrors": [ 08:15:34 "https://nexus3.edgexfoundry.org:10001" 08:15:34 ], 08:15:34 "bip": "10.250.0.254/24", 08:15:34 "hosts": [ 08:15:34 "tcp://0.0.0.0:5555", 08:15:34 "unix:///var/run/docker.sock" 08:15:34 ], 08:15:34 "mtu": 1458, 08:15:34 "selinux-enabled": true, 08:15:34 "seccomp-profile": "/etc/docker/seccomp.json" 08:15:34 } [Pipeline] sh 08:15:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:15:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:15:53 provisioning config files... 08:15:53 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config6350523132387776309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:15:54 ---> docker-login.sh 08:15:54 nexus3.edgexfoundry.org:10001 08:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:54 Configure a credential helper to remove this warning. See 08:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:54 08:15:54 Login Succeeded 08:15:54 nexus3.edgexfoundry.org:10002 08:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:55 Configure a credential helper to remove this warning. See 08:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:55 08:15:55 Login Succeeded 08:15:55 nexus3.edgexfoundry.org:10003 08:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:55 Configure a credential helper to remove this warning. See 08:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:55 08:15:55 Login Succeeded 08:15:55 nexus3.edgexfoundry.org:10004 08:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:55 Configure a credential helper to remove this warning. See 08:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:55 08:15:55 Login Succeeded 08:15:55 docker.io 08:15:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:15:56 Configure a credential helper to remove this warning. See 08:15:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:15:56 08:15:56 Login Succeeded 08:15:56 ---> docker-login.sh ends [Pipeline] } 08:15:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:15:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:15:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:15:56 ========================================================= 08:15:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 08:15:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:57 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 08:15:57 Sending build context to Docker daemon 14.2MB 08:15:57 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 08:15:57 Step 2/13 : FROM ${BASE} AS builder 08:15:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:15:57 b3c136eddcbf: Pulling fs layer 08:15:57 c0a3192eca97: Pulling fs layer 08:15:57 a050256f5b6f: Pulling fs layer 08:15:57 656be50a0ddc: Pulling fs layer 08:15:57 2bbca73fdf42: Pulling fs layer 08:15:57 46d945488cbd: Pulling fs layer 08:15:57 8a5474983e97: Pulling fs layer 08:15:57 329c88fbcd65: Pulling fs layer 08:15:57 656be50a0ddc: Waiting 08:15:57 46d945488cbd: Waiting 08:15:57 8a5474983e97: Waiting 08:15:57 2bbca73fdf42: Waiting 08:15:57 329c88fbcd65: Waiting 08:15:57 a050256f5b6f: Verifying Checksum 08:15:57 a050256f5b6f: Download complete 08:15:57 c0a3192eca97: Verifying Checksum 08:15:57 c0a3192eca97: Download complete 08:15:57 2bbca73fdf42: Download complete 08:15:58 46d945488cbd: Verifying Checksum 08:15:58 46d945488cbd: Download complete 08:15:58 b3c136eddcbf: Download complete 08:15:58 b3c136eddcbf: Pull complete 08:15:58 329c88fbcd65: Verifying Checksum 08:15:58 329c88fbcd65: Download complete 08:15:59 c0a3192eca97: Pull complete 08:15:59 a050256f5b6f: Pull complete 08:16:00 8a5474983e97: Verifying Checksum 08:16:00 8a5474983e97: Download complete 08:16:00 656be50a0ddc: Verifying Checksum 08:16:00 656be50a0ddc: Download complete 08:16:13 656be50a0ddc: Pull complete 08:16:13 2bbca73fdf42: Pull complete 08:16:13 46d945488cbd: Pull complete 08:16:19 8a5474983e97: Pull complete 08:16:21 329c88fbcd65: Pull complete 08:16:21 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 08:16:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 08:16:21 ---> ff4287adb874 08:16:21 Step 3/13 : ARG MAKE="make build" 08:16:23 ---> Running in 7b935b684e57 08:16:23 Removing intermediate container 7b935b684e57 08:16:23 ---> b8729774f35e 08:16:23 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:16:23 ---> Running in 995eae4790b5 08:16:23 Removing intermediate container 995eae4790b5 08:16:23 ---> 08faa7fede3e 08:16:23 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 08:16:23 ---> Running in 1ce12571d317 08:16:24 Removing intermediate container 1ce12571d317 08:16:24 ---> 228746623d45 08:16:24 Step 6/13 : LABEL Name=edgex-device-onvif-camera 08:16:24 ---> Running in 6797a8aa59db 08:16:24 Removing intermediate container 6797a8aa59db 08:16:24 ---> 0ca0e3716bf2 08:16:24 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:16:24 ---> Running in 4d64a100e85e 08:16:26 Removing intermediate container 4d64a100e85e 08:16:26 ---> d06fe6191811 08:16:26 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:16:26 ---> Running in 3ec41658b037 08:16:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:16:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:16:29 OK: 221 MiB in 51 packages 08:16:30 Removing intermediate container 3ec41658b037 08:16:30 ---> 6f753d03331a 08:16:30 Step 9/13 : WORKDIR /device-onvif-camera 08:16:30 ---> Running in bfb99414bbfc 08:16:30 Removing intermediate container bfb99414bbfc 08:16:30 ---> ea2034ae7545 08:16:30 Step 10/13 : COPY go.mod vendor* ./ 08:16:31 ---> ea8c81b25b63 08:16:31 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:16:31 ---> Running in 2244f6a18915 08:17:27 Removing intermediate container 2244f6a18915 08:17:27 ---> 51f6ba677d1a 08:17:27 Step 12/13 : COPY . . 08:17:27 ---> afb30f1a4aa6 08:17:27 Step 13/13 : RUN ${MAKE} 08:17:27 ---> Running in 7c77be259d9c 08:17:27 noop 08:17:27 Removing intermediate container 7c77be259d9c 08:17:27 ---> 99b1c46a8850 08:17:27 Successfully built 99b1c46a8850 08:17:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:28 + docker inspect -f . ci-base-image-arm64 08:17:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:17:28 prd-ubuntu20.04-docker-arm64-4c-16g-1807 does not seem to be running inside a container 08:17:28 $ 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 08:17:29 $ docker top 3e528fb1b44cd13cc840f237274ea61fae42db612ab35ab355757659260704a4 -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:30 + go version 08:17:30 go version go1.18.3 linux/arm64 [Pipeline] } 08:17:30 $ docker stop --time=1 3e528fb1b44cd13cc840f237274ea61fae42db612ab35ab355757659260704a4 08:17:32 $ docker rm -f 3e528fb1b44cd13cc840f237274ea61fae42db612ab35ab355757659260704a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:33 + docker inspect -f . ci-base-image-arm64 08:17:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:17:33 prd-ubuntu20.04-docker-arm64-4c-16g-1807 does not seem to be running inside a container 08:17:33 $ 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 08:17:34 $ docker top c59c0771474663e37e204c273fafef3a2f252587168eadb143fb5ea9232a6125 -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:35 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 08:17:35 + make test 08:17:35 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:17:37 ? github.com/edgexfoundry/device-onvif-camera [no test files] 08:19:29 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 08:19:29 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.207s coverage: 28.2% of statements 08:19:29 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 08:19:41 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.630s coverage: 86.5% of statements 08:19:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:19:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:20:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:20:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:20:20 ./bin/test-attribution-txt.sh [Pipeline] echo 08:20:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:20:20 $ docker stop --time=1 c59c0771474663e37e204c273fafef3a2f252587168eadb143fb5ea9232a6125 08:20:22 $ docker rm -f c59c0771474663e37e204c273fafef3a2f252587168eadb143fb5ea9232a6125 [Pipeline] // withDockerContainer [Pipeline] sh 08:20:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:20:23 Warning: overwriting stash ‘coverage-report’ 08:20:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:20:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:20:25 + ls -al . 08:20:25 total 232 08:20:25 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 08:17 . 08:20:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 08:15 .. 08:20:25 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 08:15 .git 08:20:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 08:15 .github 08:20:25 -rw-rw-r-- 1 jenkins jenkins 418 Sep 28 08:15 .gitignore 08:20:25 -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 08:15 .golangci.yml 08:20:25 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 28 08:15 Attribution.txt 08:20:25 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 28 08:15 CHANGELOG.md 08:20:25 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 28 08:15 Dockerfile 08:20:25 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 08:15 GOVERNANCE.md 08:20:25 -rw-rw-r-- 1 jenkins jenkins 734 Sep 28 08:15 Jenkinsfile 08:20:25 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 08:15 LICENSE 08:20:25 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 28 08:15 Makefile 08:20:25 -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 08:15 OWNERS.md 08:20:25 -rw-rw-r-- 1 jenkins jenkins 5796 Sep 28 08:15 README.md 08:20:25 -rw-rw-r-- 1 jenkins jenkins 5 Sep 28 08:12 VERSION 08:20:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 08:15 bin 08:20:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 08:15 cmd 08:20:25 -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 08:19 coverage.out 08:20:25 drwxrwxr-x 6 jenkins jenkins 4096 Sep 28 08:15 doc 08:20:25 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 28 08:15 go.mod 08:20:25 -rw-rw-r-- 1 jenkins jenkins 39691 Sep 28 08:15 go.sum 08:20:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 08:15 internal 08:20:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 08:15 snap 08:20:25 -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 08:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:20:25 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=4fecb75244958f6e7e3e674ac9e9e5846ce878c9 --label arch=arm64 --label version=0.0.0 . 08:20:26 Sending build context to Docker daemon 14.27MB 08:20:26 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 08:20:26 Step 2/26 : FROM ${BASE} AS builder 08:20:26 ---> 99b1c46a8850 08:20:26 Step 3/26 : ARG MAKE="make build" 08:20:26 ---> Running in 06098efe4385 08:20:28 Removing intermediate container 06098efe4385 08:20:28 ---> fa768a604dfb 08:20:28 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:20:28 ---> Running in b694a98685a0 08:20:28 Removing intermediate container b694a98685a0 08:20:28 ---> fac152799a4e 08:20:28 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 08:20:28 ---> Running in f6af920db1b3 08:20:29 Removing intermediate container f6af920db1b3 08:20:29 ---> 337b1cba0a58 08:20:29 Step 6/26 : LABEL Name=edgex-device-onvif-camera 08:20:29 ---> Running in 1f2d3d2276b7 08:20:30 Removing intermediate container 1f2d3d2276b7 08:20:30 ---> 9b356b774ede 08:20:30 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:20:30 ---> Running in 540a9ae097ce 08:20:34 Removing intermediate container 540a9ae097ce 08:20:34 ---> 39a2e7f9d7a1 08:20:34 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:20:34 ---> Running in a7817309c9a9 08:20:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:20:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:20:38 OK: 221 MiB in 51 packages 08:20:39 Removing intermediate container a7817309c9a9 08:20:39 ---> a49628bfce85 08:20:39 Step 9/26 : WORKDIR /device-onvif-camera 08:20:39 ---> Running in fa812360ce20 08:20:40 Removing intermediate container fa812360ce20 08:20:40 ---> 258022eae178 08:20:40 Step 10/26 : COPY go.mod vendor* ./ 08:20:40 ---> 15588a3fae8a 08:20:40 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:20:40 ---> Running in 091fd22c9650 08:20:43 Removing intermediate container 091fd22c9650 08:20:43 ---> 120f41bf025d 08:20:43 Step 12/26 : COPY . . 08:20:44 ---> f06350afc16d 08:20:44 Step 13/26 : RUN ${MAKE} 08:20:44 ---> Running in 6c95c30dae42 08:20:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 08:23:22 Removing intermediate container 6c95c30dae42 08:23:22 ---> 89f23409f888 08:23:22 Step 14/26 : FROM alpine:3.16 08:23:22 3.16: Pulling from library/alpine 08:23:22 9b18e9b68314: Pulling fs layer 08:23:22 9b18e9b68314: Verifying Checksum 08:23:22 9b18e9b68314: Download complete 08:23:22 9b18e9b68314: Pull complete 08:23:22 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 08:23:22 Status: Downloaded newer image for alpine:3.16 08:23:22 ---> a6215f271958 08:23:22 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 08:23:22 ---> Running in 77c54aabdfa0 08:23:22 Removing intermediate container 77c54aabdfa0 08:23:22 ---> 2aa441c926b7 08:23:22 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 08:23:22 ---> Running in 4dc54e487ef6 08:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:23:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:23:22 (1/6) Installing dumb-init (1.2.5-r1) 08:23:22 (2/6) Installing libgcc (11.2.1_git20220219-r2) 08:23:22 (3/6) Installing libsodium (1.0.18-r0) 08:23:22 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 08:23:22 (5/6) Installing libzmq (4.3.4-r0) 08:23:22 (6/6) Installing zeromq (4.3.4-r0) 08:23:22 Executing busybox-1.35.0-r17.trigger 08:23:22 OK: 8 MiB in 20 packages 08:23:22 Removing intermediate container 4dc54e487ef6 08:23:22 ---> 37c5fcfcfa9e 08:23:22 Step 17/26 : WORKDIR / 08:23:22 ---> Running in 101147a6ec38 08:23:22 Removing intermediate container 101147a6ec38 08:23:22 ---> 719bec167367 08:23:22 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 08:23:22 ---> 76bba1ae9072 08:23:22 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 08:23:22 ---> f925b36362f6 08:23:22 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 08:23:22 ---> 727c4c8f5af7 08:23:22 Step 21/26 : EXPOSE 59984 08:23:22 ---> Running in 6b67ce313d95 08:23:22 Removing intermediate container 6b67ce313d95 08:23:22 ---> b90e58ac734b 08:23:22 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 08:23:23 ---> Running in 3761294f5cf6 08:23:23 Removing intermediate container 3761294f5cf6 08:23:23 ---> e2c51c0bcda8 08:23:23 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:23:23 ---> Running in 9b86a686572b 08:23:23 Removing intermediate container 9b86a686572b 08:23:23 ---> 0a5d5c681a55 08:23:23 Step 24/26 : LABEL arch=arm64 08:23:23 ---> Running in f8ba30ceae0d 08:23:23 Removing intermediate container f8ba30ceae0d 08:23:23 ---> 9443f6d8283c 08:23:23 Step 25/26 : LABEL git_sha=4fecb75244958f6e7e3e674ac9e9e5846ce878c9 08:23:24 ---> Running in b0beee1f8dbe 08:23:24 Removing intermediate container b0beee1f8dbe 08:23:24 ---> 8f5cf2a5ba35 08:23:24 Step 26/26 : LABEL version=0.0.0 08:23:24 ---> Running in 817b16ead170 08:23:24 Removing intermediate container 817b16ead170 08:23:24 ---> 87fa1682da2a 08:23:24 [Warning] One or more build-args [ARCH] were not consumed 08:23:24 Successfully built 87fa1682da2a 08:23:24 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:23:25 08:23:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:23:25 arm64: Pulling from edgex-lftools-log-publisher 08:23:25 8998bd30e6a1: Pulling fs layer 08:23:25 04944245beec: Pulling fs layer 08:23:25 699f458cf7ca: Pulling fs layer 08:23:25 765212b225bb: Pulling fs layer 08:23:25 f23df028b6ca: Pulling fs layer 08:23:25 d65c8cfc05b1: Pulling fs layer 08:23:25 2437ff75d9bd: Pulling fs layer 08:23:25 f23df028b6ca: Waiting 08:23:25 d65c8cfc05b1: Waiting 08:23:25 765212b225bb: Waiting 08:23:25 2437ff75d9bd: Waiting 08:23:26 04944245beec: Verifying Checksum 08:23:26 04944245beec: Download complete 08:23:26 765212b225bb: Verifying Checksum 08:23:26 765212b225bb: Download complete 08:23:26 f23df028b6ca: Verifying Checksum 08:23:26 f23df028b6ca: Download complete 08:23:26 d65c8cfc05b1: Verifying Checksum 08:23:26 d65c8cfc05b1: Download complete 08:23:26 699f458cf7ca: Verifying Checksum 08:23:26 699f458cf7ca: Download complete 08:23:26 8998bd30e6a1: Verifying Checksum 08:23:26 8998bd30e6a1: Download complete 08:23:29 2437ff75d9bd: Verifying Checksum 08:23:29 2437ff75d9bd: Download complete 08:23:30 8998bd30e6a1: Pull complete 08:23:31 04944245beec: Pull complete 08:23:32 699f458cf7ca: Pull complete 08:23:32 765212b225bb: Pull complete 08:23:33 f23df028b6ca: Pull complete 08:23:33 d65c8cfc05b1: Pull complete 08:23:48 2437ff75d9bd: Pull complete 08:23:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:23:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:23:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:23:48 prd-ubuntu20.04-docker-arm64-4c-16g-1807 does not seem to be running inside a container 08:23:49 $ 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 08:23:51 $ docker top f67809b2b8bf2d09fa2167e92495cad58b5442feb7306ba7253ac7e5b9ed1b5c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:23:52 ---> job-cost.sh 08:23:52 lf-activate-venv: SKIPPING 08:23:52 INFO: No Stack... 08:23:52 INFO: Retrieving Pricing Info for: v3-standard-4 08:23:53 INFO: Archiving Costs [Pipeline] sh 08:23:54 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 08:23:54 + cut -d, -f6 [Pipeline] lock 08:23:54 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-165-1-stack-cost] 08:23:54 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-165-1-stack-cost] did not exist. Created. 08:23:54 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-165-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:23:55 /w/workspace/device-onvif-camera/1@tmp/durable-8c6ca10b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:23:55 + echo total: 0.10999999940395355 [Pipeline] stash 08:23:55 Warning: overwriting stash ‘stack-cost’ 08:23:55 Stashed 1 file(s) [Pipeline] } 08:23:55 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-165-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:23:55 $ docker stop --time=1 f67809b2b8bf2d09fa2167e92495cad58b5442feb7306ba7253ac7e5b9ed1b5c 08:23:57 $ docker rm -f f67809b2b8bf2d09fa2167e92495cad58b5442feb7306ba7253ac7e5b9ed1b5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 08:23:58 provisioning config files... 08:23:58 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-165@tmp/config18212558863740840109tmp [Pipeline] { [Pipeline] sh 08:23:58 + set +x 08:23:58 + curl -s https://codecov.io/bash 08:23:58 + bash -s -- 08:23:58 08:23:58 _____ _ 08:23:58 / ____| | | 08:23:58 | | ___ __| | ___ ___ _____ __ 08:23:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:23:58 | |___| (_) | (_| | __/ (_| (_) \ V / 08:23:58 \_____\___/ \__,_|\___|\___\___/ \_/ 08:23:58 Bash-1.0.6 08:23:58 08:23:58 08:23:58 ==> git version 2.25.1 found 08:23:58 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 08:23:58 Release-Date: 2020-01-08 08:23:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:23:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:23:58 ==> Jenkins CI detected. 08:23:58 current dir:  /w/workspace/undry_device-onvif-camera_PR-165 08:23:58 project root: . 08:23:58 --> token set from env 08:23:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:23:58 ==> Running gcov in . (disable via -X gcov) 08:23:58 ==> Python coveragepy not found 08:23:58 ==> Searching for coverage reports in: 08:23:58 + . 08:23:58 -> Found 1 reports 08:23:58 ==> Detecting git/mercurial file structure 08:23:58 ==> Reading reports 08:23:58 + ./coverage.out bytes=78461 08:23:58 ==> Appending adjustments 08:23:58 https://docs.codecov.io/docs/fixing-reports 08:23:58 + Found adjustments 08:23:58 ==> Gzipping contents 08:23:58 12K /tmp/codecov.RyE4T0.gz 08:23:58 ==> Uploading reports 08:23:58 url: https://codecov.io 08:23:58 query: branch=PR-165&commit=4fecb75244958f6e7e3e674ac9e9e5846ce878c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-165%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=165&job=&cmd_args= 08:23:58 -> Pinging Codecov 08:23:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-165&commit=4fecb75244958f6e7e3e674ac9e9e5846ce878c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-165%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=165&job=&cmd_args= 08:23:59 -> Uploading to 08:23:59 https://storage.googleapis.com/codecov/v4/raw/2022-09-28/F29A59C45E3A92E06B3E522C9905F8EF/4fecb75244958f6e7e3e674ac9e9e5846ce878c9/1551c540-2a41-47fc-a791-1d4a29d35bc2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T082359Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eab8868b294c0d1f933a3c441ad4e68dbf77e1496eac2a6c5797d3b10289c005 08:23:59 % Total % Received % Xferd Average Speed Time Time Time Current 08:23:59 Dload Upload Total Spent Left Speed 08:23:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10764 0 0 100 10764 0 48269 --:--:-- --:--:-- --:--:-- 48486 08:23:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4fecb75244958f6e7e3e674ac9e9e5846ce878c9 [Pipeline] } 08:23:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:24:01 + [ -d /w/workspace/undry_device-onvif-camera_PR-165/archives ] 08:24:01 + ls -al /w/workspace/undry_device-onvif-camera_PR-165/archives 08:24:01 total 16 08:24:01 drwxr-xr-x 3 root root 4096 Sep 28 08:14 . 08:24:01 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 08:14 .. 08:24:01 drwxr-xr-x 2 root root 4096 Sep 28 08:14 cost 08:24:01 -rw-r--r-- 1 root root 91 Sep 28 08:14 cost.csv 08:24:01 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-165/archives 08:24:01 + ls -al /w/workspace/undry_device-onvif-camera_PR-165/archives 08:24:01 total 16 08:24:01 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 08:14 . 08:24:01 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 08:14 .. 08:24:01 drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 08:14 cost 08:24:01 -rw-r--r-- 1 jenkins jenkins 91 Sep 28 08:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:24:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:24:02 ---> package-listing.sh 08:24:02 ++ tr '[:upper:]' '[:lower:]' 08:24:02 ++ facter osfamily 08:24:02 + OS_FAMILY=debian 08:24:02 + workspace=/w/workspace/undry_device-onvif-camera_PR-165 08:24:02 + START_PACKAGES=/tmp/packages_start.txt 08:24:02 + END_PACKAGES=/tmp/packages_end.txt 08:24:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:24:02 + PACKAGES=/tmp/packages_start.txt 08:24:02 + '[' /w/workspace/undry_device-onvif-camera_PR-165 ']' 08:24:02 + PACKAGES=/tmp/packages_end.txt 08:24:02 + case "${OS_FAMILY}" in 08:24:02 + dpkg -l 08:24:02 + grep '^ii' 08:24:02 + '[' -f /tmp/packages_start.txt ']' 08:24:02 + '[' -f /tmp/packages_end.txt ']' 08:24:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:24:02 + '[' /w/workspace/undry_device-onvif-camera_PR-165 ']' 08:24:02 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-165/archives/ 08:24:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-165/archives/ [Pipeline] echo 08:24:02 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-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:24:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:24:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:24:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:24:03 prd-ubuntu20.04-docker-8c-8g-1804 does not seem to be running inside a container 08:24:03 $ 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-165/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-165 -v /w/workspace/undry_device-onvif-camera_PR-165:/w/workspace/undry_device-onvif-camera_PR-165:rw,z -v /w/workspace/undry_device-onvif-camera_PR-165@tmp:/w/workspace/undry_device-onvif-camera_PR-165@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 08:24:04 $ docker top aae64ead648f7d017154bc9a164804abc654a8bdb014dc8e5dff84acb334ea0c -eo pid,comm [Pipeline] { [Pipeline] sh 08:24:04 + touch /tmp/pre-build-complete [Pipeline] sh 08:24:04 + mkdir -p /var/log/sysstat [Pipeline] sh 08:24:05 + ls /var/log/sa-host 08:24:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:24:05 provisioning config files... 08:24:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-165@tmp/config5783909922456478157tmp [Pipeline] { [Pipeline] echo 08:24:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:24:05 ---> create-netrc.sh [Pipeline] } 08:24:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:24:06 ---> python-tools-install.sh [Pipeline] echo 08:24:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:24:06 ---> sudo-logs.sh 08:24:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:24:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:24:06 ---> job-cost.sh 08:24:06 lf-activate-venv: SKIPPING 08:24:06 DEBUG: total: 0.2199999988079071 08:24:06 INFO: Retrieving Stack Cost... 08:24:07 INFO: Retrieving Pricing Info for: v3-standard-8 08:24:07 INFO: Archiving Costs [Pipeline] echo 08:24:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:24:08 ---> logs-deploy.sh 08:24:08 lf-activate-venv: SKIPPING 08:24:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-165/1 08:24:08 INFO: archiving workspace using pattern(s): 08:24:08 Archives upload complete. 08:24:08 INFO: archiving logs to Nexus 08:24:09 ---> uname -a: 08:24:09 Linux prd-ubuntu20-04-docker-8c-8g-1804 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 08:24:09 08:24:09