Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d07f413e0949b87f7783902c0ab6bfd56f004149 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-ssh16186655593217990902.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh482704102633786862.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14618199135337178425.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh10349694405161866714.key Verifying host key using known hosts file > 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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18421589786635107856.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-118417’ is offline Running on prd-ubuntu20.04-docker-8c-8g-118418 in /w/workspace/foundry_device-onvif-camera_main [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/foundry_device-onvif-camera_main # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d07f413e0949b87f7783902c0ab6bfd56f004149 (main) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#194)" > git config core.sparsecheckout # timeout=10 > git checkout -f d07f413e0949b87f7783902c0ab6bfd56f004149 # timeout=10 > git rev-list --no-walk 9783e640c3f15fc82ca4b0d45666a1ec4ab8fccf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:15:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:15:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:15:47 ========================================================= 15:15:47 EdgeX Global Pipelines Version Info 15:15:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:15:48 ------------------- 15:15:48 stable info: 15:15:48 ------------------- 15:15:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:15:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:15:48 Message: update stable to v1.0.244 15:15:48 ------------------- 15:15:48 experimental info: 15:15:48 ------------------- 15:15:48 Commited By: **** collab-it+edgex@linuxfoundation.org 15:15:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:15:48 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:15:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d07f413e0949b87f7783902c0ab6bfd56f004149 [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d07f413 [Pipeline] echo 15:15:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:15:49 provisioning config files... 15:15:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9486925370757867518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:15:49 ---> docker-login.sh 15:15:49 nexus3.edgexfoundry.org:10001 15:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:50 Configure a credential helper to remove this warning. See 15:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:50 15:15:50 Login Succeeded 15:15:50 nexus3.edgexfoundry.org:10002 15:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:50 Configure a credential helper to remove this warning. See 15:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:50 15:15:50 Login Succeeded 15:15:50 nexus3.edgexfoundry.org:10003 15:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:50 Configure a credential helper to remove this warning. See 15:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:50 15:15:50 Login Succeeded 15:15:50 nexus3.edgexfoundry.org:10004 15:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:50 Configure a credential helper to remove this warning. See 15:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:50 15:15:50 Login Succeeded 15:15:50 docker.io 15:15:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:15:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:15:50 Configure a credential helper to remove this warning. See 15:15:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:15:50 15:15:50 Login Succeeded 15:15:50 ---> docker-login.sh ends [Pipeline] } 15:15:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:15:51 + git rev-list -1 --merges d07f413e0949b87f7783902c0ab6bfd56f004149~1..d07f413e0949b87f7783902c0ab6bfd56f004149 [Pipeline] echo 15:15:51 -----------> git rev-list -1 --merges d07f413e0949b87f7783902c0ab6bfd56f004149~1..d07f413e0949b87f7783902c0ab6bfd56f004149 d07f413e0949b87f7783902c0ab6bfd56f004149 [false] [Pipeline] sh 15:15:51 + git log --format=format:%s -1 d07f413e0949b87f7783902c0ab6bfd56f004149 [Pipeline] echo 15:15:51 ========================================================= 15:15:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:15:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:15:51 + git log --format=format:%s -1 d07f413e0949b87f7783902c0ab6bfd56f004149 [Pipeline] echo 15:15:51 [semverPrep] GIT_COMMIT: d07f413e0949b87f7783902c0ab6bfd56f004149, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#194) [Pipeline] echo 15:15:51 [semverPrep] This is not a build commit. [Pipeline] sh 15:15:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:15:52 + grep -v github /etc/ssh/ssh_known_hosts 15:15:52 + [ -e /tmp/ssh_known_hosts ] 15:15:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:15:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:15:52 + sudo tee -a /etc/ssh/ssh_known_hosts 15:15:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:15:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:15:52 15:15:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:15:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:15:52 0.1.4: Pulling from edgex-devops/py-git-semver 15:15:52 b85a868b505f: Pulling fs layer 15:15:52 e2be974225ed: Pulling fs layer 15:15:52 339a4e72a1f5: Pulling fs layer 15:15:52 988bab9f4d93: Pulling fs layer 15:15:52 1469e6f7b9e6: Pulling fs layer 15:15:52 eaf3925da568: Pulling fs layer 15:15:52 bab4dde63d76: Pulling fs layer 15:15:52 bde34c3a00c8: Pulling fs layer 15:15:52 b352a97aabf1: Pulling fs layer 15:15:52 4872d77fe225: Pulling fs layer 15:15:52 5851b861e8e6: Pulling fs layer 15:15:52 1469e6f7b9e6: Waiting 15:15:52 b352a97aabf1: Waiting 15:15:52 4872d77fe225: Waiting 15:15:52 eaf3925da568: Waiting 15:15:52 5851b861e8e6: Waiting 15:15:52 bab4dde63d76: Waiting 15:15:52 bde34c3a00c8: Waiting 15:15:52 988bab9f4d93: Waiting 15:15:52 e2be974225ed: Verifying Checksum 15:15:52 e2be974225ed: Download complete 15:15:52 988bab9f4d93: Download complete 15:15:53 1469e6f7b9e6: Verifying Checksum 15:15:53 1469e6f7b9e6: Download complete 15:15:53 eaf3925da568: Verifying Checksum 15:15:53 eaf3925da568: Download complete 15:15:53 339a4e72a1f5: Verifying Checksum 15:15:53 339a4e72a1f5: Download complete 15:15:53 bde34c3a00c8: Verifying Checksum 15:15:53 bde34c3a00c8: Download complete 15:15:53 b352a97aabf1: Verifying Checksum 15:15:53 b352a97aabf1: Download complete 15:15:53 4872d77fe225: Verifying Checksum 15:15:53 4872d77fe225: Download complete 15:15:53 5851b861e8e6: Verifying Checksum 15:15:53 5851b861e8e6: Download complete 15:15:53 b85a868b505f: Download complete 15:15:53 bab4dde63d76: Download complete 15:15:54 b85a868b505f: Pull complete 15:15:54 e2be974225ed: Pull complete 15:15:55 339a4e72a1f5: Pull complete 15:15:55 988bab9f4d93: Pull complete 15:15:55 1469e6f7b9e6: Pull complete 15:15:55 eaf3925da568: Pull complete 15:15:57 bab4dde63d76: Pull complete 15:15:57 bde34c3a00c8: Pull complete 15:15:57 b352a97aabf1: Pull complete 15:15:57 4872d77fe225: Pull complete 15:15:57 5851b861e8e6: Pull complete 15:15:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:15:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:15:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:15:57 prd-ubuntu20.04-docker-8c-8g-118418 does not seem to be running inside a container 15:15:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:15:59 $ docker top bc234842301758e5373e9ec56a57eb30d44a2bc93d43bb6e1e36453bbeb479dc -eo pid,comm 15:15:59 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). 15:15:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:15:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:15:59 [ssh-agent] Looking for ssh-agent implementation... 15:15:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:15:59 $ docker exec bc234842301758e5373e9ec56a57eb30d44a2bc93d43bb6e1e36453bbeb479dc ssh-agent 15:15:59 SSH_AUTH_SOCK=/tmp/ssh-ZrvwwezPqGkS/agent.32 15:15:59 SSH_AGENT_PID=38 15:15:59 Running ssh-add (command line suppressed) 15:15:59 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3853825843715868128.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3853825843715868128.key) 15:15:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:15:59 + git tag --points-at HEAD [Pipeline] } 15:15:59 $ docker exec --env ******** --env ******** bc234842301758e5373e9ec56a57eb30d44a2bc93d43bb6e1e36453bbeb479dc ssh-agent -k 15:15:59 unset SSH_AUTH_SOCK; 15:15:59 unset SSH_AGENT_PID; 15:15:59 echo Agent pid 38 killed; 15:15:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:16:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:16:00 [ssh-agent] Looking for ssh-agent implementation... 15:16:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:16:00 $ docker exec bc234842301758e5373e9ec56a57eb30d44a2bc93d43bb6e1e36453bbeb479dc ssh-agent 15:16:00 SSH_AUTH_SOCK=/tmp/ssh-m6s8zOqOHHaJ/agent.70 15:16:00 SSH_AGENT_PID=76 15:16:00 Running ssh-add (command line suppressed) 15:16:00 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3603944083831504492.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3603944083831504492.key) 15:16:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:16:00 + git semver init 15:16:00 2022-11-07 15:16:00,846 [run_init] DEBUG init version:0.0.0 force:False 15:16:00 2022-11-07 15:16:00,846 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 15:16:00 2022-11-07 15:16:00,847 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 15:16:00 2022-11-07 15:16:00,847 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 15:16:02 2022-11-07 15:16:02,182 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 15:16:02 2022-11-07 15:16:02,182 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 15:16:02 2022-11-07 15:16:02,183 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:16:02 2022-11-07 15:16:02,183 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:16:02 2.3.0-dev.43 [Pipeline] } 15:16:02 $ docker exec --env ******** --env ******** bc234842301758e5373e9ec56a57eb30d44a2bc93d43bb6e1e36453bbeb479dc ssh-agent -k 15:16:02 unset SSH_AUTH_SOCK; 15:16:02 unset SSH_AGENT_PID; 15:16:02 echo Agent pid 76 killed; 15:16:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:16:02 + git semver [Pipeline] } 15:16:02 $ docker stop --time=1 bc234842301758e5373e9ec56a57eb30d44a2bc93d43bb6e1e36453bbeb479dc 15:16:04 $ docker rm -f bc234842301758e5373e9ec56a57eb30d44a2bc93d43bb6e1e36453bbeb479dc [Pipeline] // withDockerContainer [Pipeline] sh 15:16:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:16:04 Stashed 1 file(s) [Pipeline] echo 15:16:04 [edgeXSemver]: initialized semver on version 2.3.0-dev.43 [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 15:16:04 provisioning config files... 15:16:04 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config867073662933522097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:16:05 ---> docker-login.sh 15:16:05 nexus3.edgexfoundry.org:10001 15:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:05 Configure a credential helper to remove this warning. See 15:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:05 15:16:05 Login Succeeded 15:16:05 nexus3.edgexfoundry.org:10002 15:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:05 Configure a credential helper to remove this warning. See 15:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:05 15:16:05 Login Succeeded 15:16:05 nexus3.edgexfoundry.org:10003 15:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:05 Configure a credential helper to remove this warning. See 15:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:05 15:16:05 Login Succeeded 15:16:05 nexus3.edgexfoundry.org:10004 15:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:05 Configure a credential helper to remove this warning. See 15:16:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:05 15:16:05 Login Succeeded 15:16:05 docker.io 15:16:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:06 Configure a credential helper to remove this warning. See 15:16:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:06 15:16:06 Login Succeeded 15:16:06 ---> docker-login.sh ends [Pipeline] } 15:16:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:16:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:16:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:16:06 ========================================================= 15:16:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:16:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:06 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:16:06 Sending build context to Docker daemon 27.54MB 15:16:06 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 15:16:06 Step 2/13 : FROM ${BASE} AS builder 15:16:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:16:06 213ec9aee27d: Pulling fs layer 15:16:06 4583459ba037: Pulling fs layer 15:16:06 93c1e223e6f2: Pulling fs layer 15:16:06 53926ce57604: Pulling fs layer 15:16:06 21b2b0c7a3f4: Pulling fs layer 15:16:06 22ff95d597cd: Pulling fs layer 15:16:06 12d6caf4c0d1: Pulling fs layer 15:16:06 96b7cbca73a9: Pulling fs layer 15:16:06 a7acece74701: Pulling fs layer 15:16:06 12d6caf4c0d1: Waiting 15:16:06 53926ce57604: Waiting 15:16:06 21b2b0c7a3f4: Waiting 15:16:06 22ff95d597cd: Waiting 15:16:06 a7acece74701: Waiting 15:16:06 93c1e223e6f2: Verifying Checksum 15:16:06 93c1e223e6f2: Download complete 15:16:06 4583459ba037: Verifying Checksum 15:16:06 4583459ba037: Download complete 15:16:06 21b2b0c7a3f4: Verifying Checksum 15:16:06 21b2b0c7a3f4: Download complete 15:16:06 22ff95d597cd: Verifying Checksum 15:16:06 22ff95d597cd: Download complete 15:16:06 213ec9aee27d: Download complete 15:16:06 12d6caf4c0d1: Verifying Checksum 15:16:06 12d6caf4c0d1: Download complete 15:16:06 213ec9aee27d: Pull complete 15:16:06 4583459ba037: Pull complete 15:16:06 93c1e223e6f2: Pull complete 15:16:07 96b7cbca73a9: Verifying Checksum 15:16:07 a7acece74701: Verifying Checksum 15:16:07 53926ce57604: Verifying Checksum 15:16:07 53926ce57604: Download complete 15:16:11 53926ce57604: Pull complete 15:16:11 21b2b0c7a3f4: Pull complete 15:16:11 22ff95d597cd: Pull complete 15:16:11 12d6caf4c0d1: Pull complete 15:16:13 96b7cbca73a9: Pull complete 15:16:14 a7acece74701: Pull complete 15:16:14 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:16:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:16:14 ---> db6d94c90886 15:16:14 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:16:15 ---> Running in 674568771d0a 15:16:16 Removing intermediate container 674568771d0a 15:16:16 ---> 419aef6f1fbb 15:16:16 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:16:16 ---> Running in 14d76817fea1 15:16:16 Removing intermediate container 14d76817fea1 15:16:16 ---> a4e4f27c3d73 15:16:16 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:16:16 ---> Running in 09b55041ab09 15:16:16 Removing intermediate container 09b55041ab09 15:16:16 ---> a60819b09d05 15:16:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 15:16:16 ---> Running in 04c54173beab 15:16:16 Removing intermediate container 04c54173beab 15:16:16 ---> 976a5a721f10 15:16:16 Step 7/13 : LABEL Name=edgex-device-onvif-camera 15:16:16 ---> Running in f70f9c1b0600 15:16:16 Removing intermediate container f70f9c1b0600 15:16:16 ---> 8c94cd0adc4a 15:16:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:16:16 ---> Running in f37d2a073417 15:16:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:16:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:16:17 OK: 211 MiB in 51 packages 15:16:17 Removing intermediate container f37d2a073417 15:16:17 ---> b9e21f01916d 15:16:17 Step 9/13 : WORKDIR /device-onvif-camera 15:16:17 ---> Running in e74788091b42 15:16:17 Removing intermediate container e74788091b42 15:16:17 ---> 69390207c240 15:16:17 Step 10/13 : COPY go.mod vendor* ./ 15:16:17 ---> 65ca3bbf8015 15:16:17 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:16:18 ---> Running in b9452bee369c 15:16:19 Still waiting to schedule task 15:16:19 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:16:36 Removing intermediate container b9452bee369c 15:16:36 ---> e510c6447319 15:16:36 Step 12/13 : COPY . . 15:16:36 ---> 4784087dcad3 15:16:36 Step 13/13 : RUN ${MAKE} 15:16:36 ---> Running in 807da46ed6e3 15:16:36 noop 15:16:36 Removing intermediate container 807da46ed6e3 15:16:36 ---> 6a3f722f6b62 15:16:36 Successfully built 6a3f722f6b62 15:16:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:36 + docker inspect -f . ci-base-image-x86_64 15:16:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:16:36 prd-ubuntu20.04-docker-8c-8g-118418 does not seem to be running inside a container 15:16:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** ci-base-image-x86_64 cat 15:16:36 $ docker top ec542bf85022cc9287b2e4d7e9a8a4bbb3b40ed451d8439e73b8c5fedb3f9068 -eo pid,comm [Pipeline] { [Pipeline] sh 15:16:37 + go version 15:16:37 go version go1.18.7 linux/amd64 [Pipeline] } 15:16:37 $ docker stop --time=1 ec542bf85022cc9287b2e4d7e9a8a4bbb3b40ed451d8439e73b8c5fedb3f9068 15:16:38 $ docker rm -f ec542bf85022cc9287b2e4d7e9a8a4bbb3b40ed451d8439e73b8c5fedb3f9068 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:38 + docker inspect -f . ci-base-image-x86_64 15:16:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:16:38 prd-ubuntu20.04-docker-8c-8g-118418 does not seem to be running inside a container 15:16:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** ci-base-image-x86_64 cat 15:16:39 $ docker top 0a354e4182c43d5851709800c7d90acdd9a0a69f288fca60cb71b0634c082726 -eo pid,comm [Pipeline] { [Pipeline] sh 15:16:39 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 15:16:39 + make test 15:16:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:16:40 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:16:52 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:16:54 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 29.3% of statements 15:16:54 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 15:16:54 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.297s coverage: 86.5% of statements 15:17:02 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 15:17:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:17:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:17:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:17:05 ./bin/test-attribution-txt.sh [Pipeline] echo 15:17:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:17:05 $ docker stop --time=1 0a354e4182c43d5851709800c7d90acdd9a0a69f288fca60cb71b0634c082726 15:17:07 $ docker rm -f 0a354e4182c43d5851709800c7d90acdd9a0a69f288fca60cb71b0634c082726 [Pipeline] // withDockerContainer [Pipeline] sh 15:17:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:17:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:17:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:17:08 + ls -al . 15:17:08 total 248 15:17:08 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 15:16 . 15:17:08 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 15:15 .. 15:17:08 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 15:16 .git 15:17:08 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:15 .github 15:17:08 -rw-rw-r-- 1 jenkins jenkins 496 Nov 7 15:15 .gitignore 15:17:08 -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 15:15 .golangci.yml 15:17:08 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 15:16 .semver 15:17:08 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 7 15:15 Attribution.txt 15:17:08 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 7 15:15 CHANGELOG.md 15:17:08 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 7 15:15 Dockerfile 15:17:08 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 15:15 GOVERNANCE.md 15:17:08 -rw-rw-r-- 1 jenkins jenkins 734 Nov 7 15:15 Jenkinsfile 15:17:08 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 7 15:15 LICENSE 15:17:08 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 7 15:15 Makefile 15:17:08 -rw-rw-r-- 1 jenkins jenkins 625 Nov 7 15:15 OWNERS.md 15:17:08 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 7 15:15 README.md 15:17:08 -rw-rw-r-- 1 jenkins jenkins 12 Nov 7 15:16 VERSION 15:17:08 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 15:15 bin 15:17:08 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:15 cmd 15:17:08 -rw-r--r-- 1 jenkins jenkins 79184 Nov 7 15:16 coverage.out 15:17:08 drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 15:15 doc 15:17:08 -rw-rw-r-- 1 jenkins jenkins 3729 Nov 7 15:15 go.mod 15:17:08 -rw-rw-r-- 1 jenkins jenkins 46189 Nov 7 15:15 go.sum 15:17:08 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 15:15 internal 15:17:08 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 15:15 snap 15:17:08 -rw-rw-r-- 1 jenkins jenkins 236 Nov 7 15:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:09 + 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=d07f413e0949b87f7783902c0ab6bfd56f004149 --label arch=amd64 --label version=2.3.0-dev.43 . 15:17:09 Sending build context to Docker daemon 27.62MB 15:17:09 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 15:17:09 Step 2/26 : FROM ${BASE} AS builder 15:17:09 ---> 6a3f722f6b62 15:17:09 Step 3/26 : ARG ADD_BUILD_TAGS="" 15:17:09 ---> Running in daeb1fea930b 15:17:09 Removing intermediate container daeb1fea930b 15:17:09 ---> 6b8b2a9f4c7c 15:17:09 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:17:09 ---> Running in 02e7c41890f5 15:17:09 Removing intermediate container 02e7c41890f5 15:17:09 ---> 1726fc924dac 15:17:09 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:17:09 ---> Running in 6caaba9d0b02 15:17:09 Removing intermediate container 6caaba9d0b02 15:17:09 ---> 1b2564d0940c 15:17:09 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 15:17:09 ---> Running in 9be195bf7fcc 15:17:10 Removing intermediate container 9be195bf7fcc 15:17:10 ---> 4bf718775b2f 15:17:10 Step 7/26 : LABEL Name=edgex-device-onvif-camera 15:17:10 ---> Running in dced7f4778f4 15:17:10 Removing intermediate container dced7f4778f4 15:17:10 ---> 8bcd72a1a1df 15:17:10 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:17:10 ---> Running in df84d0e94139 15:17:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:17:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:17:10 OK: 211 MiB in 51 packages 15:17:11 Removing intermediate container df84d0e94139 15:17:11 ---> fe37c5956971 15:17:11 Step 9/26 : WORKDIR /device-onvif-camera 15:17:11 ---> Running in decd294811cf 15:17:11 Removing intermediate container decd294811cf 15:17:11 ---> 4702c3c0aa20 15:17:11 Step 10/26 : COPY go.mod vendor* ./ 15:17:11 ---> 84d30596c58d 15:17:11 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:17:11 ---> Running in f63997a45d5b 15:17:12 Removing intermediate container f63997a45d5b 15:17:12 ---> ac36617c713c 15:17:12 Step 12/26 : COPY . . 15:17:12 ---> 416a322e7b77 15:17:12 Step 13/26 : RUN ${MAKE} 15:17:12 ---> Running in f0b5a2d2c82d 15:17:13 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.43 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 15:17:35 Removing intermediate container f0b5a2d2c82d 15:17:35 ---> 310b4a2e8f72 15:17:35 Step 14/26 : FROM alpine:3.16 15:17:35 3.16: Pulling from library/alpine 15:17:35 213ec9aee27d: Already exists 15:17:35 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 15:17:35 Status: Downloaded newer image for alpine:3.16 15:17:35 ---> 9c6f07244728 15:17:35 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:17:35 ---> Running in 568f35e706f1 15:17:35 Removing intermediate container 568f35e706f1 15:17:35 ---> a60f6b87323b 15:17:35 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 15:17:35 ---> Running in 667ec0f0c841 15:17:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:17:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:17:35 (1/6) Installing dumb-init (1.2.5-r1) 15:17:35 (2/6) Installing libgcc (11.2.1_git20220219-r2) 15:17:35 (3/6) Installing libsodium (1.0.18-r0) 15:17:35 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 15:17:35 (5/6) Installing libzmq (4.3.4-r0) 15:17:35 (6/6) Installing zeromq (4.3.4-r0) 15:17:35 Executing busybox-1.35.0-r17.trigger 15:17:35 OK: 8 MiB in 20 packages 15:17:35 Removing intermediate container 667ec0f0c841 15:17:35 ---> dd15a8357919 15:17:35 Step 17/26 : WORKDIR / 15:17:35 ---> Running in c7764f5d1a6e 15:17:35 Removing intermediate container c7764f5d1a6e 15:17:35 ---> f437064c29ef 15:17:35 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 15:17:36 ---> 43895724d2a7 15:17:36 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 15:17:36 ---> 823a228357da 15:17:36 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 15:17:36 ---> f3df4a9363d9 15:17:36 Step 21/26 : EXPOSE 59984 15:17:36 ---> Running in 44c1c897f930 15:17:36 Removing intermediate container 44c1c897f930 15:17:36 ---> 7a28462f4ad0 15:17:36 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 15:17:36 ---> Running in a53433409020 15:17:36 Removing intermediate container a53433409020 15:17:36 ---> d7463dc74d6e 15:17:36 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:17:36 ---> Running in 6f2a08f3039f 15:17:36 Removing intermediate container 6f2a08f3039f 15:17:36 ---> 15f124bac66f 15:17:36 Step 24/26 : LABEL arch=amd64 15:17:36 ---> Running in 5b7389f5bb19 15:17:36 Removing intermediate container 5b7389f5bb19 15:17:36 ---> 6537eb528093 15:17:36 Step 25/26 : LABEL git_sha=d07f413e0949b87f7783902c0ab6bfd56f004149 15:17:37 ---> Running in 6845317b650c 15:17:37 Removing intermediate container 6845317b650c 15:17:37 ---> 50f73f19e978 15:17:37 Step 26/26 : LABEL version=2.3.0-dev.43 15:17:37 ---> Running in b2b9813ea355 15:17:37 Removing intermediate container b2b9813ea355 15:17:37 ---> e06914fbd2d6 15:17:37 [Warning] One or more build-args [ARCH] were not consumed 15:17:37 Successfully built e06914fbd2d6 15:17:37 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:17:37 provisioning config files... 15:17:37 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13086657359730402245tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:17:37 ---> docker-login.sh 15:17:37 nexus3.edgexfoundry.org:10001 15:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:37 Configure a credential helper to remove this warning. See 15:17:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:37 15:17:37 Login Succeeded 15:17:37 nexus3.edgexfoundry.org:10002 15:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:37 Configure a credential helper to remove this warning. See 15:17:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:37 15:17:37 Login Succeeded 15:17:37 nexus3.edgexfoundry.org:10003 15:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:38 Configure a credential helper to remove this warning. See 15:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:38 15:17:38 Login Succeeded 15:17:38 nexus3.edgexfoundry.org:10004 15:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:38 Configure a credential helper to remove this warning. See 15:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:38 15:17:38 Login Succeeded 15:17:38 docker.io 15:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:17:38 Configure a credential helper to remove this warning. See 15:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:17:38 15:17:38 Login Succeeded 15:17:38 ---> docker-login.sh ends [Pipeline] } 15:17:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:17:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:17:38 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 15:17:38 d07f413e0949b87f7783902c0ab6bfd56f004149 15:17:38 latest 15:17:38 2.3.0-dev.43 15:17:38 d07f413e0949b87f7783902c0ab6bfd56f004149-2.3.0-dev.43 15:17:38 main 15:17:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:38 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:d07f413e0949b87f7783902c0ab6bfd56f004149 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:d07f413e0949b87f7783902c0ab6bfd56f004149 15:17:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:17:39 4cd80368d096: Preparing 15:17:39 7303bd77c400: Preparing 15:17:39 3e021feb6af7: Preparing 15:17:39 951cdd559e35: Preparing 15:17:39 994393dc58e7: Preparing 15:17:39 994393dc58e7: Layer already exists 15:17:39 7303bd77c400: Pushed 15:17:39 4cd80368d096: Pushed 15:17:39 951cdd559e35: Pushed 15:17:42 3e021feb6af7: Pushed 15:17:42 d07f413e0949b87f7783902c0ab6bfd56f004149: digest: sha256:eca47d51ceb8ae0e54b1dcdb9cf7ac137a7e41098ab66f2304a066de3a8c5936 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:42 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 15:17:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:17:42 4cd80368d096: Preparing 15:17:42 7303bd77c400: Preparing 15:17:42 3e021feb6af7: Preparing 15:17:42 951cdd559e35: Preparing 15:17:42 994393dc58e7: Preparing 15:17:42 4cd80368d096: Layer already exists 15:17:42 7303bd77c400: Layer already exists 15:17:42 3e021feb6af7: Layer already exists 15:17:42 994393dc58e7: Layer already exists 15:17:42 951cdd559e35: Layer already exists 15:17:42 latest: digest: sha256:eca47d51ceb8ae0e54b1dcdb9cf7ac137a7e41098ab66f2304a066de3a8c5936 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:43 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.43 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.43 15:17:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:17:43 4cd80368d096: Preparing 15:17:43 7303bd77c400: Preparing 15:17:43 3e021feb6af7: Preparing 15:17:43 951cdd559e35: Preparing 15:17:43 994393dc58e7: Preparing 15:17:43 4cd80368d096: Layer already exists 15:17:43 3e021feb6af7: Layer already exists 15:17:43 951cdd559e35: Layer already exists 15:17:43 994393dc58e7: Layer already exists 15:17:43 7303bd77c400: Layer already exists 15:17:43 2.3.0-dev.43: digest: sha256:eca47d51ceb8ae0e54b1dcdb9cf7ac137a7e41098ab66f2304a066de3a8c5936 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:43 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:d07f413e0949b87f7783902c0ab6bfd56f004149-2.3.0-dev.43 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:d07f413e0949b87f7783902c0ab6bfd56f004149-2.3.0-dev.43 15:17:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:17:44 4cd80368d096: Preparing 15:17:44 7303bd77c400: Preparing 15:17:44 3e021feb6af7: Preparing 15:17:44 951cdd559e35: Preparing 15:17:44 994393dc58e7: Preparing 15:17:44 994393dc58e7: Layer already exists 15:17:44 951cdd559e35: Layer already exists 15:17:44 7303bd77c400: Layer already exists 15:17:44 3e021feb6af7: Layer already exists 15:17:44 4cd80368d096: Layer already exists 15:17:44 d07f413e0949b87f7783902c0ab6bfd56f004149-2.3.0-dev.43: digest: sha256:eca47d51ceb8ae0e54b1dcdb9cf7ac137a7e41098ab66f2304a066de3a8c5936 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:44 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 15:17:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 15:17:44 4cd80368d096: Preparing 15:17:44 7303bd77c400: Preparing 15:17:44 3e021feb6af7: Preparing 15:17:44 951cdd559e35: Preparing 15:17:44 994393dc58e7: Preparing 15:17:44 994393dc58e7: Layer already exists 15:17:44 7303bd77c400: Layer already exists 15:17:44 3e021feb6af7: Layer already exists 15:17:44 4cd80368d096: Layer already exists 15:17:44 951cdd559e35: Layer already exists 15:17:44 main: digest: sha256:eca47d51ceb8ae0e54b1dcdb9cf7ac137a7e41098ab66f2304a066de3a8c5936 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:17:44 ===================================================== [Pipeline] echo 15:17:44 taggedImages: 15:17:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera:d07f413e0949b87f7783902c0ab6bfd56f004149 15:17:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 15:17:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.43 15:17:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera:d07f413e0949b87f7783902c0ab6bfd56f004149-2.3.0-dev.43 15:17:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [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 15:17:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:17:45 15:17:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:17:45 latest: Pulling from edgex-lftools-log-publisher 15:17:45 5eb5b503b376: Pulling fs layer 15:17:45 5c69ac0246d0: Pulling fs layer 15:17:45 ec43610c2a17: Pulling fs layer 15:17:45 3a2ae6a8a46f: Pulling fs layer 15:17:45 33b1e0a273af: Pulling fs layer 15:17:45 5d3b04190fa2: Pulling fs layer 15:17:45 2f39f015ded8: Pulling fs layer 15:17:45 3a2ae6a8a46f: Waiting 15:17:45 33b1e0a273af: Waiting 15:17:45 5d3b04190fa2: Waiting 15:17:45 2f39f015ded8: Waiting 15:17:45 5c69ac0246d0: Download complete 15:17:45 3a2ae6a8a46f: Verifying Checksum 15:17:45 3a2ae6a8a46f: Download complete 15:17:45 33b1e0a273af: Verifying Checksum 15:17:45 33b1e0a273af: Download complete 15:17:45 ec43610c2a17: Verifying Checksum 15:17:45 ec43610c2a17: Download complete 15:17:45 5d3b04190fa2: Verifying Checksum 15:17:45 5d3b04190fa2: Download complete 15:17:45 5eb5b503b376: Verifying Checksum 15:17:45 5eb5b503b376: Download complete 15:17:46 2f39f015ded8: Download complete 15:17:46 5eb5b503b376: Pull complete 15:17:46 5c69ac0246d0: Pull complete 15:17:47 ec43610c2a17: Pull complete 15:17:47 3a2ae6a8a46f: Pull complete 15:17:47 33b1e0a273af: Pull complete 15:17:47 5d3b04190fa2: Pull complete 15:17:51 2f39f015ded8: Pull complete 15:17:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:17:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:17:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:17:52 prd-ubuntu20.04-docker-8c-8g-118418 does not seem to be running inside a container 15:17:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:17:54 $ docker top f72fb1a761bf1141b419ba0775c3afd7ef2595a9ba8f5a0d33486b572a7b07dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:17:54 ---> job-cost.sh 15:17:54 lf-activate-venv: SKIPPING 15:17:54 INFO: No Stack... 15:17:54 INFO: Retrieving Pricing Info for: v3-standard-8 15:17:54 INFO: Archiving Costs [Pipeline] sh 15:17:55 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 15:17:55 + cut -d, -f6 [Pipeline] lock 15:17:55 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-82-stack-cost] 15:17:55 Resource [jenkins-edgexfoundry-device-onvif-camera-main-82-stack-cost] did not exist. Created. 15:17:55 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-82-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:17:55 + echo total: 0.2199999988079071 [Pipeline] stash 15:17:55 Stashed 1 file(s) [Pipeline] } 15:17:55 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-82-stack-cost] [Pipeline] // lock [Pipeline] } 15:17:55 $ docker stop --time=1 f72fb1a761bf1141b419ba0775c3afd7ef2595a9ba8f5a0d33486b572a7b07dc 15:17:56 $ docker rm -f f72fb1a761bf1141b419ba0775c3afd7ef2595a9ba8f5a0d33486b572a7b07dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:18:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118425 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 15:18:48 Running in /w/workspace/device-onvif-camera/82 [Pipeline] { [Pipeline] checkout 15:18:48 The recommended git tool is: git 15:18:55 using credential edgex-jenkins-ssh 15:18:55 Cloning the remote Git repository 15:18:55 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 15:18:55 > git init /w/workspace/device-onvif-camera/82 # timeout=10 15:18:55 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:18:56 > git --version # timeout=10 15:18:56 > git --version # 'git version 2.25.1' 15:18:56 using GIT_SSH to set credentials SSH Credentials for GitHub 15:18:56 Verifying host key using known hosts file 15:18:56 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 15:18:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:18:59 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:18:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:19:00 Avoid second fetch 15:19:00 Checking out Revision d07f413e0949b87f7783902c0ab6bfd56f004149 (main) 15:19:01 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 (#194)" 15:19:00 > git config core.sparsecheckout # timeout=10 15:19:00 > git checkout -f d07f413e0949b87f7783902c0ab6bfd56f004149 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:19:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:19:02 % Total % Received % Xferd Average Speed Time Time Time Current 15:19:02 Dload Upload Total Spent Left Speed 15:19:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 175k 0 --:--:-- --:--:-- --:--:-- 178k [Pipeline] sh 15:19:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:19:04 + sudo tee /etc/docker/daemon.new 15:19:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:19:04 { 15:19:04 "registry-mirrors": [ 15:19:04 "https://nexus3.edgexfoundry.org:10001" 15:19:04 ], 15:19:04 "bip": "10.250.0.254/24", 15:19:04 "hosts": [ 15:19:04 "tcp://0.0.0.0:5555", 15:19:04 "unix:///var/run/docker.sock" 15:19:04 ], 15:19:04 "mtu": 1458, 15:19:04 "selinux-enabled": true, 15:19:04 "seccomp-profile": "/etc/docker/seccomp.json" 15:19:04 } [Pipeline] sh 15:19:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:19:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:19:23 provisioning config files... 15:19:23 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/82@tmp/config13972516351921910157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:19:23 ---> docker-login.sh 15:19:23 nexus3.edgexfoundry.org:10001 15:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:24 Configure a credential helper to remove this warning. See 15:19:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:24 15:19:24 Login Succeeded 15:19:24 nexus3.edgexfoundry.org:10002 15:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:24 Configure a credential helper to remove this warning. See 15:19:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:24 15:19:24 Login Succeeded 15:19:24 nexus3.edgexfoundry.org:10003 15:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:24 Configure a credential helper to remove this warning. See 15:19:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:24 15:19:24 Login Succeeded 15:19:24 nexus3.edgexfoundry.org:10004 15:19:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:25 Configure a credential helper to remove this warning. See 15:19:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:25 15:19:25 Login Succeeded 15:19:25 docker.io 15:19:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:25 Configure a credential helper to remove this warning. See 15:19:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:25 15:19:25 Login Succeeded 15:19:25 ---> docker-login.sh ends [Pipeline] } 15:19:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:19:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:19:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:19:26 ========================================================= 15:19:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:19:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:19:26 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:19:27 Sending build context to Docker daemon 20.47MB 15:19:27 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 15:19:27 Step 2/13 : FROM ${BASE} AS builder 15:19:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:19:27 9b18e9b68314: Pulling fs layer 15:19:27 35d82f9e3411: Pulling fs layer 15:19:27 e16973657156: Pulling fs layer 15:19:27 fc693d55d65f: Pulling fs layer 15:19:27 7e9fc2657dce: Pulling fs layer 15:19:27 dda99020689f: Pulling fs layer 15:19:27 db1c61fa0a46: Pulling fs layer 15:19:27 891c053d2c06: Pulling fs layer 15:19:27 fc693d55d65f: Waiting 15:19:27 7e9fc2657dce: Waiting 15:19:27 dda99020689f: Waiting 15:19:27 db1c61fa0a46: Waiting 15:19:27 891c053d2c06: Waiting 15:19:27 e16973657156: Verifying Checksum 15:19:27 e16973657156: Download complete 15:19:27 35d82f9e3411: Download complete 15:19:27 7e9fc2657dce: Download complete 15:19:27 dda99020689f: Verifying Checksum 15:19:27 dda99020689f: Download complete 15:19:27 9b18e9b68314: Verifying Checksum 15:19:27 9b18e9b68314: Download complete 15:19:28 9b18e9b68314: Pull complete 15:19:28 891c053d2c06: Verifying Checksum 15:19:28 891c053d2c06: Download complete 15:19:29 35d82f9e3411: Pull complete 15:19:29 e16973657156: Pull complete 15:19:29 db1c61fa0a46: Verifying Checksum 15:19:29 db1c61fa0a46: Download complete 15:19:30 fc693d55d65f: Verifying Checksum 15:19:30 fc693d55d65f: Download complete 15:19:42 fc693d55d65f: Pull complete 15:19:42 7e9fc2657dce: Pull complete 15:19:42 dda99020689f: Pull complete 15:19:48 db1c61fa0a46: Pull complete 15:19:50 891c053d2c06: Pull complete 15:19:50 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:19:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:19:50 ---> f96f9c87975a 15:19:50 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:19:52 ---> Running in 4212d54f3024 15:19:52 Removing intermediate container 4212d54f3024 15:19:52 ---> afe996e9ac40 15:19:52 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:19:52 ---> Running in 8c3f126157ac 15:19:52 Removing intermediate container 8c3f126157ac 15:19:52 ---> 53d2c75a76ad 15:19:52 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:19:53 ---> Running in cdfe73058780 15:19:53 Removing intermediate container cdfe73058780 15:19:53 ---> a88632c3451c 15:19:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 15:19:53 ---> Running in 559dd1bbe5e3 15:19:54 Removing intermediate container 559dd1bbe5e3 15:19:54 ---> cda4800cdd47 15:19:54 Step 7/13 : LABEL Name=edgex-device-onvif-camera 15:19:54 ---> Running in 3d60b03eb37f 15:19:54 Removing intermediate container 3d60b03eb37f 15:19:54 ---> 5c0f0a5a1be1 15:19:54 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:19:54 ---> Running in 3388cd18c60a 15:19:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:19:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:19:58 OK: 221 MiB in 51 packages 15:20:01 Removing intermediate container 3388cd18c60a 15:20:01 ---> 5daa32113c11 15:20:01 Step 9/13 : WORKDIR /device-onvif-camera 15:20:01 ---> Running in 954754199e23 15:20:01 Removing intermediate container 954754199e23 15:20:01 ---> a6c70f2d12e1 15:20:01 Step 10/13 : COPY go.mod vendor* ./ 15:20:01 ---> 83a3baa3e814 15:20:01 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:20:02 ---> Running in f45daec0cae6 15:21:10 Removing intermediate container f45daec0cae6 15:21:10 ---> c9a63ebebac6 15:21:10 Step 12/13 : COPY . . 15:21:10 ---> 9feb7d5ca3fc 15:21:10 Step 13/13 : RUN ${MAKE} 15:21:10 ---> Running in e363d2d73a86 15:21:10 noop 15:21:10 Removing intermediate container e363d2d73a86 15:21:10 ---> 3623b87f263e 15:21:10 Successfully built 3623b87f263e 15:21:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:21:10 + docker inspect -f . ci-base-image-arm64 15:21:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:21:10 prd-ubuntu20.04-docker-arm64-4c-16g-118425 does not seem to be running inside a container 15:21:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/82 -v /w/workspace/device-onvif-camera/82:/w/workspace/device-onvif-camera/82:rw,z -v /w/workspace/device-onvif-camera/82@tmp:/w/workspace/device-onvif-camera/82@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 ******** ci-base-image-arm64 cat 15:21:12 $ docker top 7c9e898f26845b472682af43ab9d21409b87f1fed0a1f3bbe9da6061866a0bcc -eo pid,comm [Pipeline] { [Pipeline] sh 15:21:13 + go version 15:21:13 go version go1.18.7 linux/arm64 [Pipeline] } 15:21:13 $ docker stop --time=1 7c9e898f26845b472682af43ab9d21409b87f1fed0a1f3bbe9da6061866a0bcc 15:21:14 $ docker rm -f 7c9e898f26845b472682af43ab9d21409b87f1fed0a1f3bbe9da6061866a0bcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:21:15 + docker inspect -f . ci-base-image-arm64 15:21:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:21:15 prd-ubuntu20.04-docker-arm64-4c-16g-118425 does not seem to be running inside a container 15:21:15 $ 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/82 -v /w/workspace/device-onvif-camera/82:/w/workspace/device-onvif-camera/82:rw,z -v /w/workspace/device-onvif-camera/82@tmp:/w/workspace/device-onvif-camera/82@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 ******** ci-base-image-arm64 cat 15:21:17 $ docker top 63afd19e65f6050ea252f86ee74d1cfd5ddff28feafc37b6c0eccd3a14023842 -eo pid,comm [Pipeline] { [Pipeline] sh 15:21:18 + git config --global --add safe.directory /w/workspace/device-onvif-camera/82 [Pipeline] fileExists [Pipeline] sh 15:21:18 + make test 15:21:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:21:20 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:23:27 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:23:27 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.257s coverage: 29.3% of statements 15:23:27 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 15:23:45 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.964s coverage: 86.5% of statements 15:23:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:23:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:24:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:24:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:24:24 ./bin/test-attribution-txt.sh [Pipeline] echo 15:24:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:24:24 $ docker stop --time=1 63afd19e65f6050ea252f86ee74d1cfd5ddff28feafc37b6c0eccd3a14023842 15:24:26 $ docker rm -f 63afd19e65f6050ea252f86ee74d1cfd5ddff28feafc37b6c0eccd3a14023842 [Pipeline] // withDockerContainer [Pipeline] sh 15:24:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:24:27 Warning: overwriting stash ‘coverage-report’ 15:24:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:24:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:24:28 + ls -al . 15:24:28 total 244 15:24:28 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 15:21 . 15:24:28 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 15:18 .. 15:24:28 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 15:19 .git 15:24:28 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:19 .github 15:24:28 -rw-rw-r-- 1 jenkins jenkins 496 Nov 7 15:19 .gitignore 15:24:28 -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 15:19 .golangci.yml 15:24:28 -rw-rw-r-- 1 jenkins jenkins 9739 Nov 7 15:19 Attribution.txt 15:24:28 -rw-rw-r-- 1 jenkins jenkins 6312 Nov 7 15:19 CHANGELOG.md 15:24:28 -rw-rw-r-- 1 jenkins jenkins 1637 Nov 7 15:19 Dockerfile 15:24:28 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 15:19 GOVERNANCE.md 15:24:28 -rw-rw-r-- 1 jenkins jenkins 734 Nov 7 15:19 Jenkinsfile 15:24:28 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 7 15:19 LICENSE 15:24:28 -rw-rw-r-- 1 jenkins jenkins 2858 Nov 7 15:19 Makefile 15:24:28 -rw-rw-r-- 1 jenkins jenkins 625 Nov 7 15:19 OWNERS.md 15:24:28 -rw-rw-r-- 1 jenkins jenkins 6595 Nov 7 15:19 README.md 15:24:28 -rw-rw-r-- 1 jenkins jenkins 12 Nov 7 15:16 VERSION 15:24:28 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 15:19 bin 15:24:28 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 15:19 cmd 15:24:28 -rw-r--r-- 1 jenkins jenkins 79184 Nov 7 15:23 coverage.out 15:24:28 drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 15:19 doc 15:24:28 -rw-rw-r-- 1 jenkins jenkins 3729 Nov 7 15:19 go.mod 15:24:28 -rw-rw-r-- 1 jenkins jenkins 46189 Nov 7 15:19 go.sum 15:24:28 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 15:19 internal 15:24:28 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 15:19 snap 15:24:28 -rw-rw-r-- 1 jenkins jenkins 236 Nov 7 15:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:29 + 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=d07f413e0949b87f7783902c0ab6bfd56f004149 --label arch=arm64 --label version=2.3.0-dev.43 . 15:24:29 Sending build context to Docker daemon 20.55MB 15:24:29 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 15:24:29 Step 2/26 : FROM ${BASE} AS builder 15:24:29 ---> 3623b87f263e 15:24:29 Step 3/26 : ARG ADD_BUILD_TAGS="" 15:24:29 ---> Running in 368085e1a2e7 15:24:30 Removing intermediate container 368085e1a2e7 15:24:30 ---> 3a59de8072a2 15:24:30 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:24:30 ---> Running in 2e0c2c40f6ef 15:24:30 Removing intermediate container 2e0c2c40f6ef 15:24:30 ---> aac2c64cb1a1 15:24:30 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 15:24:30 ---> Running in e594c3f6d837 15:24:31 Removing intermediate container e594c3f6d837 15:24:31 ---> 4c7b686e1f2e 15:24:31 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 15:24:31 ---> Running in 8d59a3ca1c71 15:24:31 Removing intermediate container 8d59a3ca1c71 15:24:31 ---> 7af907703330 15:24:31 Step 7/26 : LABEL Name=edgex-device-onvif-camera 15:24:31 ---> Running in 935823907b99 15:24:31 Removing intermediate container 935823907b99 15:24:31 ---> f91874c8e44a 15:24:31 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:24:31 ---> Running in 6abaf6aeeeb0 15:24:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:24:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:24:34 OK: 221 MiB in 51 packages 15:24:35 Removing intermediate container 6abaf6aeeeb0 15:24:35 ---> c0c2f928cef1 15:24:35 Step 9/26 : WORKDIR /device-onvif-camera 15:24:35 ---> Running in 4eb8a2407cb0 15:24:35 Removing intermediate container 4eb8a2407cb0 15:24:35 ---> a5ee50005edb 15:24:35 Step 10/26 : COPY go.mod vendor* ./ 15:24:36 ---> 34b90e9385b9 15:24:36 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:24:36 ---> Running in eab416a0a4a8 15:24:39 Removing intermediate container eab416a0a4a8 15:24:39 ---> 6ece7a66845f 15:24:39 Step 12/26 : COPY . . 15:24:40 ---> 3ccaca0a9b8e 15:24:40 Step 13/26 : RUN ${MAKE} 15:24:40 ---> Running in f56626963927 15:24:41 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.43 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 15:27:33 Removing intermediate container f56626963927 15:27:33 ---> d2102e70c601 15:27:33 Step 14/26 : FROM alpine:3.16 15:27:33 3.16: Pulling from library/alpine 15:27:33 9b18e9b68314: Already exists 15:27:33 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 15:27:33 Status: Downloaded newer image for alpine:3.16 15:27:33 ---> a6215f271958 15:27:33 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:27:33 ---> Running in afaf57f91530 15:27:33 Removing intermediate container afaf57f91530 15:27:33 ---> e4189290c934 15:27:33 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 15:27:33 ---> Running in 9984462f460c 15:27:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:27:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:27:33 (1/6) Installing dumb-init (1.2.5-r1) 15:27:33 (2/6) Installing libgcc (11.2.1_git20220219-r2) 15:27:33 (3/6) Installing libsodium (1.0.18-r0) 15:27:33 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 15:27:33 (5/6) Installing libzmq (4.3.4-r0) 15:27:33 (6/6) Installing zeromq (4.3.4-r0) 15:27:33 Executing busybox-1.35.0-r17.trigger 15:27:33 OK: 8 MiB in 20 packages 15:27:33 Removing intermediate container 9984462f460c 15:27:33 ---> 829bb9e4b20c 15:27:33 Step 17/26 : WORKDIR / 15:27:33 ---> Running in 0934a4d8d425 15:27:33 Removing intermediate container 0934a4d8d425 15:27:33 ---> fc4277333269 15:27:33 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 15:27:33 ---> 5d229f67586f 15:27:33 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 15:27:33 ---> 69061574cb2a 15:27:33 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 15:27:34 ---> 4e96474e2e1c 15:27:34 Step 21/26 : EXPOSE 59984 15:27:34 ---> Running in e2757822887d 15:27:34 Removing intermediate container e2757822887d 15:27:34 ---> 5d9e58f5cea7 15:27:34 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 15:27:34 ---> Running in 8a1a84cd3ed2 15:27:34 Removing intermediate container 8a1a84cd3ed2 15:27:34 ---> e675f125596b 15:27:34 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:27:34 ---> Running in 405f8145fb9d 15:27:35 Removing intermediate container 405f8145fb9d 15:27:35 ---> 84cfe5c41df4 15:27:35 Step 24/26 : LABEL arch=arm64 15:27:35 ---> Running in 0c79458e4a32 15:27:35 Removing intermediate container 0c79458e4a32 15:27:35 ---> 1a2fb7cd8a3e 15:27:35 Step 25/26 : LABEL git_sha=d07f413e0949b87f7783902c0ab6bfd56f004149 15:27:35 ---> Running in 15f10683ff67 15:27:35 Removing intermediate container 15f10683ff67 15:27:35 ---> 508df2bb09d4 15:27:35 Step 26/26 : LABEL version=2.3.0-dev.43 15:27:35 ---> Running in 98fb2b804d3f 15:27:36 Removing intermediate container 98fb2b804d3f 15:27:36 ---> 10f4fe2a13ca 15:27:36 [Warning] One or more build-args [ARCH] were not consumed 15:27:36 Successfully built 10f4fe2a13ca 15:27:36 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:27:36 provisioning config files... 15:27:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/82@tmp/config17335515579177854986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:27:36 ---> docker-login.sh 15:27:36 nexus3.edgexfoundry.org:10001 15:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:37 Configure a credential helper to remove this warning. See 15:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:37 15:27:37 Login Succeeded 15:27:37 nexus3.edgexfoundry.org:10002 15:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:37 Configure a credential helper to remove this warning. See 15:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:37 15:27:37 Login Succeeded 15:27:37 nexus3.edgexfoundry.org:10003 15:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:37 Configure a credential helper to remove this warning. See 15:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:37 15:27:37 Login Succeeded 15:27:37 nexus3.edgexfoundry.org:10004 15:27:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:38 Configure a credential helper to remove this warning. See 15:27:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:38 15:27:38 Login Succeeded 15:27:38 docker.io 15:27:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:27:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:27:38 Configure a credential helper to remove this warning. See 15:27:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:27:38 15:27:38 Login Succeeded 15:27:38 ---> docker-login.sh ends [Pipeline] } 15:27:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:27:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:27:38 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 15:27:38 d07f413e0949b87f7783902c0ab6bfd56f004149 15:27:38 latest 15:27:38 2.3.0-dev.43 15:27:38 d07f413e0949b87f7783902c0ab6bfd56f004149-2.3.0-dev.43 15:27:38 main 15:27:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:39 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d07f413e0949b87f7783902c0ab6bfd56f004149 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d07f413e0949b87f7783902c0ab6bfd56f004149 15:27:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:27:39 27a9bf512431: Preparing 15:27:39 38a4e9b868d8: Preparing 15:27:39 dc2819aa0d43: Preparing 15:27:39 fa03ae87849f: Preparing 15:27:39 5d3e392a13a0: Preparing 15:27:40 5d3e392a13a0: Layer already exists 15:27:40 38a4e9b868d8: Pushed 15:27:40 27a9bf512431: Pushed 15:27:40 fa03ae87849f: Pushed 15:27:45 dc2819aa0d43: Pushed 15:27:45 d07f413e0949b87f7783902c0ab6bfd56f004149: digest: sha256:10e6df2e37280c50d46253a306cfb74413483c933b596fce88ee55c21056cb0b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:46 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:46 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 15:27:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:27:46 27a9bf512431: Preparing 15:27:46 38a4e9b868d8: Preparing 15:27:46 dc2819aa0d43: Preparing 15:27:46 fa03ae87849f: Preparing 15:27:46 5d3e392a13a0: Preparing 15:27:46 5d3e392a13a0: Layer already exists 15:27:46 fa03ae87849f: Layer already exists 15:27:46 dc2819aa0d43: Layer already exists 15:27:46 27a9bf512431: Layer already exists 15:27:46 38a4e9b868d8: Layer already exists 15:27:46 latest: digest: sha256:10e6df2e37280c50d46253a306cfb74413483c933b596fce88ee55c21056cb0b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:47 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.43 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:47 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.43 15:27:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:27:47 27a9bf512431: Preparing 15:27:47 38a4e9b868d8: Preparing 15:27:47 dc2819aa0d43: Preparing 15:27:47 fa03ae87849f: Preparing 15:27:47 5d3e392a13a0: Preparing 15:27:47 38a4e9b868d8: Layer already exists 15:27:47 dc2819aa0d43: Layer already exists 15:27:47 fa03ae87849f: Layer already exists 15:27:47 27a9bf512431: Layer already exists 15:27:47 5d3e392a13a0: Layer already exists 15:27:47 2.3.0-dev.43: digest: sha256:10e6df2e37280c50d46253a306cfb74413483c933b596fce88ee55c21056cb0b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:48 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d07f413e0949b87f7783902c0ab6bfd56f004149-2.3.0-dev.43 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:48 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d07f413e0949b87f7783902c0ab6bfd56f004149-2.3.0-dev.43 15:27:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:27:48 27a9bf512431: Preparing 15:27:48 38a4e9b868d8: Preparing 15:27:48 dc2819aa0d43: Preparing 15:27:48 fa03ae87849f: Preparing 15:27:48 5d3e392a13a0: Preparing 15:27:48 5d3e392a13a0: Layer already exists 15:27:48 27a9bf512431: Layer already exists 15:27:48 38a4e9b868d8: Layer already exists 15:27:48 fa03ae87849f: Layer already exists 15:27:48 dc2819aa0d43: Layer already exists 15:27:48 d07f413e0949b87f7783902c0ab6bfd56f004149-2.3.0-dev.43: digest: sha256:10e6df2e37280c50d46253a306cfb74413483c933b596fce88ee55c21056cb0b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:48 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:49 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 15:27:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 15:27:49 27a9bf512431: Preparing 15:27:49 38a4e9b868d8: Preparing 15:27:49 dc2819aa0d43: Preparing 15:27:49 fa03ae87849f: Preparing 15:27:49 5d3e392a13a0: Preparing 15:27:49 dc2819aa0d43: Layer already exists 15:27:49 38a4e9b868d8: Layer already exists 15:27:49 27a9bf512431: Layer already exists 15:27:49 fa03ae87849f: Layer already exists 15:27:49 5d3e392a13a0: Layer already exists 15:27:49 main: digest: sha256:10e6df2e37280c50d46253a306cfb74413483c933b596fce88ee55c21056cb0b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:27:49 ===================================================== [Pipeline] echo 15:27:49 taggedImages: 15:27:49 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d07f413e0949b87f7783902c0ab6bfd56f004149 15:27:49 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 15:27:49 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.43 15:27:49 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d07f413e0949b87f7783902c0ab6bfd56f004149-2.3.0-dev.43 15:27:49 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:27:49 15:27:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:27:50 arm64: Pulling from edgex-lftools-log-publisher 15:27:50 8998bd30e6a1: Pulling fs layer 15:27:50 04944245beec: Pulling fs layer 15:27:50 699f458cf7ca: Pulling fs layer 15:27:50 765212b225bb: Pulling fs layer 15:27:50 f23df028b6ca: Pulling fs layer 15:27:50 d65c8cfc05b1: Pulling fs layer 15:27:50 2437ff75d9bd: Pulling fs layer 15:27:50 f23df028b6ca: Waiting 15:27:50 d65c8cfc05b1: Waiting 15:27:50 2437ff75d9bd: Waiting 15:27:50 765212b225bb: Waiting 15:27:50 04944245beec: Verifying Checksum 15:27:50 04944245beec: Download complete 15:27:50 765212b225bb: Verifying Checksum 15:27:50 765212b225bb: Download complete 15:27:50 f23df028b6ca: Download complete 15:27:50 d65c8cfc05b1: Verifying Checksum 15:27:50 d65c8cfc05b1: Download complete 15:27:50 699f458cf7ca: Verifying Checksum 15:27:50 699f458cf7ca: Download complete 15:27:51 8998bd30e6a1: Verifying Checksum 15:27:51 8998bd30e6a1: Download complete 15:27:53 2437ff75d9bd: Download complete 15:27:55 8998bd30e6a1: Pull complete 15:27:55 04944245beec: Pull complete 15:27:56 699f458cf7ca: Pull complete 15:27:57 765212b225bb: Pull complete 15:27:57 f23df028b6ca: Pull complete 15:27:57 d65c8cfc05b1: Pull complete 15:28:10 2437ff75d9bd: Pull complete 15:28:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:28:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:28:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:28:10 prd-ubuntu20.04-docker-arm64-4c-16g-118425 does not seem to be running inside a container 15:28:10 $ 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/82 -v /w/workspace/device-onvif-camera/82:/w/workspace/device-onvif-camera/82:rw,z -v /w/workspace/device-onvif-camera/82@tmp:/w/workspace/device-onvif-camera/82@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:28:13 $ docker top a5675026e276fc9c4644ebf4ca8aaecc031432bf28adcf9b34179055e77a9460 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:28:14 ---> job-cost.sh 15:28:14 lf-activate-venv: SKIPPING 15:28:14 INFO: No Stack... 15:28:14 INFO: Retrieving Pricing Info for: v3-standard-4 15:28:15 INFO: Archiving Costs [Pipeline] sh 15:28:16 + + cut -d, -f6 15:28:16 cat /w/workspace/device-onvif-camera/82/archives/cost.csv [Pipeline] lock 15:28:16 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-82-stack-cost] 15:28:16 Resource [jenkins-edgexfoundry-device-onvif-camera-main-82-stack-cost] did not exist. Created. 15:28:16 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-82-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:28:17 /w/workspace/device-onvif-camera/82@tmp/durable-06ae9fea/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:28:17 + echo total: 0.10999999940395355 [Pipeline] stash 15:28:17 Warning: overwriting stash ‘stack-cost’ 15:28:17 Stashed 1 file(s) [Pipeline] } 15:28:17 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-82-stack-cost] [Pipeline] // lock [Pipeline] } 15:28:18 $ docker stop --time=1 a5675026e276fc9c4644ebf4ca8aaecc031432bf28adcf9b34179055e77a9460 15:28:19 $ docker rm -f a5675026e276fc9c4644ebf4ca8aaecc031432bf28adcf9b34179055e77a9460 [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 15:28:19 provisioning config files... 15:28:19 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3352337091535668823tmp [Pipeline] { [Pipeline] sh 15:28:20 + set +x 15:28:20 + curl -s https://codecov.io/bash 15:28:20 + bash -s -- 15:28:20 15:28:20 _____ _ 15:28:20 / ____| | | 15:28:20 | | ___ __| | ___ ___ _____ __ 15:28:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:28:20 | |___| (_) | (_| | __/ (_| (_) \ V / 15:28:20 \_____\___/ \__,_|\___|\___\___/ \_/ 15:28:20 Bash-1.0.6 15:28:20 15:28:20 15:28:20 ==> git version 2.25.1 found 15:28:20 ==> 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 15:28:20 Release-Date: 2020-01-08 15:28:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:28:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:28:20 ==> Jenkins CI detected. 15:28:20 current dir:  /w/workspace/foundry_device-onvif-camera_main 15:28:20 project root: . 15:28:20 --> token set from env 15:28:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:28:20 ==> Running gcov in . (disable via -X gcov) 15:28:20 ==> Python coveragepy not found 15:28:20 ==> Searching for coverage reports in: 15:28:20 + . 15:28:20 -> Found 1 reports 15:28:20 ==> Detecting git/mercurial file structure 15:28:20 ==> Reading reports 15:28:20 + ./coverage.out bytes=79184 15:28:20 ==> Appending adjustments 15:28:20 https://docs.codecov.io/docs/fixing-reports 15:28:20 + Found adjustments 15:28:20 ==> Gzipping contents 15:28:20 12K /tmp/codecov.U1q6TO.gz 15:28:20 ==> Uploading reports 15:28:20 url: https://codecov.io 15:28:20 query: branch=main&commit=d07f413e0949b87f7783902c0ab6bfd56f004149&build=82&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F82%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 15:28:20 -> Pinging Codecov 15:28:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=d07f413e0949b87f7783902c0ab6bfd56f004149&build=82&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F82%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 15:28:20 -> Uploading to 15:28:20 https://storage.googleapis.com/codecov/v4/raw/2022-11-07/F29A59C45E3A92E06B3E522C9905F8EF/d07f413e0949b87f7783902c0ab6bfd56f004149/bd846964-7e43-4588-afa2-2c688c2ea4d0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T152820Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3e65f0e198eca434b91dbebb731ff92bce39a67c1a442aa5cb52a80151e8af73 15:28:20 % Total % Received % Xferd Average Speed Time Time Time Current 15:28:20 Dload Upload Total Spent Left Speed 15:28:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10851 0 0 100 10851 0 45401 --:--:-- --:--:-- --:--:-- 45592 15:28:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/d07f413e0949b87f7783902c0ab6bfd56f004149 [Pipeline] } 15:28:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:28:21 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:28:21 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:28:21 15:28:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:28:21 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:28:21 df9b9388f04a: Pulling fs layer 15:28:21 52dc419b0ee2: Pulling fs layer 15:28:21 25bc292e5bac: Pulling fs layer 15:28:21 114826534d7a: Pulling fs layer 15:28:21 4657fd5d0bcf: Pulling fs layer 15:28:21 6ad1cebc031e: Pulling fs layer 15:28:21 8a3aa393b2d8: Pulling fs layer 15:28:21 4657fd5d0bcf: Waiting 15:28:21 6ad1cebc031e: Waiting 15:28:21 8a3aa393b2d8: Waiting 15:28:21 114826534d7a: Waiting 15:28:21 25bc292e5bac: Verifying Checksum 15:28:21 25bc292e5bac: Download complete 15:28:21 52dc419b0ee2: Download complete 15:28:21 df9b9388f04a: Download complete 15:28:21 df9b9388f04a: Pull complete 15:28:21 6ad1cebc031e: Verifying Checksum 15:28:21 6ad1cebc031e: Download complete 15:28:21 52dc419b0ee2: Pull complete 15:28:21 25bc292e5bac: Pull complete 15:28:22 114826534d7a: Verifying Checksum 15:28:22 114826534d7a: Download complete 15:28:22 8a3aa393b2d8: Verifying Checksum 15:28:22 8a3aa393b2d8: Download complete 15:28:26 114826534d7a: Pull complete 15:28:26 4657fd5d0bcf: Pull complete 15:28:26 6ad1cebc031e: Pull complete 15:28:28 8a3aa393b2d8: Pull complete 15:28:28 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:28:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:28:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:28:29 prd-ubuntu20.04-docker-8c-8g-118418 does not seem to be running inside a container 15:28:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:28:31 $ docker top bf2cd9ef36804fe2cb4946770aca8cc9bfdf4490f7bfd4c5bfdf5027d3212771 -eo pid,comm [Pipeline] { [Pipeline] echo 15:28:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 15:28:31 + set -o pipefail 15:28:31 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 15:28:36 15:28:36 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 15:28:36 15:28:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/9c6219e2-f77e-400e-83ec-4fb6b9fba2ee 15:28:36 15:28:36 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 15:28:36 15:28:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:28:36 15:28:36 15:28:36 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:28:36 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:28:36 More details here: https://snyk.co/ue1NS [Pipeline] } 15:28:36 $ docker stop --time=1 bf2cd9ef36804fe2cb4946770aca8cc9bfdf4490f7bfd4c5bfdf5027d3212771 15:28:39 $ docker rm -f bf2cd9ef36804fe2cb4946770aca8cc9bfdf4490f7bfd4c5bfdf5027d3212771 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 15:28:39 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:28:39 provisioning config files... 15:28:39 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11987210208568167303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:28:39 --> edgex-publish-swagger.sh 15:28:39 === Publish doc/openapi/v2 API === 15:28:39 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 15:28:39 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 15:28:39 % Total % Received % Xferd Average Speed Time Time Time Current 15:28:39 Dload Upload Total Spent Left Speed 15:28:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 549k --:--:-- --:--:-- --:--:-- 548k 100 469k 0 0 100 469k 0 549k --:--:-- --:--:-- --:--:-- 548k 15:28:40 15:28:40 [Pipeline] } 15:28:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:28:41 + git log --format=format:%s -1 d07f413e0949b87f7783902c0ab6bfd56f004149 [Pipeline] sh 15:28:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:28:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:28:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:28:41 prd-ubuntu20.04-docker-8c-8g-118418 does not seem to be running inside a container 15:28:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:28:42 $ docker top 83f646772cdfca00f6aabceeb0107edb4125f8de24c80154f5f7a20fabf1b57b -eo pid,comm 15:28:42 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). 15:28:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:28:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:28:42 [ssh-agent] Looking for ssh-agent implementation... 15:28:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:28:42 $ docker exec 83f646772cdfca00f6aabceeb0107edb4125f8de24c80154f5f7a20fabf1b57b ssh-agent 15:28:42 SSH_AUTH_SOCK=/tmp/ssh-mhLPtOSLwfpt/agent.31 15:28:42 SSH_AGENT_PID=37 15:28:42 Running ssh-add (command line suppressed) 15:28:42 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15164350117700670576.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15164350117700670576.key) 15:28:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:28:42 + git semver tag 15:28:43 2022-11-07 15:28:43,149 [run_tag] DEBUG tag force:False 15:28:43 2022-11-07 15:28:43,149 [check_head_tag] DEBUG check head tag 15:28:43 2022-11-07 15:28:43,150 [execute] INFO git cat-file --batch-check 15:28:43 2022-11-07 15:28:43,151 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 15:28:43 2022-11-07 15:28:43,154 [execute] INFO git cat-file --batch 15:28:43 2022-11-07 15:28:43,155 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 15:28:43 2022-11-07 15:28:43,179 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:28:43 2022-11-07 15:28:43,179 [execute] INFO git tag -a v2.3.0-dev.43 -m v2.3.0-dev.43 15:28:43 2022-11-07 15:28:43,179 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.43', '-m', 'v2.3.0-dev.43'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 15:28:43 2022-11-07 15:28:43,183 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:28:43 2.3.0-dev.43 [Pipeline] } 15:28:43 $ docker exec --env ******** --env ******** 83f646772cdfca00f6aabceeb0107edb4125f8de24c80154f5f7a20fabf1b57b ssh-agent -k 15:28:43 unset SSH_AUTH_SOCK; 15:28:43 unset SSH_AGENT_PID; 15:28:43 echo Agent pid 37 killed; 15:28:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:28:43 + git semver [Pipeline] } 15:28:44 $ docker stop --time=1 83f646772cdfca00f6aabceeb0107edb4125f8de24c80154f5f7a20fabf1b57b 15:28:45 $ docker rm -f 83f646772cdfca00f6aabceeb0107edb4125f8de24c80154f5f7a20fabf1b57b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:28:45 15:28:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:28:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:28:46 0.23.1-centos7: Pulling from edgex-lftools 15:28:46 ab5ef0e58194: Pulling fs layer 15:28:46 9712f1f96733: Pulling fs layer 15:28:46 63f879dbbcfc: Pulling fs layer 15:28:46 0d9ebad4ef96: Pulling fs layer 15:28:46 e9a5061849ea: Pulling fs layer 15:28:46 d747dcd14b5f: Pulling fs layer 15:28:46 2de7ff778b66: Pulling fs layer 15:28:46 e9a5061849ea: Waiting 15:28:46 d747dcd14b5f: Waiting 15:28:46 2de7ff778b66: Waiting 15:28:46 0d9ebad4ef96: Waiting 15:28:46 9712f1f96733: Download complete 15:28:46 63f879dbbcfc: Verifying Checksum 15:28:46 63f879dbbcfc: Download complete 15:28:46 ab5ef0e58194: Verifying Checksum 15:28:46 ab5ef0e58194: Download complete 15:28:46 d747dcd14b5f: Download complete 15:28:46 0d9ebad4ef96: Verifying Checksum 15:28:46 0d9ebad4ef96: Download complete 15:28:46 e9a5061849ea: Verifying Checksum 15:28:46 e9a5061849ea: Download complete 15:28:46 2de7ff778b66: Verifying Checksum 15:28:46 2de7ff778b66: Download complete 15:28:49 ab5ef0e58194: Pull complete 15:28:49 9712f1f96733: Pull complete 15:28:50 63f879dbbcfc: Pull complete 15:28:53 0d9ebad4ef96: Pull complete 15:28:53 e9a5061849ea: Pull complete 15:28:53 d747dcd14b5f: Pull complete 15:28:54 2de7ff778b66: Pull complete 15:28:54 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:28:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:28:54 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:28:54 prd-ubuntu20.04-docker-8c-8g-118418 does not seem to be running inside a container 15:28:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:28:56 $ docker top 7950ef4415ddbea1aefd3b5db857f4c1bafc889f5cfc449f218c682b3005070e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:28:57 provisioning config files... 15:28:57 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7682289248519691346tmp 15:28:57 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16763987958814246130tmp 15:28:57 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5917469799984536983tmp [Pipeline] { [Pipeline] echo 15:28:57 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:28:57 ---> sigul-configuration.sh 15:28:57 gpg: directory `/root/.gnupg' created 15:28:57 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:28:57 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:28:57 gpg: keyring `/root/.gnupg/secring.gpg' created 15:28:57 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:28:57 gpg: CAST5 encrypted data 15:28:57 gpg: encrypted with 1 passphrase 15:28:57 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:28:57 + mkdir /home/jenkins 15:28:57 + mkdir /home/jenkins/sigul [Pipeline] sh 15:28:57 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 15:28:57 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:28:58 ---> sigul-install.sh 15:28:58 Sigul already installed; skipping installation. [Pipeline] sh 15:28:58 + git tag --list 15:28:58 v0.0.0 15:28:58 v0.0.1-dev.1 15:28:58 v0.0.1-dev.10 15:28:58 v0.0.1-dev.11 15:28:58 v0.0.1-dev.12 15:28:58 v0.0.1-dev.13 15:28:58 v0.0.1-dev.14 15:28:58 v0.0.1-dev.15 15:28:58 v0.0.1-dev.16 15:28:58 v0.0.1-dev.17 15:28:58 v0.0.1-dev.18 15:28:58 v0.0.1-dev.19 15:28:58 v0.0.1-dev.2 15:28:58 v0.0.1-dev.20 15:28:58 v0.0.1-dev.21 15:28:58 v0.0.1-dev.22 15:28:58 v0.0.1-dev.23 15:28:58 v0.0.1-dev.24 15:28:58 v0.0.1-dev.25 15:28:58 v0.0.1-dev.26 15:28:58 v0.0.1-dev.27 15:28:58 v0.0.1-dev.28 15:28:58 v0.0.1-dev.3 15:28:58 v0.0.1-dev.4 15:28:58 v0.0.1-dev.5 15:28:58 v0.0.1-dev.6 15:28:58 v0.0.1-dev.7 15:28:58 v0.0.1-dev.8 15:28:58 v0.0.1-dev.9 15:28:58 v2.2.0 15:28:58 v2.2.0-dev.29 15:28:58 v2.2.0-dev.30 15:28:58 v2.2.0-dev.31 15:28:58 v2.2.0-dev.32 15:28:58 v2.2.0-dev.33 15:28:58 v2.2.0-dev.34 15:28:58 v2.2.0-dev.35 15:28:58 v2.3.0-dev.1 15:28:58 v2.3.0-dev.10 15:28:58 v2.3.0-dev.11 15:28:58 v2.3.0-dev.12 15:28:58 v2.3.0-dev.13 15:28:58 v2.3.0-dev.14 15:28:58 v2.3.0-dev.15 15:28:58 v2.3.0-dev.16 15:28:58 v2.3.0-dev.17 15:28:58 v2.3.0-dev.18 15:28:58 v2.3.0-dev.19 15:28:58 v2.3.0-dev.2 15:28:58 v2.3.0-dev.20 15:28:58 v2.3.0-dev.21 15:28:58 v2.3.0-dev.22 15:28:58 v2.3.0-dev.23 15:28:58 v2.3.0-dev.24 15:28:58 v2.3.0-dev.25 15:28:58 v2.3.0-dev.26 15:28:58 v2.3.0-dev.27 15:28:58 v2.3.0-dev.28 15:28:58 v2.3.0-dev.29 15:28:58 v2.3.0-dev.3 15:28:58 v2.3.0-dev.30 15:28:58 v2.3.0-dev.31 15:28:58 v2.3.0-dev.32 15:28:58 v2.3.0-dev.33 15:28:58 v2.3.0-dev.34 15:28:58 v2.3.0-dev.35 15:28:58 v2.3.0-dev.36 15:28:58 v2.3.0-dev.37 15:28:58 v2.3.0-dev.38 15:28:58 v2.3.0-dev.39 15:28:58 v2.3.0-dev.4 15:28:58 v2.3.0-dev.40 15:28:58 v2.3.0-dev.41 15:28:58 v2.3.0-dev.42 15:28:58 v2.3.0-dev.43 15:28:58 v2.3.0-dev.5 15:28:58 v2.3.0-dev.6 15:28:58 v2.3.0-dev.7 15:28:58 v2.3.0-dev.8 15:28:58 v2.3.0-dev.9 [Pipeline] sh 15:28:58 + lftools sign git-tag v2.3.0-dev.43 15:28:59 Signing Git tag with Sigul... 15:28:59 Signing v2.3.0-dev.43 [Pipeline] echo 15:29:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:29:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:29:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:29:00 $ docker stop --time=1 7950ef4415ddbea1aefd3b5db857f4c1bafc889f5cfc449f218c682b3005070e 15:29:01 $ docker rm -f 7950ef4415ddbea1aefd3b5db857f4c1bafc889f5cfc449f218c682b3005070e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:29:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:29:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:29:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:29:02 prd-ubuntu20.04-docker-8c-8g-118418 does not seem to be running inside a container 15:29:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:29:02 $ docker top f5d85a6bfd3210e3d83512ffabb3c399a08b8a413f73ed77bbb34a8c6285390d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:29:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:29:02 [ssh-agent] Looking for ssh-agent implementation... 15:29:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:29:03 $ docker exec f5d85a6bfd3210e3d83512ffabb3c399a08b8a413f73ed77bbb34a8c6285390d ssh-agent 15:29:03 SSH_AUTH_SOCK=/tmp/ssh-fhv51fkIezOd/agent.32 15:29:03 SSH_AGENT_PID=38 15:29:03 Running ssh-add (command line suppressed) 15:29:03 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10549157649895667440.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10549157649895667440.key) 15:29:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:29:03 + git semver bump pre 15:29:03 2022-11-07 15:29:03,658 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:29:03 2022-11-07 15:29:03,658 [bump_version] DEBUG bumping version:2.3.0-dev.43 on axis:pre with prefix:dev 15:29:03 2022-11-07 15:29:03,658 [bump_version] DEBUG bumped version:2.3.0-dev.44 15:29:03 2022-11-07 15:29:03,658 [write_version] DEBUG write version:2.3.0-dev.44 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 15:29:03 2022-11-07 15:29:03,658 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:29:03 2022-11-07 15:29:03,658 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 15:29:03 2022-11-07 15:29:03,660 [execute] INFO git cat-file --batch-check 15:29:03 2022-11-07 15:29:03,660 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:29:03 2022-11-07 15:29:03,665 [execute] INFO git cat-file --batch 15:29:03 2022-11-07 15:29:03,665 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:29:03 2022-11-07 15:29:03,668 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:29:03 2.3.0-dev.44 [Pipeline] } 15:29:03 $ docker exec --env ******** --env ******** f5d85a6bfd3210e3d83512ffabb3c399a08b8a413f73ed77bbb34a8c6285390d ssh-agent -k 15:29:03 unset SSH_AUTH_SOCK; 15:29:03 unset SSH_AGENT_PID; 15:29:03 echo Agent pid 38 killed; 15:29:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:29:04 + git semver [Pipeline] } 15:29:04 $ docker stop --time=1 f5d85a6bfd3210e3d83512ffabb3c399a08b8a413f73ed77bbb34a8c6285390d 15:29:05 $ docker rm -f f5d85a6bfd3210e3d83512ffabb3c399a08b8a413f73ed77bbb34a8c6285390d [Pipeline] // withDockerContainer [Pipeline] sh 15:29:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:29:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:29:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:29:06 prd-ubuntu20.04-docker-8c-8g-118418 does not seem to be running inside a container 15:29:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:29:06 $ docker top accd54acef56ef8d3c2dbf4f259c0e4d82d2dcbacb8398ad24ceaa00578f3ebf -eo pid,comm 15:29:06 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). 15:29:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:29:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:29:06 [ssh-agent] Looking for ssh-agent implementation... 15:29:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:29:07 $ docker exec accd54acef56ef8d3c2dbf4f259c0e4d82d2dcbacb8398ad24ceaa00578f3ebf ssh-agent 15:29:07 SSH_AUTH_SOCK=/tmp/ssh-i0ccKgmV1CJz/agent.32 15:29:07 SSH_AGENT_PID=38 15:29:07 Running ssh-add (command line suppressed) 15:29:07 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5362206547397491184.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5362206547397491184.key) 15:29:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:29:07 + git semver push 15:29:07 2022-11-07 15:29:07,804 [run_push] DEBUG push 15:29:07 2022-11-07 15:29:07,805 [execute] INFO git cat-file --batch-check 15:29:07 2022-11-07 15:29:07,805 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:29:07 2022-11-07 15:29:07,810 [execute] INFO git rev-list ab41d78c26ee585d1ca790becf4f09653f635264 -- 15:29:07 2022-11-07 15:29:07,810 [execute] DEBUG Popen(['git', 'rev-list', 'ab41d78c26ee585d1ca790becf4f09653f635264', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 15:29:07 2022-11-07 15:29:07,817 [execute] INFO git fetch -v origin 15:29:07 2022-11-07 15:29:07,817 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 15:29:08 2022-11-07 15:29:08,365 [run_push] DEBUG no remote changes detected 15:29:08 2022-11-07 15:29:08,365 [execute] INFO git push origin semver 15:29:08 2022-11-07 15:29:08,366 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 15:29:09 2022-11-07 15:29:09,218 [run_push] DEBUG push all version tags 15:29:09 2022-11-07 15:29:09,218 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:29:09 2022-11-07 15:29:09,219 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 15:29:10 2022-11-07 15:29:09,985 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 15:29:10 2.3.0-dev.44 [Pipeline] } 15:29:10 $ docker exec --env ******** --env ******** accd54acef56ef8d3c2dbf4f259c0e4d82d2dcbacb8398ad24ceaa00578f3ebf ssh-agent -k 15:29:10 unset SSH_AUTH_SOCK; 15:29:10 unset SSH_AGENT_PID; 15:29:10 echo Agent pid 38 killed; 15:29:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:29:10 + git semver [Pipeline] } 15:29:10 $ docker stop --time=1 accd54acef56ef8d3c2dbf4f259c0e4d82d2dcbacb8398ad24ceaa00578f3ebf 15:29:12 $ docker rm -f accd54acef56ef8d3c2dbf4f259c0e4d82d2dcbacb8398ad24ceaa00578f3ebf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 15:29:12 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 15:29:12 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 15:29:12 total 16 15:29:12 drwxr-xr-x 3 root root 4096 Nov 7 15:17 . 15:29:12 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 15:28 .. 15:29:12 drwxr-xr-x 2 root root 4096 Nov 7 15:17 cost 15:29:12 -rw-r--r-- 1 root root 90 Nov 7 15:17 cost.csv 15:29:12 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 15:29:12 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 15:29:12 total 16 15:29:12 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 15:17 . 15:29:12 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 15:28 .. 15:29:12 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 15:17 cost 15:29:12 -rw-r--r-- 1 jenkins jenkins 90 Nov 7 15:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:29:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:29:14 ---> package-listing.sh 15:29:14 ++ facter osfamily 15:29:14 ++ tr '[:upper:]' '[:lower:]' 15:29:14 + OS_FAMILY=debian 15:29:14 + workspace=/w/workspace/foundry_device-onvif-camera_main 15:29:14 + START_PACKAGES=/tmp/packages_start.txt 15:29:14 + END_PACKAGES=/tmp/packages_end.txt 15:29:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:29:14 + PACKAGES=/tmp/packages_start.txt 15:29:14 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 15:29:14 + PACKAGES=/tmp/packages_end.txt 15:29:14 + case "${OS_FAMILY}" in 15:29:14 + dpkg -l 15:29:14 + grep '^ii' 15:29:14 + '[' -f /tmp/packages_start.txt ']' 15:29:14 + '[' -f /tmp/packages_end.txt ']' 15:29:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:29:14 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 15:29:14 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 15:29:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 15:29:14 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:29:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:29:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:29:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:29:15 prd-ubuntu20.04-docker-8c-8g-118418 does not seem to be running inside a container 15:29:15 $ 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:29:15 $ docker top f983f088a494041c24bbe54aff3aa38c184a732ba42072fec86bf5bd205d59fb -eo pid,comm [Pipeline] { [Pipeline] sh 15:29:15 + touch /tmp/pre-build-complete [Pipeline] sh 15:29:16 + mkdir -p /var/log/sysstat [Pipeline] sh 15:29:16 + ls /var/log/sa-host 15:29:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:29:16 provisioning config files... 15:29:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3450115941770398821tmp [Pipeline] { [Pipeline] echo 15:29:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:29:16 ---> create-netrc.sh [Pipeline] } 15:29:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:29:17 ---> python-tools-install.sh [Pipeline] echo 15:29:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:29:17 ---> sudo-logs.sh 15:29:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:29:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:29:17 ---> job-cost.sh 15:29:17 lf-activate-venv: SKIPPING 15:29:17 DEBUG: total: 0.2199999988079071 15:29:17 INFO: Retrieving Stack Cost... 15:29:18 INFO: Retrieving Pricing Info for: v3-standard-8 15:29:18 INFO: Archiving Costs [Pipeline] echo 15:29:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:29:19 ---> logs-deploy.sh 15:29:19 lf-activate-venv: SKIPPING 15:29:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/82 15:29:19 INFO: archiving workspace using pattern(s): 15:29:19 Archives upload complete. 15:29:19 INFO: archiving logs to Nexus