Pull request #377 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 FelixTing for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 131e1ba592cbc0de98689506a097080705cc2a5e+704ee13449308adf69c4899592c40628e88298f9 (125567c9eeb874578860d1f6a5cce8f34fd322f9) 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-ssh321131273220905871.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh4585242128551321690.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-377/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-377/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5566535963976657517.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh15192505097471266040.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-377/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-377/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6360312334948786817.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/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-4504 in /w/workspace/undry_device-onvif-camera_PR-377 [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-377 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 704ee13449308adf69c4899592c40628e88298f9 into PR head commit 131e1ba592cbc0de98689506a097080705cc2a5e Merge succeeded, producing 131e1ba592cbc0de98689506a097080705cc2a5e Checking out Revision 131e1ba592cbc0de98689506a097080705cc2a5e (PR-377) > 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/377/head:refs/remotes/origin/PR-377 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 131e1ba592cbc0de98689506a097080705cc2a5e # 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 704ee13449308adf69c4899592c40628e88298f9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 131e1ba592cbc0de98689506a097080705cc2a5e # timeout=10 Commit message: "build: move SDK to v3.1.0-dev.16" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:36:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:36:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:36:33 ========================================================= 06:36:33 EdgeX Global Pipelines Version Info 06:36:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6ba4856b9e29e285727c306aae8b3fd88f089760 # timeout=10 06:36:34 ------------------- 06:36:34 stable info: 06:36:34 ------------------- 06:36:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:36:34 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 06:36:34 Message: update stable to v1.0.253 06:36:34 ------------------- 06:36:34 experimental info: 06:36:34 ------------------- 06:36:34 Commited By: **** collab-it+edgex@linuxfoundation.org 06:36:34 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 06:36:34 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:36:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 06:36:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 06:36:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:36:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:36:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:36:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:36:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 06:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:36:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-377 [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-377 [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-377 [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 131e1ba592cbc0de98689506a097080705cc2a5e [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 131e1ba [Pipeline] echo 06:36:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:36:35 provisioning config files... 06:36:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-377@tmp/config3480885073372422118tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:35 ---> docker-login.sh 06:36:35 nexus3.edgexfoundry.org:10001 06:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:35 Configure a credential helper to remove this warning. See 06:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:35 06:36:35 Login Succeeded 06:36:35 nexus3.edgexfoundry.org:10002 06:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:35 Configure a credential helper to remove this warning. See 06:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:35 06:36:35 Login Succeeded 06:36:35 nexus3.edgexfoundry.org:10003 06:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:36 Configure a credential helper to remove this warning. See 06:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:36 06:36:36 Login Succeeded 06:36:36 nexus3.edgexfoundry.org:10004 06:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:36 Configure a credential helper to remove this warning. See 06:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:36 06:36:36 Login Succeeded 06:36:36 docker.io 06:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:36 Configure a credential helper to remove this warning. See 06:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:36 06:36:36 Login Succeeded 06:36:36 ---> docker-login.sh ends [Pipeline] } 06:36:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:36:36 + git rev-list -1 --merges 131e1ba592cbc0de98689506a097080705cc2a5e~1..131e1ba592cbc0de98689506a097080705cc2a5e [Pipeline] echo 06:36:36 -----------> git rev-list -1 --merges 131e1ba592cbc0de98689506a097080705cc2a5e~1..131e1ba592cbc0de98689506a097080705cc2a5e 131e1ba592cbc0de98689506a097080705cc2a5e [false] [Pipeline] sh 06:36:37 + git log --format=format:%s -1 131e1ba592cbc0de98689506a097080705cc2a5e [Pipeline] echo 06:36:37 ========================================================= 06:36:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:36:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:36:37 + git log --format=format:%s -1 131e1ba592cbc0de98689506a097080705cc2a5e [Pipeline] echo 06:36:37 [semverPrep] GIT_COMMIT: 131e1ba592cbc0de98689506a097080705cc2a5e, Commit Message: build: move SDK to v3.1.0-dev.16 [Pipeline] echo 06:36:37 [semverPrep] This is not a build commit. [Pipeline] sh 06:36:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:36:37 + grep -v github /etc/ssh/ssh_known_hosts 06:36:37 + [ -e /tmp/ssh_known_hosts ] 06:36:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:36:37 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:36:37 sudo tee -a /etc/ssh/ssh_known_hosts 06:36:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:36:38 06:36:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:36:38 0.1.4: Pulling from edgex-devops/py-git-semver 06:36:38 b85a868b505f: Pulling fs layer 06:36:38 e2be974225ed: Pulling fs layer 06:36:38 339a4e72a1f5: Pulling fs layer 06:36:38 988bab9f4d93: Pulling fs layer 06:36:38 1469e6f7b9e6: Pulling fs layer 06:36:38 eaf3925da568: Pulling fs layer 06:36:38 bab4dde63d76: Pulling fs layer 06:36:38 bde34c3a00c8: Pulling fs layer 06:36:38 b352a97aabf1: Pulling fs layer 06:36:38 4872d77fe225: Pulling fs layer 06:36:38 5851b861e8e6: Pulling fs layer 06:36:38 b352a97aabf1: Waiting 06:36:38 bab4dde63d76: Waiting 06:36:38 4872d77fe225: Waiting 06:36:38 1469e6f7b9e6: Waiting 06:36:38 988bab9f4d93: Waiting 06:36:38 eaf3925da568: Waiting 06:36:38 e2be974225ed: Download complete 06:36:38 988bab9f4d93: Download complete 06:36:38 1469e6f7b9e6: Verifying Checksum 06:36:38 1469e6f7b9e6: Download complete 06:36:38 339a4e72a1f5: Download complete 06:36:38 eaf3925da568: Verifying Checksum 06:36:38 eaf3925da568: Download complete 06:36:38 bde34c3a00c8: Download complete 06:36:38 b352a97aabf1: Verifying Checksum 06:36:38 b352a97aabf1: Download complete 06:36:38 4872d77fe225: Verifying Checksum 06:36:38 4872d77fe225: Download complete 06:36:38 5851b861e8e6: Download complete 06:36:38 b85a868b505f: Verifying Checksum 06:36:38 b85a868b505f: Download complete 06:36:39 bab4dde63d76: Verifying Checksum 06:36:39 bab4dde63d76: Download complete 06:36:40 b85a868b505f: Pull complete 06:36:40 e2be974225ed: Pull complete 06:36:40 339a4e72a1f5: Pull complete 06:36:40 988bab9f4d93: Pull complete 06:36:41 1469e6f7b9e6: Pull complete 06:36:41 eaf3925da568: Pull complete 06:36:43 bab4dde63d76: Pull complete 06:36:43 bde34c3a00c8: Pull complete 06:36:43 b352a97aabf1: Pull complete 06:36:43 4872d77fe225: Pull complete 06:36:43 5851b861e8e6: Pull complete 06:36:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:36:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:36:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:43 prd-ubuntu20.04-docker-8c-8g-4504 does not seem to be running inside a container 06:36:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-377 -v /w/workspace/undry_device-onvif-camera_PR-377:/w/workspace/undry_device-onvif-camera_PR-377:rw,z -v /w/workspace/undry_device-onvif-camera_PR-377@tmp:/w/workspace/undry_device-onvif-camera_PR-377@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:36:48 $ docker top 26f7730e69054423294b297294e354b8d4f077bc3d8c3a6fbf7240ce3b004b74 -eo pid,comm 06:36:48 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:36:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:36:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:36:48 [ssh-agent] Looking for ssh-agent implementation... 06:36:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:36:48 $ docker exec 26f7730e69054423294b297294e354b8d4f077bc3d8c3a6fbf7240ce3b004b74 ssh-agent 06:36:48 SSH_AUTH_SOCK=/tmp/ssh-B69iHHBDNY2W/agent.33 06:36:48 SSH_AGENT_PID=39 06:36:48 Running ssh-add (command line suppressed) 06:36:48 Identity added: /w/workspace/undry_device-onvif-camera_PR-377@tmp/private_key_8263745482378514546.key (/w/workspace/undry_device-onvif-camera_PR-377@tmp/private_key_8263745482378514546.key) 06:36:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:36:49 + git tag --points-at HEAD [Pipeline] } 06:36:49 $ docker exec --env ******** --env ******** 26f7730e69054423294b297294e354b8d4f077bc3d8c3a6fbf7240ce3b004b74 ssh-agent -k 06:36:49 unset SSH_AUTH_SOCK; 06:36:49 unset SSH_AGENT_PID; 06:36:49 echo Agent pid 39 killed; 06:36:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:36:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:36:49 [ssh-agent] Looking for ssh-agent implementation... 06:36:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:36:49 $ docker exec 26f7730e69054423294b297294e354b8d4f077bc3d8c3a6fbf7240ce3b004b74 ssh-agent 06:36:49 SSH_AUTH_SOCK=/tmp/ssh-ZR8EWnCSoaAE/agent.71 06:36:49 SSH_AGENT_PID=77 06:36:49 Running ssh-add (command line suppressed) 06:36:49 Identity added: /w/workspace/undry_device-onvif-camera_PR-377@tmp/private_key_11320872108806794438.key (/w/workspace/undry_device-onvif-camera_PR-377@tmp/private_key_11320872108806794438.key) 06:36:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:36:49 + git semver init 06:36:50 2023-08-25 06:36:50,153 [run_init] DEBUG init version:0.0.0 force:False 06:36:50 2023-08-25 06:36:50,154 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-377/.semver 06:36:50 2023-08-25 06:36:50,156 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-377/.semver 06:36:50 2023-08-25 06:36:50,156 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-377/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-377, universal_newlines=False, shell=None, istream=None) 06:36:51 2023-08-25 06:36:51,252 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-377/.git/info/exclude 06:36:51 2023-08-25 06:36:51,253 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-377/.semver/PR-377 with force:False 06:36:51 2023-08-25 06:36:51,253 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-377/.semver/PR-377 06:36:51 2023-08-25 06:36:51,257 [execute] INFO git cat-file --batch-check 06:36:51 2023-08-25 06:36:51,257 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-377/.semver, universal_newlines=False, shell=None, istream=) 06:36:51 2023-08-25 06:36:51,263 [execute] INFO git cat-file --batch 06:36:51 2023-08-25 06:36:51,264 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-377/.semver, universal_newlines=False, shell=None, istream=) 06:36:51 2023-08-25 06:36:51,268 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-377/.semver/PR-377 06:36:51 0.0.0 [Pipeline] } 06:36:51 $ docker exec --env ******** --env ******** 26f7730e69054423294b297294e354b8d4f077bc3d8c3a6fbf7240ce3b004b74 ssh-agent -k 06:36:51 unset SSH_AUTH_SOCK; 06:36:51 unset SSH_AGENT_PID; 06:36:51 echo Agent pid 77 killed; 06:36:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:36:52 + git semver [Pipeline] } 06:36:52 $ docker stop --time=1 26f7730e69054423294b297294e354b8d4f077bc3d8c3a6fbf7240ce3b004b74 06:36:53 $ docker rm -f --volumes 26f7730e69054423294b297294e354b8d4f077bc3d8c3a6fbf7240ce3b004b74 [Pipeline] // withDockerContainer [Pipeline] sh 06:36:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:36:54 Stashed 1 file(s) [Pipeline] echo 06:36:54 [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:36:54 provisioning config files... 06:36:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-377@tmp/config6165184213482992059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:54 ---> docker-login.sh 06:36:54 nexus3.edgexfoundry.org:10001 06:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:54 Configure a credential helper to remove this warning. See 06:36:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:54 06:36:54 Login Succeeded 06:36:54 nexus3.edgexfoundry.org:10002 06:36:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:54 Configure a credential helper to remove this warning. See 06:36:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:54 06:36:54 Login Succeeded 06:36:54 nexus3.edgexfoundry.org:10003 06:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:55 Configure a credential helper to remove this warning. See 06:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:55 06:36:55 Login Succeeded 06:36:55 nexus3.edgexfoundry.org:10004 06:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:55 Configure a credential helper to remove this warning. See 06:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:55 06:36:55 Login Succeeded 06:36:55 docker.io 06:36:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:55 Configure a credential helper to remove this warning. See 06:36:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:55 06:36:55 Login Succeeded 06:36:55 ---> docker-login.sh ends [Pipeline] } 06:36:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:36:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:36:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:36:55 ========================================================= 06:36:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:36:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:55 + 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:36:55 Sending build context to Docker daemon 21.67MB 06:36:55 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:36:55 Step 2/13 : FROM ${BASE} AS builder 06:36:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:36:56 4db1b89c0bd1: Pulling fs layer 06:36:56 6911f1a30b25: Pulling fs layer 06:36:56 e194b8c5c2a9: Pulling fs layer 06:36:56 6863d3e3a2b1: Pulling fs layer 06:36:56 ec0bb842ea78: Pulling fs layer 06:36:56 40a00589a448: Pulling fs layer 06:36:56 6c08303d61cc: Pulling fs layer 06:36:56 798269fcf238: Pulling fs layer 06:36:56 6863d3e3a2b1: Waiting 06:36:56 ec0bb842ea78: Waiting 06:36:56 798269fcf238: Waiting 06:36:56 40a00589a448: Waiting 06:36:56 6c08303d61cc: Waiting 06:36:56 6911f1a30b25: Download complete 06:36:56 6863d3e3a2b1: Download complete 06:36:56 ec0bb842ea78: Download complete 06:36:56 4db1b89c0bd1: Verifying Checksum 06:36:56 4db1b89c0bd1: Download complete 06:36:56 40a00589a448: Verifying Checksum 06:36:56 40a00589a448: Download complete 06:36:56 4db1b89c0bd1: Pull complete 06:36:56 6911f1a30b25: Pull complete 06:36:56 798269fcf238: Verifying Checksum 06:36:56 798269fcf238: Download complete 06:36:56 e194b8c5c2a9: Verifying Checksum 06:36:56 e194b8c5c2a9: Download complete 06:36:57 6c08303d61cc: Verifying Checksum 06:36:57 6c08303d61cc: Download complete 06:37:00 e194b8c5c2a9: Pull complete 06:37:00 6863d3e3a2b1: Pull complete 06:37:00 ec0bb842ea78: Pull complete 06:37:00 40a00589a448: Pull complete 06:37:03 6c08303d61cc: Pull complete 06:37:04 798269fcf238: Pull complete 06:37:04 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 06:37:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:37:04 ---> ec979cd7f677 06:37:04 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:37:09 Still waiting to schedule task 06:37:09 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4505’ 06:37:12 ---> Running in 33b769b8190c 06:37:12 Removing intermediate container 33b769b8190c 06:37:12 ---> 74a4df74a3bd 06:37:12 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:37:12 ---> Running in 0ce51e102586 06:37:12 Removing intermediate container 0ce51e102586 06:37:12 ---> 12a109fb6858 06:37:12 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:37:12 ---> Running in a0082634faad 06:37:13 Removing intermediate container a0082634faad 06:37:13 ---> 57106b7a0e14 06:37:13 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:37:13 ---> Running in f680786dafbc 06:37:13 Removing intermediate container f680786dafbc 06:37:13 ---> 074e0349641f 06:37:13 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:37:13 ---> Running in e8183b5e0b62 06:37:13 Removing intermediate container e8183b5e0b62 06:37:13 ---> 1d0333c8eea3 06:37:13 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:37:13 ---> Running in 46875b013363 06:37:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:37:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:37:13 OK: 265 MiB in 53 packages 06:37:14 Removing intermediate container 46875b013363 06:37:14 ---> e8e0019ec468 06:37:14 Step 9/13 : WORKDIR /device-onvif-camera 06:37:14 ---> Running in 5a7e93df4c17 06:37:14 Removing intermediate container 5a7e93df4c17 06:37:14 ---> cff0b578fc95 06:37:14 Step 10/13 : COPY go.mod vendor* ./ 06:37:14 ---> 4a8fdc85375f 06:37:14 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:37:14 ---> Running in 7b35f8887df4 06:37:53 Removing intermediate container 7b35f8887df4 06:37:53 ---> 39eb8520759d 06:37:53 Step 12/13 : COPY . . 06:37:53 ---> 8cd4d6b11ffd 06:37:53 Step 13/13 : RUN ${MAKE} 06:37:53 ---> Running in 167de8703d68 06:37:53 noop 06:37:53 Removing intermediate container 167de8703d68 06:37:53 ---> b72636baaa25 06:37:53 Successfully built b72636baaa25 06:37:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:53 + docker inspect -f . ci-base-image-x86_64 06:37:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:37:53 prd-ubuntu20.04-docker-8c-8g-4504 does not seem to be running inside a container 06:37:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-377 -v /w/workspace/undry_device-onvif-camera_PR-377:/w/workspace/undry_device-onvif-camera_PR-377:rw,z -v /w/workspace/undry_device-onvif-camera_PR-377@tmp:/w/workspace/undry_device-onvif-camera_PR-377@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 ******** ci-base-image-x86_64 cat 06:37:54 $ docker top 68f49ae23cc4878cc2cc61e0190a51b59253453863c03f71ad1e866ddc68d63c -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:54 + go version 06:37:54 go version go1.20.6 linux/amd64 [Pipeline] } 06:37:54 $ docker stop --time=1 68f49ae23cc4878cc2cc61e0190a51b59253453863c03f71ad1e866ddc68d63c 06:37:55 $ docker rm -f --volumes 68f49ae23cc4878cc2cc61e0190a51b59253453863c03f71ad1e866ddc68d63c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:56 + docker inspect -f . ci-base-image-x86_64 06:37:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:37:56 prd-ubuntu20.04-docker-8c-8g-4504 does not seem to be running inside a container 06:37:56 $ 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-377 -v /w/workspace/undry_device-onvif-camera_PR-377:/w/workspace/undry_device-onvif-camera_PR-377:rw,z -v /w/workspace/undry_device-onvif-camera_PR-377@tmp:/w/workspace/undry_device-onvif-camera_PR-377@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 ******** ci-base-image-x86_64 cat 06:37:56 $ docker top 7ffbf76f7e965888e6f67df44a8b6370393bb498176e60d8471bec9c3b48bf22 -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:56 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-377 [Pipeline] fileExists [Pipeline] sh 06:37:57 + make test 06:37:57 go test ./... -coverprofile=coverage.out ./... 06:38:01 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:38:13 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:38:13 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:38:14 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.045s coverage: 31.4% of statements 06:38:17 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.204s coverage: 86.5% of statements 06:38:24 go vet ./... 06:38:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:38:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:38:27 ./bin/test-attribution-txt.sh [Pipeline] echo 06:38:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:38:27 $ docker stop --time=1 7ffbf76f7e965888e6f67df44a8b6370393bb498176e60d8471bec9c3b48bf22 06:38:31 $ docker rm -f --volumes 7ffbf76f7e965888e6f67df44a8b6370393bb498176e60d8471bec9c3b48bf22 [Pipeline] // withDockerContainer [Pipeline] sh 06:38:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:38:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:38:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:38:32 + ls -al . 06:38:32 total 244 06:38:32 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 06:37 . 06:38:32 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 06:36 .. 06:38:32 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 06:36 .git 06:38:32 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 06:36 .github 06:38:32 -rw-rw-r-- 1 jenkins jenkins 496 Aug 25 06:36 .gitignore 06:38:32 -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 06:36 .golangci.yml 06:38:32 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 06:36 .semver 06:38:32 -rw-rw-r-- 1 jenkins jenkins 11264 Aug 25 06:36 Attribution.txt 06:38:32 -rw-rw-r-- 1 jenkins jenkins 15932 Aug 25 06:36 CHANGELOG.md 06:38:32 -rw-rw-r-- 1 jenkins jenkins 1574 Aug 25 06:36 Dockerfile 06:38:32 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 06:36 GOVERNANCE.md 06:38:32 -rw-rw-r-- 1 jenkins jenkins 739 Aug 25 06:36 Jenkinsfile 06:38:32 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 25 06:36 LICENSE 06:38:32 -rw-rw-r-- 1 jenkins jenkins 2898 Aug 25 06:36 Makefile 06:38:32 -rw-rw-r-- 1 jenkins jenkins 625 Aug 25 06:36 OWNERS.md 06:38:32 -rw-rw-r-- 1 jenkins jenkins 2620 Aug 25 06:36 README.md 06:38:32 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 06:36 VERSION 06:38:32 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 06:36 bin 06:38:32 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 06:36 cmd 06:38:32 -rw-r--r-- 1 jenkins jenkins 78459 Aug 25 06:38 coverage.out 06:38:32 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 06:36 doc 06:38:32 -rw-rw-r-- 1 jenkins jenkins 4128 Aug 25 06:36 go.mod 06:38:32 -rw-rw-r-- 1 jenkins jenkins 36507 Aug 25 06:36 go.sum 06:38:32 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 06:36 internal 06:38:32 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 06:36 snap 06:38:32 -rw-rw-r-- 1 jenkins jenkins 236 Aug 25 06:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:33 + 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=131e1ba592cbc0de98689506a097080705cc2a5e --label arch=amd64 --label version=0.0.0 . 06:38:33 Sending build context to Docker daemon 21.75MB 06:38:33 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 06:38:33 Step 2/26 : FROM ${BASE} AS builder 06:38:33 ---> b72636baaa25 06:38:33 Step 3/26 : ARG ADD_BUILD_TAGS="" 06:38:33 ---> Running in 5269e54b43b1 06:38:33 Removing intermediate container 5269e54b43b1 06:38:33 ---> e5332def11a2 06:38:33 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:38:33 ---> Running in 8f1c25c9a5ec 06:38:33 Removing intermediate container 8f1c25c9a5ec 06:38:33 ---> 9bf351e5fe3b 06:38:33 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 06:38:33 ---> Running in 8d73e880d7ca 06:38:33 Removing intermediate container 8d73e880d7ca 06:38:33 ---> 38496f026c0b 06:38:33 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 06:38:33 ---> Running in d573460aabf3 06:38:33 Removing intermediate container d573460aabf3 06:38:33 ---> 60dd848491ad 06:38:33 Step 7/26 : LABEL Name=edgex-device-onvif-camera 06:38:33 ---> Running in 639135cd09c0 06:38:33 Removing intermediate container 639135cd09c0 06:38:33 ---> 3e7a99add9a1 06:38:33 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:38:33 ---> Running in 19e7c3ccd187 06:38:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:38:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:38:34 OK: 265 MiB in 53 packages 06:38:34 Removing intermediate container 19e7c3ccd187 06:38:34 ---> efb1cb035512 06:38:34 Step 9/26 : WORKDIR /device-onvif-camera 06:38:34 ---> Running in 3f4f89980e1f 06:38:34 Removing intermediate container 3f4f89980e1f 06:38:34 ---> ea4e8477cde8 06:38:34 Step 10/26 : COPY go.mod vendor* ./ 06:38:34 ---> cae849cad74b 06:38:34 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:38:34 ---> Running in d2d5c158a31f 06:38:35 Removing intermediate container d2d5c158a31f 06:38:35 ---> 174e142e73e0 06:38:35 Step 12/26 : COPY . . 06:38:36 ---> af30b7284e82 06:38:36 Step 13/26 : RUN ${MAKE} 06:38:36 ---> Running in b1318ee107c2 06:38:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 06:39:03 Removing intermediate container b1318ee107c2 06:39:03 ---> cffb674b1190 06:39:03 Step 14/26 : FROM alpine:3.17 06:39:03 3.17: Pulling from library/alpine 06:39:03 9398808236ff: Pulling fs layer 06:39:03 9398808236ff: Download complete 06:39:03 9398808236ff: Pull complete 06:39:03 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 06:39:03 Status: Downloaded newer image for alpine:3.17 06:39:03 ---> 1e0b8b5322fc 06:39:03 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:39:03 ---> Running in c60772570ebf 06:39:03 Removing intermediate container c60772570ebf 06:39:03 ---> eae2064460bc 06:39:03 Step 16/26 : RUN apk add --update --no-cache dumb-init 06:39:03 ---> Running in bc15aac5dd4a 06:39:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:39:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:39:03 (1/1) Installing dumb-init (1.2.5-r2) 06:39:03 Executing busybox-1.35.0-r29.trigger 06:39:03 OK: 7 MiB in 16 packages 06:39:03 Removing intermediate container bc15aac5dd4a 06:39:03 ---> 4106b6eff20b 06:39:03 Step 17/26 : WORKDIR / 06:39:03 ---> Running in 849f8df50259 06:39:03 Removing intermediate container 849f8df50259 06:39:03 ---> de7236144f88 06:39:03 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 06:39:03 ---> 4580972c64f4 06:39:03 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 06:39:03 ---> 25fdb494af36 06:39:03 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:39:03 ---> ac9ba4ef0279 06:39:03 Step 21/26 : EXPOSE 59984 06:39:03 ---> Running in afdb409d2eb3 06:39:03 Removing intermediate container afdb409d2eb3 06:39:03 ---> f3f454ccc1c7 06:39:03 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 06:39:03 ---> Running in 4afdca45c481 06:39:03 Removing intermediate container 4afdca45c481 06:39:03 ---> 21e0aedddfef 06:39:03 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:39:03 ---> Running in b28e6dd927f0 06:39:04 Removing intermediate container b28e6dd927f0 06:39:04 ---> fc1810e164c7 06:39:04 Step 24/26 : LABEL arch=amd64 06:39:04 ---> Running in a5eb19279226 06:39:04 Removing intermediate container a5eb19279226 06:39:04 ---> 3b0ff6f88e19 06:39:04 Step 25/26 : LABEL git_sha=131e1ba592cbc0de98689506a097080705cc2a5e 06:39:04 ---> Running in 04e8dc27c67d 06:39:04 Removing intermediate container 04e8dc27c67d 06:39:04 ---> adbe6a0676b3 06:39:04 Step 26/26 : LABEL version=0.0.0 06:39:04 ---> Running in 22e38ec2031e 06:39:04 Removing intermediate container 22e38ec2031e 06:39:04 ---> 0493a354da27 06:39:04 [Warning] One or more build-args [ARCH] were not consumed 06:39:04 Successfully built 0493a354da27 06:39:04 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:39:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:39:04 06:39:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:39:05 latest: Pulling from edgex-lftools-log-publisher 06:39:05 5eb5b503b376: Pulling fs layer 06:39:05 5c69ac0246d0: Pulling fs layer 06:39:05 ec43610c2a17: Pulling fs layer 06:39:05 3a2ae6a8a46f: Pulling fs layer 06:39:05 33b1e0a273af: Pulling fs layer 06:39:05 5d3b04190fa2: Pulling fs layer 06:39:05 2f39f015ded8: Pulling fs layer 06:39:05 3a2ae6a8a46f: Waiting 06:39:05 5d3b04190fa2: Waiting 06:39:05 2f39f015ded8: Waiting 06:39:05 33b1e0a273af: Waiting 06:39:05 5c69ac0246d0: Verifying Checksum 06:39:05 5c69ac0246d0: Download complete 06:39:05 3a2ae6a8a46f: Verifying Checksum 06:39:05 3a2ae6a8a46f: Download complete 06:39:05 33b1e0a273af: Verifying Checksum 06:39:05 33b1e0a273af: Download complete 06:39:05 ec43610c2a17: Verifying Checksum 06:39:05 ec43610c2a17: Download complete 06:39:05 5d3b04190fa2: Download complete 06:39:05 5eb5b503b376: Verifying Checksum 06:39:05 5eb5b503b376: Download complete 06:39:06 2f39f015ded8: Download complete 06:39:06 5eb5b503b376: Pull complete 06:39:06 5c69ac0246d0: Pull complete 06:39:07 ec43610c2a17: Pull complete 06:39:07 3a2ae6a8a46f: Pull complete 06:39:07 33b1e0a273af: Pull complete 06:39:07 5d3b04190fa2: Pull complete 06:39:11 2f39f015ded8: Pull complete 06:39:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:39:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:39:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:11 prd-ubuntu20.04-docker-8c-8g-4504 does not seem to be running inside a container 06:39:11 $ 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-377 -v /w/workspace/undry_device-onvif-camera_PR-377:/w/workspace/undry_device-onvif-camera_PR-377:rw,z -v /w/workspace/undry_device-onvif-camera_PR-377@tmp:/w/workspace/undry_device-onvif-camera_PR-377@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:39:17 $ docker top 6aedc0a480c4d73ae7276a7f45d3ff7e5459761f3998b206b73d50fd7cb08b27 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:39:18 ---> job-cost.sh 06:39:18 lf-activate-venv: SKIPPING 06:39:18 INFO: No Stack... 06:39:18 INFO: Retrieving Pricing Info for: v3-standard-8 06:39:18 INFO: Archiving Costs [Pipeline] sh 06:39:19 + cat /w/workspace/undry_device-onvif-camera_PR-377/archives/cost.csv 06:39:19 + cut -d, -f6 [Pipeline] lock 06:39:19 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-377-2-stack-cost] 06:39:19 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-377-2-stack-cost] did not exist. Created. 06:39:19 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-377-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:39:19 + echo total: 0.2199999988079071 [Pipeline] stash 06:39:19 Stashed 1 file(s) [Pipeline] } 06:39:19 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-377-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:39:19 $ docker stop --time=1 6aedc0a480c4d73ae7276a7f45d3ff7e5459761f3998b206b73d50fd7cb08b27 06:39:20 $ docker rm -f --volumes 6aedc0a480c4d73ae7276a7f45d3ff7e5459761f3998b206b73d50fd7cb08b27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:40:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4506 in /w/workspace/undry_device-onvif-camera_PR-377 [Pipeline] { [Pipeline] ws 06:40:04 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 06:40:04 The recommended git tool is: git 06:40:09 using credential edgex-jenkins-ssh 06:40:09 Cloning the remote Git repository 06:40:09 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 06:40:09 > git init /w/workspace/device-onvif-camera/2 # timeout=10 06:40:10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:40:10 > git --version # timeout=10 06:40:10 > git --version # 'git version 2.25.1' 06:40:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:40:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:40:11 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:40:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:40:12 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:40:12 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:40:12 using GIT_SSH to set credentials SSH Credentials for GitHub 06:40:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/377/head:refs/remotes/origin/PR-377 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:40:13 Merging remotes/origin/main commit 704ee13449308adf69c4899592c40628e88298f9 into PR head commit 131e1ba592cbc0de98689506a097080705cc2a5e 06:40:13 Merge succeeded, producing 131e1ba592cbc0de98689506a097080705cc2a5e 06:40:13 Checking out Revision 131e1ba592cbc0de98689506a097080705cc2a5e (PR-377) 06:40:13 > git config core.sparsecheckout # timeout=10 06:40:13 > git checkout -f 131e1ba592cbc0de98689506a097080705cc2a5e # timeout=10 06:40:13 > git remote # timeout=10 06:40:13 > git config --get remote.origin.url # timeout=10 06:40:13 using GIT_SSH to set credentials SSH Credentials for GitHub 06:40:13 > git merge 704ee13449308adf69c4899592c40628e88298f9 # timeout=10 06:40:13 > git rev-parse HEAD^{commit} # timeout=10 06:40:13 > git config core.sparsecheckout # timeout=10 06:40:13 > git checkout -f 131e1ba592cbc0de98689506a097080705cc2a5e # timeout=10 06:40:17 Commit message: "build: move SDK to v3.1.0-dev.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:40:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:40:18 % Total % Received % Xferd Average Speed Time Time Time Current 06:40:18 Dload Upload Total Spent Left Speed 06:40:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 06:40:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:40:19 + sudo tee /etc/docker/daemon.new 06:40:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:40:19 { 06:40:19 "registry-mirrors": [ 06:40:19 "https://nexus3.edgexfoundry.org:10001" 06:40:19 ], 06:40:19 "bip": "10.250.0.254/24", 06:40:19 "hosts": [ 06:40:19 "tcp://0.0.0.0:5555", 06:40:19 "unix:///var/run/docker.sock" 06:40:19 ], 06:40:19 "mtu": 1458, 06:40:19 "selinux-enabled": true, 06:40:19 "seccomp-profile": "/etc/docker/seccomp.json" 06:40:19 } [Pipeline] sh 06:40:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:40:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:40:38 provisioning config files... 06:40:38 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config10981892131792345025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:40:39 ---> docker-login.sh 06:40:39 nexus3.edgexfoundry.org:10001 06:40:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:39 Configure a credential helper to remove this warning. See 06:40:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:39 06:40:39 Login Succeeded 06:40:39 nexus3.edgexfoundry.org:10002 06:40:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:39 Configure a credential helper to remove this warning. See 06:40:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:39 06:40:39 Login Succeeded 06:40:40 nexus3.edgexfoundry.org:10003 06:40:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:40 Configure a credential helper to remove this warning. See 06:40:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:40 06:40:40 Login Succeeded 06:40:40 nexus3.edgexfoundry.org:10004 06:40:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:40 Configure a credential helper to remove this warning. See 06:40:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:40 06:40:40 Login Succeeded 06:40:40 docker.io 06:40:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:40:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:40:41 Configure a credential helper to remove this warning. See 06:40:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:40:41 06:40:41 Login Succeeded 06:40:41 ---> docker-login.sh ends [Pipeline] } 06:40:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:40:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:40:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:40:41 ========================================================= 06:40:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:40:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:41 + 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:40:42 Sending build context to Docker daemon 14.21MB 06:40:42 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:40:42 Step 2/13 : FROM ${BASE} AS builder 06:40:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:40:42 edb6bdbacee9: Pulling fs layer 06:40:42 5f9638ab2659: Pulling fs layer 06:40:42 8d51d6327a98: Pulling fs layer 06:40:42 8b374f2dd631: Pulling fs layer 06:40:42 ec14aa9079de: Pulling fs layer 06:40:42 2f466654f4bb: Pulling fs layer 06:40:42 8b374f2dd631: Waiting 06:40:42 ec14aa9079de: Waiting 06:40:42 2f466654f4bb: Waiting 06:40:42 554e91adad29: Pulling fs layer 06:40:42 554e91adad29: Waiting 06:40:42 5f9638ab2659: Verifying Checksum 06:40:42 5f9638ab2659: Download complete 06:40:42 8b374f2dd631: Verifying Checksum 06:40:42 8b374f2dd631: Download complete 06:40:42 ec14aa9079de: Verifying Checksum 06:40:42 ec14aa9079de: Download complete 06:40:42 edb6bdbacee9: Verifying Checksum 06:40:42 edb6bdbacee9: Download complete 06:40:43 edb6bdbacee9: Pull complete 06:40:44 554e91adad29: Verifying Checksum 06:40:44 554e91adad29: Download complete 06:40:44 5f9638ab2659: Pull complete 06:40:45 2f466654f4bb: Verifying Checksum 06:40:45 2f466654f4bb: Download complete 06:40:45 8d51d6327a98: Verifying Checksum 06:40:45 8d51d6327a98: Download complete 06:40:57 8d51d6327a98: Pull complete 06:40:57 8b374f2dd631: Pull complete 06:40:57 ec14aa9079de: Pull complete 06:41:02 2f466654f4bb: Pull complete 06:41:05 554e91adad29: Pull complete 06:41:05 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 06:41:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:41:05 ---> 1e15ea492957 06:41:05 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:41:07 ---> Running in 682ca25373a8 06:41:07 Removing intermediate container 682ca25373a8 06:41:07 ---> 1b49b57f51c4 06:41:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:41:07 ---> Running in 428c68ef5386 06:41:08 Removing intermediate container 428c68ef5386 06:41:08 ---> 34d9eb6ffdd4 06:41:08 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:41:08 ---> Running in f8c6f87102fc 06:41:08 Removing intermediate container f8c6f87102fc 06:41:08 ---> b741c541b6ef 06:41:08 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:41:08 ---> Running in eda27109a3f8 06:41:08 Removing intermediate container eda27109a3f8 06:41:08 ---> 272a79da213b 06:41:08 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:41:08 ---> Running in 7172cd63a101 06:41:09 Removing intermediate container 7172cd63a101 06:41:09 ---> b0e2f570680e 06:41:09 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:41:09 ---> Running in d1e67889befa 06:41:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:41:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:41:12 OK: 263 MiB in 53 packages 06:41:13 Removing intermediate container d1e67889befa 06:41:13 ---> 31d661c3b1fc 06:41:13 Step 9/13 : WORKDIR /device-onvif-camera 06:41:13 ---> Running in 29e8d470094a 06:41:13 Removing intermediate container 29e8d470094a 06:41:13 ---> 400a87c8609a 06:41:13 Step 10/13 : COPY go.mod vendor* ./ 06:41:13 ---> 66e001e1f408 06:41:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:41:13 ---> Running in 356954bef2c5 06:42:21 Removing intermediate container 356954bef2c5 06:42:21 ---> 2c7455aed0bf 06:42:21 Step 12/13 : COPY . . 06:42:21 ---> c494f2e6ac8a 06:42:21 Step 13/13 : RUN ${MAKE} 06:42:21 ---> Running in 6907327eb99e 06:42:22 noop 06:42:23 Removing intermediate container 6907327eb99e 06:42:23 ---> f2f309c42721 06:42:23 Successfully built f2f309c42721 06:42:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:23 + docker inspect -f . ci-base-image-arm64 06:42:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:42:23 prd-ubuntu20.04-docker-arm64-4c-16g-4506 does not seem to be running inside a container 06:42:23 $ 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:42:25 $ docker top f1ebad0c50c82e8afa66d6984e37a506fbdd2e89ea8570db5dc49259d79de258 -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:25 + go version 06:42:25 go version go1.20.6 linux/arm64 [Pipeline] } 06:42:25 $ docker stop --time=1 f1ebad0c50c82e8afa66d6984e37a506fbdd2e89ea8570db5dc49259d79de258 06:42:27 $ docker rm -f --volumes f1ebad0c50c82e8afa66d6984e37a506fbdd2e89ea8570db5dc49259d79de258 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:28 + docker inspect -f . ci-base-image-arm64 06:42:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:42:28 prd-ubuntu20.04-docker-arm64-4c-16g-4506 does not seem to be running inside a container 06:42:28 $ 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:42:29 $ docker top 13447d334a3aed1d24a46453cf6762801ed3644ce062d6ff48e05857902ff93a -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:30 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 06:42:31 + make test 06:42:31 go test ./... -coverprofile=coverage.out ./... 06:43:03 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:45:25 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:45:27 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:45:30 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.238s coverage: 31.4% of statements 06:45:57 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.186s coverage: 86.5% of statements 06:45:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:45:57 go vet ./... 06:46:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:46:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:46:29 ./bin/test-attribution-txt.sh [Pipeline] echo 06:46:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:46:29 $ docker stop --time=1 13447d334a3aed1d24a46453cf6762801ed3644ce062d6ff48e05857902ff93a 06:46:31 $ docker rm -f --volumes 13447d334a3aed1d24a46453cf6762801ed3644ce062d6ff48e05857902ff93a [Pipeline] // withDockerContainer [Pipeline] sh 06:46:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:46:32 Warning: overwriting stash ‘coverage-report’ 06:46:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:46:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:46:34 + ls -al . 06:46:34 total 240 06:46:34 drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 06:42 . 06:46:34 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 06:40 .. 06:46:34 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 06:40 .git 06:46:34 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 06:40 .github 06:46:34 -rw-rw-r-- 1 jenkins jenkins 496 Aug 25 06:40 .gitignore 06:46:34 -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 06:40 .golangci.yml 06:46:34 -rw-rw-r-- 1 jenkins jenkins 11264 Aug 25 06:40 Attribution.txt 06:46:34 -rw-rw-r-- 1 jenkins jenkins 15932 Aug 25 06:40 CHANGELOG.md 06:46:34 -rw-rw-r-- 1 jenkins jenkins 1574 Aug 25 06:40 Dockerfile 06:46:34 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 06:40 GOVERNANCE.md 06:46:34 -rw-rw-r-- 1 jenkins jenkins 739 Aug 25 06:40 Jenkinsfile 06:46:34 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 25 06:40 LICENSE 06:46:34 -rw-rw-r-- 1 jenkins jenkins 2898 Aug 25 06:40 Makefile 06:46:34 -rw-rw-r-- 1 jenkins jenkins 625 Aug 25 06:40 OWNERS.md 06:46:34 -rw-rw-r-- 1 jenkins jenkins 2620 Aug 25 06:40 README.md 06:46:34 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 06:36 VERSION 06:46:34 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 06:40 bin 06:46:34 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 06:40 cmd 06:46:34 -rw-r--r-- 1 jenkins jenkins 78459 Aug 25 06:45 coverage.out 06:46:34 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 06:40 doc 06:46:34 -rw-rw-r-- 1 jenkins jenkins 4128 Aug 25 06:40 go.mod 06:46:34 -rw-rw-r-- 1 jenkins jenkins 36507 Aug 25 06:40 go.sum 06:46:34 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 06:40 internal 06:46:34 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 06:40 snap 06:46:34 -rw-rw-r-- 1 jenkins jenkins 236 Aug 25 06:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:46:34 + 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=131e1ba592cbc0de98689506a097080705cc2a5e --label arch=arm64 --label version=0.0.0 . 06:46:35 Sending build context to Docker daemon 14.29MB 06:46:35 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 06:46:35 Step 2/26 : FROM ${BASE} AS builder 06:46:35 ---> f2f309c42721 06:46:35 Step 3/26 : ARG ADD_BUILD_TAGS="" 06:46:35 ---> Running in f0321ee9ea86 06:46:35 Removing intermediate container f0321ee9ea86 06:46:35 ---> e96866db507a 06:46:35 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:46:35 ---> Running in 9cf3c059422e 06:46:35 Removing intermediate container 9cf3c059422e 06:46:35 ---> 434f0d9cdf19 06:46:35 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 06:46:35 ---> Running in e788b1f778ec 06:46:36 Removing intermediate container e788b1f778ec 06:46:36 ---> 5fb4a39db143 06:46:36 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 06:46:36 ---> Running in 35bb0373615e 06:46:36 Removing intermediate container 35bb0373615e 06:46:36 ---> 00da3bac637d 06:46:36 Step 7/26 : LABEL Name=edgex-device-onvif-camera 06:46:36 ---> Running in f139ebdd08e6 06:46:36 Removing intermediate container f139ebdd08e6 06:46:36 ---> 68fd9e4091f0 06:46:36 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:46:36 ---> Running in 224d662647b7 06:46:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:46:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:46:39 OK: 263 MiB in 53 packages 06:46:40 Removing intermediate container 224d662647b7 06:46:40 ---> 43d4423ad5a4 06:46:40 Step 9/26 : WORKDIR /device-onvif-camera 06:46:40 ---> Running in c27ff73b0fec 06:46:40 Removing intermediate container c27ff73b0fec 06:46:40 ---> 48927edbe155 06:46:40 Step 10/26 : COPY go.mod vendor* ./ 06:46:41 ---> 34ee89985f73 06:46:41 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:46:41 ---> Running in 628a3ef3f439 06:46:43 Removing intermediate container 628a3ef3f439 06:46:43 ---> 4c3e9fbce97b 06:46:43 Step 12/26 : COPY . . 06:46:45 ---> 190740ad6b3b 06:46:45 Step 13/26 : RUN ${MAKE} 06:46:45 ---> Running in 8752eaaafe0e 06:46:46 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 06:49:22 Removing intermediate container 8752eaaafe0e 06:49:22 ---> 576d1a5abcdc 06:49:22 Step 14/26 : FROM alpine:3.17 06:49:22 3.17: Pulling from library/alpine 06:49:22 4060ece20d7a: Pulling fs layer 06:49:22 4060ece20d7a: Verifying Checksum 06:49:22 4060ece20d7a: Download complete 06:49:22 4060ece20d7a: Pull complete 06:49:22 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 06:49:22 Status: Downloaded newer image for alpine:3.17 06:49:22 ---> 8650cd65339b 06:49:22 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:49:22 ---> Running in 673c5cc156a0 06:49:22 Removing intermediate container 673c5cc156a0 06:49:22 ---> e9b48dafe6c4 06:49:22 Step 16/26 : RUN apk add --update --no-cache dumb-init 06:49:22 ---> Running in 3859e545d4b4 06:49:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:49:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:49:22 (1/1) Installing dumb-init (1.2.5-r2) 06:49:22 Executing busybox-1.35.0-r29.trigger 06:49:22 OK: 8 MiB in 16 packages 06:49:22 Removing intermediate container 3859e545d4b4 06:49:22 ---> 1cc1a12b8933 06:49:22 Step 17/26 : WORKDIR / 06:49:22 ---> Running in 700fd551127f 06:49:22 Removing intermediate container 700fd551127f 06:49:22 ---> 1ec5c3cdb370 06:49:22 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 06:49:22 ---> 14c2c2d91b4a 06:49:22 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 06:49:22 ---> a1fd2765214f 06:49:22 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:49:23 ---> f6852de8c10a 06:49:23 Step 21/26 : EXPOSE 59984 06:49:23 ---> Running in 061f1dbc2ae8 06:49:23 Removing intermediate container 061f1dbc2ae8 06:49:23 ---> aca9adcfdd8b 06:49:23 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 06:49:23 ---> Running in 9fdaa5d243a8 06:49:24 Removing intermediate container 9fdaa5d243a8 06:49:24 ---> e76831e51b28 06:49:24 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:49:24 ---> Running in 616628eef33e 06:49:24 Removing intermediate container 616628eef33e 06:49:24 ---> 0f6c3eaab51b 06:49:24 Step 24/26 : LABEL arch=arm64 06:49:24 ---> Running in 15f11a1c0505 06:49:24 Removing intermediate container 15f11a1c0505 06:49:24 ---> e7af31025c1d 06:49:24 Step 25/26 : LABEL git_sha=131e1ba592cbc0de98689506a097080705cc2a5e 06:49:24 ---> Running in 8b8e42ce06ca 06:49:24 Removing intermediate container 8b8e42ce06ca 06:49:24 ---> d3bc82578685 06:49:24 Step 26/26 : LABEL version=0.0.0 06:49:25 ---> Running in f3f6f2134d6d 06:49:25 Removing intermediate container f3f6f2134d6d 06:49:25 ---> 05e5bba78746 06:49:25 [Warning] One or more build-args [ARCH] were not consumed 06:49:25 Successfully built 05e5bba78746 06:49:25 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:49:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:49:25 06:49:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:49:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:49:26 arm64: Pulling from edgex-lftools-log-publisher 06:49:26 8998bd30e6a1: Pulling fs layer 06:49:26 04944245beec: Pulling fs layer 06:49:26 699f458cf7ca: Pulling fs layer 06:49:26 765212b225bb: Pulling fs layer 06:49:26 f23df028b6ca: Pulling fs layer 06:49:26 d65c8cfc05b1: Pulling fs layer 06:49:26 2437ff75d9bd: Pulling fs layer 06:49:26 765212b225bb: Waiting 06:49:26 f23df028b6ca: Waiting 06:49:26 d65c8cfc05b1: Waiting 06:49:26 2437ff75d9bd: Waiting 06:49:26 04944245beec: Verifying Checksum 06:49:26 04944245beec: Download complete 06:49:26 765212b225bb: Download complete 06:49:26 f23df028b6ca: Download complete 06:49:26 d65c8cfc05b1: Verifying Checksum 06:49:26 d65c8cfc05b1: Download complete 06:49:26 699f458cf7ca: Verifying Checksum 06:49:26 699f458cf7ca: Download complete 06:49:27 8998bd30e6a1: Verifying Checksum 06:49:27 8998bd30e6a1: Download complete 06:49:28 2437ff75d9bd: Verifying Checksum 06:49:28 2437ff75d9bd: Download complete 06:49:30 8998bd30e6a1: Pull complete 06:49:30 04944245beec: Pull complete 06:49:32 699f458cf7ca: Pull complete 06:49:32 765212b225bb: Pull complete 06:49:32 f23df028b6ca: Pull complete 06:49:33 d65c8cfc05b1: Pull complete 06:49:45 2437ff75d9bd: Pull complete 06:49:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:49:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:49:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:49:45 prd-ubuntu20.04-docker-arm64-4c-16g-4506 does not seem to be running inside a container 06:49:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:49:48 $ docker top 14c363e1412266f24fac5af7cdcd38a14f69bd2279f5d126fd4cbc38ac947ab4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:49:49 ---> job-cost.sh 06:49:49 lf-activate-venv: SKIPPING 06:49:49 INFO: No Stack... 06:49:49 INFO: Retrieving Pricing Info for: v3-standard-4 06:49:50 INFO: Archiving Costs [Pipeline] sh 06:49:51 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 06:49:51 + cut -d, -f6 [Pipeline] lock 06:49:51 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-377-2-stack-cost] 06:49:51 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-377-2-stack-cost] did not exist. Created. 06:49:51 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-377-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:49:51 /w/workspace/device-onvif-camera/2@tmp/durable-88544959/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:49:52 + echo total: 0.10999999940395355 [Pipeline] stash 06:49:52 Warning: overwriting stash ‘stack-cost’ 06:49:52 Stashed 1 file(s) [Pipeline] } 06:49:52 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-377-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:49:52 $ docker stop --time=1 14c363e1412266f24fac5af7cdcd38a14f69bd2279f5d126fd4cbc38ac947ab4 06:49:54 $ docker rm -f --volumes 14c363e1412266f24fac5af7cdcd38a14f69bd2279f5d126fd4cbc38ac947ab4 [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:49:54 provisioning config files... 06:49:54 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-377@tmp/config12646666703558956008tmp [Pipeline] { [Pipeline] sh 06:49:54 + set +x 06:49:54 + curl -s https://codecov.io/bash 06:49:54 + bash -s -- 06:49:54 06:49:54 _____ _ 06:49:54 / ____| | | 06:49:54 | | ___ __| | ___ ___ _____ __ 06:49:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:49:54 | |___| (_) | (_| | __/ (_| (_) \ V / 06:49:54 \_____\___/ \__,_|\___|\___\___/ \_/ 06:49:54 Bash-1.0.6 06:49:54 06:49:54 06:49:54 ==> git version 2.25.1 found 06:49:54 ==> 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:49:54 Release-Date: 2020-01-08 06:49:54 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:49:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:49:54 ==> Jenkins CI detected. 06:49:54 current dir:  /w/workspace/undry_device-onvif-camera_PR-377 06:49:54 project root: . 06:49:54 --> token set from env 06:49:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:49:54 ==> Running gcov in . (disable via -X gcov) 06:49:54 ==> Python coveragepy not found 06:49:54 ==> Searching for coverage reports in: 06:49:54 + . 06:49:54 -> Found 1 reports 06:49:54 ==> Detecting git/mercurial file structure 06:49:54 ==> Reading reports 06:49:54 + ./coverage.out bytes=78459 06:49:54 ==> Appending adjustments 06:49:54 https://docs.codecov.io/docs/fixing-reports 06:49:55 + Found adjustments 06:49:55 ==> Gzipping contents 06:49:55 12K /tmp/codecov.meMaJB.gz 06:49:55 ==> Uploading reports 06:49:55 url: https://codecov.io 06:49:55 query: branch=PR-377&commit=131e1ba592cbc0de98689506a097080705cc2a5e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-377%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=377&job=&cmd_args= 06:49:55 -> Pinging Codecov 06:49:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-377&commit=131e1ba592cbc0de98689506a097080705cc2a5e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-377%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=377&job=&cmd_args= 06:49:55 -> Uploading to 06:49:55 https://storage.googleapis.com/codecov/v4/raw/2023-08-25/F29A59C45E3A92E06B3E522C9905F8EF/131e1ba592cbc0de98689506a097080705cc2a5e/4f625c61-d171-4c75-8cf4-b724deb3d391.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T064955Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9170ca0affc6e07254ca97ea8f9ae2a5bfc0d34bcff9629d64e713ed3964a747 06:49:55 % Total % Received % Xferd Average Speed Time Time Time Current 06:49:55 Dload Upload Total Spent Left Speed 06:49:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10573 0 0 100 10573 0 56844 --:--:-- --:--:-- --:--:-- 57151 06:49:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/131e1ba592cbc0de98689506a097080705cc2a5e [Pipeline] } 06:49:55 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:49:56 + [ -d /w/workspace/undry_device-onvif-camera_PR-377/archives ] 06:49:56 + ls -al /w/workspace/undry_device-onvif-camera_PR-377/archives 06:49:56 total 16 06:49:56 drwxr-xr-x 3 root root 4096 Aug 25 06:39 . 06:49:56 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 06:39 .. 06:49:56 drwxr-xr-x 2 root root 4096 Aug 25 06:39 cost 06:49:56 -rw-r--r-- 1 root root 91 Aug 25 06:39 cost.csv 06:49:56 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-377/archives 06:49:56 + ls -al /w/workspace/undry_device-onvif-camera_PR-377/archives 06:49:56 total 16 06:49:56 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 06:39 . 06:49:56 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 06:39 .. 06:49:56 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 06:39 cost 06:49:56 -rw-r--r-- 1 jenkins jenkins 91 Aug 25 06:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:49:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:49:57 ---> package-listing.sh 06:49:57 ++ facter osfamily 06:49:57 ++ tr '[:upper:]' '[:lower:]' 06:49:57 + OS_FAMILY=debian 06:49:57 + workspace=/w/workspace/undry_device-onvif-camera_PR-377 06:49:57 + START_PACKAGES=/tmp/packages_start.txt 06:49:57 + END_PACKAGES=/tmp/packages_end.txt 06:49:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:49:57 + PACKAGES=/tmp/packages_start.txt 06:49:57 + '[' /w/workspace/undry_device-onvif-camera_PR-377 ']' 06:49:57 + PACKAGES=/tmp/packages_end.txt 06:49:57 + case "${OS_FAMILY}" in 06:49:57 + dpkg -l 06:49:57 + grep '^ii' 06:49:57 + '[' -f /tmp/packages_start.txt ']' 06:49:57 + '[' -f /tmp/packages_end.txt ']' 06:49:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:49:57 + '[' /w/workspace/undry_device-onvif-camera_PR-377 ']' 06:49:57 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-377/archives/ 06:49:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-377/archives/ [Pipeline] echo 06:49:57 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-377/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:49:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:49:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:49:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:49:58 prd-ubuntu20.04-docker-8c-8g-4504 does not seem to be running inside a container 06:49:58 $ 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-377/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-377 -v /w/workspace/undry_device-onvif-camera_PR-377:/w/workspace/undry_device-onvif-camera_PR-377:rw,z -v /w/workspace/undry_device-onvif-camera_PR-377@tmp:/w/workspace/undry_device-onvif-camera_PR-377@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:49:58 $ docker top c45c02877200e2c5767211cf4c9b709607d9b5ef7888bca6141c52a2bfc433fb -eo pid,comm [Pipeline] { [Pipeline] sh 06:49:59 + touch /tmp/pre-build-complete [Pipeline] sh 06:49:59 + mkdir -p /var/log/sysstat [Pipeline] sh 06:49:59 + ls /var/log/sa-host 06:49:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:49:59 provisioning config files... 06:49:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-377@tmp/config17764072948110464828tmp [Pipeline] { [Pipeline] echo 06:49:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:50:00 ---> create-netrc.sh [Pipeline] } 06:50:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:50:00 ---> python-tools-install.sh [Pipeline] echo 06:50:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:50:00 ---> sudo-logs.sh 06:50:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:50:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:50:01 ---> job-cost.sh 06:50:01 lf-activate-venv: SKIPPING 06:50:01 DEBUG: total: 0.2199999988079071 06:50:01 INFO: Retrieving Stack Cost... 06:50:01 INFO: Retrieving Pricing Info for: v3-standard-8 06:50:01 INFO: Archiving Costs [Pipeline] echo 06:50:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:50:02 ---> logs-deploy.sh 06:50:02 lf-activate-venv: SKIPPING 06:50:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-377/2 06:50:02 INFO: archiving workspace using pattern(s): 06:50:03 Archives upload complete. 06:50:03 INFO: archiving logs to Nexus