Pull request #327 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 11411f0057ed928d3166128fb4b4ec67723ef7ec+00bdd2cabb0c43dfb1f93a71ebf53860aad231a4 (ac8cf34cb15dc40384073072189fbc78ab3cac9e) 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-ssh15379956473132975523.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-ssh11320759104153491763.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-327/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-327/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16299934835707800081.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-327/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11453121376621386739.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-ssh13508240431826538879.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-327/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-327/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18010751786197338664.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 Running on prd-ubuntu20.04-docker-8c-8g-11184 in /w/workspace/undry_device-onvif-camera_PR-327 [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-327 # 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 00bdd2cabb0c43dfb1f93a71ebf53860aad231a4 into PR head commit 11411f0057ed928d3166128fb4b4ec67723ef7ec Merge succeeded, producing 11411f0057ed928d3166128fb4b4ec67723ef7ec Checking out Revision 11411f0057ed928d3166128fb4b4ec67723ef7ec (PR-327) > 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/327/head:refs/remotes/origin/PR-327 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 11411f0057ed928d3166128fb4b4ec67723ef7ec # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 00bdd2cabb0c43dfb1f93a71ebf53860aad231a4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 11411f0057ed928d3166128fb4b4ec67723ef7ec # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/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:00:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:00:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:00:46 ========================================================= 04:00:46 EdgeX Global Pipelines Version Info 04:00:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:00:47 ------------------- 04:00:47 stable info: 04:00:47 ------------------- 04:00:47 Commited By: Bill Mahoney bill.mahoney@intel.com 04:00:47 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 04:00:47 Message: update stable to v1.0.248 04:00:48 ------------------- 04:00:48 experimental info: 04:00:48 ------------------- 04:00:48 Commited By: **** collab-it+edgex@linuxfoundation.org 04:00:48 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 04:00:48 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:00:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:00:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:00:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:00:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:00:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:00:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:00:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:00:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:00:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:00:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:00:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:00:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:00:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:00:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:00:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:00:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:00:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:00:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:00:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:00:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:00:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:00:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 04:00:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:00:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:00:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:00:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:00:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:00:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-327 [Pipeline] echo 04:00:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-327 [Pipeline] echo 04:00:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-327 [Pipeline] echo 04:00:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 11411f0057ed928d3166128fb4b4ec67723ef7ec [Pipeline] echo 04:00:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 11411f0 [Pipeline] echo 04:00:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:00:49 provisioning config files... 04:00:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-327@tmp/config18168649732123093721tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:00:50 ---> docker-login.sh 04:00:50 nexus3.edgexfoundry.org:10001 04:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:50 Configure a credential helper to remove this warning. See 04:00:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:50 04:00:50 Login Succeeded 04:00:50 nexus3.edgexfoundry.org:10002 04:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:50 Configure a credential helper to remove this warning. See 04:00:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:50 04:00:50 Login Succeeded 04:00:50 nexus3.edgexfoundry.org:10003 04:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:50 Configure a credential helper to remove this warning. See 04:00:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:50 04:00:50 Login Succeeded 04:00:50 nexus3.edgexfoundry.org:10004 04:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:50 Configure a credential helper to remove this warning. See 04:00:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:50 04:00:50 Login Succeeded 04:00:50 docker.io 04:00:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:51 Configure a credential helper to remove this warning. See 04:00:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:51 04:00:51 Login Succeeded 04:00:51 ---> docker-login.sh ends [Pipeline] } 04:00:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:00:51 + git rev-list -1 --merges 11411f0057ed928d3166128fb4b4ec67723ef7ec~1..11411f0057ed928d3166128fb4b4ec67723ef7ec [Pipeline] echo 04:00:51 -----------> git rev-list -1 --merges 11411f0057ed928d3166128fb4b4ec67723ef7ec~1..11411f0057ed928d3166128fb4b4ec67723ef7ec 11411f0057ed928d3166128fb4b4ec67723ef7ec [false] [Pipeline] sh 04:00:52 + git log --format=format:%s -1 11411f0057ed928d3166128fb4b4ec67723ef7ec [Pipeline] echo 04:00:52 ========================================================= 04:00:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:00:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:00:52 + git log --format=format:%s -1 11411f0057ed928d3166128fb4b4ec67723ef7ec [Pipeline] echo 04:00:52 [semverPrep] GIT_COMMIT: 11411f0057ed928d3166128fb4b4ec67723ef7ec, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 04:00:52 [semverPrep] This is not a build commit. [Pipeline] sh 04:00:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:00:53 + grep -v github /etc/ssh/ssh_known_hosts 04:00:53 + [ -e /tmp/ssh_known_hosts ] 04:00:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:00:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:00:53 + sudo tee -a /etc/ssh/ssh_known_hosts 04:00:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:00:53 04:00:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:00:53 0.1.4: Pulling from edgex-devops/py-git-semver 04:00:53 b85a868b505f: Pulling fs layer 04:00:53 e2be974225ed: Pulling fs layer 04:00:53 339a4e72a1f5: Pulling fs layer 04:00:53 988bab9f4d93: Pulling fs layer 04:00:53 1469e6f7b9e6: Pulling fs layer 04:00:53 eaf3925da568: Pulling fs layer 04:00:53 bab4dde63d76: Pulling fs layer 04:00:53 bde34c3a00c8: Pulling fs layer 04:00:53 b352a97aabf1: Pulling fs layer 04:00:53 4872d77fe225: Pulling fs layer 04:00:53 5851b861e8e6: Pulling fs layer 04:00:53 988bab9f4d93: Waiting 04:00:53 1469e6f7b9e6: Waiting 04:00:53 eaf3925da568: Waiting 04:00:53 bab4dde63d76: Waiting 04:00:53 bde34c3a00c8: Waiting 04:00:53 b352a97aabf1: Waiting 04:00:53 4872d77fe225: Waiting 04:00:53 5851b861e8e6: Waiting 04:00:53 e2be974225ed: Verifying Checksum 04:00:53 e2be974225ed: Download complete 04:00:53 988bab9f4d93: Download complete 04:00:53 1469e6f7b9e6: Verifying Checksum 04:00:53 1469e6f7b9e6: Download complete 04:00:54 339a4e72a1f5: Verifying Checksum 04:00:54 339a4e72a1f5: Download complete 04:00:54 eaf3925da568: Verifying Checksum 04:00:54 eaf3925da568: Download complete 04:00:54 bde34c3a00c8: Download complete 04:00:54 b352a97aabf1: Verifying Checksum 04:00:54 b352a97aabf1: Download complete 04:00:54 4872d77fe225: Verifying Checksum 04:00:54 4872d77fe225: Download complete 04:00:54 5851b861e8e6: Download complete 04:00:54 b85a868b505f: Download complete 04:00:54 bab4dde63d76: Verifying Checksum 04:00:54 bab4dde63d76: Download complete 04:00:55 b85a868b505f: Pull complete 04:00:55 e2be974225ed: Pull complete 04:00:55 339a4e72a1f5: Pull complete 04:00:56 988bab9f4d93: Pull complete 04:00:56 1469e6f7b9e6: Pull complete 04:00:56 eaf3925da568: Pull complete 04:00:58 bab4dde63d76: Pull complete 04:00:58 bde34c3a00c8: Pull complete 04:00:58 b352a97aabf1: Pull complete 04:00:58 4872d77fe225: Pull complete 04:00:58 5851b861e8e6: Pull complete 04:00:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:00:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:00:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:00:58 prd-ubuntu20.04-docker-8c-8g-11184 does not seem to be running inside a container 04:00:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-327 -v /w/workspace/undry_device-onvif-camera_PR-327:/w/workspace/undry_device-onvif-camera_PR-327:rw,z -v /w/workspace/undry_device-onvif-camera_PR-327@tmp:/w/workspace/undry_device-onvif-camera_PR-327@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:01:01 $ docker top 73abd0d41ed326465f7c44c39a5b5e616ea2c6d11965ef89d65bd020fe18ff0e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:01:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:01:01 [ssh-agent] Looking for ssh-agent implementation... 04:01:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:01:01 $ docker exec 73abd0d41ed326465f7c44c39a5b5e616ea2c6d11965ef89d65bd020fe18ff0e ssh-agent 04:01:01 SSH_AUTH_SOCK=/tmp/ssh-9zQdlh2phvfP/agent.32 04:01:01 SSH_AGENT_PID=39 04:01:01 Running ssh-add (command line suppressed) 04:01:01 Identity added: /w/workspace/undry_device-onvif-camera_PR-327@tmp/private_key_2750042264252692229.key (/w/workspace/undry_device-onvif-camera_PR-327@tmp/private_key_2750042264252692229.key) 04:01:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:01:02 + git tag --points-at HEAD [Pipeline] } 04:01:02 $ docker exec --env ******** --env ******** 73abd0d41ed326465f7c44c39a5b5e616ea2c6d11965ef89d65bd020fe18ff0e ssh-agent -k 04:01:02 unset SSH_AUTH_SOCK; 04:01:02 unset SSH_AGENT_PID; 04:01:02 echo Agent pid 39 killed; 04:01:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:01:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:01:02 [ssh-agent] Looking for ssh-agent implementation... 04:01:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:01:02 $ docker exec 73abd0d41ed326465f7c44c39a5b5e616ea2c6d11965ef89d65bd020fe18ff0e ssh-agent 04:01:02 SSH_AUTH_SOCK=/tmp/ssh-uZ1q0KLXRZyQ/agent.73 04:01:02 SSH_AGENT_PID=79 04:01:02 Running ssh-add (command line suppressed) 04:01:02 Identity added: /w/workspace/undry_device-onvif-camera_PR-327@tmp/private_key_3506251164146239125.key (/w/workspace/undry_device-onvif-camera_PR-327@tmp/private_key_3506251164146239125.key) 04:01:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:01:03 + git semver init 04:01:03 2023-04-27 04:01:03,348 [run_init] DEBUG init version:0.0.0 force:False 04:01:03 2023-04-27 04:01:03,349 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-327/.semver 04:01:03 2023-04-27 04:01:03,350 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-327/.semver 04:01:03 2023-04-27 04:01:03,350 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-327/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-327, universal_newlines=False, shell=None, istream=None) 04:01:04 2023-04-27 04:01:04,282 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-327/.git/info/exclude 04:01:04 2023-04-27 04:01:04,283 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-327/.semver/PR-327 with force:False 04:01:04 2023-04-27 04:01:04,283 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-327/.semver/PR-327 04:01:04 2023-04-27 04:01:04,287 [execute] INFO git cat-file --batch-check 04:01:04 2023-04-27 04:01:04,288 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-327/.semver, universal_newlines=False, shell=None, istream=) 04:01:04 2023-04-27 04:01:04,294 [execute] INFO git cat-file --batch 04:01:04 2023-04-27 04:01:04,295 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-327/.semver, universal_newlines=False, shell=None, istream=) 04:01:04 2023-04-27 04:01:04,300 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-327/.semver/PR-327 04:01:04 0.0.0 [Pipeline] } 04:01:04 $ docker exec --env ******** --env ******** 73abd0d41ed326465f7c44c39a5b5e616ea2c6d11965ef89d65bd020fe18ff0e ssh-agent -k 04:01:04 unset SSH_AUTH_SOCK; 04:01:04 unset SSH_AGENT_PID; 04:01:04 echo Agent pid 79 killed; 04:01:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:01:04 + git semver [Pipeline] } 04:01:05 $ docker stop --time=1 73abd0d41ed326465f7c44c39a5b5e616ea2c6d11965ef89d65bd020fe18ff0e 04:01:06 $ docker rm -f --volumes 73abd0d41ed326465f7c44c39a5b5e616ea2c6d11965ef89d65bd020fe18ff0e [Pipeline] // withDockerContainer [Pipeline] sh 04:01:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:01:08 Stashed 1 file(s) [Pipeline] echo 04:01:08 [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:01:09 provisioning config files... 04:01:09 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-327@tmp/config8466536406217562947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:09 ---> docker-login.sh 04:01:09 nexus3.edgexfoundry.org:10001 04:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:09 Configure a credential helper to remove this warning. See 04:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:09 04:01:09 Login Succeeded 04:01:09 nexus3.edgexfoundry.org:10002 04:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:09 Configure a credential helper to remove this warning. See 04:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:09 04:01:09 Login Succeeded 04:01:09 nexus3.edgexfoundry.org:10003 04:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:09 Configure a credential helper to remove this warning. See 04:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:09 04:01:09 Login Succeeded 04:01:09 nexus3.edgexfoundry.org:10004 04:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:09 Configure a credential helper to remove this warning. See 04:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:09 04:01:09 Login Succeeded 04:01:09 docker.io 04:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:10 Configure a credential helper to remove this warning. See 04:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:10 04:01:10 Login Succeeded 04:01:10 ---> docker-login.sh ends [Pipeline] } 04:01:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:01:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:01:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:01:10 ========================================================= 04:01:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:01:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:10 + 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:01:10 Sending build context to Docker daemon 26.97MB 04:01:10 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 04:01:10 Step 2/13 : FROM ${BASE} AS builder 04:01:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:01:11 f56be85fc22e: Pulling fs layer 04:01:11 85791d961cd3: Pulling fs layer 04:01:11 d694b5ae8c79: Pulling fs layer 04:01:11 9f32a84ed3da: Pulling fs layer 04:01:11 4d19c01a9841: Pulling fs layer 04:01:11 9325e15d5711: Pulling fs layer 04:01:11 556b6ee489ea: Pulling fs layer 04:01:11 c5a4b2cf53e6: Pulling fs layer 04:01:11 9f32a84ed3da: Waiting 04:01:11 4d19c01a9841: Waiting 04:01:11 9325e15d5711: Waiting 04:01:11 556b6ee489ea: Waiting 04:01:11 c5a4b2cf53e6: Waiting 04:01:11 85791d961cd3: Verifying Checksum 04:01:11 85791d961cd3: Download complete 04:01:11 9f32a84ed3da: Verifying Checksum 04:01:11 4d19c01a9841: Verifying Checksum 04:01:11 4d19c01a9841: Download complete 04:01:11 f56be85fc22e: Verifying Checksum 04:01:11 f56be85fc22e: Download complete 04:01:11 9325e15d5711: Download complete 04:01:11 f56be85fc22e: Pull complete 04:01:11 85791d961cd3: Pull complete 04:01:11 c5a4b2cf53e6: Verifying Checksum 04:01:11 c5a4b2cf53e6: Download complete 04:01:11 d694b5ae8c79: Verifying Checksum 04:01:11 d694b5ae8c79: Download complete 04:01:11 556b6ee489ea: Verifying Checksum 04:01:11 556b6ee489ea: Download complete 04:01:15 d694b5ae8c79: Pull complete 04:01:15 9f32a84ed3da: Pull complete 04:01:15 4d19c01a9841: Pull complete 04:01:15 9325e15d5711: Pull complete 04:01:17 556b6ee489ea: Pull complete 04:01:17 c5a4b2cf53e6: Pull complete 04:01:17 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 04:01:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:01:17 ---> c4be618373d6 04:01:17 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:01:21 ---> Running in 151b45ca72f1 04:01:21 Removing intermediate container 151b45ca72f1 04:01:21 ---> a6a361c81cab 04:01:21 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:01:21 ---> Running in 0e56f7603c56 04:01:21 Removing intermediate container 0e56f7603c56 04:01:21 ---> f02b610a474b 04:01:21 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:01:21 ---> Running in 7ce489110181 04:01:21 Removing intermediate container 7ce489110181 04:01:21 ---> 93a2cf6349ee 04:01:21 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:01:21 ---> Running in 635a413f0f9f 04:01:21 Removing intermediate container 635a413f0f9f 04:01:21 ---> 94f5c6ce2576 04:01:21 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:01:21 ---> Running in 6f0651e91c94 04:01:21 Removing intermediate container 6f0651e91c94 04:01:21 ---> 49400a019728 04:01:21 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:01:21 ---> Running in 0d8d037e414e 04:01:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:01:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:01:22 OK: 265 MiB in 53 packages 04:01:22 Removing intermediate container 0d8d037e414e 04:01:22 ---> a37139b26af7 04:01:22 Step 9/13 : WORKDIR /device-onvif-camera 04:01:22 ---> Running in 64fcb0e97439 04:01:22 Removing intermediate container 64fcb0e97439 04:01:22 ---> 27bee4864949 04:01:22 Step 10/13 : COPY go.mod vendor* ./ 04:01:23 ---> 4f24bf1cd2fb 04:01:23 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:01:23 ---> Running in 9bd729f75598 04:01:24 Still waiting to schedule task 04:01:24 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-11853’ 04:02:01 Removing intermediate container 9bd729f75598 04:02:01 ---> d63992602b91 04:02:01 Step 12/13 : COPY . . 04:02:01 ---> 07c67af3b5b3 04:02:01 Step 13/13 : RUN ${MAKE} 04:02:01 ---> Running in e24c8f50c9e7 04:02:01 noop 04:02:01 Removing intermediate container e24c8f50c9e7 04:02:01 ---> bc29b8144060 04:02:01 Successfully built bc29b8144060 04:02:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:02 + docker inspect -f . ci-base-image-x86_64 04:02:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:02 prd-ubuntu20.04-docker-8c-8g-11184 does not seem to be running inside a container 04:02:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-327 -v /w/workspace/undry_device-onvif-camera_PR-327:/w/workspace/undry_device-onvif-camera_PR-327:rw,z -v /w/workspace/undry_device-onvif-camera_PR-327@tmp:/w/workspace/undry_device-onvif-camera_PR-327@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 ******** ci-base-image-x86_64 cat 04:02:02 $ docker top 3a8b52008c1823e796c415205a0c6c30f6f9ab4909870b0fc97be4f1fa481285 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:03 + go version 04:02:03 go version go1.20.2 linux/amd64 [Pipeline] } 04:02:03 $ docker stop --time=1 3a8b52008c1823e796c415205a0c6c30f6f9ab4909870b0fc97be4f1fa481285 04:02:04 $ docker rm -f --volumes 3a8b52008c1823e796c415205a0c6c30f6f9ab4909870b0fc97be4f1fa481285 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:05 + docker inspect -f . ci-base-image-x86_64 04:02:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:05 prd-ubuntu20.04-docker-8c-8g-11184 does not seem to be running inside a container 04:02:05 $ 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-327 -v /w/workspace/undry_device-onvif-camera_PR-327:/w/workspace/undry_device-onvif-camera_PR-327:rw,z -v /w/workspace/undry_device-onvif-camera_PR-327@tmp:/w/workspace/undry_device-onvif-camera_PR-327@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 ******** ci-base-image-x86_64 cat 04:02:05 $ docker top aace4fabcd749b0112debe4da793a56973ad9ab91e935d896e1c862f36c8f8d1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:06 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-327 [Pipeline] fileExists [Pipeline] sh 04:02:06 + make test 04:02:06 go test ./... -coverprofile=coverage.out ./... 04:02:11 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:02:21 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:02:21 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:02:23 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.6% of statements 04:02:23 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.130s coverage: 86.5% of statements 04:02:31 go vet ./... 04:02:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:02:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:02:34 ./bin/test-attribution-txt.sh [Pipeline] echo 04:02:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:02:34 $ docker stop --time=1 aace4fabcd749b0112debe4da793a56973ad9ab91e935d896e1c862f36c8f8d1 04:02:38 $ docker rm -f --volumes aace4fabcd749b0112debe4da793a56973ad9ab91e935d896e1c862f36c8f8d1 [Pipeline] // withDockerContainer [Pipeline] sh 04:02:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:02:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:02:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:02:40 + ls -al . 04:02:40 total 236 04:02:40 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 04:02 . 04:02:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:00 .. 04:02:40 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:01 .git 04:02:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:00 .github 04:02:40 -rw-rw-r-- 1 jenkins jenkins 496 Apr 27 04:00 .gitignore 04:02:40 -rw-rw-r-- 1 jenkins jenkins 42 Apr 27 04:00 .golangci.yml 04:02:40 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 04:01 .semver 04:02:40 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 27 04:00 Attribution.txt 04:02:40 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 27 04:00 CHANGELOG.md 04:02:40 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 27 04:00 Dockerfile 04:02:40 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 04:00 GOVERNANCE.md 04:02:40 -rw-rw-r-- 1 jenkins jenkins 734 Apr 27 04:00 Jenkinsfile 04:02:40 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 27 04:00 LICENSE 04:02:40 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 27 04:00 Makefile 04:02:40 -rw-rw-r-- 1 jenkins jenkins 625 Apr 27 04:00 OWNERS.md 04:02:40 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 27 04:00 README.md 04:02:40 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 04:01 VERSION 04:02:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:00 bin 04:02:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:00 cmd 04:02:40 -rw-r--r-- 1 jenkins jenkins 78922 Apr 27 04:02 coverage.out 04:02:40 drwxrwxr-x 6 jenkins jenkins 4096 Apr 27 04:00 doc 04:02:40 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 27 04:00 go.mod 04:02:40 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 27 04:00 go.sum 04:02:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:00 internal 04:02:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:00 snap 04:02:40 -rw-rw-r-- 1 jenkins jenkins 236 Apr 27 04:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:40 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=11411f0057ed928d3166128fb4b4ec67723ef7ec --label arch=amd64 --label version=0.0.0 . 04:02:40 Sending build context to Docker daemon 27.05MB 04:02:40 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:02:40 Step 2/26 : FROM ${BASE} AS builder 04:02:40 ---> bc29b8144060 04:02:40 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:02:41 ---> Running in bd23ad5cf99d 04:02:41 Removing intermediate container bd23ad5cf99d 04:02:41 ---> 942d6343ed1b 04:02:41 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:02:41 ---> Running in ec823a7b2a06 04:02:41 Removing intermediate container ec823a7b2a06 04:02:41 ---> 30a05f41a0e2 04:02:41 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:02:41 ---> Running in 6e6fe57b0950 04:02:41 Removing intermediate container 6e6fe57b0950 04:02:41 ---> 097b9b91d827 04:02:41 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:02:41 ---> Running in 96b746cffb7f 04:02:41 Removing intermediate container 96b746cffb7f 04:02:41 ---> 1f47367ee97c 04:02:41 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:02:41 ---> Running in 2ea239d82f87 04:02:41 Removing intermediate container 2ea239d82f87 04:02:41 ---> aac2725ba155 04:02:41 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:02:41 ---> Running in fc13df5b40da 04:02:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:02:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:02:41 OK: 265 MiB in 53 packages 04:02:42 Removing intermediate container fc13df5b40da 04:02:42 ---> 17d8fa5a1cc6 04:02:42 Step 9/26 : WORKDIR /device-onvif-camera 04:02:42 ---> Running in 847adb85ba0a 04:02:42 Removing intermediate container 847adb85ba0a 04:02:42 ---> b85f763b4740 04:02:42 Step 10/26 : COPY go.mod vendor* ./ 04:02:42 ---> 58a22d7ca145 04:02:42 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:02:42 ---> Running in 694984d58ea6 04:02:43 Removing intermediate container 694984d58ea6 04:02:43 ---> 88f75e1f82fa 04:02:43 Step 12/26 : COPY . . 04:02:44 ---> 3a38a361e529 04:02:44 Step 13/26 : RUN ${MAKE} 04:02:44 ---> Running in 64b9d7c583ca 04:02:44 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:03:06 Removing intermediate container 64b9d7c583ca 04:03:06 ---> 3240b019223c 04:03:06 Step 14/26 : FROM alpine:3.17 04:03:06 3.17: Pulling from library/alpine 04:03:06 f56be85fc22e: Already exists 04:03:06 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:03:06 Status: Downloaded newer image for alpine:3.17 04:03:06 ---> 9ed4aefc74f6 04:03:06 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:03:06 ---> Running in 11d375bb54a0 04:03:06 Removing intermediate container 11d375bb54a0 04:03:06 ---> f871f3762ff0 04:03:06 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:03:06 ---> Running in 61b0a59ced9d 04:03:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:03:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:03:06 (1/1) Installing dumb-init (1.2.5-r2) 04:03:06 Executing busybox-1.35.0-r29.trigger 04:03:06 OK: 7 MiB in 16 packages 04:03:06 Removing intermediate container 61b0a59ced9d 04:03:06 ---> f3b5e251ad62 04:03:06 Step 17/26 : WORKDIR / 04:03:06 ---> Running in 092aee6cf069 04:03:06 Removing intermediate container 092aee6cf069 04:03:06 ---> 81e3573a5202 04:03:06 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:03:06 ---> e19a797e90a6 04:03:06 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:03:06 ---> 3643c71c6ddc 04:03:06 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:03:06 ---> d5f27d804865 04:03:06 Step 21/26 : EXPOSE 59984 04:03:06 ---> Running in 92b759ec049e 04:03:06 Removing intermediate container 92b759ec049e 04:03:06 ---> dd64f8e7d84e 04:03:06 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:03:06 ---> Running in 08654c18d318 04:03:06 Removing intermediate container 08654c18d318 04:03:06 ---> 56dfe0f7c34f 04:03:06 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:03:06 ---> Running in a3182fae66ef 04:03:06 Removing intermediate container a3182fae66ef 04:03:06 ---> 969f014e0347 04:03:06 Step 24/26 : LABEL arch=amd64 04:03:06 ---> Running in e04ff8731eb1 04:03:06 Removing intermediate container e04ff8731eb1 04:03:06 ---> ecb06d4fbca4 04:03:06 Step 25/26 : LABEL git_sha=11411f0057ed928d3166128fb4b4ec67723ef7ec 04:03:06 ---> Running in dbca4fd88d97 04:03:06 Removing intermediate container dbca4fd88d97 04:03:06 ---> 66737260e2ad 04:03:06 Step 26/26 : LABEL version=0.0.0 04:03:06 ---> Running in 8519c66d1eec 04:03:06 Removing intermediate container 8519c66d1eec 04:03:06 ---> 9ce5b1b669aa 04:03:06 [Warning] One or more build-args [ARCH] were not consumed 04:03:06 Successfully built 9ce5b1b669aa 04:03:06 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:03:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:03:07 04:03:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:03:07 latest: Pulling from edgex-lftools-log-publisher 04:03:07 5eb5b503b376: Pulling fs layer 04:03:07 5c69ac0246d0: Pulling fs layer 04:03:07 ec43610c2a17: Pulling fs layer 04:03:07 3a2ae6a8a46f: Pulling fs layer 04:03:07 33b1e0a273af: Pulling fs layer 04:03:07 5d3b04190fa2: Pulling fs layer 04:03:07 2f39f015ded8: Pulling fs layer 04:03:07 33b1e0a273af: Waiting 04:03:07 5d3b04190fa2: Waiting 04:03:07 2f39f015ded8: Waiting 04:03:07 3a2ae6a8a46f: Waiting 04:03:07 5c69ac0246d0: Download complete 04:03:07 3a2ae6a8a46f: Verifying Checksum 04:03:07 3a2ae6a8a46f: Download complete 04:03:07 33b1e0a273af: Verifying Checksum 04:03:07 33b1e0a273af: Download complete 04:03:07 ec43610c2a17: Verifying Checksum 04:03:07 ec43610c2a17: Download complete 04:03:07 5d3b04190fa2: Download complete 04:03:07 5eb5b503b376: Verifying Checksum 04:03:07 5eb5b503b376: Download complete 04:03:08 2f39f015ded8: Download complete 04:03:09 5eb5b503b376: Pull complete 04:03:09 5c69ac0246d0: Pull complete 04:03:09 ec43610c2a17: Pull complete 04:03:09 3a2ae6a8a46f: Pull complete 04:03:09 33b1e0a273af: Pull complete 04:03:09 5d3b04190fa2: Pull complete 04:03:14 2f39f015ded8: Pull complete 04:03:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:03:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:03:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:14 prd-ubuntu20.04-docker-8c-8g-11184 does not seem to be running inside a container 04:03: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/undry_device-onvif-camera_PR-327 -v /w/workspace/undry_device-onvif-camera_PR-327:/w/workspace/undry_device-onvif-camera_PR-327:rw,z -v /w/workspace/undry_device-onvif-camera_PR-327@tmp:/w/workspace/undry_device-onvif-camera_PR-327@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:03:18 $ docker top bb7609f9348c727b463f42761413a81223e1809e7273dd259d646d2d817e455c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:03:18 ---> job-cost.sh 04:03:18 lf-activate-venv: SKIPPING 04:03:18 INFO: No Stack... 04:03:19 INFO: Retrieving Pricing Info for: v3-standard-8 04:03:19 INFO: Archiving Costs [Pipeline] sh 04:03:20 + cat /w/workspace/undry_device-onvif-camera_PR-327/archives/cost.csv 04:03:20 + cut -d, -f6 [Pipeline] lock 04:03:20 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-327-1-stack-cost] 04:03:20 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-327-1-stack-cost] did not exist. Created. 04:03:20 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-327-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:03:20 + echo total: 0.4399999976158142 [Pipeline] stash 04:03:20 Stashed 1 file(s) [Pipeline] } 04:03:20 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-327-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:03:20 $ docker stop --time=1 bb7609f9348c727b463f42761413a81223e1809e7273dd259d646d2d817e455c 04:03:21 $ docker rm -f --volumes bb7609f9348c727b463f42761413a81223e1809e7273dd259d646d2d817e455c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:06:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11857 in /w/workspace/undry_device-onvif-camera_PR-327 [Pipeline] { [Pipeline] ws 04:06:30 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 04:06:30 The recommended git tool is: git 04:06:37 using credential edgex-jenkins-ssh 04:06:37 Cloning the remote Git repository 04:06:37 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:06:37 > git init /w/workspace/device-onvif-camera/1 # timeout=10 04:06:38 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:06:38 > git --version # timeout=10 04:06:38 > git --version # 'git version 2.25.1' 04:06:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:06:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:06:39 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:06:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:06:41 Merging remotes/origin/main commit 00bdd2cabb0c43dfb1f93a71ebf53860aad231a4 into PR head commit 11411f0057ed928d3166128fb4b4ec67723ef7ec 04:06:41 Merge succeeded, producing 11411f0057ed928d3166128fb4b4ec67723ef7ec 04:06:41 Checking out Revision 11411f0057ed928d3166128fb4b4ec67723ef7ec (PR-327) 04:06:40 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:06:40 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:06:40 using GIT_SSH to set credentials SSH Credentials for GitHub 04:06:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/327/head:refs/remotes/origin/PR-327 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:06:41 > git config core.sparsecheckout # timeout=10 04:06:41 > git checkout -f 11411f0057ed928d3166128fb4b4ec67723ef7ec # timeout=10 04:06:41 > git remote # timeout=10 04:06:41 > git config --get remote.origin.url # timeout=10 04:06:41 using GIT_SSH to set credentials SSH Credentials for GitHub 04:06:41 > git merge 00bdd2cabb0c43dfb1f93a71ebf53860aad231a4 # timeout=10 04:06:41 > git rev-parse HEAD^{commit} # timeout=10 04:06:41 > git config core.sparsecheckout # timeout=10 04:06:41 > git checkout -f 11411f0057ed928d3166128fb4b4ec67723ef7ec # timeout=10 04:06:42 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 04:06:42 > git --version # timeout=10 04:06:42 > git --version # 'git version 2.25.1' 04:06:42 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:06:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:06:44 % Total % Received % Xferd Average Speed Time Time Time Current 04:06:44 Dload Upload Total Spent Left Speed 04:06:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 04:06:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:06:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:06:44 + sudo tee /etc/docker/daemon.new 04:06:44 { 04:06:44 "registry-mirrors": [ 04:06:44 "https://nexus3.edgexfoundry.org:10001" 04:06:44 ], 04:06:44 "bip": "10.250.0.254/24", 04:06:44 "hosts": [ 04:06:44 "tcp://0.0.0.0:5555", 04:06:44 "unix:///var/run/docker.sock" 04:06:44 ], 04:06:44 "mtu": 1458, 04:06:44 "selinux-enabled": true, 04:06:44 "seccomp-profile": "/etc/docker/seccomp.json" 04:06:44 } [Pipeline] sh 04:06:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:06:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:04 provisioning config files... 04:07:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config17413049830726000486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:04 ---> docker-login.sh 04:07:04 nexus3.edgexfoundry.org:10001 04:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:05 Configure a credential helper to remove this warning. See 04:07:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:05 04:07:05 Login Succeeded 04:07:05 nexus3.edgexfoundry.org:10002 04:07:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:05 Configure a credential helper to remove this warning. See 04:07:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:05 04:07:05 Login Succeeded 04:07:05 nexus3.edgexfoundry.org:10003 04:07:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:05 Configure a credential helper to remove this warning. See 04:07:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:05 04:07:05 Login Succeeded 04:07:05 nexus3.edgexfoundry.org:10004 04:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:06 Configure a credential helper to remove this warning. See 04:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:06 04:07:06 Login Succeeded 04:07:06 docker.io 04:07:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:06 Configure a credential helper to remove this warning. See 04:07:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:06 04:07:06 Login Succeeded 04:07:06 ---> docker-login.sh ends [Pipeline] } 04:07:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:07:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:07 ========================================================= 04:07:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:07:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:07 + 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:08 Sending build context to Docker daemon 19.68MB 04:07:08 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 04:07:08 Step 2/13 : FROM ${BASE} AS builder 04:07:08 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:07:08 c41833b44d91: Pulling fs layer 04:07:08 ed15518f5707: Pulling fs layer 04:07:08 feae8fd75edb: Pulling fs layer 04:07:08 242c74f7c9fa: Pulling fs layer 04:07:08 3cdef696dda3: Pulling fs layer 04:07:08 2ced38df9373: Pulling fs layer 04:07:08 58f1dce35555: Pulling fs layer 04:07:08 3cdef696dda3: Waiting 04:07:08 2ced38df9373: Waiting 04:07:08 58f1dce35555: Waiting 04:07:08 242c74f7c9fa: Waiting 04:07:08 ed15518f5707: Verifying Checksum 04:07:08 ed15518f5707: Download complete 04:07:08 242c74f7c9fa: Verifying Checksum 04:07:08 242c74f7c9fa: Download complete 04:07:08 3cdef696dda3: Verifying Checksum 04:07:08 3cdef696dda3: Download complete 04:07:08 c41833b44d91: Verifying Checksum 04:07:08 c41833b44d91: Download complete 04:07:09 c41833b44d91: Pull complete 04:07:09 58f1dce35555: Verifying Checksum 04:07:09 58f1dce35555: Download complete 04:07:10 ed15518f5707: Pull complete 04:07:11 feae8fd75edb: Verifying Checksum 04:07:11 feae8fd75edb: Download complete 04:07:11 2ced38df9373: Verifying Checksum 04:07:11 2ced38df9373: Download complete 04:07:23 feae8fd75edb: Pull complete 04:07:23 242c74f7c9fa: Pull complete 04:07:23 3cdef696dda3: Pull complete 04:07:31 2ced38df9373: Pull complete 04:07:34 58f1dce35555: Pull complete 04:07:34 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 04:07:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:07:34 ---> fadd8f120f05 04:07:34 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:07:35 ---> Running in 78fec34995c1 04:07:35 Removing intermediate container 78fec34995c1 04:07:35 ---> 0e58fd2bf986 04:07:35 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:07:35 ---> Running in b4926bd25abd 04:07:36 Removing intermediate container b4926bd25abd 04:07:36 ---> 85ab26596158 04:07:36 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:07:36 ---> Running in 6d291da2f6c2 04:07:36 Removing intermediate container 6d291da2f6c2 04:07:36 ---> ad3098b077d5 04:07:36 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:07:36 ---> Running in a561f0533bef 04:07:37 Removing intermediate container a561f0533bef 04:07:37 ---> 4165c3e47c48 04:07:37 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:07:37 ---> Running in 77b826e2c369 04:07:37 Removing intermediate container 77b826e2c369 04:07:37 ---> 716c69859379 04:07:37 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:07:37 ---> Running in 4af66c933b2c 04:07:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:07:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:07:39 OK: 263 MiB in 53 packages 04:07:40 Removing intermediate container 4af66c933b2c 04:07:40 ---> f18ac07fd468 04:07:40 Step 9/13 : WORKDIR /device-onvif-camera 04:07:40 ---> Running in 18b5691f8d99 04:07:41 Removing intermediate container 18b5691f8d99 04:07:41 ---> 401c8f036e43 04:07:41 Step 10/13 : COPY go.mod vendor* ./ 04:07:41 ---> 793cd497b2b9 04:07:41 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:07:41 ---> Running in 5baf4515cf56 04:08:49 Removing intermediate container 5baf4515cf56 04:08:49 ---> b2581fb9a4a2 04:08:49 Step 12/13 : COPY . . 04:08:53 ---> 59c9e274ac8b 04:08:53 Step 13/13 : RUN ${MAKE} 04:08:54 ---> Running in 011b885e7543 04:08:55 noop 04:08:55 Removing intermediate container 011b885e7543 04:08:55 ---> cedab243404c 04:08:55 Successfully built cedab243404c 04:08:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:56 + docker inspect -f . ci-base-image-arm64 04:08:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:56 prd-ubuntu20.04-docker-arm64-4c-16g-11857 does not seem to be running inside a container 04:08:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:08:57 $ docker top b33372f944f963acf831e03464e3026fca46eeb8695259749b8565fdb868a549 -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:58 + go version 04:08:58 go version go1.20.2 linux/arm64 [Pipeline] } 04:08:58 $ docker stop --time=1 b33372f944f963acf831e03464e3026fca46eeb8695259749b8565fdb868a549 04:09:00 $ docker rm -f --volumes b33372f944f963acf831e03464e3026fca46eeb8695259749b8565fdb868a549 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:01 + docker inspect -f . ci-base-image-arm64 04:09:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:01 prd-ubuntu20.04-docker-arm64-4c-16g-11857 does not seem to be running inside a container 04:09:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:09:02 $ docker top 1a8fa3395b17fdc24043c586ff40affc2493c4a54dc2ea904af928abce2bc5eb -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:03 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 04:09:04 + make test 04:09:04 go test ./... -coverprofile=coverage.out ./... 04:09:36 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:11:28 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:11:30 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:11:33 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.241s coverage: 31.6% of statements 04:11:59 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.847s coverage: 86.5% of statements 04:12:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:12:00 go vet ./... 04:12:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:12:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:12:27 ./bin/test-attribution-txt.sh [Pipeline] echo 04:12:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:12:27 $ docker stop --time=1 1a8fa3395b17fdc24043c586ff40affc2493c4a54dc2ea904af928abce2bc5eb 04:12:29 $ docker rm -f --volumes 1a8fa3395b17fdc24043c586ff40affc2493c4a54dc2ea904af928abce2bc5eb [Pipeline] // withDockerContainer [Pipeline] sh 04:12:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:12:30 Warning: overwriting stash ‘coverage-report’ 04:12:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:12:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:12:32 + ls -al . 04:12:32 total 232 04:12:32 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 04:09 . 04:12:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:06 .. 04:12:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:06 .git 04:12:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:06 .github 04:12:32 -rw-rw-r-- 1 jenkins jenkins 496 Apr 27 04:06 .gitignore 04:12:32 -rw-rw-r-- 1 jenkins jenkins 42 Apr 27 04:06 .golangci.yml 04:12:32 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 27 04:06 Attribution.txt 04:12:32 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 27 04:06 CHANGELOG.md 04:12:32 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 27 04:06 Dockerfile 04:12:32 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 04:06 GOVERNANCE.md 04:12:32 -rw-rw-r-- 1 jenkins jenkins 734 Apr 27 04:06 Jenkinsfile 04:12:32 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 27 04:06 LICENSE 04:12:32 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 27 04:06 Makefile 04:12:32 -rw-rw-r-- 1 jenkins jenkins 625 Apr 27 04:06 OWNERS.md 04:12:32 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 27 04:06 README.md 04:12:32 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 04:01 VERSION 04:12:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:06 bin 04:12:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:06 cmd 04:12:32 -rw-r--r-- 1 jenkins jenkins 78922 Apr 27 04:11 coverage.out 04:12:32 drwxrwxr-x 6 jenkins jenkins 4096 Apr 27 04:06 doc 04:12:32 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 27 04:06 go.mod 04:12:32 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 27 04:06 go.sum 04:12:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:06 internal 04:12:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:06 snap 04:12:32 -rw-rw-r-- 1 jenkins jenkins 236 Apr 27 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:32 + 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=11411f0057ed928d3166128fb4b4ec67723ef7ec --label arch=arm64 --label version=0.0.0 . 04:12:33 Sending build context to Docker daemon 19.76MB 04:12:33 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:12:33 Step 2/26 : FROM ${BASE} AS builder 04:12:33 ---> cedab243404c 04:12:33 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:12:33 ---> Running in b1b8823525f1 04:12:33 Removing intermediate container b1b8823525f1 04:12:33 ---> 24a4827fab8c 04:12:33 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:12:34 ---> Running in 66dc3f645b4a 04:12:34 Removing intermediate container 66dc3f645b4a 04:12:34 ---> a124c374ef5b 04:12:34 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:12:34 ---> Running in 9eb663f641ab 04:12:34 Removing intermediate container 9eb663f641ab 04:12:34 ---> 2bd98e674480 04:12:34 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:12:34 ---> Running in 1495cf2dda77 04:12:34 Removing intermediate container 1495cf2dda77 04:12:34 ---> 88a512599e20 04:12:34 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:12:35 ---> Running in 6db32a389a8a 04:12:35 Removing intermediate container 6db32a389a8a 04:12:35 ---> bf9b0b1c0a81 04:12:35 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:12:35 ---> Running in b2cfbc2c80c0 04:12:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:12:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:12:37 OK: 263 MiB in 53 packages 04:12:38 Removing intermediate container b2cfbc2c80c0 04:12:38 ---> badf8f591437 04:12:38 Step 9/26 : WORKDIR /device-onvif-camera 04:12:38 ---> Running in d018d63ba76b 04:12:39 Removing intermediate container d018d63ba76b 04:12:39 ---> 42eae903d379 04:12:39 Step 10/26 : COPY go.mod vendor* ./ 04:12:40 ---> 2d3d68f66da3 04:12:40 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:12:40 ---> Running in 92eb35782154 04:12:43 Removing intermediate container 92eb35782154 04:12:43 ---> 8e95d3ec6170 04:12:43 Step 12/26 : COPY . . 04:12:45 ---> e2f02c8275a6 04:12:45 Step 13/26 : RUN ${MAKE} 04:12:45 ---> Running in 753048f3fa04 04:12:45 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:07 Removing intermediate container 753048f3fa04 04:15:07 ---> 3df347518a93 04:15:07 Step 14/26 : FROM alpine:3.17 04:15:07 3.17: Pulling from library/alpine 04:15:07 c41833b44d91: Already exists 04:15:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:15:07 Status: Downloaded newer image for alpine:3.17 04:15:07 ---> 51e60588ff2c 04:15:07 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:15:07 ---> Running in 4aa484b6ad34 04:15:07 Removing intermediate container 4aa484b6ad34 04:15:07 ---> 17f9b4652efc 04:15:07 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:15:07 ---> Running in b071a8bc705b 04:15:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:15:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:15:07 (1/1) Installing dumb-init (1.2.5-r2) 04:15:07 Executing busybox-1.35.0-r29.trigger 04:15:07 OK: 8 MiB in 16 packages 04:15:07 Removing intermediate container b071a8bc705b 04:15:07 ---> 5776908e76c2 04:15:07 Step 17/26 : WORKDIR / 04:15:07 ---> Running in d179f1e30e50 04:15:07 Removing intermediate container d179f1e30e50 04:15:07 ---> d22652cf1415 04:15:07 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:15:07 ---> 544f34f8725f 04:15:07 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:15:07 ---> 9de9d17be3af 04:15:07 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:15:07 ---> f9d35cee3a52 04:15:07 Step 21/26 : EXPOSE 59984 04:15:07 ---> Running in 766749aabcff 04:15:07 Removing intermediate container 766749aabcff 04:15:07 ---> 3e495d33c37e 04:15:07 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:15:07 ---> Running in 5e37f6020789 04:15:07 Removing intermediate container 5e37f6020789 04:15:07 ---> 11bc5e762901 04:15:07 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:15:07 ---> Running in 75b736ce6de1 04:15:07 Removing intermediate container 75b736ce6de1 04:15:07 ---> 77731c9f1286 04:15:07 Step 24/26 : LABEL arch=arm64 04:15:07 ---> Running in 27dcaec27e64 04:15:07 Removing intermediate container 27dcaec27e64 04:15:07 ---> 33a9ab950391 04:15:07 Step 25/26 : LABEL git_sha=11411f0057ed928d3166128fb4b4ec67723ef7ec 04:15:07 ---> Running in 448917825d56 04:15:07 Removing intermediate container 448917825d56 04:15:07 ---> 6f07b92cf762 04:15:07 Step 26/26 : LABEL version=0.0.0 04:15:07 ---> Running in b738079b5019 04:15:07 Removing intermediate container b738079b5019 04:15:07 ---> ee13a20c9c05 04:15:07 [Warning] One or more build-args [ARCH] were not consumed 04:15:07 Successfully built ee13a20c9c05 04:15:07 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:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:15:08 04:15:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:15:08 arm64: Pulling from edgex-lftools-log-publisher 04:15:08 8998bd30e6a1: Pulling fs layer 04:15:08 04944245beec: Pulling fs layer 04:15:08 699f458cf7ca: Pulling fs layer 04:15:08 765212b225bb: Pulling fs layer 04:15:08 f23df028b6ca: Pulling fs layer 04:15:08 d65c8cfc05b1: Pulling fs layer 04:15:08 2437ff75d9bd: Pulling fs layer 04:15:08 f23df028b6ca: Waiting 04:15:08 765212b225bb: Waiting 04:15:08 2437ff75d9bd: Waiting 04:15:09 04944245beec: Verifying Checksum 04:15:09 04944245beec: Download complete 04:15:09 765212b225bb: Download complete 04:15:09 f23df028b6ca: Verifying Checksum 04:15:09 f23df028b6ca: Download complete 04:15:09 d65c8cfc05b1: Verifying Checksum 04:15:09 d65c8cfc05b1: Download complete 04:15:09 699f458cf7ca: Verifying Checksum 04:15:09 699f458cf7ca: Download complete 04:15:09 8998bd30e6a1: Download complete 04:15:12 2437ff75d9bd: Verifying Checksum 04:15:12 2437ff75d9bd: Download complete 04:15:13 8998bd30e6a1: Pull complete 04:15:13 04944245beec: Pull complete 04:15:15 699f458cf7ca: Pull complete 04:15:15 765212b225bb: Pull complete 04:15:16 f23df028b6ca: Pull complete 04:15:16 d65c8cfc05b1: Pull complete 04:15:31 2437ff75d9bd: Pull complete 04:15:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:15:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:15:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:15:31 prd-ubuntu20.04-docker-arm64-4c-16g-11857 does not seem to be running inside a container 04:15:31 $ 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:15:34 $ docker top 3eac2d966f0cd2895df3020feac36d8e42a6aeda10e72ece17ff96a81b9bb44e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:35 ---> job-cost.sh 04:15:35 lf-activate-venv: SKIPPING 04:15:35 INFO: No Stack... 04:15:35 INFO: Retrieving Pricing Info for: v3-standard-4 04:15:36 INFO: Archiving Costs [Pipeline] sh 04:15:37 + cut -d,+ -f6 04:15:37 cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock 04:15:37 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-327-1-stack-cost] 04:15:37 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-327-1-stack-cost] did not exist. Created. 04:15:37 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-327-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:15:37 /w/workspace/device-onvif-camera/1@tmp/durable-07a1ff27/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:15:38 + echo total: 0.10999999940395355 [Pipeline] stash 04:15:38 Warning: overwriting stash ‘stack-cost’ 04:15:38 Stashed 1 file(s) [Pipeline] } 04:15:38 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-327-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:15:38 $ docker stop --time=1 3eac2d966f0cd2895df3020feac36d8e42a6aeda10e72ece17ff96a81b9bb44e 04:15:40 $ docker rm -f --volumes 3eac2d966f0cd2895df3020feac36d8e42a6aeda10e72ece17ff96a81b9bb44e [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:15:41 provisioning config files... 04:15:41 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-327@tmp/config6264044674503634020tmp [Pipeline] { [Pipeline] sh 04:15:41 + set +x 04:15:41 + curl -s https://codecov.io/bash 04:15:41 + bash -s -- 04:15:41 04:15:41 _____ _ 04:15:41 / ____| | | 04:15:41 | | ___ __| | ___ ___ _____ __ 04:15:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:15:41 | |___| (_) | (_| | __/ (_| (_) \ V / 04:15:41 \_____\___/ \__,_|\___|\___\___/ \_/ 04:15:41 Bash-1.0.6 04:15:41 04:15:41 04:15:41 ==> git version 2.25.1 found 04:15:41 ==> 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:15:41 Release-Date: 2020-01-08 04:15:41 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:15:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:15:41 ==> Jenkins CI detected. 04:15:41 current dir:  /w/workspace/undry_device-onvif-camera_PR-327 04:15:41 project root: . 04:15:41 --> token set from env 04:15:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:15:41 ==> Running gcov in . (disable via -X gcov) 04:15:41 ==> Python coveragepy not found 04:15:41 ==> Searching for coverage reports in: 04:15:41 + . 04:15:41 -> Found 1 reports 04:15:41 ==> Detecting git/mercurial file structure 04:15:41 ==> Reading reports 04:15:41 + ./coverage.out bytes=78922 04:15:41 ==> Appending adjustments 04:15:41 https://docs.codecov.io/docs/fixing-reports 04:15:41 + Found adjustments 04:15:41 ==> Gzipping contents 04:15:41 12K /tmp/codecov.31BHBP.gz 04:15:41 ==> Uploading reports 04:15:41 url: https://codecov.io 04:15:41 query: branch=PR-327&commit=11411f0057ed928d3166128fb4b4ec67723ef7ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-327%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=327&job=&cmd_args= 04:15:41 -> Pinging Codecov 04:15:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-327&commit=11411f0057ed928d3166128fb4b4ec67723ef7ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-327%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=327&job=&cmd_args= 04:15:41 -> Uploading to 04:15:41 https://storage.googleapis.com/codecov/v4/raw/2023-04-27/F29A59C45E3A92E06B3E522C9905F8EF/11411f0057ed928d3166128fb4b4ec67723ef7ec/2620c0df-e636-4f15-bdb8-24e929bbaab2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230427T041541Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=117dc20376aaeb25ad65427bd2fa737fe02f0281d1340c3e72d3fe158af80880 04:15:41 % Total % Received % Xferd Average Speed Time Time Time Current 04:15:41 Dload Upload Total Spent Left Speed 04:15:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10501 0 0 100 10501 0 44495 --:--:-- --:--:-- --:--:-- 44308 04:15:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/11411f0057ed928d3166128fb4b4ec67723ef7ec [Pipeline] } 04:15:42 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:15:44 + [ -d /w/workspace/undry_device-onvif-camera_PR-327/archives ] 04:15:44 + ls -al /w/workspace/undry_device-onvif-camera_PR-327/archives 04:15:44 total 16 04:15:44 drwxr-xr-x 3 root root 4096 Apr 27 04:03 . 04:15:44 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 04:03 .. 04:15:44 drwxr-xr-x 2 root root 4096 Apr 27 04:03 cost 04:15:44 -rw-r--r-- 1 root root 92 Apr 27 04:03 cost.csv 04:15:44 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-327/archives 04:15:44 + ls -al /w/workspace/undry_device-onvif-camera_PR-327/archives 04:15:44 total 16 04:15:44 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 04:03 . 04:15:44 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 04:03 .. 04:15:44 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 04:03 cost 04:15:44 -rw-r--r-- 1 jenkins jenkins 92 Apr 27 04:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:15:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:15:45 ---> package-listing.sh 04:15:45 ++ facter osfamily 04:15:45 ++ tr '[:upper:]' '[:lower:]' 04:15:45 + OS_FAMILY=debian 04:15:45 + workspace=/w/workspace/undry_device-onvif-camera_PR-327 04:15:45 + START_PACKAGES=/tmp/packages_start.txt 04:15:45 + END_PACKAGES=/tmp/packages_end.txt 04:15:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:15:45 + PACKAGES=/tmp/packages_start.txt 04:15:45 + '[' /w/workspace/undry_device-onvif-camera_PR-327 ']' 04:15:45 + PACKAGES=/tmp/packages_end.txt 04:15:45 + case "${OS_FAMILY}" in 04:15:45 + dpkg -l 04:15:45 + grep '^ii' 04:15:45 + '[' -f /tmp/packages_start.txt ']' 04:15:45 + '[' -f /tmp/packages_end.txt ']' 04:15:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:15:45 + '[' /w/workspace/undry_device-onvif-camera_PR-327 ']' 04:15:45 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-327/archives/ 04:15:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-327/archives/ [Pipeline] echo 04:15:45 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-327/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:15:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:15:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:15:46 prd-ubuntu20.04-docker-8c-8g-11184 does not seem to be running inside a container 04:15:46 $ 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-327/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-327 -v /w/workspace/undry_device-onvif-camera_PR-327:/w/workspace/undry_device-onvif-camera_PR-327:rw,z -v /w/workspace/undry_device-onvif-camera_PR-327@tmp:/w/workspace/undry_device-onvif-camera_PR-327@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:15:46 $ docker top d2fe6a793cdec226ecb7e3036e8dd43a71ce8dcd9d88bdf6e405da16545a989b -eo pid,comm [Pipeline] { [Pipeline] sh 04:15:47 + touch /tmp/pre-build-complete [Pipeline] sh 04:15:47 + mkdir -p /var/log/sysstat [Pipeline] sh 04:15:47 + ls /var/log/sa-host 04:15:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:15:48 provisioning config files... 04:15:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-327@tmp/config2717222082548542738tmp [Pipeline] { [Pipeline] echo 04:15:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:15:48 ---> create-netrc.sh [Pipeline] } 04:15:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:15:48 ---> python-tools-install.sh [Pipeline] echo 04:15:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:15:49 ---> sudo-logs.sh 04:15:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:15:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:15:49 ---> job-cost.sh 04:15:49 lf-activate-venv: SKIPPING 04:15:49 DEBUG: total: 0.4399999976158142 04:15:49 INFO: Retrieving Stack Cost... 04:15:50 INFO: Retrieving Pricing Info for: v3-standard-8 04:15:50 INFO: Archiving Costs [Pipeline] echo 04:15:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:15:50 ---> logs-deploy.sh 04:15:50 lf-activate-venv: SKIPPING 04:15:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-327/1 04:15:50 INFO: archiving workspace using pattern(s): 04:15:51 Archives upload complete. 04:15:51 INFO: archiving logs to Nexus