Pull request #335 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4c27d799607d6db7ee5bcfde8ae9b761d69565c8+ca50ff0226266dec6d343d3687e79f892dd3f78d (0cfa733926ef96d918836e9a34575e2c1856fa33) 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-ssh7685586539856739093.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh6175032531981923765.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-335/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-335/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh784502861190998220.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-335/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15530812051885197477.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh7550582275314226983.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-335/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-335/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14618952399984103511.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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.20 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-12536 in /w/workspace/undry_device-onvif-camera_PR-335 [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-335 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ca50ff0226266dec6d343d3687e79f892dd3f78d into PR head commit 4c27d799607d6db7ee5bcfde8ae9b761d69565c8 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/335/head:refs/remotes/origin/PR-335 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c27d799607d6db7ee5bcfde8ae9b761d69565c8 # timeout=10 > git remote # timeout=10 Merge succeeded, producing 4c27d799607d6db7ee5bcfde8ae9b761d69565c8 Checking out Revision 4c27d799607d6db7ee5bcfde8ae9b761d69565c8 (PR-335) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:03:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:03:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:03:40 ========================================================= 04:03:40 EdgeX Global Pipelines Version Info 04:03:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ca50ff0226266dec6d343d3687e79f892dd3f78d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c27d799607d6db7ee5bcfde8ae9b761d69565c8 # timeout=10 04:03:41 ------------------- 04:03:41 stable info: 04:03:41 ------------------- 04:03:41 Commited By: Bill Mahoney bill.mahoney@intel.com 04:03:41 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 04:03:41 Message: update stable to v1.0.248 04:03:41 ------------------- 04:03:41 experimental info: 04:03:41 ------------------- 04:03:41 Commited By: **** collab-it+edgex@linuxfoundation.org 04:03:41 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:03:41 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:03:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-335 [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-335 [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-335 [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c27d799607d6db7ee5bcfde8ae9b761d69565c8 [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c27d79 [Pipeline] echo 04:03:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:03:43 provisioning config files... 04:03:43 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-335@tmp/config15928897445014054209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:03:43 ---> docker-login.sh 04:03:43 nexus3.edgexfoundry.org:10001 04:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:44 Configure a credential helper to remove this warning. See 04:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:44 04:03:44 Login Succeeded 04:03:44 nexus3.edgexfoundry.org:10002 04:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:44 Configure a credential helper to remove this warning. See 04:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:44 04:03:44 Login Succeeded 04:03:44 nexus3.edgexfoundry.org:10003 04:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:44 Configure a credential helper to remove this warning. See 04:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:44 04:03:44 Login Succeeded 04:03:44 nexus3.edgexfoundry.org:10004 04:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:44 Configure a credential helper to remove this warning. See 04:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:44 04:03:44 Login Succeeded 04:03:44 docker.io 04:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:44 Configure a credential helper to remove this warning. See 04:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:44 04:03:44 Login Succeeded 04:03:44 ---> docker-login.sh ends [Pipeline] } 04:03:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:03:45 + git rev-list -1 --merges 4c27d799607d6db7ee5bcfde8ae9b761d69565c8~1..4c27d799607d6db7ee5bcfde8ae9b761d69565c8 [Pipeline] echo 04:03:45 -----------> git rev-list -1 --merges 4c27d799607d6db7ee5bcfde8ae9b761d69565c8~1..4c27d799607d6db7ee5bcfde8ae9b761d69565c8 4c27d799607d6db7ee5bcfde8ae9b761d69565c8 [false] [Pipeline] sh 04:03:45 + git log --format=format:%s -1 4c27d799607d6db7ee5bcfde8ae9b761d69565c8 [Pipeline] echo 04:03:45 ========================================================= 04:03:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:03:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:03:46 + git log --format=format:%s -1 4c27d799607d6db7ee5bcfde8ae9b761d69565c8 [Pipeline] echo 04:03:46 [semverPrep] GIT_COMMIT: 4c27d799607d6db7ee5bcfde8ae9b761d69565c8, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 04:03:46 [semverPrep] This is not a build commit. [Pipeline] sh 04:03:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:03:46 + grep -v github /etc/ssh/ssh_known_hosts 04:03:46 + [ -e /tmp/ssh_known_hosts ] 04:03:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:03:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:03:46 + sudo tee -a /etc/ssh/ssh_known_hosts 04:03:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:03:47 04:03:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:03:47 0.1.4: Pulling from edgex-devops/py-git-semver 04:03:47 b85a868b505f: Pulling fs layer 04:03:47 e2be974225ed: Pulling fs layer 04:03:47 339a4e72a1f5: Pulling fs layer 04:03:47 988bab9f4d93: Pulling fs layer 04:03:47 1469e6f7b9e6: Pulling fs layer 04:03:47 eaf3925da568: Pulling fs layer 04:03:47 bab4dde63d76: Pulling fs layer 04:03:47 bde34c3a00c8: Pulling fs layer 04:03:47 b352a97aabf1: Pulling fs layer 04:03:47 4872d77fe225: Pulling fs layer 04:03:47 5851b861e8e6: Pulling fs layer 04:03:47 988bab9f4d93: Waiting 04:03:47 1469e6f7b9e6: Waiting 04:03:47 eaf3925da568: Waiting 04:03:47 bab4dde63d76: Waiting 04:03:47 bde34c3a00c8: Waiting 04:03:47 b352a97aabf1: Waiting 04:03:47 4872d77fe225: Waiting 04:03:47 5851b861e8e6: Waiting 04:03:47 e2be974225ed: Download complete 04:03:47 988bab9f4d93: Verifying Checksum 04:03:47 988bab9f4d93: Download complete 04:03:47 1469e6f7b9e6: Verifying Checksum 04:03:47 1469e6f7b9e6: Download complete 04:03:47 eaf3925da568: Download complete 04:03:47 339a4e72a1f5: Verifying Checksum 04:03:47 339a4e72a1f5: Download complete 04:03:47 bde34c3a00c8: Download complete 04:03:47 b352a97aabf1: Verifying Checksum 04:03:47 4872d77fe225: Download complete 04:03:47 5851b861e8e6: Download complete 04:03:47 b85a868b505f: Verifying Checksum 04:03:47 b85a868b505f: Download complete 04:03:48 bab4dde63d76: Download complete 04:03:48 b85a868b505f: Pull complete 04:03:48 e2be974225ed: Pull complete 04:03:49 339a4e72a1f5: Pull complete 04:03:49 988bab9f4d93: Pull complete 04:03:49 1469e6f7b9e6: Pull complete 04:03:49 eaf3925da568: Pull complete 04:03:51 bab4dde63d76: Pull complete 04:03:51 bde34c3a00c8: Pull complete 04:03:51 b352a97aabf1: Pull complete 04:03:51 4872d77fe225: Pull complete 04:03:51 5851b861e8e6: Pull complete 04:03:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:03:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:03:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:51 prd-ubuntu20.04-docker-8c-8g-12536 does not seem to be running inside a container 04:03:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-335 -v /w/workspace/undry_device-onvif-camera_PR-335:/w/workspace/undry_device-onvif-camera_PR-335:rw,z -v /w/workspace/undry_device-onvif-camera_PR-335@tmp:/w/workspace/undry_device-onvif-camera_PR-335@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 04:03:54 $ docker top 164ff3dd6fd5591d9c40faffe13fcb8cf8935829c12fe7cc2f1b106ee18af673 -eo pid,comm 04:03:54 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). 04:03:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:03:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:03:54 [ssh-agent] Looking for ssh-agent implementation... 04:03:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:03:54 $ docker exec 164ff3dd6fd5591d9c40faffe13fcb8cf8935829c12fe7cc2f1b106ee18af673 ssh-agent 04:03:54 SSH_AUTH_SOCK=/tmp/ssh-VLYk9w18yCB2/agent.32 04:03:54 SSH_AGENT_PID=38 04:03:54 Running ssh-add (command line suppressed) 04:03:54 Identity added: /w/workspace/undry_device-onvif-camera_PR-335@tmp/private_key_4680304774758830795.key (/w/workspace/undry_device-onvif-camera_PR-335@tmp/private_key_4680304774758830795.key) 04:03:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:03:54 + git tag --points-at HEAD [Pipeline] } 04:03:55 $ docker exec --env ******** --env ******** 164ff3dd6fd5591d9c40faffe13fcb8cf8935829c12fe7cc2f1b106ee18af673 ssh-agent -k 04:03:55 unset SSH_AUTH_SOCK; 04:03:55 unset SSH_AGENT_PID; 04:03:55 echo Agent pid 38 killed; 04:03:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:03:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:03:55 [ssh-agent] Looking for ssh-agent implementation... 04:03:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:03:55 $ docker exec 164ff3dd6fd5591d9c40faffe13fcb8cf8935829c12fe7cc2f1b106ee18af673 ssh-agent 04:03:55 SSH_AUTH_SOCK=/tmp/ssh-EUnu1LPlfKvv/agent.70 04:03:55 SSH_AGENT_PID=77 04:03:55 Running ssh-add (command line suppressed) 04:03:55 Identity added: /w/workspace/undry_device-onvif-camera_PR-335@tmp/private_key_17281716924917070836.key (/w/workspace/undry_device-onvif-camera_PR-335@tmp/private_key_17281716924917070836.key) 04:03:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:03:55 + git semver init 04:03:56 2023-05-03 04:03:56,070 [run_init] DEBUG init version:0.0.0 force:False 04:03:56 2023-05-03 04:03:56,072 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-335/.semver 04:03:56 2023-05-03 04:03:56,073 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-335/.semver 04:03:56 2023-05-03 04:03:56,073 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-335/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-335, universal_newlines=False, shell=None, istream=None) 04:03:57 2023-05-03 04:03:56,904 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-335/.git/info/exclude 04:03:57 2023-05-03 04:03:56,905 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-335/.semver/PR-335 with force:False 04:03:57 2023-05-03 04:03:56,905 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-335/.semver/PR-335 04:03:57 2023-05-03 04:03:56,909 [execute] INFO git cat-file --batch-check 04:03:57 2023-05-03 04:03:56,909 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-335/.semver, universal_newlines=False, shell=None, istream=) 04:03:57 2023-05-03 04:03:56,915 [execute] INFO git cat-file --batch 04:03:57 2023-05-03 04:03:56,915 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-335/.semver, universal_newlines=False, shell=None, istream=) 04:03:57 2023-05-03 04:03:56,920 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-335/.semver/PR-335 04:03:57 0.0.0 [Pipeline] } 04:03:57 $ docker exec --env ******** --env ******** 164ff3dd6fd5591d9c40faffe13fcb8cf8935829c12fe7cc2f1b106ee18af673 ssh-agent -k 04:03:57 unset SSH_AUTH_SOCK; 04:03:57 unset SSH_AGENT_PID; 04:03:57 echo Agent pid 77 killed; 04:03:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:03:57 + git semver [Pipeline] } 04:03:57 $ docker stop --time=1 164ff3dd6fd5591d9c40faffe13fcb8cf8935829c12fe7cc2f1b106ee18af673 04:03:59 $ docker rm -f --volumes 164ff3dd6fd5591d9c40faffe13fcb8cf8935829c12fe7cc2f1b106ee18af673 [Pipeline] // withDockerContainer [Pipeline] sh 04:03:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:03:59 Stashed 1 file(s) [Pipeline] echo 04:03:59 [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 04:04:00 provisioning config files... 04:04:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-335@tmp/config7967247513045401902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:01 ---> docker-login.sh 04:04:01 nexus3.edgexfoundry.org:10001 04:04:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:01 Configure a credential helper to remove this warning. See 04:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:01 04:04:01 Login Succeeded 04:04:01 nexus3.edgexfoundry.org:10002 04:04:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:01 Configure a credential helper to remove this warning. See 04:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:01 04:04:01 Login Succeeded 04:04:01 nexus3.edgexfoundry.org:10003 04:04:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:01 Configure a credential helper to remove this warning. See 04:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:01 04:04:01 Login Succeeded 04:04:01 nexus3.edgexfoundry.org:10004 04:04:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:01 Configure a credential helper to remove this warning. See 04:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:01 04:04:01 Login Succeeded 04:04:01 docker.io 04:04:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:01 Configure a credential helper to remove this warning. See 04:04:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:01 04:04:01 Login Succeeded 04:04:01 ---> docker-login.sh ends [Pipeline] } 04:04:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:04:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:01 ========================================================= 04:04:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:04:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:02 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:04:02 Sending build context to Docker daemon 21.43MB 04:04:02 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 04:04:02 Step 2/13 : FROM ${BASE} AS builder 04:04:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:04:02 f56be85fc22e: Pulling fs layer 04:04:02 85791d961cd3: Pulling fs layer 04:04:02 d694b5ae8c79: Pulling fs layer 04:04:02 9f32a84ed3da: Pulling fs layer 04:04:02 4d19c01a9841: Pulling fs layer 04:04:02 9325e15d5711: Pulling fs layer 04:04:02 556b6ee489ea: Pulling fs layer 04:04:02 c5a4b2cf53e6: Pulling fs layer 04:04:02 9325e15d5711: Waiting 04:04:02 556b6ee489ea: Waiting 04:04:02 9f32a84ed3da: Waiting 04:04:02 c5a4b2cf53e6: Waiting 04:04:02 4d19c01a9841: Waiting 04:04:02 9f32a84ed3da: Verifying Checksum 04:04:02 9f32a84ed3da: Download complete 04:04:02 4d19c01a9841: Download complete 04:04:02 f56be85fc22e: Verifying Checksum 04:04:02 f56be85fc22e: Download complete 04:04:02 9325e15d5711: Verifying Checksum 04:04:02 9325e15d5711: Download complete 04:04:02 f56be85fc22e: Pull complete 04:04:02 85791d961cd3: Pull complete 04:04:02 c5a4b2cf53e6: Verifying Checksum 04:04:02 c5a4b2cf53e6: Download complete 04:04:03 d694b5ae8c79: Verifying Checksum 04:04:03 d694b5ae8c79: Download complete 04:04:03 556b6ee489ea: Verifying Checksum 04:04:03 556b6ee489ea: Download complete 04:04:06 d694b5ae8c79: Pull complete 04:04:06 9f32a84ed3da: Pull complete 04:04:06 4d19c01a9841: Pull complete 04:04:06 9325e15d5711: Pull complete 04:04:09 556b6ee489ea: Pull complete 04:04:09 c5a4b2cf53e6: Pull complete 04:04:09 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 04:04:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:04:09 ---> c4be618373d6 04:04:09 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:04:12 ---> Running in 7712d710eda2 04:04:12 Removing intermediate container 7712d710eda2 04:04:12 ---> 13891cd0e61d 04:04:12 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:04:12 ---> Running in 774d67950e4d 04:04:12 Removing intermediate container 774d67950e4d 04:04:12 ---> 2fdaa320f105 04:04:12 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:04:12 ---> Running in 8141b477fffa 04:04:12 Removing intermediate container 8141b477fffa 04:04:12 ---> 0a9c82eaeedb 04:04:12 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:04:12 ---> Running in 0b73eecd17ce 04:04:12 Removing intermediate container 0b73eecd17ce 04:04:12 ---> 30420ce4bd80 04:04:12 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:04:12 ---> Running in b8820c62f994 04:04:12 Removing intermediate container b8820c62f994 04:04:12 ---> bc1f9ce8a883 04:04:12 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:04:12 ---> Running in 6fc1c666ee8f 04:04:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:04:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:04:13 OK: 265 MiB in 53 packages 04:04:13 Removing intermediate container 6fc1c666ee8f 04:04:13 ---> f0bb489f4170 04:04:13 Step 9/13 : WORKDIR /device-onvif-camera 04:04:13 ---> Running in 10868bb9699a 04:04:13 Removing intermediate container 10868bb9699a 04:04:13 ---> 5ff33c90dc2d 04:04:13 Step 10/13 : COPY go.mod vendor* ./ 04:04:13 ---> b378ff1013ab 04:04:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:04:13 ---> Running in 888950f752fe 04:04:15 Still waiting to schedule task 04:04:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:04:35 Removing intermediate container 888950f752fe 04:04:35 ---> 4147ddd1e550 04:04:35 Step 12/13 : COPY . . 04:04:35 ---> cc57e3de3beb 04:04:35 Step 13/13 : RUN ${MAKE} 04:04:35 ---> Running in 1184243303e1 04:04:36 noop 04:04:36 Removing intermediate container 1184243303e1 04:04:36 ---> 79ae3bdd8108 04:04:36 Successfully built 79ae3bdd8108 04:04:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:36 + docker inspect -f . ci-base-image-x86_64 04:04:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:37 prd-ubuntu20.04-docker-8c-8g-12536 does not seem to be running inside a container 04:04:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-335 -v /w/workspace/undry_device-onvif-camera_PR-335:/w/workspace/undry_device-onvif-camera_PR-335:rw,z -v /w/workspace/undry_device-onvif-camera_PR-335@tmp:/w/workspace/undry_device-onvif-camera_PR-335@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 04:04:37 $ docker top 987ee180e337effc840b79039044727a0a42c7a13f4ce813b95a7bc414972234 -eo pid,comm [Pipeline] { [Pipeline] sh 04:04:37 + go version 04:04:37 go version go1.20.2 linux/amd64 [Pipeline] } 04:04:37 $ docker stop --time=1 987ee180e337effc840b79039044727a0a42c7a13f4ce813b95a7bc414972234 04:04:39 $ docker rm -f --volumes 987ee180e337effc840b79039044727a0a42c7a13f4ce813b95a7bc414972234 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:39 + docker inspect -f . ci-base-image-x86_64 04:04:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:39 prd-ubuntu20.04-docker-8c-8g-12536 does not seem to be running inside a container 04:04:40 $ 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-335 -v /w/workspace/undry_device-onvif-camera_PR-335:/w/workspace/undry_device-onvif-camera_PR-335:rw,z -v /w/workspace/undry_device-onvif-camera_PR-335@tmp:/w/workspace/undry_device-onvif-camera_PR-335@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 04:04:40 $ docker top 86472417af1b8b3cd0bd6e55a6416057e2463e948b10a761018d9ee38e32a88e -eo pid,comm [Pipeline] { [Pipeline] sh 04:04:40 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-335 [Pipeline] fileExists [Pipeline] sh 04:04:41 + make test 04:04:41 go test ./... -coverprofile=coverage.out ./... 04:04:46 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:04:56 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:04:56 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:04:57 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.6% of statements 04:05:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.656s coverage: 86.5% of statements 04:05:06 go vet ./... 04:05:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:05:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:05:09 ./bin/test-attribution-txt.sh [Pipeline] echo 04:05:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:05:10 $ docker stop --time=1 86472417af1b8b3cd0bd6e55a6416057e2463e948b10a761018d9ee38e32a88e 04:05:12 $ docker rm -f --volumes 86472417af1b8b3cd0bd6e55a6416057e2463e948b10a761018d9ee38e32a88e [Pipeline] // withDockerContainer [Pipeline] sh 04:05:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:05:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:05:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:05:14 + ls -al . 04:05:14 total 232 04:05:14 drwxrwxr-x 10 jenkins jenkins 4096 May 3 04:04 . 04:05:14 drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:03 .. 04:05:14 drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:03 .git 04:05:14 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:03 .github 04:05:14 -rw-rw-r-- 1 jenkins jenkins 496 May 3 04:03 .gitignore 04:05:14 -rw-rw-r-- 1 jenkins jenkins 42 May 3 04:03 .golangci.yml 04:05:14 drwxr-xr-x 3 jenkins jenkins 4096 May 3 04:03 .semver 04:05:14 -rw-rw-r-- 1 jenkins jenkins 9861 May 3 04:03 Attribution.txt 04:05:14 -rw-rw-r-- 1 jenkins jenkins 6312 May 3 04:03 CHANGELOG.md 04:05:14 -rw-rw-r-- 1 jenkins jenkins 1574 May 3 04:03 Dockerfile 04:05:14 -rw-rw-r-- 1 jenkins jenkins 677 May 3 04:03 GOVERNANCE.md 04:05:14 -rw-rw-r-- 1 jenkins jenkins 734 May 3 04:03 Jenkinsfile 04:05:14 -rw-rw-r-- 1 jenkins jenkins 11348 May 3 04:03 LICENSE 04:05:14 -rw-rw-r-- 1 jenkins jenkins 2751 May 3 04:03 Makefile 04:05:14 -rw-rw-r-- 1 jenkins jenkins 625 May 3 04:03 OWNERS.md 04:05:14 -rw-rw-r-- 1 jenkins jenkins 2591 May 3 04:03 README.md 04:05:14 -rw-rw-r-- 1 jenkins jenkins 5 May 3 04:03 VERSION 04:05:14 drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:03 bin 04:05:14 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:03 cmd 04:05:14 -rw-r--r-- 1 jenkins jenkins 78922 May 3 04:05 coverage.out 04:05:14 drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:03 doc 04:05:14 -rw-rw-r-- 1 jenkins jenkins 3557 May 3 04:03 go.mod 04:05:14 -rw-rw-r-- 1 jenkins jenkins 32832 May 3 04:03 go.sum 04:05:14 drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:03 internal 04:05:14 drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:03 snap 04:05:14 -rw-rw-r-- 1 jenkins jenkins 236 May 3 04:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:14 + 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=4c27d799607d6db7ee5bcfde8ae9b761d69565c8 --label arch=amd64 --label version=0.0.0 . 04:05:14 Sending build context to Docker daemon 21.51MB 04:05:14 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:05:14 Step 2/26 : FROM ${BASE} AS builder 04:05:14 ---> 79ae3bdd8108 04:05:14 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:05:14 ---> Running in 93ba6c9d9374 04:05:15 Removing intermediate container 93ba6c9d9374 04:05:15 ---> a806fb9714cd 04:05:15 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:05:15 ---> Running in 7c4c3d191772 04:05:15 Removing intermediate container 7c4c3d191772 04:05:15 ---> 85438a9fb6ac 04:05:15 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:05:15 ---> Running in cc1413da6e14 04:05:15 Removing intermediate container cc1413da6e14 04:05:15 ---> 4bafa77e7d25 04:05:15 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:05:15 ---> Running in 0d6613021209 04:05:15 Removing intermediate container 0d6613021209 04:05:15 ---> ba13e55dd71b 04:05:15 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:05:15 ---> Running in ad4612b64e65 04:05:15 Removing intermediate container ad4612b64e65 04:05:15 ---> 6e870a917a97 04:05:15 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:05:15 ---> Running in 1b50ff9783db 04:05:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:05:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:05:15 OK: 265 MiB in 53 packages 04:05:16 Removing intermediate container 1b50ff9783db 04:05:16 ---> 7e9a31664d7b 04:05:16 Step 9/26 : WORKDIR /device-onvif-camera 04:05:16 ---> Running in 6013285264bf 04:05:16 Removing intermediate container 6013285264bf 04:05:16 ---> 595bd7ae2b9b 04:05:16 Step 10/26 : COPY go.mod vendor* ./ 04:05:16 ---> 5507d69aacf8 04:05:16 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:05:16 ---> Running in cc545620b543 04:05:17 Removing intermediate container cc545620b543 04:05:17 ---> 27d9be32ec8d 04:05:17 Step 12/26 : COPY . . 04:05:17 ---> 2f0044f7f2a1 04:05:17 Step 13/26 : RUN ${MAKE} 04:05:17 ---> Running in ce2060fea969 04:05:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:05:36 Removing intermediate container ce2060fea969 04:05:36 ---> 09ca6d36a777 04:05:36 Step 14/26 : FROM alpine:3.17 04:05:36 3.17: Pulling from library/alpine 04:05:36 f56be85fc22e: Already exists 04:05:36 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:05:36 Status: Downloaded newer image for alpine:3.17 04:05:36 ---> 9ed4aefc74f6 04:05:36 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:05:36 ---> Running in 84308a9cbaee 04:05:36 Removing intermediate container 84308a9cbaee 04:05:36 ---> 7bb2be3654a8 04:05:36 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:05:36 ---> Running in e567e4d1e319 04:05:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:05:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:05:36 (1/1) Installing dumb-init (1.2.5-r2) 04:05:36 Executing busybox-1.35.0-r29.trigger 04:05:36 OK: 7 MiB in 16 packages 04:05:36 Removing intermediate container e567e4d1e319 04:05:36 ---> c89194e70058 04:05:36 Step 17/26 : WORKDIR / 04:05:36 ---> Running in 3a446f7fb80c 04:05:36 Removing intermediate container 3a446f7fb80c 04:05:36 ---> d253a2dcf99a 04:05:36 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:05:37 ---> 69ec081c060e 04:05:37 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:05:37 ---> 4df86f8aaead 04:05:37 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:05:37 ---> bc79a22e1200 04:05:37 Step 21/26 : EXPOSE 59984 04:05:37 ---> Running in 5c47ec456628 04:05:37 Removing intermediate container 5c47ec456628 04:05:37 ---> 9887ca393e79 04:05:37 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:05:37 ---> Running in 4f4df35cefe9 04:05:37 Removing intermediate container 4f4df35cefe9 04:05:37 ---> 57f65f7aedc4 04:05:37 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:05:37 ---> Running in cad7ac29a211 04:05:37 Removing intermediate container cad7ac29a211 04:05:37 ---> e650a4df9c4f 04:05:37 Step 24/26 : LABEL arch=amd64 04:05:37 ---> Running in 65212b2cc456 04:05:37 Removing intermediate container 65212b2cc456 04:05:37 ---> 536939d3cff0 04:05:37 Step 25/26 : LABEL git_sha=4c27d799607d6db7ee5bcfde8ae9b761d69565c8 04:05:37 ---> Running in bdf799625995 04:05:37 Removing intermediate container bdf799625995 04:05:37 ---> c32bb6928151 04:05:37 Step 26/26 : LABEL version=0.0.0 04:05:37 ---> Running in 20411a79e5d8 04:05:37 Removing intermediate container 20411a79e5d8 04:05:37 ---> d75662754272 04:05:37 [Warning] One or more build-args [ARCH] were not consumed 04:05:37 Successfully built d75662754272 04:05:37 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 04:05:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:05:38 04:05:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:05:39 latest: Pulling from edgex-lftools-log-publisher 04:05:39 5eb5b503b376: Pulling fs layer 04:05:39 5c69ac0246d0: Pulling fs layer 04:05:39 ec43610c2a17: Pulling fs layer 04:05:39 3a2ae6a8a46f: Pulling fs layer 04:05:39 33b1e0a273af: Pulling fs layer 04:05:39 5d3b04190fa2: Pulling fs layer 04:05:39 2f39f015ded8: Pulling fs layer 04:05:39 33b1e0a273af: Waiting 04:05:39 5d3b04190fa2: Waiting 04:05:39 2f39f015ded8: Waiting 04:05:39 3a2ae6a8a46f: Waiting 04:05:39 5c69ac0246d0: Download complete 04:05:39 3a2ae6a8a46f: Verifying Checksum 04:05:39 3a2ae6a8a46f: Download complete 04:05:39 ec43610c2a17: Verifying Checksum 04:05:39 ec43610c2a17: Download complete 04:05:39 33b1e0a273af: Verifying Checksum 04:05:39 33b1e0a273af: Download complete 04:05:39 5d3b04190fa2: Verifying Checksum 04:05:39 5d3b04190fa2: Download complete 04:05:39 5eb5b503b376: Verifying Checksum 04:05:39 5eb5b503b376: Download complete 04:05:39 2f39f015ded8: Download complete 04:05:40 5eb5b503b376: Pull complete 04:05:40 5c69ac0246d0: Pull complete 04:05:41 ec43610c2a17: Pull complete 04:05:41 3a2ae6a8a46f: Pull complete 04:05:41 33b1e0a273af: Pull complete 04:05:41 5d3b04190fa2: Pull complete 04:05:45 2f39f015ded8: Pull complete 04:05:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:05:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:05:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:45 prd-ubuntu20.04-docker-8c-8g-12536 does not seem to be running inside a container 04:05:45 $ 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-335 -v /w/workspace/undry_device-onvif-camera_PR-335:/w/workspace/undry_device-onvif-camera_PR-335:rw,z -v /w/workspace/undry_device-onvif-camera_PR-335@tmp:/w/workspace/undry_device-onvif-camera_PR-335@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 04:05:48 $ docker top 02fd6ceeaab666b4f8ece48a877ad4352b381f0acb2b1aa8602aa3c226c49f75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:48 ---> job-cost.sh 04:05:48 lf-activate-venv: SKIPPING 04:05:48 INFO: No Stack... 04:05:49 INFO: Retrieving Pricing Info for: v3-standard-8 04:05:49 INFO: Archiving Costs [Pipeline] sh 04:05:49 + cat /w/workspace/undry_device-onvif-camera_PR-335/archives/cost.csv 04:05:49 + cut -d, -f6 [Pipeline] lock 04:05:49 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-335-1-stack-cost] 04:05:49 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-335-1-stack-cost] did not exist. Created. 04:05:49 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-335-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:05:50 + echo total: 0.2199999988079071 [Pipeline] stash 04:05:50 Stashed 1 file(s) [Pipeline] } 04:05:50 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-335-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:05:50 $ docker stop --time=1 02fd6ceeaab666b4f8ece48a877ad4352b381f0acb2b1aa8602aa3c226c49f75 04:05:51 $ docker rm -f --volumes 02fd6ceeaab666b4f8ece48a877ad4352b381f0acb2b1aa8602aa3c226c49f75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:06:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12540 in /w/workspace/undry_device-onvif-camera_PR-335 [Pipeline] { [Pipeline] ws 04:06:28 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 04:06:28 The recommended git tool is: git 04:06:34 using credential edgex-jenkins-ssh 04:06:34 Cloning the remote Git repository 04:06:35 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:06:35 > git init /w/workspace/device-onvif-camera/1 # timeout=10 04:06:35 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:06:35 > git --version # timeout=10 04:06:35 > git --version # 'git version 2.25.1' 04:06:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:06:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:06:36 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:06:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:06:38 Merging remotes/origin/main commit ca50ff0226266dec6d343d3687e79f892dd3f78d into PR head commit 4c27d799607d6db7ee5bcfde8ae9b761d69565c8 04:06:37 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:06:37 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:06:37 using GIT_SSH to set credentials SSH Credentials for GitHub 04:06:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/335/head:refs/remotes/origin/PR-335 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:06:38 > git config core.sparsecheckout # timeout=10 04:06:38 > git checkout -f 4c27d799607d6db7ee5bcfde8ae9b761d69565c8 # timeout=10 04:06:38 > git remote # timeout=10 04:06:38 > git config --get remote.origin.url # timeout=10 04:06:38 Merge succeeded, producing 4c27d799607d6db7ee5bcfde8ae9b761d69565c8 04:06:38 Checking out Revision 4c27d799607d6db7ee5bcfde8ae9b761d69565c8 (PR-335) 04:06:39 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 04:06:39 > git --version # timeout=10 04:06:39 > git --version # 'git version 2.25.1' 04:06:39 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 04:06:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:06:38 > git merge ca50ff0226266dec6d343d3687e79f892dd3f78d # timeout=10 04:06:38 > git rev-parse HEAD^{commit} # timeout=10 04:06:38 > git config core.sparsecheckout # timeout=10 04:06:38 > git checkout -f 4c27d799607d6db7ee5bcfde8ae9b761d69565c8 # timeout=10 [Pipeline] sh 04:06:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:06:40 % Total % Received % Xferd Average Speed Time Time Time Current 04:06:40 Dload Upload Total Spent Left Speed 04:06:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 244k 0 --:--:-- --:--:-- --:--:-- 244k [Pipeline] sh 04:06:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:06:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:06:41 + sudo tee /etc/docker/daemon.new 04:06:41 { 04:06:41 "registry-mirrors": [ 04:06:41 "https://nexus3.edgexfoundry.org:10001" 04:06:41 ], 04:06:41 "bip": "10.250.0.254/24", 04:06:41 "hosts": [ 04:06:41 "tcp://0.0.0.0:5555", 04:06:41 "unix:///var/run/docker.sock" 04:06:41 ], 04:06:41 "mtu": 1458, 04:06:41 "selinux-enabled": true, 04:06:41 "seccomp-profile": "/etc/docker/seccomp.json" 04:06:41 } [Pipeline] sh 04:06:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:06:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:00 provisioning config files... 04:07:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config11317232270223275331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:01 ---> docker-login.sh 04:07:01 nexus3.edgexfoundry.org:10001 04:07:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:01 Configure a credential helper to remove this warning. See 04:07:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:01 04:07:01 Login Succeeded 04:07:01 nexus3.edgexfoundry.org:10002 04:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:02 Configure a credential helper to remove this warning. See 04:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:02 04:07:02 Login Succeeded 04:07:02 nexus3.edgexfoundry.org:10003 04:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:02 Configure a credential helper to remove this warning. See 04:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:02 04:07:02 Login Succeeded 04:07:02 nexus3.edgexfoundry.org:10004 04:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:02 Configure a credential helper to remove this warning. See 04:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:02 04:07:02 Login Succeeded 04:07:02 docker.io 04:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:03 Configure a credential helper to remove this warning. See 04:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:03 04:07:03 Login Succeeded 04:07:03 ---> docker-login.sh ends [Pipeline] } 04:07:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:07:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:03 ========================================================= 04:07:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:07:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:04 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:07:05 Sending build context to Docker daemon 14.12MB 04:07:05 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 04:07:05 Step 2/13 : FROM ${BASE} AS builder 04:07:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:07:05 c41833b44d91: Pulling fs layer 04:07:05 ed15518f5707: Pulling fs layer 04:07:05 feae8fd75edb: Pulling fs layer 04:07:05 242c74f7c9fa: Pulling fs layer 04:07:05 3cdef696dda3: Pulling fs layer 04:07:05 2ced38df9373: Pulling fs layer 04:07:05 58f1dce35555: Pulling fs layer 04:07:05 3cdef696dda3: Waiting 04:07:05 242c74f7c9fa: Waiting 04:07:05 2ced38df9373: Waiting 04:07:05 ed15518f5707: Verifying Checksum 04:07:05 ed15518f5707: Download complete 04:07:05 242c74f7c9fa: Verifying Checksum 04:07:05 242c74f7c9fa: Download complete 04:07:05 3cdef696dda3: Verifying Checksum 04:07:05 3cdef696dda3: Download complete 04:07:05 c41833b44d91: Verifying Checksum 04:07:05 c41833b44d91: Download complete 04:07:06 c41833b44d91: Pull complete 04:07:06 58f1dce35555: Verifying Checksum 04:07:06 58f1dce35555: Download complete 04:07:06 ed15518f5707: Pull complete 04:07:07 feae8fd75edb: Download complete 04:07:07 2ced38df9373: Verifying Checksum 04:07:07 2ced38df9373: Download complete 04:07:20 feae8fd75edb: Pull complete 04:07:20 242c74f7c9fa: Pull complete 04:07:20 3cdef696dda3: Pull complete 04:07:28 2ced38df9373: Pull complete 04:07:29 58f1dce35555: Pull complete 04:07:29 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 04:07:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:07:29 ---> fadd8f120f05 04:07:29 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:07:32 ---> Running in adcdaa99e700 04:07:32 Removing intermediate container adcdaa99e700 04:07:32 ---> 96cf128d3359 04:07:32 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:07:32 ---> Running in 7ef4fdf697d2 04:07:32 Removing intermediate container 7ef4fdf697d2 04:07:32 ---> 6e6e7b47b848 04:07:32 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:07:32 ---> Running in a415afd9645e 04:07:33 Removing intermediate container a415afd9645e 04:07:33 ---> 073e1a31612e 04:07:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:07:33 ---> Running in 7558ecdeb7d5 04:07:33 Removing intermediate container 7558ecdeb7d5 04:07:33 ---> bb6c3bfc46cc 04:07:33 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:07:33 ---> Running in de85caedd154 04:07:33 Removing intermediate container de85caedd154 04:07:33 ---> 915366fba709 04:07:33 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:07:34 ---> Running in 8d51fa6e3da1 04:07:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:07:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:07:36 OK: 263 MiB in 53 packages 04:07:37 Removing intermediate container 8d51fa6e3da1 04:07:37 ---> 27a4941f97d9 04:07:37 Step 9/13 : WORKDIR /device-onvif-camera 04:07:37 ---> Running in 4ee450b5558d 04:07:37 Removing intermediate container 4ee450b5558d 04:07:37 ---> c37b560739b0 04:07:37 Step 10/13 : COPY go.mod vendor* ./ 04:07:39 ---> e8c36251c02e 04:07:39 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:07:39 ---> Running in f0cb8d762b37 04:08:47 Removing intermediate container f0cb8d762b37 04:08:47 ---> 2ae104d0d88c 04:08:47 Step 12/13 : COPY . . 04:08:47 ---> 89633088f96e 04:08:47 Step 13/13 : RUN ${MAKE} 04:08:47 ---> Running in 89be8fa149ca 04:08:47 noop 04:08:47 Removing intermediate container 89be8fa149ca 04:08:47 ---> 1a5bf9cbc5a9 04:08:47 Successfully built 1a5bf9cbc5a9 04:08:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:48 + docker inspect -f . ci-base-image-arm64 04:08:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:48 prd-ubuntu20.04-docker-arm64-4c-16g-12540 does not seem to be running inside a container 04:08:48 $ 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 04:08:49 $ docker top 8b114dcb1ba76c968c54911e338922fbb2140d4a7650e768c9bf6bb1bc36e361 -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:50 + go version 04:08:50 go version go1.20.2 linux/arm64 [Pipeline] } 04:08:50 $ docker stop --time=1 8b114dcb1ba76c968c54911e338922fbb2140d4a7650e768c9bf6bb1bc36e361 04:08:52 $ docker rm -f --volumes 8b114dcb1ba76c968c54911e338922fbb2140d4a7650e768c9bf6bb1bc36e361 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:53 + docker inspect -f . ci-base-image-arm64 04:08:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:53 prd-ubuntu20.04-docker-arm64-4c-16g-12540 does not seem to be running inside a container 04:08:53 $ 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 04:08:54 $ docker top 608d85b9478fc49ee1707ae3275660907236f70041b11b366722c35dd1f025d4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:55 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 04:08:56 + make test 04:08:56 go test ./... -coverprofile=coverage.out ./... 04:09:35 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:11:57 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:11:57 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:11:57 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.206s coverage: 31.6% of statements 04:12:24 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.232s coverage: 86.5% of statements 04:12:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:12:24 go vet ./... 04:12:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:12:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:12:56 ./bin/test-attribution-txt.sh [Pipeline] echo 04:12:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:12:56 $ docker stop --time=1 608d85b9478fc49ee1707ae3275660907236f70041b11b366722c35dd1f025d4 04:12:58 $ docker rm -f --volumes 608d85b9478fc49ee1707ae3275660907236f70041b11b366722c35dd1f025d4 [Pipeline] // withDockerContainer [Pipeline] sh 04:12:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:12:59 Warning: overwriting stash ‘coverage-report’ 04:13:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:13:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:13:01 + ls -al . 04:13:01 total 228 04:13:01 drwxrwxr-x 9 jenkins jenkins 4096 May 3 04:08 . 04:13:01 drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:06 .. 04:13:01 drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:06 .git 04:13:01 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:06 .github 04:13:01 -rw-rw-r-- 1 jenkins jenkins 496 May 3 04:06 .gitignore 04:13:01 -rw-rw-r-- 1 jenkins jenkins 42 May 3 04:06 .golangci.yml 04:13:01 -rw-rw-r-- 1 jenkins jenkins 9861 May 3 04:06 Attribution.txt 04:13:01 -rw-rw-r-- 1 jenkins jenkins 6312 May 3 04:06 CHANGELOG.md 04:13:01 -rw-rw-r-- 1 jenkins jenkins 1574 May 3 04:06 Dockerfile 04:13:01 -rw-rw-r-- 1 jenkins jenkins 677 May 3 04:06 GOVERNANCE.md 04:13:01 -rw-rw-r-- 1 jenkins jenkins 734 May 3 04:06 Jenkinsfile 04:13:01 -rw-rw-r-- 1 jenkins jenkins 11348 May 3 04:06 LICENSE 04:13:01 -rw-rw-r-- 1 jenkins jenkins 2751 May 3 04:06 Makefile 04:13:01 -rw-rw-r-- 1 jenkins jenkins 625 May 3 04:06 OWNERS.md 04:13:01 -rw-rw-r-- 1 jenkins jenkins 2591 May 3 04:06 README.md 04:13:01 -rw-rw-r-- 1 jenkins jenkins 5 May 3 04:03 VERSION 04:13:01 drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:06 bin 04:13:01 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:06 cmd 04:13:01 -rw-r--r-- 1 jenkins jenkins 78922 May 3 04:12 coverage.out 04:13:01 drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:06 doc 04:13:01 -rw-rw-r-- 1 jenkins jenkins 3557 May 3 04:06 go.mod 04:13:01 -rw-rw-r-- 1 jenkins jenkins 32832 May 3 04:06 go.sum 04:13:01 drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:06 internal 04:13:01 drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:06 snap 04:13:01 -rw-rw-r-- 1 jenkins jenkins 236 May 3 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:01 + 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=4c27d799607d6db7ee5bcfde8ae9b761d69565c8 --label arch=arm64 --label version=0.0.0 . 04:13:02 Sending build context to Docker daemon 14.2MB 04:13:02 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:13:02 Step 2/26 : FROM ${BASE} AS builder 04:13:02 ---> 1a5bf9cbc5a9 04:13:02 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:13:02 ---> Running in 93525f6b457a 04:13:02 Removing intermediate container 93525f6b457a 04:13:02 ---> 9db49d58df92 04:13:02 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:13:02 ---> Running in 846d9e244506 04:13:03 Removing intermediate container 846d9e244506 04:13:03 ---> 1b75c84f5d45 04:13:03 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:13:03 ---> Running in d3f17cac4177 04:13:03 Removing intermediate container d3f17cac4177 04:13:03 ---> 1516fc3a011e 04:13:03 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:13:03 ---> Running in 9baa4bbd1b1a 04:13:04 Removing intermediate container 9baa4bbd1b1a 04:13:04 ---> b860cf303233 04:13:04 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:13:04 ---> Running in f4a310613419 04:13:04 Removing intermediate container f4a310613419 04:13:04 ---> 7680b53daaca 04:13:04 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:13:04 ---> Running in 703c1e695996 04:13:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:13:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:13:08 OK: 263 MiB in 53 packages 04:13:08 Removing intermediate container 703c1e695996 04:13:08 ---> 18d1fa1e780d 04:13:08 Step 9/26 : WORKDIR /device-onvif-camera 04:13:08 ---> Running in 7b04af35defa 04:13:08 Removing intermediate container 7b04af35defa 04:13:08 ---> 1acdbb40556f 04:13:08 Step 10/26 : COPY go.mod vendor* ./ 04:13:09 ---> fa17e9fdec86 04:13:09 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:13:09 ---> Running in 22108203dda5 04:13:12 Removing intermediate container 22108203dda5 04:13:12 ---> 87a52930061b 04:13:12 Step 12/26 : COPY . . 04:13:14 ---> 62e80fc227d7 04:13:14 Step 13/26 : RUN ${MAKE} 04:13:14 ---> Running in b84e493eb7ee 04:13:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 04:15:37 Removing intermediate container b84e493eb7ee 04:15:37 ---> 5bcbca5c5266 04:15:37 Step 14/26 : FROM alpine:3.17 04:15:37 3.17: Pulling from library/alpine 04:15:37 c41833b44d91: Already exists 04:15:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:15:37 Status: Downloaded newer image for alpine:3.17 04:15:37 ---> 51e60588ff2c 04:15:37 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:15:37 ---> Running in 4b77be43b440 04:15:38 Removing intermediate container 4b77be43b440 04:15:38 ---> f572c398d5a1 04:15:38 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:15:38 ---> Running in cbd31bc10fcb 04:15:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:15:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:15:41 (1/1) Installing dumb-init (1.2.5-r2) 04:15:41 Executing busybox-1.35.0-r29.trigger 04:15:41 OK: 8 MiB in 16 packages 04:15:43 Removing intermediate container cbd31bc10fcb 04:15:43 ---> e61c4e91ca79 04:15:43 Step 17/26 : WORKDIR / 04:15:43 ---> Running in 2e895c4b88d5 04:15:43 Removing intermediate container 2e895c4b88d5 04:15:43 ---> a065e4fd3021 04:15:43 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:15:45 ---> 79ee484053bf 04:15:45 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:15:45 ---> b866ad6c1ab4 04:15:45 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:15:46 ---> 37255847068e 04:15:46 Step 21/26 : EXPOSE 59984 04:15:46 ---> Running in 78ace639d8b8 04:15:46 Removing intermediate container 78ace639d8b8 04:15:46 ---> cb9e66a0872c 04:15:46 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:15:46 ---> Running in 352ade327a26 04:15:46 Removing intermediate container 352ade327a26 04:15:46 ---> ed4c67929541 04:15:46 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:15:46 ---> Running in a7f14a9a6541 04:15:47 Removing intermediate container a7f14a9a6541 04:15:47 ---> 375e457771da 04:15:47 Step 24/26 : LABEL arch=arm64 04:15:47 ---> Running in 7b82d07a1e40 04:15:47 Removing intermediate container 7b82d07a1e40 04:15:47 ---> bbf6611f1929 04:15:47 Step 25/26 : LABEL git_sha=4c27d799607d6db7ee5bcfde8ae9b761d69565c8 04:15:47 ---> Running in f814c2342b00 04:15:48 Removing intermediate container f814c2342b00 04:15:48 ---> 1dc230cbfef0 04:15:48 Step 26/26 : LABEL version=0.0.0 04:15:48 ---> Running in c37a38be654f 04:15:48 Removing intermediate container c37a38be654f 04:15:48 ---> 5266a2b24be5 04:15:48 [Warning] One or more build-args [ARCH] were not consumed 04:15:48 Successfully built 5266a2b24be5 04:15:48 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 04:15:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:15:49 04:15:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:15:49 arm64: Pulling from edgex-lftools-log-publisher 04:15:49 8998bd30e6a1: Pulling fs layer 04:15:49 04944245beec: Pulling fs layer 04:15:49 699f458cf7ca: Pulling fs layer 04:15:49 765212b225bb: Pulling fs layer 04:15:49 f23df028b6ca: Pulling fs layer 04:15:49 d65c8cfc05b1: Pulling fs layer 04:15:49 2437ff75d9bd: Pulling fs layer 04:15:49 f23df028b6ca: Waiting 04:15:49 d65c8cfc05b1: Waiting 04:15:49 2437ff75d9bd: Waiting 04:15:49 765212b225bb: Waiting 04:15:49 04944245beec: Verifying Checksum 04:15:49 04944245beec: Download complete 04:15:49 765212b225bb: Verifying Checksum 04:15:49 765212b225bb: Download complete 04:15:49 f23df028b6ca: Download complete 04:15:49 d65c8cfc05b1: Verifying Checksum 04:15:49 d65c8cfc05b1: Download complete 04:15:50 699f458cf7ca: Verifying Checksum 04:15:50 699f458cf7ca: Download complete 04:15:50 8998bd30e6a1: Download complete 04:15:53 2437ff75d9bd: Verifying Checksum 04:15:53 2437ff75d9bd: Download complete 04:15:54 8998bd30e6a1: Pull complete 04:15:55 04944245beec: Pull complete 04:15:57 699f458cf7ca: Pull complete 04:15:57 765212b225bb: Pull complete 04:15:58 f23df028b6ca: Pull complete 04:15:58 d65c8cfc05b1: Pull complete 04:16:13 2437ff75d9bd: Pull complete 04:16:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:16:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:16:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:13 prd-ubuntu20.04-docker-arm64-4c-16g-12540 does not seem to be running inside a container 04:16:14 $ 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 04:16:16 $ docker top ecc491d955ebe5911332d6ec12436fd8eda8f08a452f01b03cb969641a0e1e23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:17 ---> job-cost.sh 04:16:17 lf-activate-venv: SKIPPING 04:16:17 INFO: No Stack... 04:16:18 INFO: Retrieving Pricing Info for: v3-standard-4 04:16:18 INFO: Archiving Costs [Pipeline] sh 04:16:19 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 04:16:19 + cut -d, -f6 [Pipeline] lock 04:16:19 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-335-1-stack-cost] 04:16:19 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-335-1-stack-cost] did not exist. Created. 04:16:19 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-335-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:16:19 /w/workspace/device-onvif-camera/1@tmp/durable-8447b016/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:16:20 + echo total: 0.10999999940395355 [Pipeline] stash 04:16:20 Warning: overwriting stash ‘stack-cost’ 04:16:20 Stashed 1 file(s) [Pipeline] } 04:16:20 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-335-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:16:20 $ docker stop --time=1 ecc491d955ebe5911332d6ec12436fd8eda8f08a452f01b03cb969641a0e1e23 04:16:21 $ docker rm -f --volumes ecc491d955ebe5911332d6ec12436fd8eda8f08a452f01b03cb969641a0e1e23 [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 04:16:22 provisioning config files... 04:16:22 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-335@tmp/config1593548217782895226tmp [Pipeline] { [Pipeline] sh 04:16:23 + set +x 04:16:23 + curl -s https://codecov.io/bash 04:16:23 + bash -s -- 04:16:23 04:16:23 _____ _ 04:16:23 / ____| | | 04:16:23 | | ___ __| | ___ ___ _____ __ 04:16:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:16:23 | |___| (_) | (_| | __/ (_| (_) \ V / 04:16:23 \_____\___/ \__,_|\___|\___\___/ \_/ 04:16:23 Bash-1.0.6 04:16:23 04:16:23 04:16:23 ==> git version 2.25.1 found 04:16:23 ==> 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 04:16:23 Release-Date: 2020-01-08 04:16:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:16:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:16:23 ==> Jenkins CI detected. 04:16:23 current dir:  /w/workspace/undry_device-onvif-camera_PR-335 04:16:23 project root: . 04:16:23 --> token set from env 04:16:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:16:23 ==> Running gcov in . (disable via -X gcov) 04:16:23 ==> Python coveragepy not found 04:16:23 ==> Searching for coverage reports in: 04:16:23 + . 04:16:23 -> Found 1 reports 04:16:23 ==> Detecting git/mercurial file structure 04:16:23 ==> Reading reports 04:16:23 + ./coverage.out bytes=78922 04:16:23 ==> Appending adjustments 04:16:23 https://docs.codecov.io/docs/fixing-reports 04:16:23 + Found adjustments 04:16:23 ==> Gzipping contents 04:16:23 12K /tmp/codecov.CeqvEt.gz 04:16:23 ==> Uploading reports 04:16:23 url: https://codecov.io 04:16:23 query: branch=PR-335&commit=4c27d799607d6db7ee5bcfde8ae9b761d69565c8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-335%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=335&job=&cmd_args= 04:16:23 -> Pinging Codecov 04:16:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-335&commit=4c27d799607d6db7ee5bcfde8ae9b761d69565c8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-335%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=335&job=&cmd_args= 04:16:23 -> Uploading to 04:16:23 https://storage.googleapis.com/codecov/v4/raw/2023-05-03/F29A59C45E3A92E06B3E522C9905F8EF/4c27d799607d6db7ee5bcfde8ae9b761d69565c8/77b8b950-b4ab-4638-ad63-5a57634f29b0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230503T041623Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ddeb2075b49afdd8f22d5ad5d7745fa3eaabf53d5533f6c31ddeb497c6f69660 04:16:23 % Total % Received % Xferd Average Speed Time Time Time Current 04:16:23 Dload Upload Total Spent Left Speed 04:16:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10501 0 0 100 10501 0 47301 --:--:-- --:--:-- --:--:-- 47301 04:16:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4c27d799607d6db7ee5bcfde8ae9b761d69565c8 [Pipeline] } 04:16:24 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 04:16:25 + [ -d /w/workspace/undry_device-onvif-camera_PR-335/archives ] 04:16:25 + ls -al /w/workspace/undry_device-onvif-camera_PR-335/archives 04:16:25 total 16 04:16:25 drwxr-xr-x 3 root root 4096 May 3 04:05 . 04:16:25 drwxrwxr-x 11 jenkins jenkins 4096 May 3 04:05 .. 04:16:25 drwxr-xr-x 2 root root 4096 May 3 04:05 cost 04:16:25 -rw-r--r-- 1 root root 91 May 3 04:05 cost.csv 04:16:25 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-335/archives 04:16:25 + ls -al /w/workspace/undry_device-onvif-camera_PR-335/archives 04:16:25 total 16 04:16:25 drwxr-xr-x 3 jenkins jenkins 4096 May 3 04:05 . 04:16:25 drwxrwxr-x 11 jenkins jenkins 4096 May 3 04:05 .. 04:16:25 drwxr-xr-x 2 jenkins jenkins 4096 May 3 04:05 cost 04:16:25 -rw-r--r-- 1 jenkins jenkins 91 May 3 04:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:16:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:16:27 ---> package-listing.sh 04:16:27 ++ facter osfamily 04:16:27 ++ tr '[:upper:]' '[:lower:]' 04:16:27 + OS_FAMILY=debian 04:16:27 + workspace=/w/workspace/undry_device-onvif-camera_PR-335 04:16:27 + START_PACKAGES=/tmp/packages_start.txt 04:16:27 + END_PACKAGES=/tmp/packages_end.txt 04:16:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:16:27 + PACKAGES=/tmp/packages_start.txt 04:16:27 + '[' /w/workspace/undry_device-onvif-camera_PR-335 ']' 04:16:27 + PACKAGES=/tmp/packages_end.txt 04:16:27 + case "${OS_FAMILY}" in 04:16:27 + dpkg -l 04:16:27 + grep '^ii' 04:16:27 + '[' -f /tmp/packages_start.txt ']' 04:16:27 + '[' -f /tmp/packages_end.txt ']' 04:16:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:16:27 + '[' /w/workspace/undry_device-onvif-camera_PR-335 ']' 04:16:27 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-335/archives/ 04:16:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-335/archives/ [Pipeline] echo 04:16:27 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-335/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:16:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:16:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:28 prd-ubuntu20.04-docker-8c-8g-12536 does not seem to be running inside a container 04:16:28 $ 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-335/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-335 -v /w/workspace/undry_device-onvif-camera_PR-335:/w/workspace/undry_device-onvif-camera_PR-335:rw,z -v /w/workspace/undry_device-onvif-camera_PR-335@tmp:/w/workspace/undry_device-onvif-camera_PR-335@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 04:16:28 $ docker top 22dd770bfe355896649604ec9d6b57c3621152d50c18e06212f7e133cb445cbe -eo pid,comm [Pipeline] { [Pipeline] sh 04:16:29 + touch /tmp/pre-build-complete [Pipeline] sh 04:16:29 + mkdir -p /var/log/sysstat [Pipeline] sh 04:16:29 + ls /var/log/sa-host 04:16:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:16:29 provisioning config files... 04:16:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-335@tmp/config17987909182134911374tmp [Pipeline] { [Pipeline] echo 04:16:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:16:30 ---> create-netrc.sh [Pipeline] } 04:16:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:16:30 ---> python-tools-install.sh [Pipeline] echo 04:16:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:16:30 ---> sudo-logs.sh 04:16:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:16:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:16:31 ---> job-cost.sh 04:16:31 lf-activate-venv: SKIPPING 04:16:31 DEBUG: total: 0.2199999988079071 04:16:31 INFO: Retrieving Stack Cost... 04:16:31 INFO: Retrieving Pricing Info for: v3-standard-8 04:16:32 INFO: Archiving Costs [Pipeline] echo 04:16:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:16:32 ---> logs-deploy.sh 04:16:32 lf-activate-venv: SKIPPING 04:16:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-335/1 04:16:32 INFO: archiving workspace using pattern(s): 04:16:33 Archives upload complete. 04:16:33 INFO: archiving logs to Nexus