Pull request #269 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 906e7dcafdeefb98ba4fbd6f4b26acb44e842f77+b19be15f1aae5ce963d99b90e51172ceff0b476d (51d86cc12ec3f9d340c6c4089a1c84052262a6ea) 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-ssh1868777003292339934.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh18289981496418018297.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-269/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-269/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13499817551715411561.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 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-ssh4416818460424238387.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-269/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-269/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12399147511781371433.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-2366’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2369 in /w/workspace/undry_device-onvif-camera_PR-269 [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-269 # 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 > 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/269/head:refs/remotes/origin/PR-269 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b19be15f1aae5ce963d99b90e51172ceff0b476d into PR head commit 906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 Merge succeeded, producing 906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 Checking out Revision 906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 (PR-269) > git config core.sparsecheckout # timeout=10 > git checkout -f 906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 # 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 b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 # timeout=10 Commit message: "refactor!: consume device-sdk-go breaking changes" First time build. Skipping changelog. > git rev-list --no-walk 7bfdb12452cc50672e6b764c7473d371a18ced2b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:13:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:13:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:13:59 ========================================================= 06:13:59 EdgeX Global Pipelines Version Info 06:13:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:14:00 ------------------- 06:14:00 stable info: 06:14:00 ------------------- 06:14:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:14:00 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 06:14:00 Message: update stable to v1.0.245 06:14:01 ------------------- 06:14:01 experimental info: 06:14:01 ------------------- 06:14:01 Commited By: **** collab-it+edgex@linuxfoundation.org 06:14:01 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 06:14:01 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-269 [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-269 [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-269 [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 906e7dc [Pipeline] echo 06:14:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:14:01 provisioning config files... 06:14:01 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-269@tmp/config17725064206880088325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:02 ---> docker-login.sh 06:14:02 nexus3.edgexfoundry.org:10001 06:14:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:02 Configure a credential helper to remove this warning. See 06:14:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:02 06:14:02 Login Succeeded 06:14:02 nexus3.edgexfoundry.org:10002 06:14:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:02 Configure a credential helper to remove this warning. See 06:14:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:02 06:14:02 Login Succeeded 06:14:02 nexus3.edgexfoundry.org:10003 06:14:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:02 Configure a credential helper to remove this warning. See 06:14:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:02 06:14:02 Login Succeeded 06:14:02 nexus3.edgexfoundry.org:10004 06:14:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:02 Configure a credential helper to remove this warning. See 06:14:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:02 06:14:02 Login Succeeded 06:14:02 docker.io 06:14:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:03 Configure a credential helper to remove this warning. See 06:14:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:03 06:14:03 Login Succeeded 06:14:03 ---> docker-login.sh ends [Pipeline] } 06:14:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:14:03 + git rev-list -1 --merges 906e7dcafdeefb98ba4fbd6f4b26acb44e842f77~1..906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 [Pipeline] echo 06:14:03 -----------> git rev-list -1 --merges 906e7dcafdeefb98ba4fbd6f4b26acb44e842f77~1..906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 [false] [Pipeline] sh 06:14:03 + git log --format=format:%s -1 906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 [Pipeline] echo 06:14:03 ========================================================= 06:14:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:14:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:14:04 + git log --format=format:%s -1 906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 [Pipeline] echo 06:14:04 [semverPrep] GIT_COMMIT: 906e7dcafdeefb98ba4fbd6f4b26acb44e842f77, Commit Message: refactor!: consume device-sdk-go breaking changes [Pipeline] echo 06:14:04 [semverPrep] This is not a build commit. [Pipeline] sh 06:14:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:14:04 + grep -v github /etc/ssh/ssh_known_hosts 06:14:04 + [ -e /tmp/ssh_known_hosts ] 06:14:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:14:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:14:04 + sudo tee -a /etc/ssh/ssh_known_hosts 06:14:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:05 06:14:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:05 0.1.4: Pulling from edgex-devops/py-git-semver 06:14:05 b85a868b505f: Pulling fs layer 06:14:05 e2be974225ed: Pulling fs layer 06:14:05 339a4e72a1f5: Pulling fs layer 06:14:05 988bab9f4d93: Pulling fs layer 06:14:05 1469e6f7b9e6: Pulling fs layer 06:14:05 eaf3925da568: Pulling fs layer 06:14:05 bab4dde63d76: Pulling fs layer 06:14:05 bde34c3a00c8: Pulling fs layer 06:14:05 b352a97aabf1: Pulling fs layer 06:14:05 4872d77fe225: Pulling fs layer 06:14:05 5851b861e8e6: Pulling fs layer 06:14:05 bab4dde63d76: Waiting 06:14:05 bde34c3a00c8: Waiting 06:14:05 b352a97aabf1: Waiting 06:14:05 5851b861e8e6: Waiting 06:14:05 1469e6f7b9e6: Waiting 06:14:05 988bab9f4d93: Waiting 06:14:05 eaf3925da568: Waiting 06:14:05 e2be974225ed: Verifying Checksum 06:14:05 e2be974225ed: Download complete 06:14:05 988bab9f4d93: Verifying Checksum 06:14:05 988bab9f4d93: Download complete 06:14:05 1469e6f7b9e6: Verifying Checksum 06:14:05 1469e6f7b9e6: Download complete 06:14:05 eaf3925da568: Verifying Checksum 06:14:05 eaf3925da568: Download complete 06:14:05 339a4e72a1f5: Verifying Checksum 06:14:05 339a4e72a1f5: Download complete 06:14:05 bde34c3a00c8: Download complete 06:14:05 b352a97aabf1: Download complete 06:14:05 4872d77fe225: Verifying Checksum 06:14:05 4872d77fe225: Download complete 06:14:05 5851b861e8e6: Verifying Checksum 06:14:05 5851b861e8e6: Download complete 06:14:05 b85a868b505f: Verifying Checksum 06:14:05 b85a868b505f: Download complete 06:14:06 bab4dde63d76: Verifying Checksum 06:14:06 bab4dde63d76: Download complete 06:14:07 b85a868b505f: Pull complete 06:14:07 e2be974225ed: Pull complete 06:14:07 339a4e72a1f5: Pull complete 06:14:07 988bab9f4d93: Pull complete 06:14:07 1469e6f7b9e6: Pull complete 06:14:08 eaf3925da568: Pull complete 06:14:10 bab4dde63d76: Pull complete 06:14:10 bde34c3a00c8: Pull complete 06:14:10 b352a97aabf1: Pull complete 06:14:10 4872d77fe225: Pull complete 06:14:10 5851b861e8e6: Pull complete 06:14:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:14:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:10 prd-ubuntu20.04-docker-8c-8g-2369 does not seem to be running inside a container 06:14:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-269 -v /w/workspace/undry_device-onvif-camera_PR-269:/w/workspace/undry_device-onvif-camera_PR-269:rw,z -v /w/workspace/undry_device-onvif-camera_PR-269@tmp:/w/workspace/undry_device-onvif-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:14:11 $ docker top afb288dd2628900b19526aa440e145f1aa7efebcefad1cac863e048a98137bc4 -eo pid,comm 06:14:11 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). 06:14:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:14:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:14:11 [ssh-agent] Looking for ssh-agent implementation... 06:14:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:14:12 $ docker exec afb288dd2628900b19526aa440e145f1aa7efebcefad1cac863e048a98137bc4 ssh-agent 06:14:12 SSH_AUTH_SOCK=/tmp/ssh-bH4i5scdVCFI/agent.33 06:14:12 SSH_AGENT_PID=39 06:14:12 Running ssh-add (command line suppressed) 06:14:12 Identity added: /w/workspace/undry_device-onvif-camera_PR-269@tmp/private_key_758802749502728522.key (/w/workspace/undry_device-onvif-camera_PR-269@tmp/private_key_758802749502728522.key) 06:14:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:14:12 + git tag --points-at HEAD [Pipeline] } 06:14:12 $ docker exec --env ******** --env ******** afb288dd2628900b19526aa440e145f1aa7efebcefad1cac863e048a98137bc4 ssh-agent -k 06:14:12 unset SSH_AUTH_SOCK; 06:14:12 unset SSH_AGENT_PID; 06:14:12 echo Agent pid 39 killed; 06:14:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:14:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:14:12 [ssh-agent] Looking for ssh-agent implementation... 06:14:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:14:12 $ docker exec afb288dd2628900b19526aa440e145f1aa7efebcefad1cac863e048a98137bc4 ssh-agent 06:14:12 SSH_AUTH_SOCK=/tmp/ssh-vVJchtG04qGb/agent.71 06:14:12 SSH_AGENT_PID=77 06:14:12 Running ssh-add (command line suppressed) 06:14:13 Identity added: /w/workspace/undry_device-onvif-camera_PR-269@tmp/private_key_11849164969458575311.key (/w/workspace/undry_device-onvif-camera_PR-269@tmp/private_key_11849164969458575311.key) 06:14:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:14:13 + git semver init 06:14:13 2023-03-16 06:14:13,532 [run_init] DEBUG init version:0.0.0 force:False 06:14:13 2023-03-16 06:14:13,533 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-269/.semver 06:14:13 2023-03-16 06:14:13,534 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-269/.semver 06:14:13 2023-03-16 06:14:13,534 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-269/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-269, universal_newlines=False, shell=None, istream=None) 06:14:14 2023-03-16 06:14:14,397 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-269/.git/info/exclude 06:14:14 2023-03-16 06:14:14,398 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-269/.semver/PR-269 with force:False 06:14:14 2023-03-16 06:14:14,398 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-269/.semver/PR-269 06:14:14 2023-03-16 06:14:14,402 [execute] INFO git cat-file --batch-check 06:14:14 2023-03-16 06:14:14,403 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-269/.semver, universal_newlines=False, shell=None, istream=) 06:14:14 2023-03-16 06:14:14,408 [execute] INFO git cat-file --batch 06:14:14 2023-03-16 06:14:14,409 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-269/.semver, universal_newlines=False, shell=None, istream=) 06:14:14 2023-03-16 06:14:14,415 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-269/.semver/PR-269 06:14:14 0.0.0 [Pipeline] } 06:14:14 $ docker exec --env ******** --env ******** afb288dd2628900b19526aa440e145f1aa7efebcefad1cac863e048a98137bc4 ssh-agent -k 06:14:14 unset SSH_AUTH_SOCK; 06:14:14 unset SSH_AGENT_PID; 06:14:14 echo Agent pid 77 killed; 06:14:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:14:14 + git semver [Pipeline] } 06:14:15 $ docker stop --time=1 afb288dd2628900b19526aa440e145f1aa7efebcefad1cac863e048a98137bc4 06:14:16 $ docker rm -f --volumes afb288dd2628900b19526aa440e145f1aa7efebcefad1cac863e048a98137bc4 [Pipeline] // withDockerContainer [Pipeline] sh 06:14:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:14:17 Stashed 1 file(s) [Pipeline] echo 06:14:17 [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 06:14:17 provisioning config files... 06:14:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-269@tmp/config5793336335735834506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:17 ---> docker-login.sh 06:14:17 nexus3.edgexfoundry.org:10001 06:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:17 Configure a credential helper to remove this warning. See 06:14:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:17 06:14:17 Login Succeeded 06:14:17 nexus3.edgexfoundry.org:10002 06:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:17 Configure a credential helper to remove this warning. See 06:14:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:17 06:14:17 Login Succeeded 06:14:17 nexus3.edgexfoundry.org:10003 06:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:17 Configure a credential helper to remove this warning. See 06:14:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:17 06:14:17 Login Succeeded 06:14:17 nexus3.edgexfoundry.org:10004 06:14:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:17 Configure a credential helper to remove this warning. See 06:14:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:17 06:14:17 Login Succeeded 06:14:17 docker.io 06:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:14:18 Configure a credential helper to remove this warning. See 06:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:14:18 06:14:18 Login Succeeded 06:14:18 ---> docker-login.sh ends [Pipeline] } 06:14:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:14:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:14:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:14:18 ========================================================= 06:14:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:14:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:18 + 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 . 06:14:18 Sending build context to Docker daemon 27.95MB 06:14:18 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:14:18 Step 2/13 : FROM ${BASE} AS builder 06:14:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:14:18 63b65145d645: Pulling fs layer 06:14:18 a2d21d5440eb: Pulling fs layer 06:14:18 935e6c44a52c: Pulling fs layer 06:14:18 94cc34f8dd06: Pulling fs layer 06:14:18 30dea6a524f1: Pulling fs layer 06:14:18 a2aff8979fd8: Pulling fs layer 06:14:18 6808be2612f2: Pulling fs layer 06:14:18 f25807f1079a: Pulling fs layer 06:14:18 a2aff8979fd8: Waiting 06:14:18 6808be2612f2: Waiting 06:14:18 f25807f1079a: Waiting 06:14:18 94cc34f8dd06: Waiting 06:14:18 30dea6a524f1: Waiting 06:14:18 a2d21d5440eb: Verifying Checksum 06:14:18 a2d21d5440eb: Download complete 06:14:18 94cc34f8dd06: Verifying Checksum 06:14:18 94cc34f8dd06: Download complete 06:14:18 30dea6a524f1: Verifying Checksum 06:14:18 30dea6a524f1: Download complete 06:14:18 63b65145d645: Verifying Checksum 06:14:18 63b65145d645: Download complete 06:14:18 a2aff8979fd8: Verifying Checksum 06:14:18 a2aff8979fd8: Download complete 06:14:19 63b65145d645: Pull complete 06:14:19 a2d21d5440eb: Pull complete 06:14:19 f25807f1079a: Verifying Checksum 06:14:19 f25807f1079a: Download complete 06:14:19 935e6c44a52c: Verifying Checksum 06:14:19 935e6c44a52c: Download complete 06:14:19 6808be2612f2: Verifying Checksum 06:14:19 6808be2612f2: Download complete 06:14:22 935e6c44a52c: Pull complete 06:14:22 94cc34f8dd06: Pull complete 06:14:22 30dea6a524f1: Pull complete 06:14:22 a2aff8979fd8: Pull complete 06:14:25 6808be2612f2: Pull complete 06:14:25 f25807f1079a: Pull complete 06:14:25 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:14:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:14:25 ---> 3b553350e43f 06:14:25 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:14:28 ---> Running in b869703d1c7b 06:14:28 Removing intermediate container b869703d1c7b 06:14:28 ---> cfa248d2b9a4 06:14:28 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:14:28 ---> Running in 61a8dabd24d3 06:14:28 Removing intermediate container 61a8dabd24d3 06:14:28 ---> 489250fffe04 06:14:28 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:14:28 ---> Running in 91cc9b17f5e5 06:14:28 Removing intermediate container 91cc9b17f5e5 06:14:28 ---> 9d7b9f87cbb7 06:14:28 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:14:28 ---> Running in 0efe7936dfb1 06:14:28 Removing intermediate container 0efe7936dfb1 06:14:28 ---> 665c191b95a6 06:14:28 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:14:28 ---> Running in 7af214f3cbb4 06:14:28 Removing intermediate container 7af214f3cbb4 06:14:28 ---> 62b33113f8b7 06:14:28 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:14:28 ---> Running in 25a8374b5701 06:14:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:14:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:14:29 OK: 265 MiB in 53 packages 06:14:29 Removing intermediate container 25a8374b5701 06:14:29 ---> ef07edafcece 06:14:29 Step 9/13 : WORKDIR /device-onvif-camera 06:14:29 ---> Running in db9cdfd0a827 06:14:29 Removing intermediate container db9cdfd0a827 06:14:29 ---> 37e9a1d55f5c 06:14:29 Step 10/13 : COPY go.mod vendor* ./ 06:14:29 ---> 1875071e5ec8 06:14:29 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:14:29 ---> Running in 5b169de044c8 06:14:32 Still waiting to schedule task 06:14:32 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2367’ is offline 06:14:51 Removing intermediate container 5b169de044c8 06:14:51 ---> f4a2cebb9cdd 06:14:51 Step 12/13 : COPY . . 06:14:52 ---> 152e8f3cf2f6 06:14:52 Step 13/13 : RUN ${MAKE} 06:14:52 ---> Running in 946b1f445e04 06:14:52 noop 06:14:52 Removing intermediate container 946b1f445e04 06:14:52 ---> 9dbb5da751f0 06:14:52 Successfully built 9dbb5da751f0 06:14:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:53 + docker inspect -f . ci-base-image-x86_64 06:14:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:53 prd-ubuntu20.04-docker-8c-8g-2369 does not seem to be running inside a container 06:14:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-269 -v /w/workspace/undry_device-onvif-camera_PR-269:/w/workspace/undry_device-onvif-camera_PR-269:rw,z -v /w/workspace/undry_device-onvif-camera_PR-269@tmp:/w/workspace/undry_device-onvif-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:14:53 $ docker top 2b634bcae2e7ac0e1e8f050aa38df183bfe0ad59275d1bcad5536ab5bcc47174 -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:54 + go version 06:14:54 go version go1.20.2 linux/amd64 [Pipeline] } 06:14:54 $ docker stop --time=1 2b634bcae2e7ac0e1e8f050aa38df183bfe0ad59275d1bcad5536ab5bcc47174 06:14:55 $ docker rm -f --volumes 2b634bcae2e7ac0e1e8f050aa38df183bfe0ad59275d1bcad5536ab5bcc47174 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:55 + docker inspect -f . ci-base-image-x86_64 06:14:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:55 prd-ubuntu20.04-docker-8c-8g-2369 does not seem to be running inside a container 06:14:55 $ 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-269 -v /w/workspace/undry_device-onvif-camera_PR-269:/w/workspace/undry_device-onvif-camera_PR-269:rw,z -v /w/workspace/undry_device-onvif-camera_PR-269@tmp:/w/workspace/undry_device-onvif-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:14:56 $ docker top f7c074c9d83328a66be652b583d2afc5f56e3b4b9b827813184c3a291392932c -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:56 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-269 [Pipeline] fileExists [Pipeline] sh 06:14:56 + make test 06:14:56 go test ./... -coverprofile=coverage.out ./... 06:15:02 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:15:12 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:15:12 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:15:13 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.029s coverage: 31.8% of statements 06:15:13 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.261s coverage: 86.5% of statements 06:15:20 go vet ./... 06:15:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:15:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:15:23 ./bin/test-attribution-txt.sh [Pipeline] echo 06:15:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:15:23 $ docker stop --time=1 f7c074c9d83328a66be652b583d2afc5f56e3b4b9b827813184c3a291392932c 06:15:26 $ docker rm -f --volumes f7c074c9d83328a66be652b583d2afc5f56e3b4b9b827813184c3a291392932c [Pipeline] // withDockerContainer [Pipeline] sh 06:15:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:15:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:15:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:15:27 + ls -al . 06:15:27 total 236 06:15:27 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 06:14 . 06:15:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 06:13 .. 06:15:27 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 06:14 .git 06:15:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 06:13 .github 06:15:27 -rw-rw-r-- 1 jenkins jenkins 496 Mar 16 06:13 .gitignore 06:15:27 -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 06:13 .golangci.yml 06:15:27 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 06:14 .semver 06:15:27 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 16 06:13 Attribution.txt 06:15:27 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 16 06:13 CHANGELOG.md 06:15:27 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 16 06:13 Dockerfile 06:15:27 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 06:13 GOVERNANCE.md 06:15:27 -rw-rw-r-- 1 jenkins jenkins 734 Mar 16 06:13 Jenkinsfile 06:15:27 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 16 06:13 LICENSE 06:15:27 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 16 06:13 Makefile 06:15:27 -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 06:13 OWNERS.md 06:15:27 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 16 06:13 README.md 06:15:27 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 06:14 VERSION 06:15:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 06:13 bin 06:15:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 06:13 cmd 06:15:27 -rw-r--r-- 1 jenkins jenkins 78480 Mar 16 06:15 coverage.out 06:15:27 drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 06:13 doc 06:15:27 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 16 06:13 go.mod 06:15:27 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 16 06:13 go.sum 06:15:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 06:13 internal 06:15:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 06:13 snap 06:15:27 -rw-rw-r-- 1 jenkins jenkins 236 Mar 16 06:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:27 + 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=906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 --label arch=amd64 --label version=0.0.0 . 06:15:27 Sending build context to Docker daemon 28.03MB 06:15:27 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 06:15:27 Step 2/26 : FROM ${BASE} AS builder 06:15:27 ---> 9dbb5da751f0 06:15:27 Step 3/26 : ARG ADD_BUILD_TAGS="" 06:15:28 ---> Running in 02ae03de9d0f 06:15:28 Removing intermediate container 02ae03de9d0f 06:15:28 ---> 70d6f70fd6eb 06:15:28 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:15:28 ---> Running in ee8bdba70034 06:15:28 Removing intermediate container ee8bdba70034 06:15:28 ---> ba624e0bdc49 06:15:28 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 06:15:28 ---> Running in c4d5d550b062 06:15:28 Removing intermediate container c4d5d550b062 06:15:28 ---> 81e0c8923ec6 06:15:28 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 06:15:28 ---> Running in 61938432eb3f 06:15:28 Removing intermediate container 61938432eb3f 06:15:28 ---> 6c8c50c2f8de 06:15:28 Step 7/26 : LABEL Name=edgex-device-onvif-camera 06:15:28 ---> Running in 1fc499e765dc 06:15:28 Removing intermediate container 1fc499e765dc 06:15:28 ---> 8aac02095b97 06:15:28 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:15:28 ---> Running in 32f5386f1af1 06:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:15:29 OK: 265 MiB in 53 packages 06:15:29 Removing intermediate container 32f5386f1af1 06:15:29 ---> 9becc0095d5c 06:15:29 Step 9/26 : WORKDIR /device-onvif-camera 06:15:29 ---> Running in d58c87b2f706 06:15:29 Removing intermediate container d58c87b2f706 06:15:29 ---> bf9dc5989ca6 06:15:29 Step 10/26 : COPY go.mod vendor* ./ 06:15:30 ---> c7271a648b15 06:15:30 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:15:30 ---> Running in abc96ba23255 06:15:31 Removing intermediate container abc96ba23255 06:15:31 ---> 003ade695d3c 06:15:31 Step 12/26 : COPY . . 06:15:31 ---> 89efb987c3de 06:15:31 Step 13/26 : RUN ${MAKE} 06:15:31 ---> Running in 2fdb46f1e66e 06:15:32 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 06:15:50 Removing intermediate container 2fdb46f1e66e 06:15:50 ---> 2eeb55d13569 06:15:50 Step 14/26 : FROM alpine:3.17 06:15:50 3.17: Pulling from library/alpine 06:15:50 63b65145d645: Already exists 06:15:50 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 06:15:50 Status: Downloaded newer image for alpine:3.17 06:15:50 ---> b2aa39c304c2 06:15:50 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:15:50 ---> Running in 830965b4b6d6 06:15:50 Removing intermediate container 830965b4b6d6 06:15:50 ---> d537022340d1 06:15:50 Step 16/26 : RUN apk add --update --no-cache dumb-init 06:15:50 ---> Running in e7a86873ba66 06:15:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:15:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:15:51 (1/1) Installing dumb-init (1.2.5-r2) 06:15:51 Executing busybox-1.35.0-r29.trigger 06:15:51 OK: 7 MiB in 16 packages 06:15:51 Removing intermediate container e7a86873ba66 06:15:51 ---> 367e9ff82df9 06:15:51 Step 17/26 : WORKDIR / 06:15:51 ---> Running in b8d53279ceb0 06:15:51 Removing intermediate container b8d53279ceb0 06:15:51 ---> 920a5c9fea41 06:15:51 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 06:15:52 ---> c56335629054 06:15:52 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 06:15:52 ---> 33b306807dd9 06:15:52 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:15:52 ---> 676529e68d19 06:15:52 Step 21/26 : EXPOSE 59984 06:15:52 ---> Running in db2228c51a2d 06:15:52 Removing intermediate container db2228c51a2d 06:15:52 ---> 351d5e7c154c 06:15:52 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 06:15:52 ---> Running in 954847de58a3 06:15:52 Removing intermediate container 954847de58a3 06:15:52 ---> 1a3dc7d85a89 06:15:52 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:15:52 ---> Running in 68aee4a3f935 06:15:52 Removing intermediate container 68aee4a3f935 06:15:52 ---> 739bd66f5e7c 06:15:52 Step 24/26 : LABEL arch=amd64 06:15:52 ---> Running in cbc635237fca 06:15:52 Removing intermediate container cbc635237fca 06:15:52 ---> 38096932fd09 06:15:52 Step 25/26 : LABEL git_sha=906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 06:15:52 ---> Running in 1061fd7676bf 06:15:53 Removing intermediate container 1061fd7676bf 06:15:53 ---> 87c7cf720f42 06:15:53 Step 26/26 : LABEL version=0.0.0 06:15:53 ---> Running in 737565cd9dea 06:15:53 Removing intermediate container 737565cd9dea 06:15:53 ---> ed476e34966a 06:15:53 [Warning] One or more build-args [ARCH] were not consumed 06:15:53 Successfully built ed476e34966a 06:15:53 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 06:15:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:53 06:15:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:15:53 latest: Pulling from edgex-lftools-log-publisher 06:15:53 5eb5b503b376: Pulling fs layer 06:15:53 5c69ac0246d0: Pulling fs layer 06:15:53 ec43610c2a17: Pulling fs layer 06:15:53 3a2ae6a8a46f: Pulling fs layer 06:15:53 33b1e0a273af: Pulling fs layer 06:15:53 5d3b04190fa2: Pulling fs layer 06:15:53 2f39f015ded8: Pulling fs layer 06:15:53 5d3b04190fa2: Waiting 06:15:53 2f39f015ded8: Waiting 06:15:53 3a2ae6a8a46f: Waiting 06:15:53 5c69ac0246d0: Verifying Checksum 06:15:53 5c69ac0246d0: Download complete 06:15:53 3a2ae6a8a46f: Download complete 06:15:54 33b1e0a273af: Verifying Checksum 06:15:54 33b1e0a273af: Download complete 06:15:54 ec43610c2a17: Verifying Checksum 06:15:54 ec43610c2a17: Download complete 06:15:54 5d3b04190fa2: Verifying Checksum 06:15:54 5d3b04190fa2: Download complete 06:15:54 5eb5b503b376: Verifying Checksum 06:15:54 5eb5b503b376: Download complete 06:15:55 2f39f015ded8: Download complete 06:15:55 5eb5b503b376: Pull complete 06:15:55 5c69ac0246d0: Pull complete 06:15:55 ec43610c2a17: Pull complete 06:15:55 3a2ae6a8a46f: Pull complete 06:15:56 33b1e0a273af: Pull complete 06:15:56 5d3b04190fa2: Pull complete 06:16:00 2f39f015ded8: Pull complete 06:16:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:16:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:16:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:00 prd-ubuntu20.04-docker-8c-8g-2369 does not seem to be running inside a container 06:16:00 $ 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-269 -v /w/workspace/undry_device-onvif-camera_PR-269:/w/workspace/undry_device-onvif-camera_PR-269:rw,z -v /w/workspace/undry_device-onvif-camera_PR-269@tmp:/w/workspace/undry_device-onvif-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:16:02 $ docker top 64e464679d76422af6a4f9646ba947c9a4a68b3823a81b299db577a85f71c80e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:02 ---> job-cost.sh 06:16:02 lf-activate-venv: SKIPPING 06:16:02 INFO: No Stack... 06:16:03 INFO: Retrieving Pricing Info for: v3-standard-8 06:16:03 INFO: Archiving Costs [Pipeline] sh 06:16:03 + + cat /w/workspace/undry_device-onvif-camera_PR-269/archives/cost.csv 06:16:03 cut -d, -f6 [Pipeline] lock 06:16:03 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-269-2-stack-cost] 06:16:03 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-269-2-stack-cost] did not exist. Created. 06:16:03 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-269-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:16:04 + echo total: 0.2199999988079071 [Pipeline] stash 06:16:04 Stashed 1 file(s) [Pipeline] } 06:16:04 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-269-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:16:04 $ docker stop --time=1 64e464679d76422af6a4f9646ba947c9a4a68b3823a81b299db577a85f71c80e 06:16:05 $ docker rm -f --volumes 64e464679d76422af6a4f9646ba947c9a4a68b3823a81b299db577a85f71c80e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:16:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2370 in /w/workspace/undry_device-onvif-camera_PR-269 [Pipeline] { [Pipeline] ws 06:16:12 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 06:16:12 The recommended git tool is: git 06:16:18 using credential edgex-jenkins-ssh 06:16:18 Cloning the remote Git repository 06:16:18 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 06:16:18 > git init /w/workspace/device-onvif-camera/2 # timeout=10 06:16:19 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:16:19 > git --version # timeout=10 06:16:19 > git --version # 'git version 2.25.1' 06:16:19 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:16:20 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:16:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:16:21 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:16:21 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:16:21 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/269/head:refs/remotes/origin/PR-269 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:16:22 Merging remotes/origin/main commit b19be15f1aae5ce963d99b90e51172ceff0b476d into PR head commit 906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 06:16:22 Merge succeeded, producing 906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 06:16:22 Checking out Revision 906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 (PR-269) 06:16:22 > git config core.sparsecheckout # timeout=10 06:16:22 > git checkout -f 906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 # timeout=10 06:16:22 > git remote # timeout=10 06:16:22 > git config --get remote.origin.url # timeout=10 06:16:22 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:22 > git merge b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 06:16:22 > git rev-parse HEAD^{commit} # timeout=10 06:16:22 > git config core.sparsecheckout # timeout=10 06:16:22 > git checkout -f 906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 # timeout=10 06:16:26 Commit message: "refactor!: consume device-sdk-go breaking changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:16:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:16:27 % Total % Received % Xferd Average Speed Time Time Time Current 06:16:27 Dload Upload Total Spent Left Speed 06:16:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 23789 0 --:--:-- --:--:-- --:--:-- 23789 [Pipeline] sh 06:16:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:16:28 + sudo tee /etc/docker/daemon.new 06:16:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:16:28 { 06:16:28 "registry-mirrors": [ 06:16:28 "https://nexus3.edgexfoundry.org:10001" 06:16:28 ], 06:16:28 "bip": "10.250.0.254/24", 06:16:28 "hosts": [ 06:16:28 "tcp://0.0.0.0:5555", 06:16:28 "unix:///var/run/docker.sock" 06:16:28 ], 06:16:28 "mtu": 1458, 06:16:28 "selinux-enabled": true, 06:16:28 "seccomp-profile": "/etc/docker/seccomp.json" 06:16:28 } [Pipeline] sh 06:16:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:16:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:16:47 provisioning config files... 06:16:47 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config18276187262456366154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:48 ---> docker-login.sh 06:16:48 nexus3.edgexfoundry.org:10001 06:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:48 Configure a credential helper to remove this warning. See 06:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:48 06:16:48 Login Succeeded 06:16:48 nexus3.edgexfoundry.org:10002 06:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:49 Configure a credential helper to remove this warning. See 06:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:49 06:16:49 Login Succeeded 06:16:49 nexus3.edgexfoundry.org:10003 06:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:49 Configure a credential helper to remove this warning. See 06:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:49 06:16:49 Login Succeeded 06:16:49 nexus3.edgexfoundry.org:10004 06:16:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:49 Configure a credential helper to remove this warning. See 06:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:49 06:16:49 Login Succeeded 06:16:49 docker.io 06:16:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:50 Configure a credential helper to remove this warning. See 06:16:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:50 06:16:50 Login Succeeded 06:16:50 ---> docker-login.sh ends [Pipeline] } 06:16:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:16:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:16:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:16:50 ========================================================= 06:16:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:16:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:50 + 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 . 06:16:51 Sending build context to Docker daemon 20.7MB 06:16:51 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:16:51 Step 2/13 : FROM ${BASE} AS builder 06:16:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:16:51 af6eaf76a39c: Pulling fs layer 06:16:51 55522c791124: Pulling fs layer 06:16:51 ce5c4a1c91eb: Pulling fs layer 06:16:51 169dfbe0d373: Pulling fs layer 06:16:51 e1ff8fa3b103: Pulling fs layer 06:16:51 52ebb69f0ebf: Pulling fs layer 06:16:51 5abe8eddf0d5: Pulling fs layer 06:16:51 e1ff8fa3b103: Waiting 06:16:51 52ebb69f0ebf: Waiting 06:16:51 169dfbe0d373: Waiting 06:16:51 5abe8eddf0d5: Waiting 06:16:51 55522c791124: Download complete 06:16:51 169dfbe0d373: Verifying Checksum 06:16:51 169dfbe0d373: Download complete 06:16:51 e1ff8fa3b103: Verifying Checksum 06:16:51 e1ff8fa3b103: Download complete 06:16:51 af6eaf76a39c: Verifying Checksum 06:16:52 af6eaf76a39c: Pull complete 06:16:53 5abe8eddf0d5: Verifying Checksum 06:16:53 5abe8eddf0d5: Download complete 06:16:53 55522c791124: Pull complete 06:16:54 52ebb69f0ebf: Verifying Checksum 06:16:54 52ebb69f0ebf: Download complete 06:16:54 ce5c4a1c91eb: Verifying Checksum 06:16:54 ce5c4a1c91eb: Download complete 06:17:04 ce5c4a1c91eb: Pull complete 06:17:04 169dfbe0d373: Pull complete 06:17:04 e1ff8fa3b103: Pull complete 06:17:12 52ebb69f0ebf: Pull complete 06:17:13 5abe8eddf0d5: Pull complete 06:17:13 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:17:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:17:13 ---> 6cb57ee374ae 06:17:13 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:17:15 ---> Running in 08633b909cf4 06:17:15 Removing intermediate container 08633b909cf4 06:17:15 ---> 9542b64ffa18 06:17:15 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:17:15 ---> Running in a67c817e0fe6 06:17:15 Removing intermediate container a67c817e0fe6 06:17:15 ---> eeae79c78abb 06:17:15 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:17:15 ---> Running in 1de3ec867594 06:17:15 Removing intermediate container 1de3ec867594 06:17:15 ---> ba1e7a44158f 06:17:15 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:17:16 ---> Running in 389e3c460a48 06:17:16 Removing intermediate container 389e3c460a48 06:17:16 ---> 41603a6f892a 06:17:16 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:17:16 ---> Running in dbd80422f073 06:17:16 Removing intermediate container dbd80422f073 06:17:16 ---> f2cfe0ca8c65 06:17:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:17:16 ---> Running in 03ed4570a188 06:17:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:17:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:17:19 OK: 263 MiB in 53 packages 06:17:20 Removing intermediate container 03ed4570a188 06:17:20 ---> ab8e9f15793c 06:17:20 Step 9/13 : WORKDIR /device-onvif-camera 06:17:20 ---> Running in 47cbbdbc046b 06:17:20 Removing intermediate container 47cbbdbc046b 06:17:20 ---> 45bf8c3d0e8f 06:17:20 Step 10/13 : COPY go.mod vendor* ./ 06:17:21 ---> 7fea8a16ed74 06:17:21 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:17:21 ---> Running in f95a5c0bec03 06:18:29 Removing intermediate container f95a5c0bec03 06:18:29 ---> bf841c2969e6 06:18:29 Step 12/13 : COPY . . 06:18:29 ---> bfb79cc6ad51 06:18:29 Step 13/13 : RUN ${MAKE} 06:18:29 ---> Running in 01e61c85ede0 06:18:29 noop 06:18:29 Removing intermediate container 01e61c85ede0 06:18:29 ---> 30dd5cf5da71 06:18:29 Successfully built 30dd5cf5da71 06:18:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:29 + docker inspect -f . ci-base-image-arm64 06:18:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:29 prd-ubuntu20.04-docker-arm64-4c-16g-2370 does not seem to be running inside a container 06:18:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:18:31 $ docker top d7893148d9f4160ddc981fea2d3a66ae439e18b56e8d4ae861a9e0899bfc6275 -eo pid,comm [Pipeline] { [Pipeline] sh 06:18:32 + go version 06:18:32 go version go1.20.2 linux/arm64 [Pipeline] } 06:18:32 $ docker stop --time=1 d7893148d9f4160ddc981fea2d3a66ae439e18b56e8d4ae861a9e0899bfc6275 06:18:33 $ docker rm -f --volumes d7893148d9f4160ddc981fea2d3a66ae439e18b56e8d4ae861a9e0899bfc6275 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:34 + docker inspect -f . ci-base-image-arm64 06:18:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:34 prd-ubuntu20.04-docker-arm64-4c-16g-2370 does not seem to be running inside a container 06:18:34 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:18:35 $ docker top 7fa688131a4e0c5775440aa90da4bdc36436841aed479ec2d2a4fdbc35399b12 -eo pid,comm [Pipeline] { [Pipeline] sh 06:18:36 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 06:18:37 + make test 06:18:37 go test ./... -coverprofile=coverage.out ./... 06:19:09 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:21:16 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:21:16 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:21:16 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.201s coverage: 31.8% of statements 06:21:34 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.376s coverage: 86.5% of statements 06:21:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:21:34 go vet ./... 06:22:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:22:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:22:06 ./bin/test-attribution-txt.sh [Pipeline] echo 06:22:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:22:06 $ docker stop --time=1 7fa688131a4e0c5775440aa90da4bdc36436841aed479ec2d2a4fdbc35399b12 06:22:08 $ docker rm -f --volumes 7fa688131a4e0c5775440aa90da4bdc36436841aed479ec2d2a4fdbc35399b12 [Pipeline] // withDockerContainer [Pipeline] sh 06:22:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:22:09 Warning: overwriting stash ‘coverage-report’ 06:22:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:22:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:22:11 + ls -al . 06:22:11 total 232 06:22:11 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 06:18 . 06:22:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 06:16 .. 06:22:11 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 06:16 .git 06:22:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 06:16 .github 06:22:11 -rw-rw-r-- 1 jenkins jenkins 496 Mar 16 06:16 .gitignore 06:22:11 -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 06:16 .golangci.yml 06:22:11 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 16 06:16 Attribution.txt 06:22:11 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 16 06:16 CHANGELOG.md 06:22:11 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 16 06:16 Dockerfile 06:22:11 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 06:16 GOVERNANCE.md 06:22:11 -rw-rw-r-- 1 jenkins jenkins 734 Mar 16 06:16 Jenkinsfile 06:22:11 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 16 06:16 LICENSE 06:22:11 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 16 06:16 Makefile 06:22:11 -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 06:16 OWNERS.md 06:22:11 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 16 06:16 README.md 06:22:11 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 06:14 VERSION 06:22:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 06:16 bin 06:22:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 06:16 cmd 06:22:11 -rw-r--r-- 1 jenkins jenkins 78480 Mar 16 06:21 coverage.out 06:22:11 drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 06:16 doc 06:22:11 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 16 06:16 go.mod 06:22:11 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 16 06:16 go.sum 06:22:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 06:16 internal 06:22:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 06:16 snap 06:22:11 -rw-rw-r-- 1 jenkins jenkins 236 Mar 16 06:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:11 + 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=906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 --label arch=arm64 --label version=0.0.0 . 06:22:12 Sending build context to Docker daemon 20.78MB 06:22:12 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 06:22:12 Step 2/26 : FROM ${BASE} AS builder 06:22:12 ---> 30dd5cf5da71 06:22:12 Step 3/26 : ARG ADD_BUILD_TAGS="" 06:22:12 ---> Running in 22a67ea7081b 06:22:13 Removing intermediate container 22a67ea7081b 06:22:13 ---> 73e61ca3f225 06:22:13 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:22:13 ---> Running in 33a587ca2149 06:22:13 Removing intermediate container 33a587ca2149 06:22:13 ---> 06c5da23f6fc 06:22:13 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 06:22:13 ---> Running in 74b00a1f46d1 06:22:13 Removing intermediate container 74b00a1f46d1 06:22:13 ---> 1aa1e085a198 06:22:13 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 06:22:13 ---> Running in 3356cb1268da 06:22:14 Removing intermediate container 3356cb1268da 06:22:14 ---> 5cb2df84ef54 06:22:14 Step 7/26 : LABEL Name=edgex-device-onvif-camera 06:22:14 ---> Running in f7e392aac61a 06:22:14 Removing intermediate container f7e392aac61a 06:22:14 ---> 2c073c6f5a5a 06:22:14 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:22:14 ---> Running in 6509a024d9b6 06:22:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:22:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:22:17 OK: 263 MiB in 53 packages 06:22:18 Removing intermediate container 6509a024d9b6 06:22:18 ---> cad8151fb905 06:22:18 Step 9/26 : WORKDIR /device-onvif-camera 06:22:18 ---> Running in 5c5a64146902 06:22:18 Removing intermediate container 5c5a64146902 06:22:18 ---> fe7bf691510b 06:22:18 Step 10/26 : COPY go.mod vendor* ./ 06:22:18 ---> 78027f6f0c0f 06:22:18 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:22:18 ---> Running in 5a12cb1a5593 06:22:21 Removing intermediate container 5a12cb1a5593 06:22:21 ---> 91369b76afe2 06:22:21 Step 12/26 : COPY . . 06:22:25 ---> 1e1ccf26877d 06:22:25 Step 13/26 : RUN ${MAKE} 06:22:25 ---> Running in 9ae1df73de11 06:22:26 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 06:24:48 Removing intermediate container 9ae1df73de11 06:24:48 ---> 2d6e286afffa 06:24:48 Step 14/26 : FROM alpine:3.17 06:24:48 3.17: Pulling from library/alpine 06:24:48 af6eaf76a39c: Already exists 06:24:48 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 06:24:48 Status: Downloaded newer image for alpine:3.17 06:24:48 ---> d74e625d9115 06:24:48 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:24:48 ---> Running in 25af18c2c8d1 06:24:48 Removing intermediate container 25af18c2c8d1 06:24:48 ---> 7d316dfa3148 06:24:48 Step 16/26 : RUN apk add --update --no-cache dumb-init 06:24:48 ---> Running in a1b17888ddb0 06:24:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:24:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:24:48 (1/1) Installing dumb-init (1.2.5-r2) 06:24:48 Executing busybox-1.35.0-r29.trigger 06:24:48 OK: 8 MiB in 16 packages 06:24:48 Removing intermediate container a1b17888ddb0 06:24:48 ---> 74bdd1fba92d 06:24:48 Step 17/26 : WORKDIR / 06:24:48 ---> Running in d407af4c0117 06:24:48 Removing intermediate container d407af4c0117 06:24:48 ---> 7ba60df670b2 06:24:48 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 06:24:48 ---> d433ba051d1d 06:24:48 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 06:24:48 ---> 7d5ab3fdc9c6 06:24:48 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:24:48 ---> 19ef2eb33664 06:24:48 Step 21/26 : EXPOSE 59984 06:24:48 ---> Running in 42c943500468 06:24:48 Removing intermediate container 42c943500468 06:24:48 ---> 5c93d10944db 06:24:48 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 06:24:48 ---> Running in fd972cf2e580 06:24:48 Removing intermediate container fd972cf2e580 06:24:48 ---> 83e127e237a7 06:24:48 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:24:48 ---> Running in d701b0ce843e 06:24:48 Removing intermediate container d701b0ce843e 06:24:48 ---> 5cd817c621e9 06:24:48 Step 24/26 : LABEL arch=arm64 06:24:48 ---> Running in 130c8555d814 06:24:48 Removing intermediate container 130c8555d814 06:24:48 ---> 01d2ca6ef3c2 06:24:48 Step 25/26 : LABEL git_sha=906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 06:24:48 ---> Running in 3a40bcc6223e 06:24:48 Removing intermediate container 3a40bcc6223e 06:24:48 ---> b7497dbb168a 06:24:48 Step 26/26 : LABEL version=0.0.0 06:24:48 ---> Running in d755c89e189e 06:24:48 Removing intermediate container d755c89e189e 06:24:48 ---> a3ce1adb1137 06:24:48 [Warning] One or more build-args [ARCH] were not consumed 06:24:48 Successfully built a3ce1adb1137 06:24:48 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:24:48 06:24:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:24:49 arm64: Pulling from edgex-lftools-log-publisher 06:24:49 8998bd30e6a1: Pulling fs layer 06:24:49 04944245beec: Pulling fs layer 06:24:49 699f458cf7ca: Pulling fs layer 06:24:49 765212b225bb: Pulling fs layer 06:24:49 f23df028b6ca: Pulling fs layer 06:24:49 d65c8cfc05b1: Pulling fs layer 06:24:49 2437ff75d9bd: Pulling fs layer 06:24:49 f23df028b6ca: Waiting 06:24:49 d65c8cfc05b1: Waiting 06:24:49 765212b225bb: Waiting 06:24:49 2437ff75d9bd: Waiting 06:24:49 04944245beec: Verifying Checksum 06:24:49 04944245beec: Download complete 06:24:49 765212b225bb: Verifying Checksum 06:24:49 765212b225bb: Download complete 06:24:49 f23df028b6ca: Verifying Checksum 06:24:49 f23df028b6ca: Download complete 06:24:49 d65c8cfc05b1: Verifying Checksum 06:24:49 d65c8cfc05b1: Download complete 06:24:49 699f458cf7ca: Verifying Checksum 06:24:49 699f458cf7ca: Download complete 06:24:50 8998bd30e6a1: Verifying Checksum 06:24:50 8998bd30e6a1: Download complete 06:24:52 2437ff75d9bd: Verifying Checksum 06:24:52 2437ff75d9bd: Download complete 06:24:53 8998bd30e6a1: Pull complete 06:24:54 04944245beec: Pull complete 06:24:55 699f458cf7ca: Pull complete 06:24:55 765212b225bb: Pull complete 06:24:56 f23df028b6ca: Pull complete 06:24:56 d65c8cfc05b1: Pull complete 06:25:08 2437ff75d9bd: Pull complete 06:25:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:25:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:25:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:25:08 prd-ubuntu20.04-docker-arm64-4c-16g-2370 does not seem to be running inside a container 06:25:09 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:25:11 $ docker top bde47a0afd8fc968f867e09e7fbf30dd7cbe9c64acdac590587e971a29f7e509 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:25:12 ---> job-cost.sh 06:25:12 lf-activate-venv: SKIPPING 06:25:12 INFO: No Stack... 06:25:13 INFO: Retrieving Pricing Info for: v3-standard-4 06:25:13 INFO: Archiving Costs [Pipeline] sh 06:25:14 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 06:25:14 + cut -d, -f6 [Pipeline] lock 06:25:14 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-269-2-stack-cost] 06:25:14 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-269-2-stack-cost] did not exist. Created. 06:25:14 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-269-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:25:15 /w/workspace/device-onvif-camera/2@tmp/durable-02781651/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:25:16 + echo total: 0.10999999940395355 [Pipeline] stash 06:25:16 Warning: overwriting stash ‘stack-cost’ 06:25:16 Stashed 1 file(s) [Pipeline] } 06:25:16 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-269-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:25:16 $ docker stop --time=1 bde47a0afd8fc968f867e09e7fbf30dd7cbe9c64acdac590587e971a29f7e509 06:25:17 $ docker rm -f --volumes bde47a0afd8fc968f867e09e7fbf30dd7cbe9c64acdac590587e971a29f7e509 [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 06:25:18 provisioning config files... 06:25:18 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-269@tmp/config9490097619153274760tmp [Pipeline] { [Pipeline] sh 06:25:18 + set +x 06:25:18 + curl -s https://codecov.io/bash 06:25:18 + bash -s -- 06:25:18 06:25:18 _____ _ 06:25:18 / ____| | | 06:25:18 | | ___ __| | ___ ___ _____ __ 06:25:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:25:18 | |___| (_) | (_| | __/ (_| (_) \ V / 06:25:18 \_____\___/ \__,_|\___|\___\___/ \_/ 06:25:18 Bash-1.0.6 06:25:18 06:25:18 06:25:18 ==> git version 2.25.1 found 06:25:18 ==> 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 06:25:18 Release-Date: 2020-01-08 06:25:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:25:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:25:18 ==> Jenkins CI detected. 06:25:18 current dir:  /w/workspace/undry_device-onvif-camera_PR-269 06:25:18 project root: . 06:25:18 --> token set from env 06:25:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:25:18 ==> Running gcov in . (disable via -X gcov) 06:25:18 ==> Python coveragepy not found 06:25:18 ==> Searching for coverage reports in: 06:25:18 + . 06:25:18 -> Found 1 reports 06:25:18 ==> Detecting git/mercurial file structure 06:25:18 ==> Reading reports 06:25:18 + ./coverage.out bytes=78480 06:25:18 ==> Appending adjustments 06:25:18 https://docs.codecov.io/docs/fixing-reports 06:25:18 + Found adjustments 06:25:18 ==> Gzipping contents 06:25:18 12K /tmp/codecov.4rBQJF.gz 06:25:18 ==> Uploading reports 06:25:18 url: https://codecov.io 06:25:18 query: branch=PR-269&commit=906e7dcafdeefb98ba4fbd6f4b26acb44e842f77&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-269%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=269&job=&cmd_args= 06:25:18 -> Pinging Codecov 06:25:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-269&commit=906e7dcafdeefb98ba4fbd6f4b26acb44e842f77&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-269%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=269&job=&cmd_args= 06:25:18 -> Uploading to 06:25:18 https://storage.googleapis.com/codecov/v4/raw/2023-03-16/F29A59C45E3A92E06B3E522C9905F8EF/906e7dcafdeefb98ba4fbd6f4b26acb44e842f77/9e7023fd-426e-4a3c-b2ee-3da9a66ee018.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T062518Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=64f85e3940924722b377aa084aacb4fc0fe41cd68151fce928bb8ff432345a99 06:25:18 % Total % Received % Xferd Average Speed Time Time Time Current 06:25:18 Dload Upload Total Spent Left Speed 06:25:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10480 0 0 100 10480 0 40000 --:--:-- --:--:-- --:--:-- 40000 06:25:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/906e7dcafdeefb98ba4fbd6f4b26acb44e842f77 [Pipeline] } 06:25:19 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 06:25:19 + [ -d /w/workspace/undry_device-onvif-camera_PR-269/archives ] 06:25:19 + ls -al /w/workspace/undry_device-onvif-camera_PR-269/archives 06:25:19 total 16 06:25:19 drwxr-xr-x 3 root root 4096 Mar 16 06:16 . 06:25:19 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 06:16 .. 06:25:19 drwxr-xr-x 2 root root 4096 Mar 16 06:16 cost 06:25:19 -rw-r--r-- 1 root root 91 Mar 16 06:16 cost.csv 06:25:19 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-269/archives 06:25:19 + ls -al /w/workspace/undry_device-onvif-camera_PR-269/archives 06:25:19 total 16 06:25:19 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 06:16 . 06:25:19 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 06:16 .. 06:25:19 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 06:16 cost 06:25:19 -rw-r--r-- 1 jenkins jenkins 91 Mar 16 06:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:25:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:25:20 ---> package-listing.sh 06:25:20 ++ facter osfamily 06:25:20 ++ tr '[:upper:]' '[:lower:]' 06:25:21 + OS_FAMILY=debian 06:25:21 + workspace=/w/workspace/undry_device-onvif-camera_PR-269 06:25:21 + START_PACKAGES=/tmp/packages_start.txt 06:25:21 + END_PACKAGES=/tmp/packages_end.txt 06:25:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:25:21 + PACKAGES=/tmp/packages_start.txt 06:25:21 + '[' /w/workspace/undry_device-onvif-camera_PR-269 ']' 06:25:21 + PACKAGES=/tmp/packages_end.txt 06:25:21 + case "${OS_FAMILY}" in 06:25:21 + dpkg -l 06:25:21 + grep '^ii' 06:25:21 + '[' -f /tmp/packages_start.txt ']' 06:25:21 + '[' -f /tmp/packages_end.txt ']' 06:25:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:25:21 + '[' /w/workspace/undry_device-onvif-camera_PR-269 ']' 06:25:21 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-269/archives/ 06:25:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-269/archives/ [Pipeline] echo 06:25:21 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-269/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:25:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:25:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:25:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:25:22 prd-ubuntu20.04-docker-8c-8g-2369 does not seem to be running inside a container 06:25:22 $ 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-269/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-269 -v /w/workspace/undry_device-onvif-camera_PR-269:/w/workspace/undry_device-onvif-camera_PR-269:rw,z -v /w/workspace/undry_device-onvif-camera_PR-269@tmp:/w/workspace/undry_device-onvif-camera_PR-269@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:25:22 $ docker top 56336d49bd0aadd283fb9a4f8c0637cf0e53097549b344b266e736463f5f03b0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:25:22 + touch /tmp/pre-build-complete [Pipeline] sh 06:25:23 + mkdir -p /var/log/sysstat [Pipeline] sh 06:25:23 + ls /var/log/sa-host 06:25:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:25:23 provisioning config files... 06:25:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-269@tmp/config5560497690229245052tmp [Pipeline] { [Pipeline] echo 06:25:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:25:23 ---> create-netrc.sh [Pipeline] } 06:25:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:25:24 ---> python-tools-install.sh [Pipeline] echo 06:25:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:25:24 ---> sudo-logs.sh 06:25:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:25:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:25:24 ---> job-cost.sh 06:25:24 lf-activate-venv: SKIPPING 06:25:24 DEBUG: total: 0.2199999988079071 06:25:24 INFO: Retrieving Stack Cost... 06:25:24 INFO: Retrieving Pricing Info for: v3-standard-8 06:25:25 INFO: Archiving Costs [Pipeline] echo 06:25:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:25:25 ---> logs-deploy.sh 06:25:25 lf-activate-venv: SKIPPING 06:25:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-269/2 06:25:25 INFO: archiving workspace using pattern(s): 06:25:26 Archives upload complete. 06:25:26 INFO: archiving logs to Nexus