Pull request #369 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6d730351260e7d2b399db57a8e057e752813253f+01232ef71281965359620122f9fdc73016fc5c79 (edd7b09eb932bc5c5a0267f75d44281ad3c4324e) 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-ssh13162139711575509006.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh7454187929814477505.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-369/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-369/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4515781945326521138.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-369/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6484022075221842677.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh6958585741785700913.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-369/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-369/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5370622495666056850.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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/v3]] ========================================================= [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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-16654 in /w/workspace/undry_device-onvif-camera_PR-369 [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-369 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 01232ef71281965359620122f9fdc73016fc5c79 into PR head commit 6d730351260e7d2b399db57a8e057e752813253f Merge succeeded, producing 6d730351260e7d2b399db57a8e057e752813253f Checking out Revision 6d730351260e7d2b399db57a8e057e752813253f (PR-369) 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 4fc256d9079ed2258907e613f84b1b8da264a4bd > 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/369/head:refs/remotes/origin/PR-369 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d730351260e7d2b399db57a8e057e752813253f # 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 01232ef71281965359620122f9fdc73016fc5c79 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d730351260e7d2b399db57a8e057e752813253f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:01:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:01:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:01:35 ========================================================= 04:01:35 EdgeX Global Pipelines Version Info 04:01:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:01:35 ------------------- 04:01:35 stable info: 04:01:35 ------------------- 04:01:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:01:35 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:01:35 Message: update stable to v1.0.249 04:01:36 ------------------- 04:01:36 experimental info: 04:01:36 ------------------- 04:01:36 Commited By: **** collab-it+edgex@linuxfoundation.org 04:01:36 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:01:36 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:01:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:01:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:01:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:01:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-369 [Pipeline] echo 04:01:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-369 [Pipeline] echo 04:01:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-369 [Pipeline] echo 04:01:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6d730351260e7d2b399db57a8e057e752813253f [Pipeline] echo 04:01:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6d73035 [Pipeline] echo 04:01:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:01:38 provisioning config files... 04:01:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-369@tmp/config16721696525130526619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:38 ---> docker-login.sh 04:01:38 nexus3.edgexfoundry.org:10001 04:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:38 Configure a credential helper to remove this warning. See 04:01:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:38 04:01:38 Login Succeeded 04:01:38 nexus3.edgexfoundry.org:10002 04:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:39 Configure a credential helper to remove this warning. See 04:01:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:39 04:01:39 Login Succeeded 04:01:39 nexus3.edgexfoundry.org:10003 04:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:39 Configure a credential helper to remove this warning. See 04:01:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:39 04:01:39 Login Succeeded 04:01:39 nexus3.edgexfoundry.org:10004 04:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:39 Configure a credential helper to remove this warning. See 04:01:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:39 04:01:39 Login Succeeded 04:01:39 docker.io 04:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:39 Configure a credential helper to remove this warning. See 04:01:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:39 04:01:39 Login Succeeded 04:01:39 ---> docker-login.sh ends [Pipeline] } 04:01:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:01:40 + git rev-list -1 --merges 6d730351260e7d2b399db57a8e057e752813253f~1..6d730351260e7d2b399db57a8e057e752813253f [Pipeline] echo 04:01:40 -----------> git rev-list -1 --merges 6d730351260e7d2b399db57a8e057e752813253f~1..6d730351260e7d2b399db57a8e057e752813253f 6d730351260e7d2b399db57a8e057e752813253f [false] [Pipeline] sh 04:01:40 + git log --format=format:%s -1 6d730351260e7d2b399db57a8e057e752813253f [Pipeline] echo 04:01:40 ========================================================= 04:01:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:01:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:01:41 + git log --format=format:%s -1 6d730351260e7d2b399db57a8e057e752813253f [Pipeline] echo 04:01:41 [semverPrep] GIT_COMMIT: 6d730351260e7d2b399db57a8e057e752813253f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 04:01:41 [semverPrep] This is not a build commit. [Pipeline] sh 04:01:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:01:41 + grep -v github /etc/ssh/ssh_known_hosts 04:01:41 + [ -e /tmp/ssh_known_hosts ] 04:01:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:01:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:01:41 + sudo tee -a /etc/ssh/ssh_known_hosts 04:01:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:01:42 04:01:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:01:42 0.1.4: Pulling from edgex-devops/py-git-semver 04:01:42 b85a868b505f: Pulling fs layer 04:01:42 e2be974225ed: Pulling fs layer 04:01:42 339a4e72a1f5: Pulling fs layer 04:01:42 988bab9f4d93: Pulling fs layer 04:01:42 1469e6f7b9e6: Pulling fs layer 04:01:42 eaf3925da568: Pulling fs layer 04:01:42 bab4dde63d76: Pulling fs layer 04:01:42 bde34c3a00c8: Pulling fs layer 04:01:42 b352a97aabf1: Pulling fs layer 04:01:42 4872d77fe225: Pulling fs layer 04:01:42 5851b861e8e6: Pulling fs layer 04:01:42 988bab9f4d93: Waiting 04:01:42 1469e6f7b9e6: Waiting 04:01:42 eaf3925da568: Waiting 04:01:42 4872d77fe225: Waiting 04:01:42 5851b861e8e6: Waiting 04:01:42 bab4dde63d76: Waiting 04:01:42 bde34c3a00c8: Waiting 04:01:42 b352a97aabf1: Waiting 04:01:42 e2be974225ed: Download complete 04:01:42 988bab9f4d93: Verifying Checksum 04:01:42 988bab9f4d93: Download complete 04:01:42 1469e6f7b9e6: Verifying Checksum 04:01:42 1469e6f7b9e6: Download complete 04:01:42 339a4e72a1f5: Verifying Checksum 04:01:42 339a4e72a1f5: Download complete 04:01:42 eaf3925da568: Verifying Checksum 04:01:42 eaf3925da568: Download complete 04:01:42 bde34c3a00c8: Verifying Checksum 04:01:42 bde34c3a00c8: Download complete 04:01:42 b352a97aabf1: Verifying Checksum 04:01:42 b352a97aabf1: Download complete 04:01:42 4872d77fe225: Verifying Checksum 04:01:42 4872d77fe225: Download complete 04:01:42 5851b861e8e6: Verifying Checksum 04:01:42 5851b861e8e6: Download complete 04:01:42 b85a868b505f: Download complete 04:01:43 bab4dde63d76: Verifying Checksum 04:01:43 b85a868b505f: Pull complete 04:01:43 e2be974225ed: Pull complete 04:01:44 339a4e72a1f5: Pull complete 04:01:44 988bab9f4d93: Pull complete 04:01:44 1469e6f7b9e6: Pull complete 04:01:44 eaf3925da568: Pull complete 04:01:46 bab4dde63d76: Pull complete 04:01:46 bde34c3a00c8: Pull complete 04:01:46 b352a97aabf1: Pull complete 04:01:46 4872d77fe225: Pull complete 04:01:46 5851b861e8e6: Pull complete 04:01:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:01:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:01:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:47 prd-ubuntu20.04-docker-8c-8g-16654 does not seem to be running inside a container 04:01:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-369 -v /w/workspace/undry_device-onvif-camera_PR-369:/w/workspace/undry_device-onvif-camera_PR-369:rw,z -v /w/workspace/undry_device-onvif-camera_PR-369@tmp:/w/workspace/undry_device-onvif-camera_PR-369@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:01:50 $ docker top b309aba1cc0ccb3f35f1d7481cb5438ac40337cae0100f27d57589f21a793340 -eo pid,comm 04:01:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:01:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:01:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:01:51 [ssh-agent] Looking for ssh-agent implementation... 04:01:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:01:51 $ docker exec b309aba1cc0ccb3f35f1d7481cb5438ac40337cae0100f27d57589f21a793340 ssh-agent 04:01:51 SSH_AUTH_SOCK=/tmp/ssh-lQ8Pe8L3PRxa/agent.33 04:01:51 SSH_AGENT_PID=39 04:01:51 Running ssh-add (command line suppressed) 04:01:51 Identity added: /w/workspace/undry_device-onvif-camera_PR-369@tmp/private_key_975221900175155073.key (/w/workspace/undry_device-onvif-camera_PR-369@tmp/private_key_975221900175155073.key) 04:01:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:01:51 + git tag --points-at HEAD [Pipeline] } 04:01:51 $ docker exec --env ******** --env ******** b309aba1cc0ccb3f35f1d7481cb5438ac40337cae0100f27d57589f21a793340 ssh-agent -k 04:01:51 unset SSH_AUTH_SOCK; 04:01:51 unset SSH_AGENT_PID; 04:01:51 echo Agent pid 39 killed; 04:01:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:01:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:01:51 [ssh-agent] Looking for ssh-agent implementation... 04:01:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:01:51 $ docker exec b309aba1cc0ccb3f35f1d7481cb5438ac40337cae0100f27d57589f21a793340 ssh-agent 04:01:52 SSH_AUTH_SOCK=/tmp/ssh-C0j5HeMIDnDf/agent.71 04:01:52 SSH_AGENT_PID=77 04:01:52 Running ssh-add (command line suppressed) 04:01:52 Identity added: /w/workspace/undry_device-onvif-camera_PR-369@tmp/private_key_10635067944552342608.key (/w/workspace/undry_device-onvif-camera_PR-369@tmp/private_key_10635067944552342608.key) 04:01:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:01:52 + git semver init 04:01:52 2023-05-24 04:01:52,749 [run_init] DEBUG init version:0.0.0 force:False 04:01:52 2023-05-24 04:01:52,750 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-369/.semver 04:01:52 2023-05-24 04:01:52,750 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-369/.semver 04:01:52 2023-05-24 04:01:52,750 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-369/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-369, universal_newlines=False, shell=None, istream=None) 04:01:54 2023-05-24 04:01:53,778 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-369/.git/info/exclude 04:01:54 2023-05-24 04:01:53,779 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-369/.semver/PR-369 with force:False 04:01:54 2023-05-24 04:01:53,779 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-369/.semver/PR-369 04:01:54 2023-05-24 04:01:53,783 [execute] INFO git cat-file --batch-check 04:01:54 2023-05-24 04:01:53,784 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-369/.semver, universal_newlines=False, shell=None, istream=) 04:01:54 2023-05-24 04:01:53,790 [execute] INFO git cat-file --batch 04:01:54 2023-05-24 04:01:53,790 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-369/.semver, universal_newlines=False, shell=None, istream=) 04:01:54 2023-05-24 04:01:53,794 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-369/.semver/PR-369 04:01:54 0.0.0 [Pipeline] } 04:01:54 $ docker exec --env ******** --env ******** b309aba1cc0ccb3f35f1d7481cb5438ac40337cae0100f27d57589f21a793340 ssh-agent -k 04:01:54 unset SSH_AUTH_SOCK; 04:01:54 unset SSH_AGENT_PID; 04:01:54 echo Agent pid 77 killed; 04:01:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:01:54 + git semver [Pipeline] } 04:01:55 $ docker stop --time=1 b309aba1cc0ccb3f35f1d7481cb5438ac40337cae0100f27d57589f21a793340 04:01:56 $ docker rm -f --volumes b309aba1cc0ccb3f35f1d7481cb5438ac40337cae0100f27d57589f21a793340 [Pipeline] // withDockerContainer [Pipeline] sh 04:01:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:01:56 Stashed 1 file(s) [Pipeline] echo 04:01:56 [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:57 provisioning config files... 04:01:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-369@tmp/config6187208504635488562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:57 ---> docker-login.sh 04:01:57 nexus3.edgexfoundry.org:10001 04:01:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:57 Configure a credential helper to remove this warning. See 04:01:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:57 04:01:57 Login Succeeded 04:01:57 nexus3.edgexfoundry.org:10002 04:01:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:57 Configure a credential helper to remove this warning. See 04:01:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:57 04:01:57 Login Succeeded 04:01:57 nexus3.edgexfoundry.org:10003 04:01:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:58 Configure a credential helper to remove this warning. See 04:01:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:58 04:01:58 Login Succeeded 04:01:58 nexus3.edgexfoundry.org:10004 04:01:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:58 Configure a credential helper to remove this warning. See 04:01:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:58 04:01:58 Login Succeeded 04:01:58 docker.io 04:01:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:58 Configure a credential helper to remove this warning. See 04:01:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:58 04:01:58 Login Succeeded 04:01:58 ---> docker-login.sh ends [Pipeline] } 04:01:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:01:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:01:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:01:58 ========================================================= 04:01:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:01:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:59 + 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:59 Sending build context to Docker daemon 21.95MB 04:01:59 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 04:01:59 Step 2/13 : FROM ${BASE} AS builder 04:01:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:01:59 f56be85fc22e: Pulling fs layer 04:01:59 85791d961cd3: Pulling fs layer 04:01:59 d694b5ae8c79: Pulling fs layer 04:01:59 9f32a84ed3da: Pulling fs layer 04:01:59 4d19c01a9841: Pulling fs layer 04:01:59 9325e15d5711: Pulling fs layer 04:01:59 556b6ee489ea: Pulling fs layer 04:01:59 c5a4b2cf53e6: Pulling fs layer 04:01:59 9325e15d5711: Waiting 04:01:59 9f32a84ed3da: Waiting 04:01:59 556b6ee489ea: Waiting 04:01:59 4d19c01a9841: Waiting 04:01:59 c5a4b2cf53e6: Waiting 04:01:59 85791d961cd3: Verifying Checksum 04:01:59 85791d961cd3: Download complete 04:01:59 9f32a84ed3da: Download complete 04:01:59 4d19c01a9841: Verifying Checksum 04:01:59 4d19c01a9841: Download complete 04:01:59 f56be85fc22e: Verifying Checksum 04:01:59 f56be85fc22e: Download complete 04:01:59 9325e15d5711: Verifying Checksum 04:01:59 9325e15d5711: Download complete 04:01:59 f56be85fc22e: Pull complete 04:01:59 85791d961cd3: Pull complete 04:02:00 c5a4b2cf53e6: Verifying Checksum 04:02:00 c5a4b2cf53e6: Download complete 04:02:00 d694b5ae8c79: Download complete 04:02:00 556b6ee489ea: Verifying Checksum 04:02:00 556b6ee489ea: Download complete 04:02:03 d694b5ae8c79: Pull complete 04:02:03 9f32a84ed3da: Pull complete 04:02:03 4d19c01a9841: Pull complete 04:02:03 9325e15d5711: Pull complete 04:02:06 556b6ee489ea: Pull complete 04:02:06 c5a4b2cf53e6: Pull complete 04:02:06 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 04:02:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:02:06 ---> c4be618373d6 04:02:06 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:02:12 Still waiting to schedule task 04:02:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:02:13 ---> Running in 5364d3c1f179 04:02:13 Removing intermediate container 5364d3c1f179 04:02:13 ---> 233fe2ab77e9 04:02:13 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:02:13 ---> Running in 454152eb590c 04:02:13 Removing intermediate container 454152eb590c 04:02:13 ---> 3f772152bef6 04:02:13 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:02:13 ---> Running in 90be34257385 04:02:13 Removing intermediate container 90be34257385 04:02:13 ---> 73ee04ecc988 04:02:13 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:02:13 ---> Running in 1be75bd769bb 04:02:13 Removing intermediate container 1be75bd769bb 04:02:13 ---> 85d17896340e 04:02:13 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:02:13 ---> Running in 3e9184868f2f 04:02:13 Removing intermediate container 3e9184868f2f 04:02:13 ---> 96bdb2b88ab5 04:02:13 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:02:13 ---> Running in 7a072e8b1b95 04:02:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:02:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:02:13 OK: 265 MiB in 53 packages 04:02:13 Removing intermediate container 7a072e8b1b95 04:02:13 ---> 9e8a2e682cae 04:02:13 Step 9/13 : WORKDIR /device-onvif-camera 04:02:13 ---> Running in 3510034d15be 04:02:13 Removing intermediate container 3510034d15be 04:02:13 ---> e658f80512c3 04:02:13 Step 10/13 : COPY go.mod vendor* ./ 04:02:13 ---> ca56d48d2851 04:02:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:02:13 ---> Running in e397544aad40 04:03:10 Removing intermediate container e397544aad40 04:03:10 ---> fed0edb19004 04:03:10 Step 12/13 : COPY . . 04:03:10 ---> 7e87f3b211ae 04:03:10 Step 13/13 : RUN ${MAKE} 04:03:10 ---> Running in c9c4c93ff3b3 04:03:10 noop 04:03:10 Removing intermediate container c9c4c93ff3b3 04:03:10 ---> 6a133c519c7e 04:03:10 Successfully built 6a133c519c7e 04:03:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:10 + docker inspect -f . ci-base-image-x86_64 04:03:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:10 prd-ubuntu20.04-docker-8c-8g-16654 does not seem to be running inside a container 04:03:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-369 -v /w/workspace/undry_device-onvif-camera_PR-369:/w/workspace/undry_device-onvif-camera_PR-369:rw,z -v /w/workspace/undry_device-onvif-camera_PR-369@tmp:/w/workspace/undry_device-onvif-camera_PR-369@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:03:10 $ docker top 4b72363b22811b65de874bc474044a0c6ec45ac70366b660bf754ebfdd98a76f -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:11 + go version 04:03:11 go version go1.20.2 linux/amd64 [Pipeline] } 04:03:11 $ docker stop --time=1 4b72363b22811b65de874bc474044a0c6ec45ac70366b660bf754ebfdd98a76f 04:03:12 $ docker rm -f --volumes 4b72363b22811b65de874bc474044a0c6ec45ac70366b660bf754ebfdd98a76f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:13 + docker inspect -f . ci-base-image-x86_64 04:03:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:13 prd-ubuntu20.04-docker-8c-8g-16654 does not seem to be running inside a container 04:03:13 $ 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-369 -v /w/workspace/undry_device-onvif-camera_PR-369:/w/workspace/undry_device-onvif-camera_PR-369:rw,z -v /w/workspace/undry_device-onvif-camera_PR-369@tmp:/w/workspace/undry_device-onvif-camera_PR-369@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:03:13 $ docker top f083c54894605aac9d53f8c42fb79536da43d6ed9308725f66e4ed1622d02281 -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:14 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-369 [Pipeline] fileExists [Pipeline] sh 04:03:14 + make test 04:03:14 go test ./... -coverprofile=coverage.out ./... 04:03:19 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:03:29 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:03:29 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:03:32 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.037s coverage: 31.4% of statements 04:03:32 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.112s coverage: 86.5% of statements 04:03:39 go vet ./... 04:03:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:03:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:03:41 ./bin/test-attribution-txt.sh [Pipeline] echo 04:03:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:03:41 $ docker stop --time=1 f083c54894605aac9d53f8c42fb79536da43d6ed9308725f66e4ed1622d02281 04:03:45 $ docker rm -f --volumes f083c54894605aac9d53f8c42fb79536da43d6ed9308725f66e4ed1622d02281 [Pipeline] // withDockerContainer [Pipeline] sh 04:03:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:03:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:03:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:03:46 + ls -al . 04:03:46 total 232 04:03:46 drwxrwxr-x 10 jenkins jenkins 4096 May 24 04:03 . 04:03:46 drwxrwxr-x 4 jenkins jenkins 4096 May 24 04:01 .. 04:03:46 drwxrwxr-x 8 jenkins jenkins 4096 May 24 04:01 .git 04:03:46 drwxrwxr-x 3 jenkins jenkins 4096 May 24 04:01 .github 04:03:46 -rw-rw-r-- 1 jenkins jenkins 496 May 24 04:01 .gitignore 04:03:46 -rw-rw-r-- 1 jenkins jenkins 42 May 24 04:01 .golangci.yml 04:03:46 drwxr-xr-x 3 jenkins jenkins 4096 May 24 04:01 .semver 04:03:46 -rw-rw-r-- 1 jenkins jenkins 10087 May 24 04:01 Attribution.txt 04:03:46 -rw-rw-r-- 1 jenkins jenkins 6312 May 24 04:01 CHANGELOG.md 04:03:46 -rw-rw-r-- 1 jenkins jenkins 1574 May 24 04:01 Dockerfile 04:03:46 -rw-rw-r-- 1 jenkins jenkins 677 May 24 04:01 GOVERNANCE.md 04:03:46 -rw-rw-r-- 1 jenkins jenkins 739 May 24 04:01 Jenkinsfile 04:03:46 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 04:01 LICENSE 04:03:46 -rw-rw-r-- 1 jenkins jenkins 2751 May 24 04:01 Makefile 04:03:46 -rw-rw-r-- 1 jenkins jenkins 625 May 24 04:01 OWNERS.md 04:03:46 -rw-rw-r-- 1 jenkins jenkins 2690 May 24 04:01 README.md 04:03:46 -rw-rw-r-- 1 jenkins jenkins 5 May 24 04:01 VERSION 04:03:46 drwxrwxr-x 2 jenkins jenkins 4096 May 24 04:01 bin 04:03:46 drwxrwxr-x 3 jenkins jenkins 4096 May 24 04:01 cmd 04:03:46 -rw-r--r-- 1 jenkins jenkins 78459 May 24 04:03 coverage.out 04:03:46 drwxrwxr-x 4 jenkins jenkins 4096 May 24 04:01 doc 04:03:46 -rw-rw-r-- 1 jenkins jenkins 3601 May 24 04:01 go.mod 04:03:46 -rw-rw-r-- 1 jenkins jenkins 33409 May 24 04:01 go.sum 04:03:46 drwxrwxr-x 4 jenkins jenkins 4096 May 24 04:01 internal 04:03:46 drwxrwxr-x 4 jenkins jenkins 4096 May 24 04:01 snap 04:03:46 -rw-rw-r-- 1 jenkins jenkins 236 May 24 04:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:47 + 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=6d730351260e7d2b399db57a8e057e752813253f --label arch=amd64 --label version=0.0.0 . 04:03:47 Sending build context to Docker daemon 22.03MB 04:03:47 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:03:47 Step 2/26 : FROM ${BASE} AS builder 04:03:47 ---> 6a133c519c7e 04:03:47 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:03:47 ---> Running in ea212f08039d 04:03:47 Removing intermediate container ea212f08039d 04:03:47 ---> 5a44ea4b0e56 04:03:47 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:03:47 ---> Running in a2a03091b202 04:03:47 Removing intermediate container a2a03091b202 04:03:47 ---> 5830a13c75ca 04:03:47 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:03:47 ---> Running in 9ac117c74b42 04:03:47 Removing intermediate container 9ac117c74b42 04:03:47 ---> 0a2d597f5734 04:03:47 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:03:47 ---> Running in 452830b9fb2e 04:03:48 Removing intermediate container 452830b9fb2e 04:03:48 ---> 626a32f6e693 04:03:48 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:03:48 ---> Running in 2e19339c65e7 04:03:48 Removing intermediate container 2e19339c65e7 04:03:48 ---> f25c598bcef3 04:03:48 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:03:48 ---> Running in 0c8ecf8340d9 04:03:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16655 in /w/workspace/undry_device-onvif-camera_PR-369 [Pipeline] { 04:03:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:03:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [Pipeline] ws 04:03:48 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 04:03:48 The recommended git tool is: git 04:03:48 OK: 265 MiB in 53 packages 04:03:48 Removing intermediate container 0c8ecf8340d9 04:03:48 ---> 77beaee93064 04:03:48 Step 9/26 : WORKDIR /device-onvif-camera 04:03:48 ---> Running in 5b6efcfd9e91 04:03:49 Removing intermediate container 5b6efcfd9e91 04:03:49 ---> e9b4d45840f5 04:03:49 Step 10/26 : COPY go.mod vendor* ./ 04:03:49 ---> 83ee8b46d0fd 04:03:49 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:03:49 ---> Running in f46db24a4f02 04:03:50 Removing intermediate container f46db24a4f02 04:03:50 ---> 6eb24a906066 04:03:50 Step 12/26 : COPY . . 04:03:50 ---> e6dbcb105a0e 04:03:50 Step 13/26 : RUN ${MAKE} 04:03:50 ---> Running in d7d1ac9fd7d1 04:03:50 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:53 using credential edgex-jenkins-ssh 04:03:53 Cloning the remote Git repository 04:03:54 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 04:03:54 > git init /w/workspace/device-onvif-camera/1 # timeout=10 04:03:54 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:03:54 > git --version # timeout=10 04:03:54 > git --version # 'git version 2.25.1' 04:03:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:03:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:03:58 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:03:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:03:59 Merging remotes/origin/main commit 01232ef71281965359620122f9fdc73016fc5c79 into PR head commit 6d730351260e7d2b399db57a8e057e752813253f 04:04:00 Merge succeeded, producing 6d730351260e7d2b399db57a8e057e752813253f 04:04:00 Checking out Revision 6d730351260e7d2b399db57a8e057e752813253f (PR-369) 04:03:59 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 04:03:59 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 04:03:59 using GIT_SSH to set credentials SSH Credentials for GitHub 04:03:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/369/head:refs/remotes/origin/PR-369 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:03:59 > git config core.sparsecheckout # timeout=10 04:03:59 > git checkout -f 6d730351260e7d2b399db57a8e057e752813253f # timeout=10 04:04:00 > git remote # timeout=10 04:04:00 > git config --get remote.origin.url # timeout=10 04:04:00 using GIT_SSH to set credentials SSH Credentials for GitHub 04:04:00 > git merge 01232ef71281965359620122f9fdc73016fc5c79 # timeout=10 04:04:00 > git rev-parse HEAD^{commit} # timeout=10 04:04:00 > git config core.sparsecheckout # timeout=10 04:04:00 > git checkout -f 6d730351260e7d2b399db57a8e057e752813253f # timeout=10 04:04:00 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 04:04:00 > git --version # timeout=10 04:04:00 > git --version # 'git version 2.25.1' 04:04:00 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:04:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:04:02 % Total % Received % Xferd Average Speed Time Time Time Current 04:04:02 Dload Upload Total Spent Left Speed 04:04:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 81737 [Pipeline] sh 04:04:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:04:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 04:04:03 sudo tee /etc/docker/daemon.new 04:04:03 { 04:04:03 "registry-mirrors": [ 04:04:03 "https://nexus3.edgexfoundry.org:10001" 04:04:03 ], 04:04:03 "bip": "10.250.0.254/24", 04:04:03 "hosts": [ 04:04:03 "tcp://0.0.0.0:5555", 04:04:03 "unix:///var/run/docker.sock" 04:04:03 ], 04:04:03 "mtu": 1458, 04:04:03 "selinux-enabled": true, 04:04:03 "seccomp-profile": "/etc/docker/seccomp.json" 04:04:03 } [Pipeline] sh 04:04:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:04:03 + sudo service docker restart 04:04:12 Removing intermediate container d7d1ac9fd7d1 04:04:12 ---> 4c0a8db31e47 04:04:12 Step 14/26 : FROM alpine:3.17 04:04:12 3.17: Pulling from library/alpine 04:04:12 f56be85fc22e: Already exists 04:04:12 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:04:12 Status: Downloaded newer image for alpine:3.17 04:04:12 ---> 9ed4aefc74f6 04:04:12 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:04:12 ---> Running in 4c025ddca688 04:04:13 Removing intermediate container 4c025ddca688 04:04:13 ---> e83b2d322a55 04:04:13 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:04:13 ---> Running in 1e2bc610169e 04:04:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:04:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:04:13 (1/1) Installing dumb-init (1.2.5-r2) 04:04:13 Executing busybox-1.35.0-r29.trigger 04:04:13 OK: 7 MiB in 16 packages 04:04:13 Removing intermediate container 1e2bc610169e 04:04:13 ---> 75e63724e52f 04:04:13 Step 17/26 : WORKDIR / 04:04:13 ---> Running in 737c97cccc93 04:04:14 Removing intermediate container 737c97cccc93 04:04:14 ---> e1bf487b44d9 04:04:14 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:04:15 ---> 72a99c12364e 04:04:15 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:04:15 ---> 33155eb8351a 04:04:15 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:04:15 ---> b3423b379312 04:04:15 Step 21/26 : EXPOSE 59984 04:04:15 ---> Running in e1d5c482f7be 04:04:15 Removing intermediate container e1d5c482f7be 04:04:15 ---> ed3d926ee8f5 04:04:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:04:15 ---> Running in 9421c6b11165 04:04:15 Removing intermediate container 9421c6b11165 04:04:15 ---> e9f13265d352 04:04:15 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:04:15 ---> Running in c0aaf9feae07 04:04:15 Removing intermediate container c0aaf9feae07 04:04:15 ---> 7b3f2cd15d6b 04:04:15 Step 24/26 : LABEL arch=amd64 04:04:15 ---> Running in 506d5cc2f992 04:04:15 Removing intermediate container 506d5cc2f992 04:04:15 ---> 22a3c822941e 04:04:15 Step 25/26 : LABEL git_sha=6d730351260e7d2b399db57a8e057e752813253f 04:04:15 ---> Running in 4b0c873dd339 04:04:15 Removing intermediate container 4b0c873dd339 04:04:15 ---> 0d825ef5e9ae 04:04:15 Step 26/26 : LABEL version=0.0.0 04:04:15 ---> Running in 14862b1b7d81 04:04:15 Removing intermediate container 14862b1b7d81 04:04:15 ---> a8ddf77d27ed 04:04:15 [Warning] One or more build-args [ARCH] were not consumed 04:04:15 Successfully built a8ddf77d27ed 04:04:15 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:04:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:16 04:04:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:16 latest: Pulling from edgex-lftools-log-publisher 04:04:16 5eb5b503b376: Pulling fs layer 04:04:16 5c69ac0246d0: Pulling fs layer 04:04:16 ec43610c2a17: Pulling fs layer 04:04:16 3a2ae6a8a46f: Pulling fs layer 04:04:16 33b1e0a273af: Pulling fs layer 04:04:16 5d3b04190fa2: Pulling fs layer 04:04:16 2f39f015ded8: Pulling fs layer 04:04:16 3a2ae6a8a46f: Waiting 04:04:16 5d3b04190fa2: Waiting 04:04:16 2f39f015ded8: Waiting 04:04:16 33b1e0a273af: Waiting 04:04:16 5c69ac0246d0: Download complete 04:04:16 3a2ae6a8a46f: Download complete 04:04:16 33b1e0a273af: Verifying Checksum 04:04:16 33b1e0a273af: Download complete 04:04:16 5d3b04190fa2: Verifying Checksum 04:04:16 5d3b04190fa2: Download complete 04:04:17 ec43610c2a17: Verifying Checksum 04:04:17 ec43610c2a17: Download complete 04:04:17 5eb5b503b376: Verifying Checksum 04:04:17 5eb5b503b376: Download complete 04:04:17 2f39f015ded8: Download complete 04:04:18 5eb5b503b376: Pull complete 04:04:18 5c69ac0246d0: Pull complete 04:04:19 ec43610c2a17: Pull complete 04:04:19 3a2ae6a8a46f: Pull complete 04:04:19 33b1e0a273af: Pull complete 04:04:19 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:04:22 provisioning config files... 04:04:22 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config16783546476884800951tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:22 ---> docker-login.sh 04:04:22 nexus3.edgexfoundry.org:10001 04:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:23 Configure a credential helper to remove this warning. See 04:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:23 04:04:23 Login Succeeded 04:04:23 nexus3.edgexfoundry.org:10002 04:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:23 Configure a credential helper to remove this warning. See 04:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:23 04:04:23 Login Succeeded 04:04:23 2f39f015ded8: Pull complete 04:04:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:04:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv 04:04:23 nexus3.edgexfoundry.org:10003 04:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] withDockerContainer 04:04:23 prd-ubuntu20.04-docker-8c-8g-16654 does not seem to be running inside a container 04:04:23 $ 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-369 -v /w/workspace/undry_device-onvif-camera_PR-369:/w/workspace/undry_device-onvif-camera_PR-369:rw,z -v /w/workspace/undry_device-onvif-camera_PR-369@tmp:/w/workspace/undry_device-onvif-camera_PR-369@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:24 Configure a credential helper to remove this warning. See 04:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:24 04:04:24 Login Succeeded 04:04:24 nexus3.edgexfoundry.org:10004 04:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:24 Configure a credential helper to remove this warning. See 04:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:24 04:04:24 Login Succeeded 04:04:24 docker.io 04:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:24 Configure a credential helper to remove this warning. See 04:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:24 04:04:24 Login Succeeded 04:04:24 ---> docker-login.sh ends 04:04:28 $ docker top f2e07eacec079b91fb2b1473d6deb606f7ba8fe2b54b0bcb4bcd0b3ab6c42f59 -eo pid,comm [Pipeline] { [Pipeline] } 04:04:28 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:04:28 ---> job-cost.sh 04:04:28 lf-activate-venv: SKIPPING 04:04:28 INFO: No Stack... [Pipeline] echo 04:04:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:28 ========================================================= 04:04:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:04:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 04:04:29 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:29 INFO: Archiving Costs [Pipeline] sh 04:04:29 + 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:04:29 + cat /w/workspace/undry_device-onvif-camera_PR-369/archives/cost.csv 04:04:29 + cut -d, -f6 [Pipeline] lock 04:04:29 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-369-1-stack-cost] 04:04:29 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-369-1-stack-cost] did not exist. Created. 04:04:29 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-369-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:04:30 + echo total: 0.2199999988079071 04:04:30 Sending build context to Docker daemon 14.39MB 04:04:30 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 04:04:30 Step 2/13 : FROM ${BASE} AS builder 04:04:30 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:04:30 c41833b44d91: Pulling fs layer 04:04:30 ed15518f5707: Pulling fs layer 04:04:30 feae8fd75edb: Pulling fs layer 04:04:30 242c74f7c9fa: Pulling fs layer 04:04:30 3cdef696dda3: Pulling fs layer 04:04:30 2ced38df9373: Pulling fs layer 04:04:30 58f1dce35555: Pulling fs layer 04:04:30 242c74f7c9fa: Waiting 04:04:30 3cdef696dda3: Waiting 04:04:30 2ced38df9373: Waiting 04:04:30 58f1dce35555: Waiting 04:04:30 ed15518f5707: Verifying Checksum 04:04:30 ed15518f5707: Download complete [Pipeline] stash 04:04:30 Stashed 1 file(s) [Pipeline] } 04:04:30 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-369-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:04:30 $ docker stop --time=1 f2e07eacec079b91fb2b1473d6deb606f7ba8fe2b54b0bcb4bcd0b3ab6c42f59 04:04:30 242c74f7c9fa: Verifying Checksum 04:04:30 242c74f7c9fa: Download complete 04:04:30 3cdef696dda3: Verifying Checksum 04:04:30 3cdef696dda3: Download complete 04:04:30 c41833b44d91: Verifying Checksum 04:04:30 c41833b44d91: Download complete 04:04:31 c41833b44d91: Pull complete 04:04:31 $ docker rm -f --volumes f2e07eacec079b91fb2b1473d6deb606f7ba8fe2b54b0bcb4bcd0b3ab6c42f59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:04:31 58f1dce35555: Verifying Checksum 04:04:31 58f1dce35555: Download complete 04:04:32 ed15518f5707: Pull complete 04:04:33 feae8fd75edb: Verifying Checksum 04:04:33 feae8fd75edb: Download complete 04:04:33 2ced38df9373: Verifying Checksum 04:04:33 2ced38df9373: Download complete 04:04:45 feae8fd75edb: Pull complete 04:04:45 242c74f7c9fa: Pull complete 04:04:45 3cdef696dda3: Pull complete 04:04:53 2ced38df9373: Pull complete 04:04:55 58f1dce35555: Pull complete 04:04:55 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 04:04:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:04:55 ---> fadd8f120f05 04:04:55 Step 3/13 : ARG ADD_BUILD_TAGS="" 04:04:56 ---> Running in 99e130f59ceb 04:04:56 Removing intermediate container 99e130f59ceb 04:04:56 ---> a98abd061af9 04:04:56 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:04:56 ---> Running in cc25848a6703 04:04:57 Removing intermediate container cc25848a6703 04:04:57 ---> a9e1a616d7f7 04:04:57 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 04:04:57 ---> Running in 049847fd8292 04:04:57 Removing intermediate container 049847fd8292 04:04:57 ---> aa42d316cc2a 04:04:57 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 04:04:57 ---> Running in 068f717e5b69 04:04:58 Removing intermediate container 068f717e5b69 04:04:58 ---> 28a275b63b11 04:04:58 Step 7/13 : LABEL Name=edgex-device-onvif-camera 04:04:58 ---> Running in 2d387f7a5cc1 04:04:58 Removing intermediate container 2d387f7a5cc1 04:04:58 ---> 1da246addb59 04:04:58 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:04:58 ---> Running in 151c5e9b3220 04:05:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:05:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:05:01 OK: 263 MiB in 53 packages 04:05:02 Removing intermediate container 151c5e9b3220 04:05:02 ---> be605e4a0e81 04:05:02 Step 9/13 : WORKDIR /device-onvif-camera 04:05:02 ---> Running in 269837a4d47a 04:05:02 Removing intermediate container 269837a4d47a 04:05:02 ---> 4b98ab7edda6 04:05:02 Step 10/13 : COPY go.mod vendor* ./ 04:05:03 ---> 2c0211732e14 04:05:03 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:05:03 ---> Running in a51723951d2f 04:06:10 Removing intermediate container a51723951d2f 04:06:10 ---> 38510c99045f 04:06:10 Step 12/13 : COPY . . 04:06:10 ---> f2929f72d785 04:06:10 Step 13/13 : RUN ${MAKE} 04:06:10 ---> Running in bc69a21956e5 04:06:10 noop 04:06:10 Removing intermediate container bc69a21956e5 04:06:10 ---> ea133f1fcad0 04:06:10 Successfully built ea133f1fcad0 04:06:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:11 + docker inspect -f . ci-base-image-arm64 04:06:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:11 prd-ubuntu20.04-docker-arm64-4c-16g-16655 does not seem to be running inside a container 04:06:11 $ 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:06:13 $ docker top 26674a92dc91b2989b3eb91151327daf260a64f0fba1d649484d443a98419a1f -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:14 + go version 04:06:14 go version go1.20.2 linux/arm64 [Pipeline] } 04:06:14 $ docker stop --time=1 26674a92dc91b2989b3eb91151327daf260a64f0fba1d649484d443a98419a1f 04:06:15 $ docker rm -f --volumes 26674a92dc91b2989b3eb91151327daf260a64f0fba1d649484d443a98419a1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:16 + docker inspect -f . ci-base-image-arm64 04:06:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:16 prd-ubuntu20.04-docker-arm64-4c-16g-16655 does not seem to be running inside a container 04:06:17 $ 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:06:18 $ docker top fd7642c52f90af84d162b55e7c61676cb616a3d29c617a7bbdd4095f4efd11c6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:18 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 04:06:19 + make test 04:06:19 go test ./... -coverprofile=coverage.out ./... 04:06:51 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:08:58 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:08:58 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:08:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.186s coverage: 31.4% of statements 04:09:13 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 16.571s coverage: 86.5% of statements 04:09:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:09:13 go vet ./... 04:09:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:09:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:09:46 ./bin/test-attribution-txt.sh [Pipeline] echo 04:09:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:09:46 $ docker stop --time=1 fd7642c52f90af84d162b55e7c61676cb616a3d29c617a7bbdd4095f4efd11c6 04:09:48 $ docker rm -f --volumes fd7642c52f90af84d162b55e7c61676cb616a3d29c617a7bbdd4095f4efd11c6 [Pipeline] // withDockerContainer [Pipeline] sh 04:09:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:09:49 Warning: overwriting stash ‘coverage-report’ 04:09:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:09:50 + ls -al . 04:09:50 total 228 04:09:50 drwxrwxr-x 9 jenkins jenkins 4096 May 24 04:06 . 04:09:50 drwxrwxr-x 4 jenkins jenkins 4096 May 24 04:03 .. 04:09:50 drwxrwxr-x 8 jenkins jenkins 4096 May 24 04:04 .git 04:09:50 drwxrwxr-x 3 jenkins jenkins 4096 May 24 04:03 .github 04:09:50 -rw-rw-r-- 1 jenkins jenkins 496 May 24 04:03 .gitignore 04:09:50 -rw-rw-r-- 1 jenkins jenkins 42 May 24 04:03 .golangci.yml 04:09:50 -rw-rw-r-- 1 jenkins jenkins 10087 May 24 04:03 Attribution.txt 04:09:50 -rw-rw-r-- 1 jenkins jenkins 6312 May 24 04:03 CHANGELOG.md 04:09:50 -rw-rw-r-- 1 jenkins jenkins 1574 May 24 04:03 Dockerfile 04:09:50 -rw-rw-r-- 1 jenkins jenkins 677 May 24 04:03 GOVERNANCE.md 04:09:50 -rw-rw-r-- 1 jenkins jenkins 739 May 24 04:03 Jenkinsfile 04:09:50 -rw-rw-r-- 1 jenkins jenkins 11348 May 24 04:03 LICENSE 04:09:50 -rw-rw-r-- 1 jenkins jenkins 2751 May 24 04:03 Makefile 04:09:50 -rw-rw-r-- 1 jenkins jenkins 625 May 24 04:03 OWNERS.md 04:09:50 -rw-rw-r-- 1 jenkins jenkins 2690 May 24 04:03 README.md 04:09:50 -rw-rw-r-- 1 jenkins jenkins 5 May 24 04:01 VERSION 04:09:50 drwxrwxr-x 2 jenkins jenkins 4096 May 24 04:03 bin 04:09:50 drwxrwxr-x 3 jenkins jenkins 4096 May 24 04:03 cmd 04:09:50 -rw-r--r-- 1 jenkins jenkins 78459 May 24 04:09 coverage.out 04:09:50 drwxrwxr-x 4 jenkins jenkins 4096 May 24 04:03 doc 04:09:50 -rw-rw-r-- 1 jenkins jenkins 3601 May 24 04:03 go.mod 04:09:50 -rw-rw-r-- 1 jenkins jenkins 33409 May 24 04:03 go.sum 04:09:50 drwxrwxr-x 4 jenkins jenkins 4096 May 24 04:03 internal 04:09:50 drwxrwxr-x 4 jenkins jenkins 4096 May 24 04:03 snap 04:09:50 -rw-rw-r-- 1 jenkins jenkins 236 May 24 04:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:51 + 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=6d730351260e7d2b399db57a8e057e752813253f --label arch=arm64 --label version=0.0.0 . 04:09:51 Sending build context to Docker daemon 14.47MB 04:09:51 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 04:09:51 Step 2/26 : FROM ${BASE} AS builder 04:09:51 ---> ea133f1fcad0 04:09:51 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:09:51 ---> Running in dcd1446cff07 04:09:51 Removing intermediate container dcd1446cff07 04:09:51 ---> 5c7597244b2a 04:09:51 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:09:51 ---> Running in 4c16fe3f9239 04:09:52 Removing intermediate container 4c16fe3f9239 04:09:52 ---> de35b75d9a29 04:09:52 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 04:09:52 ---> Running in 1d6c01b964ad 04:09:52 Removing intermediate container 1d6c01b964ad 04:09:52 ---> 3b288c9695ed 04:09:52 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:09:52 ---> Running in dd7f66c5759f 04:09:52 Removing intermediate container dd7f66c5759f 04:09:52 ---> a186d4255958 04:09:52 Step 7/26 : LABEL Name=edgex-device-onvif-camera 04:09:52 ---> Running in 101c443eebaf 04:09:53 Removing intermediate container 101c443eebaf 04:09:53 ---> 8d017e0baff0 04:09:53 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:09:53 ---> Running in 3174c47923a5 04:09:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:09:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:09:55 OK: 263 MiB in 53 packages 04:09:56 Removing intermediate container 3174c47923a5 04:09:56 ---> 704a56cd988f 04:09:56 Step 9/26 : WORKDIR /device-onvif-camera 04:09:56 ---> Running in 3805b8af10f9 04:09:56 Removing intermediate container 3805b8af10f9 04:09:56 ---> 4014cb050e00 04:09:56 Step 10/26 : COPY go.mod vendor* ./ 04:09:57 ---> eb414f351c59 04:09:57 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:57 ---> Running in 03449b5cdafb 04:10:01 Removing intermediate container 03449b5cdafb 04:10:01 ---> 2b81a55d6c8c 04:10:01 Step 12/26 : COPY . . 04:10:02 ---> b2ef0928e7ce 04:10:02 Step 13/26 : RUN ${MAKE} 04:10:02 ---> Running in e42254593f02 04:10:03 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:12:28 Removing intermediate container e42254593f02 04:12:28 ---> 5786adcc77ef 04:12:28 Step 14/26 : FROM alpine:3.17 04:12:28 3.17: Pulling from library/alpine 04:12:28 c41833b44d91: Already exists 04:12:28 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:12:28 Status: Downloaded newer image for alpine:3.17 04:12:28 ---> 51e60588ff2c 04:12:28 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:12:28 ---> Running in 4f08158798e4 04:12:28 Removing intermediate container 4f08158798e4 04:12:28 ---> 0d4ab19d71cb 04:12:28 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:12:28 ---> Running in 5a8be6e8e811 04:12:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:12:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:12:28 (1/1) Installing dumb-init (1.2.5-r2) 04:12:28 Executing busybox-1.35.0-r29.trigger 04:12:28 OK: 8 MiB in 16 packages 04:12:28 Removing intermediate container 5a8be6e8e811 04:12:28 ---> f490c1b81565 04:12:28 Step 17/26 : WORKDIR / 04:12:28 ---> Running in 28be9de4ff0f 04:12:28 Removing intermediate container 28be9de4ff0f 04:12:28 ---> 85db567786a1 04:12:28 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 04:12:28 ---> 6a60b5910b0b 04:12:28 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 04:12:28 ---> c35d9812ef1e 04:12:28 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:12:28 ---> 7e421133c265 04:12:28 Step 21/26 : EXPOSE 59984 04:12:28 ---> Running in b109c5df1f31 04:12:28 Removing intermediate container b109c5df1f31 04:12:28 ---> 6400706e94e1 04:12:28 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 04:12:28 ---> Running in c19557aef6e8 04:12:28 Removing intermediate container c19557aef6e8 04:12:28 ---> 8e54e5935ce7 04:12:28 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 04:12:28 ---> Running in d6da5f3c8225 04:12:28 Removing intermediate container d6da5f3c8225 04:12:28 ---> a252f820f7b7 04:12:28 Step 24/26 : LABEL arch=arm64 04:12:28 ---> Running in 29994fee15a4 04:12:28 Removing intermediate container 29994fee15a4 04:12:28 ---> 482dc20c8a64 04:12:28 Step 25/26 : LABEL git_sha=6d730351260e7d2b399db57a8e057e752813253f 04:12:28 ---> Running in 86b1f84779ff 04:12:28 Removing intermediate container 86b1f84779ff 04:12:28 ---> 49e8669d9ab4 04:12:28 Step 26/26 : LABEL version=0.0.0 04:12:28 ---> Running in ffeebad6886f 04:12:28 Removing intermediate container ffeebad6886f 04:12:28 ---> fb5c0eb8c1b9 04:12:28 [Warning] One or more build-args [ARCH] were not consumed 04:12:28 Successfully built fb5c0eb8c1b9 04:12:28 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:12:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:28 04:12:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:29 arm64: Pulling from edgex-lftools-log-publisher 04:12:29 8998bd30e6a1: Pulling fs layer 04:12:29 04944245beec: Pulling fs layer 04:12:29 699f458cf7ca: Pulling fs layer 04:12:29 765212b225bb: Pulling fs layer 04:12:29 f23df028b6ca: Pulling fs layer 04:12:29 d65c8cfc05b1: Pulling fs layer 04:12:29 2437ff75d9bd: Pulling fs layer 04:12:29 765212b225bb: Waiting 04:12:29 d65c8cfc05b1: Waiting 04:12:29 f23df028b6ca: Waiting 04:12:29 04944245beec: Verifying Checksum 04:12:29 04944245beec: Download complete 04:12:29 765212b225bb: Verifying Checksum 04:12:29 765212b225bb: Download complete 04:12:29 f23df028b6ca: Verifying Checksum 04:12:29 f23df028b6ca: Download complete 04:12:29 d65c8cfc05b1: Verifying Checksum 04:12:29 d65c8cfc05b1: Download complete 04:12:29 699f458cf7ca: Download complete 04:12:30 8998bd30e6a1: Verifying Checksum 04:12:30 8998bd30e6a1: Download complete 04:12:32 2437ff75d9bd: Verifying Checksum 04:12:32 2437ff75d9bd: Download complete 04:12:34 8998bd30e6a1: Pull complete 04:12:34 04944245beec: Pull complete 04:12:36 699f458cf7ca: Pull complete 04:12:36 765212b225bb: Pull complete 04:12:37 f23df028b6ca: Pull complete 04:12:37 d65c8cfc05b1: Pull complete 04:12:52 2437ff75d9bd: Pull complete 04:12:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:12:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:52 prd-ubuntu20.04-docker-arm64-4c-16g-16655 does not seem to be running inside a container 04:12:52 $ 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:12:55 $ docker top 656dbe16faa119fd67f30821a36f8d7dc02ae9464c13ffb7731079811472d729 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:56 ---> job-cost.sh 04:12:56 lf-activate-venv: SKIPPING 04:12:56 INFO: No Stack... 04:12:56 INFO: Retrieving Pricing Info for: v3-standard-4 04:12:57 INFO: Archiving Costs [Pipeline] sh 04:12:58 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 04:12:58 + cut -d, -f6 [Pipeline] lock 04:12:58 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-369-1-stack-cost] 04:12:58 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-369-1-stack-cost] did not exist. Created. 04:12:58 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-369-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:12:58 /w/workspace/device-onvif-camera/1@tmp/durable-f0f9ff12/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:12:59 + echo total: 0.10999999940395355 [Pipeline] stash 04:12:59 Warning: overwriting stash ‘stack-cost’ 04:12:59 Stashed 1 file(s) [Pipeline] } 04:12:59 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-369-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:12:59 $ docker stop --time=1 656dbe16faa119fd67f30821a36f8d7dc02ae9464c13ffb7731079811472d729 04:13:01 $ docker rm -f --volumes 656dbe16faa119fd67f30821a36f8d7dc02ae9464c13ffb7731079811472d729 [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:13:02 provisioning config files... 04:13:02 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-369@tmp/config12475276940926522540tmp [Pipeline] { [Pipeline] sh 04:13:02 + set +x 04:13:02 + curl -s https://codecov.io/bash+ 04:13:02 bash -s -- 04:13:02 04:13:02 _____ _ 04:13:02 / ____| | | 04:13:02 | | ___ __| | ___ ___ _____ __ 04:13:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:13:02 | |___| (_) | (_| | __/ (_| (_) \ V / 04:13:02 \_____\___/ \__,_|\___|\___\___/ \_/ 04:13:02 Bash-1.0.6 04:13:02 04:13:02 04:13:02 ==> git version 2.25.1 found 04:13:02 ==> 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:13:02 Release-Date: 2020-01-08 04:13:02 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:13:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:13:02 ==> Jenkins CI detected. 04:13:02 current dir:  /w/workspace/undry_device-onvif-camera_PR-369 04:13:02 project root: . 04:13:02 --> token set from env 04:13:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:13:02 ==> Running gcov in . (disable via -X gcov) 04:13:02 ==> Python coveragepy not found 04:13:02 ==> Searching for coverage reports in: 04:13:02 + . 04:13:02 -> Found 1 reports 04:13:02 ==> Detecting git/mercurial file structure 04:13:02 ==> Reading reports 04:13:02 + ./coverage.out bytes=78459 04:13:02 ==> Appending adjustments 04:13:02 https://docs.codecov.io/docs/fixing-reports 04:13:02 + Found adjustments 04:13:02 ==> Gzipping contents 04:13:02 12K /tmp/codecov.OxVlzC.gz 04:13:02 ==> Uploading reports 04:13:02 url: https://codecov.io 04:13:02 query: branch=PR-369&commit=6d730351260e7d2b399db57a8e057e752813253f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-369%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=369&job=&cmd_args= 04:13:02 -> Pinging Codecov 04:13:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-369&commit=6d730351260e7d2b399db57a8e057e752813253f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-369%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=369&job=&cmd_args= 04:13:03 -> Uploading to 04:13:03 https://storage.googleapis.com/codecov/v4/raw/2023-05-24/F29A59C45E3A92E06B3E522C9905F8EF/6d730351260e7d2b399db57a8e057e752813253f/6f0cff60-7574-4210-89ad-0ad6b2fab7be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230524T041302Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=21f430bb339d9ec096f0bbf628b5f88a8333458b5e460139e3ca6031db325843 04:13:03 % Total % Received % Xferd Average Speed Time Time Time Current 04:13:03 Dload Upload Total Spent Left Speed 04:13:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10557 0 0 100 10557 0 53318 --:--:-- --:--:-- --:--:-- 53318 04:13:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/6d730351260e7d2b399db57a8e057e752813253f [Pipeline] } 04:13:03 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:13:05 + [ -d /w/workspace/undry_device-onvif-camera_PR-369/archives ] 04:13:05 + ls -al /w/workspace/undry_device-onvif-camera_PR-369/archives 04:13:05 total 16 04:13:05 drwxr-xr-x 3 root root 4096 May 24 04:04 . 04:13:05 drwxrwxr-x 11 jenkins jenkins 4096 May 24 04:04 .. 04:13:05 drwxr-xr-x 2 root root 4096 May 24 04:04 cost 04:13:05 -rw-r--r-- 1 root root 91 May 24 04:04 cost.csv 04:13:05 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-369/archives 04:13:05 + ls -al /w/workspace/undry_device-onvif-camera_PR-369/archives 04:13:05 total 16 04:13:05 drwxr-xr-x 3 jenkins jenkins 4096 May 24 04:04 . 04:13:05 drwxrwxr-x 11 jenkins jenkins 4096 May 24 04:04 .. 04:13:05 drwxr-xr-x 2 jenkins jenkins 4096 May 24 04:04 cost 04:13:05 -rw-r--r-- 1 jenkins jenkins 91 May 24 04:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:13:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:13:06 ---> package-listing.sh 04:13:06 ++ facter osfamily 04:13:06 ++ tr '[:upper:]' '[:lower:]' 04:13:06 + OS_FAMILY=debian 04:13:06 + workspace=/w/workspace/undry_device-onvif-camera_PR-369 04:13:06 + START_PACKAGES=/tmp/packages_start.txt 04:13:06 + END_PACKAGES=/tmp/packages_end.txt 04:13:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:13:06 + PACKAGES=/tmp/packages_start.txt 04:13:06 + '[' /w/workspace/undry_device-onvif-camera_PR-369 ']' 04:13:06 + PACKAGES=/tmp/packages_end.txt 04:13:06 + case "${OS_FAMILY}" in 04:13:06 + dpkg -l 04:13:06 + grep '^ii' 04:13:06 + '[' -f /tmp/packages_start.txt ']' 04:13:06 + '[' -f /tmp/packages_end.txt ']' 04:13:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:13:06 + '[' /w/workspace/undry_device-onvif-camera_PR-369 ']' 04:13:06 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-369/archives/ 04:13:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-369/archives/ [Pipeline] echo 04:13:06 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-369/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:13:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:13:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:07 prd-ubuntu20.04-docker-8c-8g-16654 does not seem to be running inside a container 04:13:07 $ 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-369/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-369 -v /w/workspace/undry_device-onvif-camera_PR-369:/w/workspace/undry_device-onvif-camera_PR-369:rw,z -v /w/workspace/undry_device-onvif-camera_PR-369@tmp:/w/workspace/undry_device-onvif-camera_PR-369@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:13:07 $ docker top f21ad349bf12706ebf74820cf0e31c0b14541466eb786bd06256944a1c696254 -eo pid,comm [Pipeline] { [Pipeline] sh 04:13:08 + touch /tmp/pre-build-complete [Pipeline] sh 04:13:08 + mkdir -p /var/log/sysstat [Pipeline] sh 04:13:08 + ls /var/log/sa-host 04:13:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:13:09 provisioning config files... 04:13:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-369@tmp/config10484624948629824582tmp [Pipeline] { [Pipeline] echo 04:13:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:13:09 ---> create-netrc.sh [Pipeline] } 04:13:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:13:10 ---> python-tools-install.sh [Pipeline] echo 04:13:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:13:10 ---> sudo-logs.sh 04:13:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:13:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:13:10 ---> job-cost.sh 04:13:10 lf-activate-venv: SKIPPING 04:13:10 DEBUG: total: 0.2199999988079071 04:13:10 INFO: Retrieving Stack Cost... 04:13:11 INFO: Retrieving Pricing Info for: v3-standard-8 04:13:11 INFO: Archiving Costs [Pipeline] echo 04:13:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:13:11 ---> logs-deploy.sh 04:13:11 lf-activate-venv: SKIPPING 04:13:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-369/1 04:13:11 INFO: archiving workspace using pattern(s): 04:13:12 Archives upload complete. 04:13:12 INFO: archiving logs to Nexus