Pull request #193 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce+9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf (05552b5097d975028a8b1a76773e999ab1b968e5) 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-ssh16146124270573886783.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh1812819423979538129.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-193/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-193/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10484162482962719266.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-193/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18211097664270498489.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh13961047695983322982.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-193/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-193/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2796063205563477018.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-118374’ Running on prd-ubuntu20.04-docker-8c-8g-118378 in /w/workspace/undry_device-onvif-camera_PR-193 [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-193 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf into PR head commit aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce Merge succeeded, producing aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce Checking out Revision aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce (PR-193) > 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/193/head:refs/remotes/origin/PR-193 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce # 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 9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:09:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:09:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:09:51 ========================================================= 03:09:51 EdgeX Global Pipelines Version Info 03:09:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:09:52 ------------------- 03:09:52 stable info: 03:09:52 ------------------- 03:09:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:09:52 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 03:09:52 Message: update stable to v1.0.244 03:09:52 ------------------- 03:09:52 experimental info: 03:09:52 ------------------- 03:09:52 Commited By: **** collab-it+edgex@linuxfoundation.org 03:09:52 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 03:09:52 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:09:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:09:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:09:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:09:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 03:09:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:09:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:09:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:09:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:09:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:09:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-193 [Pipeline] echo 03:09:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-193 [Pipeline] echo 03:09:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-193 [Pipeline] echo 03:09:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce [Pipeline] echo 03:09:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aae0ff1 [Pipeline] echo 03:09:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:09:54 provisioning config files... 03:09:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-193@tmp/config12488372084356509038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:09:55 ---> docker-login.sh 03:09:55 nexus3.edgexfoundry.org:10001 03:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:09:55 Configure a credential helper to remove this warning. See 03:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:09:55 03:09:55 Login Succeeded 03:09:55 nexus3.edgexfoundry.org:10002 03:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:09:55 Configure a credential helper to remove this warning. See 03:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:09:55 03:09:55 Login Succeeded 03:09:55 nexus3.edgexfoundry.org:10003 03:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:09:55 Configure a credential helper to remove this warning. See 03:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:09:55 03:09:55 Login Succeeded 03:09:55 nexus3.edgexfoundry.org:10004 03:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:09:55 Configure a credential helper to remove this warning. See 03:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:09:55 03:09:55 Login Succeeded 03:09:55 docker.io 03:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:09:56 Configure a credential helper to remove this warning. See 03:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:09:56 03:09:56 Login Succeeded 03:09:56 ---> docker-login.sh ends [Pipeline] } 03:09:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:09:56 + git rev-list -1 --merges aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce~1..aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce [Pipeline] echo 03:09:56 -----------> git rev-list -1 --merges aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce~1..aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce [false] [Pipeline] sh 03:09:57 + git log --format=format:%s -1 aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce [Pipeline] echo 03:09:57 ========================================================= 03:09:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:09:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:09:57 + git log --format=format:%s -1 aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce [Pipeline] echo 03:09:57 [semverPrep] GIT_COMMIT: aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 03:09:57 [semverPrep] This is not a build commit. [Pipeline] sh 03:09:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:09:58 + grep -v github /etc/ssh/ssh_known_hosts 03:09:58 + [ -e /tmp/ssh_known_hosts ] 03:09:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:09:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:09:58 + sudo tee -a /etc/ssh/ssh_known_hosts 03:09:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:09:58 03:09:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:09:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:09:58 0.1.4: Pulling from edgex-devops/py-git-semver 03:09:58 b85a868b505f: Pulling fs layer 03:09:58 e2be974225ed: Pulling fs layer 03:09:58 339a4e72a1f5: Pulling fs layer 03:09:58 988bab9f4d93: Pulling fs layer 03:09:58 1469e6f7b9e6: Pulling fs layer 03:09:58 eaf3925da568: Pulling fs layer 03:09:58 bab4dde63d76: Pulling fs layer 03:09:58 bde34c3a00c8: Pulling fs layer 03:09:58 b352a97aabf1: Pulling fs layer 03:09:58 4872d77fe225: Pulling fs layer 03:09:58 5851b861e8e6: Pulling fs layer 03:09:58 bab4dde63d76: Waiting 03:09:58 1469e6f7b9e6: Waiting 03:09:58 eaf3925da568: Waiting 03:09:58 bde34c3a00c8: Waiting 03:09:58 5851b861e8e6: Waiting 03:09:58 4872d77fe225: Waiting 03:09:58 988bab9f4d93: Waiting 03:09:58 e2be974225ed: Verifying Checksum 03:09:58 e2be974225ed: Download complete 03:09:58 988bab9f4d93: Verifying Checksum 03:09:58 988bab9f4d93: Download complete 03:09:59 339a4e72a1f5: Verifying Checksum 03:09:59 339a4e72a1f5: Download complete 03:09:59 1469e6f7b9e6: Verifying Checksum 03:09:59 1469e6f7b9e6: Download complete 03:09:59 eaf3925da568: Verifying Checksum 03:09:59 eaf3925da568: Download complete 03:09:59 bde34c3a00c8: Verifying Checksum 03:09:59 bde34c3a00c8: Download complete 03:09:59 b352a97aabf1: Verifying Checksum 03:09:59 b352a97aabf1: Download complete 03:09:59 4872d77fe225: Verifying Checksum 03:09:59 4872d77fe225: Download complete 03:09:59 5851b861e8e6: Download complete 03:09:59 b85a868b505f: Verifying Checksum 03:09:59 b85a868b505f: Download complete 03:09:59 bab4dde63d76: Verifying Checksum 03:09:59 bab4dde63d76: Download complete 03:10:00 b85a868b505f: Pull complete 03:10:00 e2be974225ed: Pull complete 03:10:01 339a4e72a1f5: Pull complete 03:10:01 988bab9f4d93: Pull complete 03:10:01 1469e6f7b9e6: Pull complete 03:10:01 eaf3925da568: Pull complete 03:10:03 bab4dde63d76: Pull complete 03:10:03 bde34c3a00c8: Pull complete 03:10:03 b352a97aabf1: Pull complete 03:10:03 4872d77fe225: Pull complete 03:10:03 5851b861e8e6: Pull complete 03:10:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:10:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:10:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:03 prd-ubuntu20.04-docker-8c-8g-118378 does not seem to be running inside a container 03:10:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-193 -v /w/workspace/undry_device-onvif-camera_PR-193:/w/workspace/undry_device-onvif-camera_PR-193:rw,z -v /w/workspace/undry_device-onvif-camera_PR-193@tmp:/w/workspace/undry_device-onvif-camera_PR-193@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:10:05 $ docker top a4c7ef4f4972802ea6021fb13bd00414e26980e0edc3026c450b39d919d11a3c -eo pid,comm 03:10:05 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). 03:10:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:10:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:10:05 [ssh-agent] Looking for ssh-agent implementation... 03:10:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:10:05 $ docker exec a4c7ef4f4972802ea6021fb13bd00414e26980e0edc3026c450b39d919d11a3c ssh-agent 03:10:05 SSH_AUTH_SOCK=/tmp/ssh-nSqAjCGSb4EV/agent.33 03:10:05 SSH_AGENT_PID=39 03:10:05 Running ssh-add (command line suppressed) 03:10:05 Identity added: /w/workspace/undry_device-onvif-camera_PR-193@tmp/private_key_10886906025283036587.key (/w/workspace/undry_device-onvif-camera_PR-193@tmp/private_key_10886906025283036587.key) 03:10:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:10:06 + git tag --points-at HEAD [Pipeline] } 03:10:06 $ docker exec --env ******** --env ******** a4c7ef4f4972802ea6021fb13bd00414e26980e0edc3026c450b39d919d11a3c ssh-agent -k 03:10:06 unset SSH_AUTH_SOCK; 03:10:06 unset SSH_AGENT_PID; 03:10:06 echo Agent pid 39 killed; 03:10:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:10:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:10:06 [ssh-agent] Looking for ssh-agent implementation... 03:10:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:10:06 $ docker exec a4c7ef4f4972802ea6021fb13bd00414e26980e0edc3026c450b39d919d11a3c ssh-agent 03:10:06 SSH_AUTH_SOCK=/tmp/ssh-35zcyLjVIJEE/agent.71 03:10:06 SSH_AGENT_PID=77 03:10:06 Running ssh-add (command line suppressed) 03:10:06 Identity added: /w/workspace/undry_device-onvif-camera_PR-193@tmp/private_key_17555728671457504846.key (/w/workspace/undry_device-onvif-camera_PR-193@tmp/private_key_17555728671457504846.key) 03:10:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:10:07 + git semver init 03:10:07 2022-11-07 03:10:07,258 [run_init] DEBUG init version:0.0.0 force:False 03:10:07 2022-11-07 03:10:07,259 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-193/.semver 03:10:07 2022-11-07 03:10:07,260 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-193/.semver 03:10:07 2022-11-07 03:10:07,260 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-193/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-193, universal_newlines=False, shell=None, istream=None) 03:10:08 2022-11-07 03:10:08,335 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-193/.git/info/exclude 03:10:08 2022-11-07 03:10:08,336 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-193/.semver/PR-193 with force:False 03:10:08 2022-11-07 03:10:08,336 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-193/.semver/PR-193 03:10:08 2022-11-07 03:10:08,340 [execute] INFO git cat-file --batch-check 03:10:08 2022-11-07 03:10:08,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-193/.semver, universal_newlines=False, shell=None, istream=) 03:10:08 2022-11-07 03:10:08,346 [execute] INFO git cat-file --batch 03:10:08 2022-11-07 03:10:08,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-193/.semver, universal_newlines=False, shell=None, istream=) 03:10:08 2022-11-07 03:10:08,351 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-193/.semver/PR-193 03:10:08 0.0.0 [Pipeline] } 03:10:08 $ docker exec --env ******** --env ******** a4c7ef4f4972802ea6021fb13bd00414e26980e0edc3026c450b39d919d11a3c ssh-agent -k 03:10:08 unset SSH_AUTH_SOCK; 03:10:08 unset SSH_AGENT_PID; 03:10:08 echo Agent pid 77 killed; 03:10:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:10:09 + git semver [Pipeline] } 03:10:09 $ docker stop --time=1 a4c7ef4f4972802ea6021fb13bd00414e26980e0edc3026c450b39d919d11a3c 03:10:10 $ docker rm -f a4c7ef4f4972802ea6021fb13bd00414e26980e0edc3026c450b39d919d11a3c [Pipeline] // withDockerContainer [Pipeline] sh 03:10:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:10:11 Stashed 1 file(s) [Pipeline] echo 03:10:11 [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 03:10:12 provisioning config files... 03:10:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-193@tmp/config2438064268638316172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:10:12 ---> docker-login.sh 03:10:12 nexus3.edgexfoundry.org:10001 03:10:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:12 Configure a credential helper to remove this warning. See 03:10:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:12 03:10:12 Login Succeeded 03:10:12 nexus3.edgexfoundry.org:10002 03:10:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:12 Configure a credential helper to remove this warning. See 03:10:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:12 03:10:12 Login Succeeded 03:10:12 nexus3.edgexfoundry.org:10003 03:10:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:12 Configure a credential helper to remove this warning. See 03:10:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:12 03:10:12 Login Succeeded 03:10:12 nexus3.edgexfoundry.org:10004 03:10:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:12 Configure a credential helper to remove this warning. See 03:10:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:12 03:10:12 Login Succeeded 03:10:12 docker.io 03:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:13 Configure a credential helper to remove this warning. See 03:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:13 03:10:13 Login Succeeded 03:10:13 ---> docker-login.sh ends [Pipeline] } 03:10:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:10:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:10:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:10:13 ========================================================= 03:10:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:10:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:14 + 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 . 03:10:14 Sending build context to Docker daemon 27.56MB 03:10:14 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:10:14 Step 2/13 : FROM ${BASE} AS builder 03:10:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:10:14 213ec9aee27d: Pulling fs layer 03:10:14 4583459ba037: Pulling fs layer 03:10:14 93c1e223e6f2: Pulling fs layer 03:10:14 53926ce57604: Pulling fs layer 03:10:14 21b2b0c7a3f4: Pulling fs layer 03:10:14 22ff95d597cd: Pulling fs layer 03:10:14 12d6caf4c0d1: Pulling fs layer 03:10:14 96b7cbca73a9: Pulling fs layer 03:10:14 a7acece74701: Pulling fs layer 03:10:14 53926ce57604: Waiting 03:10:14 21b2b0c7a3f4: Waiting 03:10:14 22ff95d597cd: Waiting 03:10:14 96b7cbca73a9: Waiting 03:10:14 a7acece74701: Waiting 03:10:14 12d6caf4c0d1: Waiting 03:10:14 93c1e223e6f2: Verifying Checksum 03:10:14 93c1e223e6f2: Download complete 03:10:14 4583459ba037: Download complete 03:10:14 21b2b0c7a3f4: Download complete 03:10:14 22ff95d597cd: Verifying Checksum 03:10:14 22ff95d597cd: Download complete 03:10:14 213ec9aee27d: Verifying Checksum 03:10:14 213ec9aee27d: Download complete 03:10:14 12d6caf4c0d1: Download complete 03:10:14 213ec9aee27d: Pull complete 03:10:14 4583459ba037: Pull complete 03:10:14 93c1e223e6f2: Pull complete 03:10:14 a7acece74701: Verifying Checksum 03:10:14 a7acece74701: Download complete 03:10:15 96b7cbca73a9: Verifying Checksum 03:10:15 96b7cbca73a9: Download complete 03:10:15 53926ce57604: Verifying Checksum 03:10:15 53926ce57604: Download complete 03:10:18 53926ce57604: Pull complete 03:10:18 21b2b0c7a3f4: Pull complete 03:10:18 22ff95d597cd: Pull complete 03:10:18 12d6caf4c0d1: Pull complete 03:10:20 96b7cbca73a9: Pull complete 03:10:21 a7acece74701: Pull complete 03:10:21 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 03:10:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:10:21 ---> db6d94c90886 03:10:21 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:10:23 ---> Running in 06175ce32905 03:10:23 Removing intermediate container 06175ce32905 03:10:23 ---> ddb060cf6f0f 03:10:23 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:10:23 ---> Running in f0ce94091f91 03:10:23 Removing intermediate container f0ce94091f91 03:10:23 ---> e7ad545187a3 03:10:23 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:10:23 ---> Running in 743a35752992 03:10:23 Removing intermediate container 743a35752992 03:10:23 ---> d527ce7d6faf 03:10:23 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:10:23 ---> Running in 14038f7a62a7 03:10:23 Removing intermediate container 14038f7a62a7 03:10:23 ---> 7c6055810973 03:10:23 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:10:24 ---> Running in b57b6fdb84e3 03:10:24 Removing intermediate container b57b6fdb84e3 03:10:24 ---> 7c01abbdd6dd 03:10:24 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:10:24 ---> Running in 49b0177fd4e8 03:10:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:10:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:10:24 OK: 211 MiB in 51 packages 03:10:25 Removing intermediate container 49b0177fd4e8 03:10:25 ---> 02ce02849dac 03:10:25 Step 9/13 : WORKDIR /device-onvif-camera 03:10:25 ---> Running in ad59b9776c02 03:10:25 Removing intermediate container ad59b9776c02 03:10:25 ---> ab9af9e462aa 03:10:25 Step 10/13 : COPY go.mod vendor* ./ 03:10:25 ---> 7ef1b4303615 03:10:25 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:10:25 ---> Running in ef0a3944f99c 03:10:26 Still waiting to schedule task 03:10:26 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118377’ 03:10:43 Removing intermediate container ef0a3944f99c 03:10:43 ---> dbcb30f8364c 03:10:43 Step 12/13 : COPY . . 03:10:43 ---> aa0522f50d58 03:10:43 Step 13/13 : RUN ${MAKE} 03:10:43 ---> Running in 200f53a1cdca 03:10:43 noop 03:10:43 Removing intermediate container 200f53a1cdca 03:10:43 ---> 5d5d5972bd2c 03:10:43 Successfully built 5d5d5972bd2c 03:10:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:44 + docker inspect -f . ci-base-image-x86_64 03:10:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:44 prd-ubuntu20.04-docker-8c-8g-118378 does not seem to be running inside a container 03:10:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-193 -v /w/workspace/undry_device-onvif-camera_PR-193:/w/workspace/undry_device-onvif-camera_PR-193:rw,z -v /w/workspace/undry_device-onvif-camera_PR-193@tmp:/w/workspace/undry_device-onvif-camera_PR-193@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 ******** ci-base-image-x86_64 cat 03:10:44 $ docker top 0de1e8fee988f001c4b18b7a8789951843278c4ab15d8aa36468aaaf185f7cb3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:10:44 + go version 03:10:44 go version go1.18.7 linux/amd64 [Pipeline] } 03:10:45 $ docker stop --time=1 0de1e8fee988f001c4b18b7a8789951843278c4ab15d8aa36468aaaf185f7cb3 03:10:46 $ docker rm -f 0de1e8fee988f001c4b18b7a8789951843278c4ab15d8aa36468aaaf185f7cb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:46 + docker inspect -f . ci-base-image-x86_64 03:10:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:47 prd-ubuntu20.04-docker-8c-8g-118378 does not seem to be running inside a container 03:10:47 $ 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-193 -v /w/workspace/undry_device-onvif-camera_PR-193:/w/workspace/undry_device-onvif-camera_PR-193:rw,z -v /w/workspace/undry_device-onvif-camera_PR-193@tmp:/w/workspace/undry_device-onvif-camera_PR-193@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 ******** ci-base-image-x86_64 cat 03:10:47 $ docker top cae0b1c951b01c4d1f3bec9f020a0cd69a54bbc873b4e6fac940d9c8953132f8 -eo pid,comm [Pipeline] { [Pipeline] sh 03:10:47 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-193 [Pipeline] fileExists [Pipeline] sh 03:10:48 + make test 03:10:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:10:48 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:10:58 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:11:01 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 29.3% of statements 03:11:01 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:11:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.373s coverage: 86.5% of statements 03:11:08 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." 03:11:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:11:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:11:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:11:11 ./bin/test-attribution-txt.sh [Pipeline] echo 03:11:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:11:11 $ docker stop --time=1 cae0b1c951b01c4d1f3bec9f020a0cd69a54bbc873b4e6fac940d9c8953132f8 03:11:13 $ docker rm -f cae0b1c951b01c4d1f3bec9f020a0cd69a54bbc873b4e6fac940d9c8953132f8 [Pipeline] // withDockerContainer [Pipeline] sh 03:11:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:11:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:11:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:11:14 + ls -al . 03:11:14 total 248 03:11:14 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 03:10 . 03:11:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 03:09 .. 03:11:14 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 03:11 .git 03:11:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 03:09 .github 03:11:14 -rw-rw-r-- 1 jenkins jenkins 496 Nov 7 03:09 .gitignore 03:11:14 -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 03:09 .golangci.yml 03:11:14 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 03:10 .semver 03:11:14 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 7 03:09 Attribution.txt 03:11:14 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 7 03:09 CHANGELOG.md 03:11:14 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 7 03:09 Dockerfile 03:11:14 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 03:09 GOVERNANCE.md 03:11:14 -rw-rw-r-- 1 jenkins jenkins 734 Nov 7 03:09 Jenkinsfile 03:11:14 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 7 03:09 LICENSE 03:11:14 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 7 03:09 Makefile 03:11:14 -rw-rw-r-- 1 jenkins jenkins 625 Nov 7 03:09 OWNERS.md 03:11:14 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 7 03:09 README.md 03:11:14 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 03:10 VERSION 03:11:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 03:09 bin 03:11:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 03:09 cmd 03:11:14 -rw-r--r-- 1 jenkins jenkins 79184 Nov 7 03:11 coverage.out 03:11:14 drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 03:09 doc 03:11:14 -rw-rw-r-- 1 jenkins jenkins 3694 Nov 7 03:09 go.mod 03:11:14 -rw-rw-r-- 1 jenkins jenkins 46119 Nov 7 03:09 go.sum 03:11:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 03:09 internal 03:11:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 03:09 snap 03:11:14 -rw-rw-r-- 1 jenkins jenkins 236 Nov 7 03:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:15 + 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=aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce --label arch=amd64 --label version=0.0.0 . 03:11:15 Sending build context to Docker daemon 27.64MB 03:11:15 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 03:11:15 Step 2/26 : FROM ${BASE} AS builder 03:11:15 ---> 5d5d5972bd2c 03:11:15 Step 3/26 : ARG ADD_BUILD_TAGS="" 03:11:15 ---> Running in 46b80e6131b0 03:11:15 Removing intermediate container 46b80e6131b0 03:11:15 ---> e1dbcec25371 03:11:15 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:11:15 ---> Running in e70097c5aa14 03:11:15 Removing intermediate container e70097c5aa14 03:11:15 ---> fc1095cac000 03:11:15 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:11:15 ---> Running in fb88d1acc9e4 03:11:15 Removing intermediate container fb88d1acc9e4 03:11:15 ---> 68670bed160d 03:11:15 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 03:11:15 ---> Running in e8bac809e0fa 03:11:16 Removing intermediate container e8bac809e0fa 03:11:16 ---> a891d18d22c2 03:11:16 Step 7/26 : LABEL Name=edgex-device-onvif-camera 03:11:16 ---> Running in 7080349ed794 03:11:16 Removing intermediate container 7080349ed794 03:11:16 ---> ffb4a6355aca 03:11:16 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:11:16 ---> Running in b4dcf6ed31fe 03:11:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:11:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:11:16 OK: 211 MiB in 51 packages 03:11:17 Removing intermediate container b4dcf6ed31fe 03:11:17 ---> 215f0e19a807 03:11:17 Step 9/26 : WORKDIR /device-onvif-camera 03:11:17 ---> Running in 2a908ab29dda 03:11:17 Removing intermediate container 2a908ab29dda 03:11:17 ---> 2fb704fccddc 03:11:17 Step 10/26 : COPY go.mod vendor* ./ 03:11:17 ---> 3b5e1173c74f 03:11:17 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:11:17 ---> Running in bec74543a3f3 03:11:18 Removing intermediate container bec74543a3f3 03:11:18 ---> 2584be2cfd40 03:11:18 Step 12/26 : COPY . . 03:11:18 ---> 4d180e67e031 03:11:18 Step 13/26 : RUN ${MAKE} 03:11:18 ---> Running in bb3cc716f246 03:11:19 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 03:11:41 Removing intermediate container bb3cc716f246 03:11:41 ---> 167500ca60dd 03:11:41 Step 14/26 : FROM alpine:3.16 03:11:41 3.16: Pulling from library/alpine 03:11:41 213ec9aee27d: Already exists 03:11:41 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:11:41 Status: Downloaded newer image for alpine:3.16 03:11:41 ---> 9c6f07244728 03:11:41 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:11:41 ---> Running in 9d1886c63bf4 03:11:41 Removing intermediate container 9d1886c63bf4 03:11:41 ---> 6155f736b510 03:11:41 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 03:11:41 ---> Running in 7d2021ee7759 03:11:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:11:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:11:41 (1/6) Installing dumb-init (1.2.5-r1) 03:11:41 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:11:41 (3/6) Installing libsodium (1.0.18-r0) 03:11:41 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:11:41 (5/6) Installing libzmq (4.3.4-r0) 03:11:41 (6/6) Installing zeromq (4.3.4-r0) 03:11:41 Executing busybox-1.35.0-r17.trigger 03:11:41 OK: 8 MiB in 20 packages 03:11:41 Removing intermediate container 7d2021ee7759 03:11:41 ---> fab8672e5a49 03:11:41 Step 17/26 : WORKDIR / 03:11:41 ---> Running in 63fa4e6c0ef0 03:11:41 Removing intermediate container 63fa4e6c0ef0 03:11:41 ---> 7a07bb1e261c 03:11:41 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:11:41 ---> 1076bcb93c4c 03:11:41 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:11:41 ---> e57ec5ce123d 03:11:41 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:11:41 ---> 8606416f2e9f 03:11:41 Step 21/26 : EXPOSE 59984 03:11:41 ---> Running in bfd9a9fcd175 03:11:41 Removing intermediate container bfd9a9fcd175 03:11:41 ---> dd353bb42edb 03:11:41 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:11:41 ---> Running in 29f364e94ee5 03:11:42 Removing intermediate container 29f364e94ee5 03:11:42 ---> f1bef7ee1473 03:11:42 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:11:42 ---> Running in 183bcb9ab581 03:11:42 Removing intermediate container 183bcb9ab581 03:11:42 ---> 63e4e66eb7f6 03:11:42 Step 24/26 : LABEL arch=amd64 03:11:42 ---> Running in cc54bd92690b 03:11:42 Removing intermediate container cc54bd92690b 03:11:42 ---> 0ee8df00b4a1 03:11:42 Step 25/26 : LABEL git_sha=aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce 03:11:42 ---> Running in baa671f7bd4f 03:11:42 Removing intermediate container baa671f7bd4f 03:11:42 ---> 8f20f128c186 03:11:42 Step 26/26 : LABEL version=0.0.0 03:11:42 ---> Running in d228a49bc037 03:11:42 Removing intermediate container d228a49bc037 03:11:42 ---> 9b44edf968bf 03:11:42 [Warning] One or more build-args [ARCH] were not consumed 03:11:42 Successfully built 9b44edf968bf 03:11:42 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 03:11:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:11:43 03:11:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:11:43 latest: Pulling from edgex-lftools-log-publisher 03:11:43 5eb5b503b376: Pulling fs layer 03:11:43 5c69ac0246d0: Pulling fs layer 03:11:43 ec43610c2a17: Pulling fs layer 03:11:43 3a2ae6a8a46f: Pulling fs layer 03:11:43 33b1e0a273af: Pulling fs layer 03:11:43 5d3b04190fa2: Pulling fs layer 03:11:43 2f39f015ded8: Pulling fs layer 03:11:43 3a2ae6a8a46f: Waiting 03:11:43 33b1e0a273af: Waiting 03:11:43 2f39f015ded8: Waiting 03:11:43 5c69ac0246d0: Verifying Checksum 03:11:43 5c69ac0246d0: Download complete 03:11:43 3a2ae6a8a46f: Verifying Checksum 03:11:43 3a2ae6a8a46f: Download complete 03:11:43 33b1e0a273af: Verifying Checksum 03:11:43 33b1e0a273af: Download complete 03:11:43 ec43610c2a17: Verifying Checksum 03:11:43 ec43610c2a17: Download complete 03:11:43 5d3b04190fa2: Verifying Checksum 03:11:43 5d3b04190fa2: Download complete 03:11:43 5eb5b503b376: Verifying Checksum 03:11:43 5eb5b503b376: Download complete 03:11:44 2f39f015ded8: Download complete 03:11:45 5eb5b503b376: Pull complete 03:11:45 5c69ac0246d0: Pull complete 03:11:45 ec43610c2a17: Pull complete 03:11:45 3a2ae6a8a46f: Pull complete 03:11:45 33b1e0a273af: Pull complete 03:11:45 5d3b04190fa2: Pull complete 03:11:50 2f39f015ded8: Pull complete 03:11:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:11:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:11:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:11:50 prd-ubuntu20.04-docker-8c-8g-118378 does not seem to be running inside a container 03:11:50 $ 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-193 -v /w/workspace/undry_device-onvif-camera_PR-193:/w/workspace/undry_device-onvif-camera_PR-193:rw,z -v /w/workspace/undry_device-onvif-camera_PR-193@tmp:/w/workspace/undry_device-onvif-camera_PR-193@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-lftools-log-publisher:latest cat 03:11:52 $ docker top a04735254034f35ec1bf3a80cd0508900d3b95250e0834736a1e39afb8b7b7d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:11:53 ---> job-cost.sh 03:11:53 lf-activate-venv: SKIPPING 03:11:53 INFO: No Stack... 03:11:53 INFO: Retrieving Pricing Info for: v3-standard-8 03:11:53 INFO: Archiving Costs [Pipeline] sh 03:11:53 + + cut -d, -f6 03:11:53 cat /w/workspace/undry_device-onvif-camera_PR-193/archives/cost.csv [Pipeline] lock 03:11:53 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-193-1-stack-cost] 03:11:53 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-193-1-stack-cost] did not exist. Created. 03:11:53 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-193-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:11:54 + echo total: 0.2199999988079071 [Pipeline] stash 03:11:54 Stashed 1 file(s) [Pipeline] } 03:11:54 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-193-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:11:54 $ docker stop --time=1 a04735254034f35ec1bf3a80cd0508900d3b95250e0834736a1e39afb8b7b7d8 03:11:55 $ docker rm -f a04735254034f35ec1bf3a80cd0508900d3b95250e0834736a1e39afb8b7b7d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:12:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118381 in /w/workspace/undry_device-onvif-camera_PR-193 [Pipeline] { [Pipeline] ws 03:12:51 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:12:51 The recommended git tool is: git 03:12:56 using credential edgex-jenkins-ssh 03:12:56 Cloning the remote Git repository 03:12:56 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:12:56 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:12:56 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:12:56 > git --version # timeout=10 03:12:56 > git --version # 'git version 2.25.1' 03:12:56 using GIT_SSH to set credentials SSH Credentials for GitHub 03:12:56 Verifying host key using known hosts file 03:12:57 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. 03:12:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:12:58 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:12:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:12:59 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:13:00 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:13:00 using GIT_SSH to set credentials SSH Credentials for GitHub 03:13:00 Verifying host key using known hosts file 03:13:00 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. 03:13:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/193/head:refs/remotes/origin/PR-193 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:13:00 Merging remotes/origin/main commit 9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf into PR head commit aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce 03:13:01 Merge succeeded, producing aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce 03:13:01 Checking out Revision aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce (PR-193) 03:13:00 > git config core.sparsecheckout # timeout=10 03:13:00 > git checkout -f aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce # timeout=10 03:13:01 > git remote # timeout=10 03:13:01 > git config --get remote.origin.url # timeout=10 03:13:01 using GIT_SSH to set credentials SSH Credentials for GitHub 03:13:01 Verifying host key using known hosts file 03:13:01 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. 03:13:01 > git merge 9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf # timeout=10 03:13:01 > git rev-parse HEAD^{commit} # timeout=10 03:13:01 > git config core.sparsecheckout # timeout=10 03:13:01 > git checkout -f aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce # timeout=10 03:13:02 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" 03:13:02 > git --version # timeout=10 03:13:02 > git --version # 'git version 2.25.1' 03:13:02 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:13:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:13:03 % Total % Received % Xferd Average Speed Time Time Time Current 03:13:03 Dload Upload Total Spent Left Speed 03:13:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85727 0 --:--:-- --:--:-- --:--:-- 85727 [Pipeline] sh 03:13:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:13:04 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:13:04 sudo tee /etc/docker/daemon.new 03:13:04 { 03:13:04 "registry-mirrors": [ 03:13:04 "https://nexus3.edgexfoundry.org:10001" 03:13:04 ], 03:13:04 "bip": "10.250.0.254/24", 03:13:04 "hosts": [ 03:13:04 "tcp://0.0.0.0:5555", 03:13:04 "unix:///var/run/docker.sock" 03:13:04 ], 03:13:04 "mtu": 1458, 03:13:04 "selinux-enabled": true, 03:13:04 "seccomp-profile": "/etc/docker/seccomp.json" 03:13:04 } [Pipeline] sh 03:13:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:13:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:13:23 provisioning config files... 03:13:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config11043381036173825842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:13:23 ---> docker-login.sh 03:13:23 nexus3.edgexfoundry.org:10001 03:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:24 Configure a credential helper to remove this warning. See 03:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:24 03:13:24 Login Succeeded 03:13:24 nexus3.edgexfoundry.org:10002 03:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:24 Configure a credential helper to remove this warning. See 03:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:24 03:13:24 Login Succeeded 03:13:24 nexus3.edgexfoundry.org:10003 03:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:25 Configure a credential helper to remove this warning. See 03:13:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:25 03:13:25 Login Succeeded 03:13:25 nexus3.edgexfoundry.org:10004 03:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:25 Configure a credential helper to remove this warning. See 03:13:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:25 03:13:25 Login Succeeded 03:13:25 docker.io 03:13:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:13:26 Configure a credential helper to remove this warning. See 03:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:13:26 03:13:26 Login Succeeded 03:13:26 ---> docker-login.sh ends [Pipeline] } 03:13:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:13:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:13:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:13:26 ========================================================= 03:13:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:13:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:26 + 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 . 03:13:27 Sending build context to Docker daemon 20.47MB 03:13:27 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:13:27 Step 2/13 : FROM ${BASE} AS builder 03:13:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:13:27 9b18e9b68314: Pulling fs layer 03:13:27 35d82f9e3411: Pulling fs layer 03:13:27 e16973657156: Pulling fs layer 03:13:27 fc693d55d65f: Pulling fs layer 03:13:27 7e9fc2657dce: Pulling fs layer 03:13:27 dda99020689f: Pulling fs layer 03:13:27 fc693d55d65f: Waiting 03:13:27 7e9fc2657dce: Waiting 03:13:27 db1c61fa0a46: Pulling fs layer 03:13:27 891c053d2c06: Pulling fs layer 03:13:27 dda99020689f: Waiting 03:13:27 db1c61fa0a46: Waiting 03:13:27 e16973657156: Verifying Checksum 03:13:27 e16973657156: Download complete 03:13:27 35d82f9e3411: Verifying Checksum 03:13:27 35d82f9e3411: Download complete 03:13:27 7e9fc2657dce: Download complete 03:13:27 dda99020689f: Verifying Checksum 03:13:27 dda99020689f: Download complete 03:13:27 9b18e9b68314: Verifying Checksum 03:13:27 9b18e9b68314: Download complete 03:13:28 9b18e9b68314: Pull complete 03:13:28 891c053d2c06: Verifying Checksum 03:13:28 891c053d2c06: Download complete 03:13:29 35d82f9e3411: Pull complete 03:13:29 e16973657156: Pull complete 03:13:29 db1c61fa0a46: Verifying Checksum 03:13:29 db1c61fa0a46: Download complete 03:13:30 fc693d55d65f: Verifying Checksum 03:13:30 fc693d55d65f: Download complete 03:13:42 fc693d55d65f: Pull complete 03:13:42 7e9fc2657dce: Pull complete 03:13:42 dda99020689f: Pull complete 03:13:48 db1c61fa0a46: Pull complete 03:13:50 891c053d2c06: Pull complete 03:13:50 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 03:13:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:13:50 ---> f96f9c87975a 03:13:50 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:13:52 ---> Running in 3ba81ff63e6b 03:13:52 Removing intermediate container 3ba81ff63e6b 03:13:52 ---> 5d975459036f 03:13:52 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:13:52 ---> Running in 242ec35e9a0f 03:13:52 Removing intermediate container 242ec35e9a0f 03:13:52 ---> 0812463d1767 03:13:52 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:13:52 ---> Running in 000746c09d21 03:13:53 Removing intermediate container 000746c09d21 03:13:53 ---> 01159f4c3a4c 03:13:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:13:53 ---> Running in ab02add9ec83 03:13:53 Removing intermediate container ab02add9ec83 03:13:53 ---> 4c72603d73f8 03:13:53 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:13:53 ---> Running in 097bfed5d98a 03:13:53 Removing intermediate container 097bfed5d98a 03:13:53 ---> a4cc0a424bff 03:13:53 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:13:54 ---> Running in 7f93e0595cf8 03:13:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:13:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:13:56 OK: 221 MiB in 51 packages 03:13:57 Removing intermediate container 7f93e0595cf8 03:13:57 ---> cf743a4927fd 03:13:57 Step 9/13 : WORKDIR /device-onvif-camera 03:13:57 ---> Running in d3f5c41be99d 03:13:57 Removing intermediate container d3f5c41be99d 03:13:57 ---> 616cc68dca33 03:13:57 Step 10/13 : COPY go.mod vendor* ./ 03:13:58 ---> d4b2b4e2a07b 03:13:58 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:13:58 ---> Running in 4d1449b1b6de 03:14:54 Removing intermediate container 4d1449b1b6de 03:14:54 ---> 2fb27cefa7c1 03:14:54 Step 12/13 : COPY . . 03:14:54 ---> 066a86748b48 03:14:54 Step 13/13 : RUN ${MAKE} 03:14:54 ---> Running in 23b0bc908c3c 03:14:54 noop 03:14:55 Removing intermediate container 23b0bc908c3c 03:14:55 ---> a09104ebe431 03:14:55 Successfully built a09104ebe431 03:14:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:56 + docker inspect -f . ci-base-image-arm64 03:14:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:14:56 prd-ubuntu20.04-docker-arm64-4c-16g-118381 does not seem to be running inside a container 03:14:56 $ 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 ******** ci-base-image-arm64 cat 03:14:57 $ docker top 8594b56c59578db00710fbf7dcf5bd169ca3cc5c544824e878f9c3ad61fee3df -eo pid,comm [Pipeline] { [Pipeline] sh 03:14:58 + go version 03:14:58 go version go1.18.7 linux/arm64 [Pipeline] } 03:14:58 $ docker stop --time=1 8594b56c59578db00710fbf7dcf5bd169ca3cc5c544824e878f9c3ad61fee3df 03:15:00 $ docker rm -f 8594b56c59578db00710fbf7dcf5bd169ca3cc5c544824e878f9c3ad61fee3df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:01 + docker inspect -f . ci-base-image-arm64 03:15:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:15:01 prd-ubuntu20.04-docker-arm64-4c-16g-118381 does not seem to be running inside a container 03:15:01 $ 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 ******** ci-base-image-arm64 cat 03:15:02 $ docker top e8b8ab624c98949be07ac98f3c511a6f09b45ff81ab45d7e2461cc67a563d2b7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:15:03 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:15:04 + make test 03:15:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:15:06 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:16:42 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:16:53 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.207s coverage: 29.3% of statements 03:16:53 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:17:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.665s coverage: 86.5% of statements 03:17:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:17:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:17:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:17:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:17:43 ./bin/test-attribution-txt.sh [Pipeline] echo 03:17:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:17:43 $ docker stop --time=1 e8b8ab624c98949be07ac98f3c511a6f09b45ff81ab45d7e2461cc67a563d2b7 03:17:45 $ docker rm -f e8b8ab624c98949be07ac98f3c511a6f09b45ff81ab45d7e2461cc67a563d2b7 [Pipeline] // withDockerContainer [Pipeline] sh 03:17:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:17:49 Warning: overwriting stash ‘coverage-report’ 03:17:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:17:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:17:50 + ls -al . 03:17:50 total 244 03:17:50 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 03:15 . 03:17:50 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 03:12 .. 03:17:50 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 03:13 .git 03:17:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 03:13 .github 03:17:50 -rw-rw-r-- 1 jenkins jenkins 496 Nov 7 03:13 .gitignore 03:17:50 -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 03:13 .golangci.yml 03:17:50 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 7 03:13 Attribution.txt 03:17:50 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 7 03:13 CHANGELOG.md 03:17:50 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 7 03:13 Dockerfile 03:17:50 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 03:13 GOVERNANCE.md 03:17:50 -rw-rw-r-- 1 jenkins jenkins 734 Nov 7 03:13 Jenkinsfile 03:17:50 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 7 03:13 LICENSE 03:17:50 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 7 03:13 Makefile 03:17:50 -rw-rw-r-- 1 jenkins jenkins 625 Nov 7 03:13 OWNERS.md 03:17:50 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 7 03:13 README.md 03:17:50 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 03:10 VERSION 03:17:50 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 03:13 bin 03:17:50 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 03:13 cmd 03:17:50 -rw-r--r-- 1 jenkins jenkins 79184 Nov 7 03:17 coverage.out 03:17:50 drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 03:13 doc 03:17:50 -rw-rw-r-- 1 jenkins jenkins 3694 Nov 7 03:13 go.mod 03:17:50 -rw-rw-r-- 1 jenkins jenkins 46119 Nov 7 03:13 go.sum 03:17:50 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 03:13 internal 03:17:50 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 03:13 snap 03:17:50 -rw-rw-r-- 1 jenkins jenkins 236 Nov 7 03:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:50 + 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=aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce --label arch=arm64 --label version=0.0.0 . 03:17:51 Sending build context to Docker daemon 20.55MB 03:17:51 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 03:17:51 Step 2/26 : FROM ${BASE} AS builder 03:17:51 ---> a09104ebe431 03:17:51 Step 3/26 : ARG ADD_BUILD_TAGS="" 03:17:52 ---> Running in aeb5c6661f28 03:17:52 Removing intermediate container aeb5c6661f28 03:17:52 ---> d4f44709700d 03:17:52 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:17:52 ---> Running in c607b230eda8 03:17:52 Removing intermediate container c607b230eda8 03:17:52 ---> f87a20edf1cb 03:17:52 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 03:17:53 ---> Running in 3b9f7db76082 03:17:53 Removing intermediate container 3b9f7db76082 03:17:53 ---> a9d46a17c7ef 03:17:53 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 03:17:53 ---> Running in d2d098e170b6 03:17:54 Removing intermediate container d2d098e170b6 03:17:54 ---> 1b1622afea74 03:17:54 Step 7/26 : LABEL Name=edgex-device-onvif-camera 03:17:54 ---> Running in 35d9b93a9849 03:17:54 Removing intermediate container 35d9b93a9849 03:17:54 ---> a6a7e030e386 03:17:54 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:17:54 ---> Running in 8bccb81462b7 03:17:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:17:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:17:57 OK: 221 MiB in 51 packages 03:17:58 Removing intermediate container 8bccb81462b7 03:17:58 ---> fd20c5f2ac1e 03:17:58 Step 9/26 : WORKDIR /device-onvif-camera 03:17:58 ---> Running in 15428714dbc7 03:17:59 Removing intermediate container 15428714dbc7 03:17:59 ---> 66e84a85c150 03:17:59 Step 10/26 : COPY go.mod vendor* ./ 03:17:59 ---> 83c128aa2cbc 03:17:59 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:17:59 ---> Running in 21c91dbb4635 03:18:05 Removing intermediate container 21c91dbb4635 03:18:05 ---> cee0610ddfef 03:18:05 Step 12/26 : COPY . . 03:18:08 ---> 66061b4287c3 03:18:08 Step 13/26 : RUN ${MAKE} 03:18:08 ---> Running in 6915b80b5bd3 03:18:11 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 03:20:47 Removing intermediate container 6915b80b5bd3 03:20:47 ---> 78ccd83f274c 03:20:47 Step 14/26 : FROM alpine:3.16 03:20:47 3.16: Pulling from library/alpine 03:20:47 9b18e9b68314: Already exists 03:20:47 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:20:47 Status: Downloaded newer image for alpine:3.16 03:20:47 ---> a6215f271958 03:20:47 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:20:47 ---> Running in 7d6bc5790a27 03:20:47 Removing intermediate container 7d6bc5790a27 03:20:47 ---> 5e5392617693 03:20:47 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 03:20:47 ---> Running in 62d6c6531023 03:20:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:20:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:20:47 (1/6) Installing dumb-init (1.2.5-r1) 03:20:47 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:20:47 (3/6) Installing libsodium (1.0.18-r0) 03:20:47 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:20:48 (5/6) Installing libzmq (4.3.4-r0) 03:20:48 (6/6) Installing zeromq (4.3.4-r0) 03:20:48 Executing busybox-1.35.0-r17.trigger 03:20:48 OK: 8 MiB in 20 packages 03:20:49 Removing intermediate container 62d6c6531023 03:20:49 ---> 3172090acb9c 03:20:49 Step 17/26 : WORKDIR / 03:20:49 ---> Running in 7eaba47bfb58 03:20:49 Removing intermediate container 7eaba47bfb58 03:20:49 ---> 07045038278d 03:20:49 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:20:50 ---> 6f3e23e86c21 03:20:50 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:20:51 ---> b9a2641671f1 03:20:51 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:20:52 ---> 5f3776d6be0e 03:20:52 Step 21/26 : EXPOSE 59984 03:20:52 ---> Running in 1c93f4892325 03:20:53 Removing intermediate container 1c93f4892325 03:20:53 ---> d145d08d2b38 03:20:53 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:20:53 ---> Running in 32a043e53a91 03:20:53 Removing intermediate container 32a043e53a91 03:20:53 ---> c899845f9e41 03:20:53 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:20:53 ---> Running in 7da4fad3b50a 03:20:53 Removing intermediate container 7da4fad3b50a 03:20:53 ---> 3e9f9033dd57 03:20:53 Step 24/26 : LABEL arch=arm64 03:20:54 ---> Running in 6f64ec08f149 03:20:54 Removing intermediate container 6f64ec08f149 03:20:54 ---> 8bc4407a5011 03:20:54 Step 25/26 : LABEL git_sha=aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce 03:20:54 ---> Running in f215727a6ac8 03:20:54 Removing intermediate container f215727a6ac8 03:20:54 ---> 251e6cd8026a 03:20:54 Step 26/26 : LABEL version=0.0.0 03:20:54 ---> Running in 553e34982f76 03:20:54 Removing intermediate container 553e34982f76 03:20:54 ---> ba35a58d87c1 03:20:54 [Warning] One or more build-args [ARCH] were not consumed 03:20:55 Successfully built ba35a58d87c1 03:20:55 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 03:20:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:20:55 03:20:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:20:56 arm64: Pulling from edgex-lftools-log-publisher 03:20:56 8998bd30e6a1: Pulling fs layer 03:20:56 04944245beec: Pulling fs layer 03:20:56 699f458cf7ca: Pulling fs layer 03:20:56 765212b225bb: Pulling fs layer 03:20:56 f23df028b6ca: Pulling fs layer 03:20:56 d65c8cfc05b1: Pulling fs layer 03:20:56 2437ff75d9bd: Pulling fs layer 03:20:56 f23df028b6ca: Waiting 03:20:56 d65c8cfc05b1: Waiting 03:20:56 2437ff75d9bd: Waiting 03:20:56 04944245beec: Verifying Checksum 03:20:56 04944245beec: Download complete 03:20:56 765212b225bb: Verifying Checksum 03:20:56 765212b225bb: Download complete 03:20:56 f23df028b6ca: Verifying Checksum 03:20:56 f23df028b6ca: Download complete 03:20:56 d65c8cfc05b1: Verifying Checksum 03:20:56 d65c8cfc05b1: Download complete 03:20:56 699f458cf7ca: Verifying Checksum 03:20:56 699f458cf7ca: Download complete 03:20:57 8998bd30e6a1: Verifying Checksum 03:20:57 8998bd30e6a1: Download complete 03:20:59 2437ff75d9bd: Verifying Checksum 03:20:59 2437ff75d9bd: Download complete 03:21:01 8998bd30e6a1: Pull complete 03:21:01 04944245beec: Pull complete 03:21:03 699f458cf7ca: Pull complete 03:21:03 765212b225bb: Pull complete 03:21:04 f23df028b6ca: Pull complete 03:21:04 d65c8cfc05b1: Pull complete 03:21:19 2437ff75d9bd: Pull complete 03:21:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:21:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:21:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:21:19 prd-ubuntu20.04-docker-arm64-4c-16g-118381 does not seem to be running inside a container 03:21:19 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:21:22 $ docker top 84f27baeb68dcc9a17c2192af037b91c4fc596f5c42a519da596a310857577dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:21:22 ---> job-cost.sh 03:21:23 lf-activate-venv: SKIPPING 03:21:23 INFO: No Stack... 03:21:23 INFO: Retrieving Pricing Info for: v3-standard-4 03:21:24 INFO: Archiving Costs [Pipeline] sh 03:21:24 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 03:21:24 + cut -d, -f6 [Pipeline] lock 03:21:24 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-193-1-stack-cost] 03:21:24 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-193-1-stack-cost] did not exist. Created. 03:21:24 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-193-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:21:25 /w/workspace/device-onvif-camera/1@tmp/durable-cd5ea85a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:21:25 + echo total: 0.10999999940395355 [Pipeline] stash 03:21:25 Warning: overwriting stash ‘stack-cost’ 03:21:25 Stashed 1 file(s) [Pipeline] } 03:21:25 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-193-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:21:26 $ docker stop --time=1 84f27baeb68dcc9a17c2192af037b91c4fc596f5c42a519da596a310857577dd 03:21:27 $ docker rm -f 84f27baeb68dcc9a17c2192af037b91c4fc596f5c42a519da596a310857577dd [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 03:21:28 provisioning config files... 03:21:28 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-193@tmp/config8546501322213446745tmp [Pipeline] { [Pipeline] sh 03:21:28 + set +x 03:21:28 + curl -s https://codecov.io/bash 03:21:28 + bash -s -- 03:21:28 03:21:28 _____ _ 03:21:28 / ____| | | 03:21:28 | | ___ __| | ___ ___ _____ __ 03:21:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:21:28 | |___| (_) | (_| | __/ (_| (_) \ V / 03:21:28 \_____\___/ \__,_|\___|\___\___/ \_/ 03:21:28 Bash-1.0.6 03:21:28 03:21:28 03:21:28 ==> git version 2.25.1 found 03:21:28 ==> 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 03:21:28 Release-Date: 2020-01-08 03:21:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:21:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:21:28 ==> Jenkins CI detected. 03:21:28 current dir:  /w/workspace/undry_device-onvif-camera_PR-193 03:21:28 project root: . 03:21:28 --> token set from env 03:21:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:21:28 ==> Running gcov in . (disable via -X gcov) 03:21:28 ==> Python coveragepy not found 03:21:28 ==> Searching for coverage reports in: 03:21:28 + . 03:21:29 -> Found 1 reports 03:21:29 ==> Detecting git/mercurial file structure 03:21:29 ==> Reading reports 03:21:29 + ./coverage.out bytes=79184 03:21:29 ==> Appending adjustments 03:21:29 https://docs.codecov.io/docs/fixing-reports 03:21:29 + Found adjustments 03:21:29 ==> Gzipping contents 03:21:29 12K /tmp/codecov.un70vt.gz 03:21:29 ==> Uploading reports 03:21:29 url: https://codecov.io 03:21:29 query: branch=PR-193&commit=aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-193%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=193&job=&cmd_args= 03:21:29 -> Pinging Codecov 03:21:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-193&commit=aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-193%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=193&job=&cmd_args= 03:21:29 -> Uploading to 03:21:29 https://storage.googleapis.com/codecov/v4/raw/2022-11-07/F29A59C45E3A92E06B3E522C9905F8EF/aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce/3da7422e-c6e4-4c73-b678-5c0063095dd3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T032129Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f1749654ef9e151c069780073944f64d7f27788783713863080e051ffddf6756 03:21:29 % Total % Received % Xferd Average Speed Time Time Time Current 03:21:29 Dload Upload Total Spent Left Speed 03:21:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10858 0 0 100 10858 0 44683 --:--:-- --:--:-- --:--:-- 44500 100 10858 0 0 100 10858 0 38503 --:--:-- --:--:-- --:--:-- 38367 03:21:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/aae0ff12a8c86e88fac2f73e87e0a1a6fb3fc5ce [Pipeline] } 03:21:29 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 03:21:31 + [ -d /w/workspace/undry_device-onvif-camera_PR-193/archives ] 03:21:31 + ls -al /w/workspace/undry_device-onvif-camera_PR-193/archives 03:21:31 total 16 03:21:31 drwxr-xr-x 3 root root 4096 Nov 7 03:11 . 03:21:31 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 03:11 .. 03:21:31 drwxr-xr-x 2 root root 4096 Nov 7 03:11 cost 03:21:31 -rw-r--r-- 1 root root 91 Nov 7 03:11 cost.csv 03:21:31 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-193/archives 03:21:31 + ls -al /w/workspace/undry_device-onvif-camera_PR-193/archives 03:21:31 total 16 03:21:31 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 03:11 . 03:21:31 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 03:11 .. 03:21:31 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 03:11 cost 03:21:31 -rw-r--r-- 1 jenkins jenkins 91 Nov 7 03:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:21:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:21:32 ---> package-listing.sh 03:21:32 ++ facter osfamily 03:21:32 ++ tr '[:upper:]' '[:lower:]' 03:21:33 + OS_FAMILY=debian 03:21:33 + workspace=/w/workspace/undry_device-onvif-camera_PR-193 03:21:33 + START_PACKAGES=/tmp/packages_start.txt 03:21:33 + END_PACKAGES=/tmp/packages_end.txt 03:21:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:21:33 + PACKAGES=/tmp/packages_start.txt 03:21:33 + '[' /w/workspace/undry_device-onvif-camera_PR-193 ']' 03:21:33 + PACKAGES=/tmp/packages_end.txt 03:21:33 + case "${OS_FAMILY}" in 03:21:33 + dpkg -l 03:21:33 + grep '^ii' 03:21:33 + '[' -f /tmp/packages_start.txt ']' 03:21:33 + '[' -f /tmp/packages_end.txt ']' 03:21:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:21:33 + '[' /w/workspace/undry_device-onvif-camera_PR-193 ']' 03:21:33 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-193/archives/ 03:21:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-193/archives/ [Pipeline] echo 03:21:33 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-193/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:21:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:21:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:21:34 prd-ubuntu20.04-docker-8c-8g-118378 does not seem to be running inside a container 03:21:34 $ 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-193/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-193 -v /w/workspace/undry_device-onvif-camera_PR-193:/w/workspace/undry_device-onvif-camera_PR-193:rw,z -v /w/workspace/undry_device-onvif-camera_PR-193@tmp:/w/workspace/undry_device-onvif-camera_PR-193@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:21:34 $ docker top 8dfdea99b17f58d7e84cceab7a9163d2f9ee970a8d476e879b5abfd94fc1298d -eo pid,comm [Pipeline] { [Pipeline] sh 03:21:34 + touch /tmp/pre-build-complete [Pipeline] sh 03:21:35 + mkdir -p /var/log/sysstat [Pipeline] sh 03:21:35 + ls /var/log/sa-host 03:21:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:21:35 provisioning config files... 03:21:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-193@tmp/config9896271250393270277tmp [Pipeline] { [Pipeline] echo 03:21:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:21:36 ---> create-netrc.sh [Pipeline] } 03:21:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:21:36 ---> python-tools-install.sh [Pipeline] echo 03:21:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:21:36 ---> sudo-logs.sh 03:21:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:21:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:21:37 ---> job-cost.sh 03:21:37 lf-activate-venv: SKIPPING 03:21:37 DEBUG: total: 0.2199999988079071 03:21:37 INFO: Retrieving Stack Cost... 03:21:37 INFO: Retrieving Pricing Info for: v3-standard-8 03:21:38 INFO: Archiving Costs [Pipeline] echo 03:21:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:21:38 ---> logs-deploy.sh 03:21:38 lf-activate-venv: SKIPPING 03:21:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-193/1 03:21:38 INFO: archiving workspace using pattern(s): 03:21:39 Archives upload complete. 03:21:40 INFO: archiving logs to Nexus