Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c606ad227c7573c7ba828fdfaccb601fc033aacf 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-ssh8697939325976807110.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh12493813191016450318.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh16117603854755043416.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh2293371080094045220.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-ssh91292378743835813.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117320 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 c606ad227c7573c7ba828fdfaccb601fc033aacf (main) Commit message: "build: Latest go-mods, config and Dockerfile fix (#187)" > git config core.sparsecheckout # timeout=10 > git checkout -f c606ad227c7573c7ba828fdfaccb601fc033aacf # timeout=10 > git rev-list --no-walk 68a981fa1763c207823ac86b4113d2db4c49b852 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:40:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:40:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:40:22 ========================================================= 20:40:22 EdgeX Global Pipelines Version Info 20:40:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:40:23 ------------------- 20:40:23 stable info: 20:40:23 ------------------- 20:40:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:40:23 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:40:23 Message: update stable to v1.0.243 20:40:23 ------------------- 20:40:23 experimental info: 20:40:23 ------------------- 20:40:23 Commited By: **** collab-it+edgex@linuxfoundation.org 20:40:23 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:40:23 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:40:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c606ad227c7573c7ba828fdfaccb601fc033aacf [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c606ad2 [Pipeline] echo 20:40:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:40:24 provisioning config files... 20:40:24 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3122681684594719105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:24 ---> docker-login.sh 20:40:24 nexus3.edgexfoundry.org:10001 20:40:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:25 Configure a credential helper to remove this warning. See 20:40:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:25 20:40:25 Login Succeeded 20:40:25 nexus3.edgexfoundry.org:10002 20:40:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:25 Configure a credential helper to remove this warning. See 20:40:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:25 20:40:25 Login Succeeded 20:40:25 nexus3.edgexfoundry.org:10003 20:40:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:25 Configure a credential helper to remove this warning. See 20:40:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:25 20:40:25 Login Succeeded 20:40:25 nexus3.edgexfoundry.org:10004 20:40:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:25 Configure a credential helper to remove this warning. See 20:40:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:25 20:40:25 Login Succeeded 20:40:25 docker.io 20:40:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:25 Configure a credential helper to remove this warning. See 20:40:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:25 20:40:25 Login Succeeded 20:40:25 ---> docker-login.sh ends [Pipeline] } 20:40:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:40:26 + git rev-list -1 --merges c606ad227c7573c7ba828fdfaccb601fc033aacf~1..c606ad227c7573c7ba828fdfaccb601fc033aacf [Pipeline] echo 20:40:26 -----------> git rev-list -1 --merges c606ad227c7573c7ba828fdfaccb601fc033aacf~1..c606ad227c7573c7ba828fdfaccb601fc033aacf c606ad227c7573c7ba828fdfaccb601fc033aacf [false] [Pipeline] sh 20:40:26 + git log --format=format:%s -1 c606ad227c7573c7ba828fdfaccb601fc033aacf [Pipeline] echo 20:40:26 ========================================================= 20:40:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:40:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:40:26 + git log --format=format:%s -1 c606ad227c7573c7ba828fdfaccb601fc033aacf [Pipeline] echo 20:40:26 [semverPrep] GIT_COMMIT: c606ad227c7573c7ba828fdfaccb601fc033aacf, Commit Message: build: Latest go-mods, config and Dockerfile fix (#187) [Pipeline] echo 20:40:26 [semverPrep] This is not a build commit. [Pipeline] sh 20:40:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:40:27 + grep -v github /etc/ssh/ssh_known_hosts 20:40:27 + [ -e /tmp/ssh_known_hosts ] 20:40:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:40:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:40:27 + sudo tee -a /etc/ssh/ssh_known_hosts 20:40:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:40:27 20:40:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:40:27 0.1.4: Pulling from edgex-devops/py-git-semver 20:40:27 b85a868b505f: Pulling fs layer 20:40:27 e2be974225ed: Pulling fs layer 20:40:27 339a4e72a1f5: Pulling fs layer 20:40:27 988bab9f4d93: Pulling fs layer 20:40:27 1469e6f7b9e6: Pulling fs layer 20:40:27 eaf3925da568: Pulling fs layer 20:40:27 bab4dde63d76: Pulling fs layer 20:40:27 bde34c3a00c8: Pulling fs layer 20:40:27 b352a97aabf1: Pulling fs layer 20:40:27 4872d77fe225: Pulling fs layer 20:40:27 5851b861e8e6: Pulling fs layer 20:40:27 1469e6f7b9e6: Waiting 20:40:27 eaf3925da568: Waiting 20:40:27 988bab9f4d93: Waiting 20:40:27 b352a97aabf1: Waiting 20:40:27 bde34c3a00c8: Waiting 20:40:27 bab4dde63d76: Waiting 20:40:27 e2be974225ed: Download complete 20:40:27 988bab9f4d93: Download complete 20:40:28 1469e6f7b9e6: Verifying Checksum 20:40:28 1469e6f7b9e6: Download complete 20:40:28 339a4e72a1f5: Verifying Checksum 20:40:28 339a4e72a1f5: Download complete 20:40:28 eaf3925da568: Download complete 20:40:28 bde34c3a00c8: Verifying Checksum 20:40:28 bde34c3a00c8: Download complete 20:40:28 b352a97aabf1: Download complete 20:40:28 4872d77fe225: Verifying Checksum 20:40:28 4872d77fe225: Download complete 20:40:28 5851b861e8e6: Verifying Checksum 20:40:28 5851b861e8e6: Download complete 20:40:28 b85a868b505f: Verifying Checksum 20:40:28 b85a868b505f: Download complete 20:40:28 bab4dde63d76: Verifying Checksum 20:40:28 bab4dde63d76: Download complete 20:40:29 b85a868b505f: Pull complete 20:40:29 e2be974225ed: Pull complete 20:40:30 339a4e72a1f5: Pull complete 20:40:30 988bab9f4d93: Pull complete 20:40:30 1469e6f7b9e6: Pull complete 20:40:30 eaf3925da568: Pull complete 20:40:32 bab4dde63d76: Pull complete 20:40:32 bde34c3a00c8: Pull complete 20:40:32 b352a97aabf1: Pull complete 20:40:32 4872d77fe225: Pull complete 20:40:32 5851b861e8e6: Pull complete 20:40:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:40:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:40:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:32 prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container 20:40:33 $ 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 20:40:34 $ docker top 09c0e556f784a5295d2bd8e4e50ed2e96f8417e0091427a255acef38d594f079 -eo pid,comm 20:40:34 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). 20:40:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:40:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:40:34 [ssh-agent] Looking for ssh-agent implementation... 20:40:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:40:34 $ docker exec 09c0e556f784a5295d2bd8e4e50ed2e96f8417e0091427a255acef38d594f079 ssh-agent 20:40:34 SSH_AUTH_SOCK=/tmp/ssh-VGAOsEkOjkXR/agent.32 20:40:34 SSH_AGENT_PID=38 20:40:34 Running ssh-add (command line suppressed) 20:40:35 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8006287614177679577.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8006287614177679577.key) 20:40:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:40:35 + git tag --points-at HEAD [Pipeline] } 20:40:35 $ docker exec --env ******** --env ******** 09c0e556f784a5295d2bd8e4e50ed2e96f8417e0091427a255acef38d594f079 ssh-agent -k 20:40:35 unset SSH_AUTH_SOCK; 20:40:35 unset SSH_AGENT_PID; 20:40:35 echo Agent pid 38 killed; 20:40:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:40:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:40:35 [ssh-agent] Looking for ssh-agent implementation... 20:40:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:40:35 $ docker exec 09c0e556f784a5295d2bd8e4e50ed2e96f8417e0091427a255acef38d594f079 ssh-agent 20:40:35 SSH_AUTH_SOCK=/tmp/ssh-kk2HPfzhxask/agent.70 20:40:35 SSH_AGENT_PID=76 20:40:35 Running ssh-add (command line suppressed) 20:40:35 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9505425431563785358.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9505425431563785358.key) 20:40:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:40:36 + git semver init 20:40:36 2022-10-26 20:40:36,471 [run_init] DEBUG init version:0.0.0 force:False 20:40:36 2022-10-26 20:40:36,472 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 20:40:36 2022-10-26 20:40:36,472 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 20:40:36 2022-10-26 20:40:36,472 [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) 20:40:37 2022-10-26 20:40:37,546 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 20:40:37 2022-10-26 20:40:37,547 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 20:40:37 2022-10-26 20:40:37,547 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:40:37 2022-10-26 20:40:37,547 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:40:37 2.3.0-dev.39 [Pipeline] } 20:40:37 $ docker exec --env ******** --env ******** 09c0e556f784a5295d2bd8e4e50ed2e96f8417e0091427a255acef38d594f079 ssh-agent -k 20:40:38 unset SSH_AUTH_SOCK; 20:40:38 unset SSH_AGENT_PID; 20:40:38 echo Agent pid 76 killed; 20:40:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:40:38 + git semver [Pipeline] } 20:40:38 $ docker stop --time=1 09c0e556f784a5295d2bd8e4e50ed2e96f8417e0091427a255acef38d594f079 20:40:39 $ docker rm -f 09c0e556f784a5295d2bd8e4e50ed2e96f8417e0091427a255acef38d594f079 [Pipeline] // withDockerContainer [Pipeline] sh 20:40:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:40:40 Stashed 1 file(s) [Pipeline] echo 20:40:40 [edgeXSemver]: initialized semver on version 2.3.0-dev.39 [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 20:40:40 provisioning config files... 20:40:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4123627913222004255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:40 ---> docker-login.sh 20:40:40 nexus3.edgexfoundry.org:10001 20:40:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:40 Configure a credential helper to remove this warning. See 20:40:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:40 20:40:40 Login Succeeded 20:40:40 nexus3.edgexfoundry.org:10002 20:40:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:40 Configure a credential helper to remove this warning. See 20:40:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:40 20:40:40 Login Succeeded 20:40:40 nexus3.edgexfoundry.org:10003 20:40:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:41 Configure a credential helper to remove this warning. See 20:40:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:41 20:40:41 Login Succeeded 20:40:41 nexus3.edgexfoundry.org:10004 20:40:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:41 Configure a credential helper to remove this warning. See 20:40:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:41 20:40:41 Login Succeeded 20:40:41 docker.io 20:40:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:40:41 Configure a credential helper to remove this warning. See 20:40:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:40:41 20:40:41 Login Succeeded 20:40:41 ---> docker-login.sh ends [Pipeline] } 20:40:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:40:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:40:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:40:41 ========================================================= 20:40:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:40:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:42 + 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 . 20:40:42 Sending build context to Docker daemon 27.38MB 20:40:42 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:40:42 Step 2/13 : FROM ${BASE} AS builder 20:40:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:40:42 213ec9aee27d: Pulling fs layer 20:40:42 4583459ba037: Pulling fs layer 20:40:42 93c1e223e6f2: Pulling fs layer 20:40:42 53926ce57604: Pulling fs layer 20:40:42 21b2b0c7a3f4: Pulling fs layer 20:40:42 30f14e443154: Pulling fs layer 20:40:42 801331c1e519: Pulling fs layer 20:40:42 99cc6dd402b0: Pulling fs layer 20:40:42 7d9ed39f4882: Pulling fs layer 20:40:42 21b2b0c7a3f4: Waiting 20:40:42 30f14e443154: Waiting 20:40:42 801331c1e519: Waiting 20:40:42 99cc6dd402b0: Waiting 20:40:42 7d9ed39f4882: Waiting 20:40:42 53926ce57604: Waiting 20:40:42 93c1e223e6f2: Verifying Checksum 20:40:42 93c1e223e6f2: Download complete 20:40:42 4583459ba037: Verifying Checksum 20:40:42 4583459ba037: Download complete 20:40:42 21b2b0c7a3f4: Verifying Checksum 20:40:42 21b2b0c7a3f4: Download complete 20:40:42 30f14e443154: Verifying Checksum 20:40:42 30f14e443154: Download complete 20:40:42 213ec9aee27d: Verifying Checksum 20:40:42 213ec9aee27d: Download complete 20:40:42 801331c1e519: Verifying Checksum 20:40:42 801331c1e519: Download complete 20:40:42 213ec9aee27d: Pull complete 20:40:42 4583459ba037: Pull complete 20:40:42 7d9ed39f4882: Verifying Checksum 20:40:42 7d9ed39f4882: Download complete 20:40:42 93c1e223e6f2: Pull complete 20:40:43 99cc6dd402b0: Verifying Checksum 20:40:43 99cc6dd402b0: Download complete 20:40:43 53926ce57604: Verifying Checksum 20:40:43 53926ce57604: Download complete 20:40:47 53926ce57604: Pull complete 20:40:47 21b2b0c7a3f4: Pull complete 20:40:47 30f14e443154: Pull complete 20:40:47 801331c1e519: Pull complete 20:40:50 99cc6dd402b0: Pull complete 20:40:50 7d9ed39f4882: Pull complete 20:40:50 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:40:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:40:50 ---> 1dedd983c030 20:40:50 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:40:52 ---> Running in 912581258eab 20:40:52 Removing intermediate container 912581258eab 20:40:52 ---> 74349f5c9a4e 20:40:52 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:40:52 ---> Running in 6a4c5eb16135 20:40:52 Removing intermediate container 6a4c5eb16135 20:40:52 ---> 89f0246e09ed 20:40:52 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:40:52 ---> Running in e2df1858a4c8 20:40:53 Removing intermediate container e2df1858a4c8 20:40:53 ---> b348bbeabf20 20:40:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:40:53 ---> Running in 0fbb0a00f480 20:40:53 Removing intermediate container 0fbb0a00f480 20:40:53 ---> 3beadb7d2ce3 20:40:53 Step 7/13 : LABEL Name=edgex-device-onvif-camera 20:40:53 ---> Running in 783a969296f4 20:40:53 Removing intermediate container 783a969296f4 20:40:53 ---> 52bca419e495 20:40:53 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:40:53 ---> Running in 6b6c005a0cc7 20:40:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:40:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:40:53 OK: 211 MiB in 51 packages 20:40:54 Removing intermediate container 6b6c005a0cc7 20:40:54 ---> 138e32d731ec 20:40:54 Step 9/13 : WORKDIR /device-onvif-camera 20:40:54 ---> Running in b41ede04a75e 20:40:54 Removing intermediate container b41ede04a75e 20:40:54 ---> 0c78c538cbae 20:40:54 Step 10/13 : COPY go.mod vendor* ./ 20:40:54 ---> b02e2e099313 20:40:54 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:40:54 ---> Running in 818ce9861177 20:40:55 Still waiting to schedule task 20:40:55 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:41:12 Removing intermediate container 818ce9861177 20:41:12 ---> 9e959263df0c 20:41:12 Step 12/13 : COPY . . 20:41:13 ---> 332f33d02e16 20:41:13 Step 13/13 : RUN ${MAKE} 20:41:13 ---> Running in d644727f291c 20:41:13 noop 20:41:14 Removing intermediate container d644727f291c 20:41:14 ---> 8f1019a99904 20:41:14 Successfully built 8f1019a99904 20:41:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:14 + docker inspect -f . ci-base-image-x86_64 20:41:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:14 prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container 20:41:14 $ 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 20:41:14 $ docker top e9fa4534659812a2da7d6efa3ae071c8c5ca1bfb4a95cdb21a783958df9abebc -eo pid,comm [Pipeline] { [Pipeline] sh 20:41:15 + go version 20:41:15 go version go1.18.7 linux/amd64 [Pipeline] } 20:41:15 $ docker stop --time=1 e9fa4534659812a2da7d6efa3ae071c8c5ca1bfb4a95cdb21a783958df9abebc 20:41:16 $ docker rm -f e9fa4534659812a2da7d6efa3ae071c8c5ca1bfb4a95cdb21a783958df9abebc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:17 + docker inspect -f . ci-base-image-x86_64 20:41:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:17 prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container 20:41:17 $ 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 20:41:17 $ docker top 6eeb1918139db7d4b5179b52c343c00939c4ff1596499874cdca7a7a91c6e1ca -eo pid,comm [Pipeline] { [Pipeline] sh 20:41:17 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 20:41:18 + make test 20:41:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:41:18 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:41:30 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:41:30 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.036s coverage: 28.2% of statements 20:41:30 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:41:30 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.682s coverage: 86.5% of statements 20:41:40 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." 20:41:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:41:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:41:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:41:43 ./bin/test-attribution-txt.sh [Pipeline] echo 20:41:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:41:43 $ docker stop --time=1 6eeb1918139db7d4b5179b52c343c00939c4ff1596499874cdca7a7a91c6e1ca 20:41:45 $ docker rm -f 6eeb1918139db7d4b5179b52c343c00939c4ff1596499874cdca7a7a91c6e1ca [Pipeline] // withDockerContainer [Pipeline] sh 20:41:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:41:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:41:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:41:46 + ls -al . 20:41:46 total 244 20:41:46 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:41 . 20:41:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:40 .. 20:41:46 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:41 .git 20:41:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:40 .github 20:41:46 -rw-rw-r-- 1 jenkins jenkins 496 Oct 26 20:40 .gitignore 20:41:46 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 20:40 .golangci.yml 20:41:46 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:40 .semver 20:41:46 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 26 20:40 Attribution.txt 20:41:46 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 26 20:40 CHANGELOG.md 20:41:46 -rw-rw-r-- 1 jenkins jenkins 1637 Oct 26 20:40 Dockerfile 20:41:46 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:40 GOVERNANCE.md 20:41:46 -rw-rw-r-- 1 jenkins jenkins 734 Oct 26 20:40 Jenkinsfile 20:41:46 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 20:40 LICENSE 20:41:46 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 26 20:40 Makefile 20:41:46 -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 20:40 OWNERS.md 20:41:46 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 26 20:40 README.md 20:41:46 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 20:40 VERSION 20:41:46 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:40 bin 20:41:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:40 cmd 20:41:46 -rw-r--r-- 1 jenkins jenkins 78636 Oct 26 20:41 coverage.out 20:41:46 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 20:40 doc 20:41:46 -rw-rw-r-- 1 jenkins jenkins 3736 Oct 26 20:40 go.mod 20:41:46 -rw-rw-r-- 1 jenkins jenkins 46203 Oct 26 20:40 go.sum 20:41:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:40 internal 20:41:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:40 snap 20:41:46 -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 20:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:46 + 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=c606ad227c7573c7ba828fdfaccb601fc033aacf --label arch=amd64 --label version=2.3.0-dev.39 . 20:41:46 Sending build context to Docker daemon 27.46MB 20:41:46 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:41:46 Step 2/26 : FROM ${BASE} AS builder 20:41:46 ---> 8f1019a99904 20:41:46 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:41:47 ---> Running in b665a4a684dc 20:41:47 Removing intermediate container b665a4a684dc 20:41:47 ---> 733fdc6752e6 20:41:47 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:41:47 ---> Running in 1cf37618e7c4 20:41:47 Removing intermediate container 1cf37618e7c4 20:41:47 ---> 09e52664fbba 20:41:47 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:41:47 ---> Running in 5d5ea0195b1b 20:41:47 Removing intermediate container 5d5ea0195b1b 20:41:47 ---> 8efe59917381 20:41:47 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:41:47 ---> Running in 104a6c79fa39 20:41:47 Removing intermediate container 104a6c79fa39 20:41:47 ---> 50ff693d31f2 20:41:47 Step 7/26 : LABEL Name=edgex-device-onvif-camera 20:41:47 ---> Running in d41cfb5062ee 20:41:47 Removing intermediate container d41cfb5062ee 20:41:47 ---> 8a780c81f41a 20:41:47 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:41:47 ---> Running in 7c9171a2a2e1 20:41:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:41:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:41:48 OK: 211 MiB in 51 packages 20:41:48 Removing intermediate container 7c9171a2a2e1 20:41:48 ---> 4836c6687d68 20:41:48 Step 9/26 : WORKDIR /device-onvif-camera 20:41:48 ---> Running in 0832dfec2bf4 20:41:48 Removing intermediate container 0832dfec2bf4 20:41:48 ---> 5aa09c78fc66 20:41:48 Step 10/26 : COPY go.mod vendor* ./ 20:41:48 ---> e11a1dc88926 20:41:48 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:41:48 ---> Running in 16f5a165db2e 20:41:49 Removing intermediate container 16f5a165db2e 20:41:49 ---> f0a3f04b2b67 20:41:49 Step 12/26 : COPY . . 20:41:50 ---> 858a1cd3b740 20:41:50 Step 13/26 : RUN ${MAKE} 20:41:50 ---> Running in 4820d46e04bb 20:41:50 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.39 -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 20:42:12 Removing intermediate container 4820d46e04bb 20:42:12 ---> 4cf67d9d6695 20:42:12 Step 14/26 : FROM alpine:3.16 20:42:13 3.16: Pulling from library/alpine 20:42:13 213ec9aee27d: Already exists 20:42:13 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:42:13 Status: Downloaded newer image for alpine:3.16 20:42:13 ---> 9c6f07244728 20:42:13 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:42:13 ---> Running in 149b70d18cd2 20:42:13 Removing intermediate container 149b70d18cd2 20:42:13 ---> 82b6a8d3b3db 20:42:13 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:42:13 ---> Running in 0cc94ab7d339 20:42:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:42:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:42:14 (1/6) Installing dumb-init (1.2.5-r1) 20:42:14 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:42:14 (3/6) Installing libsodium (1.0.18-r0) 20:42:14 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:42:14 (5/6) Installing libzmq (4.3.4-r0) 20:42:14 (6/6) Installing zeromq (4.3.4-r0) 20:42:14 Executing busybox-1.35.0-r17.trigger 20:42:14 OK: 8 MiB in 20 packages 20:42:14 Removing intermediate container 0cc94ab7d339 20:42:14 ---> 68813a768291 20:42:14 Step 17/26 : WORKDIR / 20:42:14 ---> Running in d6ff23efe064 20:42:14 Removing intermediate container d6ff23efe064 20:42:14 ---> 375a18fb042c 20:42:14 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:42:15 ---> 9246a4164490 20:42:15 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:42:15 ---> 8db39a75dc25 20:42:15 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:42:15 ---> 5fe8091880ab 20:42:15 Step 21/26 : EXPOSE 59984 20:42:15 ---> Running in 28a6cc993cb9 20:42:15 Removing intermediate container 28a6cc993cb9 20:42:15 ---> 6066fbce64d3 20:42:15 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:42:15 ---> Running in 286fbbc87772 20:42:16 Removing intermediate container 286fbbc87772 20:42:16 ---> 5b57c29b0678 20:42:16 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:42:16 ---> Running in 78e0a6884a24 20:42:16 Removing intermediate container 78e0a6884a24 20:42:16 ---> 934a50a13211 20:42:16 Step 24/26 : LABEL arch=amd64 20:42:16 ---> Running in 53840370ce68 20:42:16 Removing intermediate container 53840370ce68 20:42:16 ---> a06fc8f23d90 20:42:16 Step 25/26 : LABEL git_sha=c606ad227c7573c7ba828fdfaccb601fc033aacf 20:42:16 ---> Running in 044961ddc7be 20:42:16 Removing intermediate container 044961ddc7be 20:42:16 ---> be1983bcbb51 20:42:16 Step 26/26 : LABEL version=2.3.0-dev.39 20:42:16 ---> Running in ee71fb388c74 20:42:16 Removing intermediate container ee71fb388c74 20:42:16 ---> ea5d118477ff 20:42:16 [Warning] One or more build-args [ARCH] were not consumed 20:42:16 Successfully built ea5d118477ff 20:42:16 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 20:42:16 provisioning config files... 20:42:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10526330381537568489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:17 ---> docker-login.sh 20:42:17 nexus3.edgexfoundry.org:10001 20:42:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:17 Configure a credential helper to remove this warning. See 20:42:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:17 20:42:17 Login Succeeded 20:42:17 nexus3.edgexfoundry.org:10002 20:42:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:17 Configure a credential helper to remove this warning. See 20:42:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:17 20:42:17 Login Succeeded 20:42:17 nexus3.edgexfoundry.org:10003 20:42:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:17 Configure a credential helper to remove this warning. See 20:42:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:17 20:42:17 Login Succeeded 20:42:17 nexus3.edgexfoundry.org:10004 20:42:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:17 Configure a credential helper to remove this warning. See 20:42:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:17 20:42:17 Login Succeeded 20:42:17 docker.io 20:42:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:42:17 Configure a credential helper to remove this warning. See 20:42:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:42:17 20:42:17 Login Succeeded 20:42:17 ---> docker-login.sh ends [Pipeline] } 20:42:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:42:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:42:17 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 20:42:17 c606ad227c7573c7ba828fdfaccb601fc033aacf 20:42:17 latest 20:42:17 2.3.0-dev.39 20:42:17 c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39 20:42:17 main 20:42:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:18 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:c606ad227c7573c7ba828fdfaccb601fc033aacf [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:18 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:c606ad227c7573c7ba828fdfaccb601fc033aacf 20:42:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 20:42:18 8b3f908152c2: Preparing 20:42:18 7a1274deb8ad: Preparing 20:42:18 2e4ca2e892ae: Preparing 20:42:18 5e8a1d03f29d: Preparing 20:42:18 994393dc58e7: Preparing 20:42:18 994393dc58e7: Layer already exists 20:42:18 7a1274deb8ad: Pushed 20:42:18 8b3f908152c2: Pushed 20:42:18 5e8a1d03f29d: Pushed 20:42:22 2e4ca2e892ae: Pushed 20:42:22 c606ad227c7573c7ba828fdfaccb601fc033aacf: digest: sha256:3c3d4011876946593a85a7fa92fc0c4f2b10e5e14b98b5ed1e4dc85e9738519d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:22 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:22 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 20:42:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 20:42:22 8b3f908152c2: Preparing 20:42:22 7a1274deb8ad: Preparing 20:42:22 2e4ca2e892ae: Preparing 20:42:22 5e8a1d03f29d: Preparing 20:42:22 994393dc58e7: Preparing 20:42:22 5e8a1d03f29d: Layer already exists 20:42:22 994393dc58e7: Layer already exists 20:42:22 2e4ca2e892ae: Layer already exists 20:42:22 7a1274deb8ad: Layer already exists 20:42:22 8b3f908152c2: Layer already exists 20:42:22 latest: digest: sha256:3c3d4011876946593a85a7fa92fc0c4f2b10e5e14b98b5ed1e4dc85e9738519d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:23 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.39 20:42:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 20:42:23 8b3f908152c2: Preparing 20:42:23 7a1274deb8ad: Preparing 20:42:23 2e4ca2e892ae: Preparing 20:42:23 5e8a1d03f29d: Preparing 20:42:23 994393dc58e7: Preparing 20:42:23 994393dc58e7: Layer already exists 20:42:23 8b3f908152c2: Layer already exists 20:42:23 7a1274deb8ad: Layer already exists 20:42:23 2e4ca2e892ae: Layer already exists 20:42:23 5e8a1d03f29d: Layer already exists 20:42:23 2.3.0-dev.39: digest: sha256:3c3d4011876946593a85a7fa92fc0c4f2b10e5e14b98b5ed1e4dc85e9738519d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:23 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39 20:42:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 20:42:23 8b3f908152c2: Preparing 20:42:23 7a1274deb8ad: Preparing 20:42:23 2e4ca2e892ae: Preparing 20:42:23 5e8a1d03f29d: Preparing 20:42:23 994393dc58e7: Preparing 20:42:23 2e4ca2e892ae: Layer already exists 20:42:23 994393dc58e7: Layer already exists 20:42:23 7a1274deb8ad: Layer already exists 20:42:23 8b3f908152c2: Layer already exists 20:42:23 5e8a1d03f29d: Layer already exists 20:42:23 c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39: digest: sha256:3c3d4011876946593a85a7fa92fc0c4f2b10e5e14b98b5ed1e4dc85e9738519d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:24 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:24 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 20:42:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 20:42:24 8b3f908152c2: Preparing 20:42:24 7a1274deb8ad: Preparing 20:42:24 2e4ca2e892ae: Preparing 20:42:24 5e8a1d03f29d: Preparing 20:42:24 994393dc58e7: Preparing 20:42:24 994393dc58e7: Layer already exists 20:42:24 8b3f908152c2: Layer already exists 20:42:24 5e8a1d03f29d: Layer already exists 20:42:24 2e4ca2e892ae: Layer already exists 20:42:24 7a1274deb8ad: Layer already exists 20:42:24 main: digest: sha256:3c3d4011876946593a85a7fa92fc0c4f2b10e5e14b98b5ed1e4dc85e9738519d size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:42:24 ===================================================== [Pipeline] echo 20:42:24 taggedImages: 20:42:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera:c606ad227c7573c7ba828fdfaccb601fc033aacf 20:42:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 20:42:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.39 20:42:24 - nexus3.edgexfoundry.org:10004/device-onvif-camera:c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39 20:42:24 - 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 20:42:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:25 20:42:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:25 latest: Pulling from edgex-lftools-log-publisher 20:42:25 5eb5b503b376: Pulling fs layer 20:42:25 5c69ac0246d0: Pulling fs layer 20:42:25 ec43610c2a17: Pulling fs layer 20:42:25 3a2ae6a8a46f: Pulling fs layer 20:42:25 33b1e0a273af: Pulling fs layer 20:42:25 5d3b04190fa2: Pulling fs layer 20:42:25 2f39f015ded8: Pulling fs layer 20:42:25 33b1e0a273af: Waiting 20:42:25 3a2ae6a8a46f: Waiting 20:42:25 2f39f015ded8: Waiting 20:42:25 5d3b04190fa2: Waiting 20:42:25 5c69ac0246d0: Download complete 20:42:25 3a2ae6a8a46f: Verifying Checksum 20:42:25 3a2ae6a8a46f: Download complete 20:42:25 33b1e0a273af: Verifying Checksum 20:42:25 33b1e0a273af: Download complete 20:42:25 5d3b04190fa2: Verifying Checksum 20:42:25 5d3b04190fa2: Download complete 20:42:25 ec43610c2a17: Download complete 20:42:25 5eb5b503b376: Verifying Checksum 20:42:25 5eb5b503b376: Download complete 20:42:26 2f39f015ded8: Download complete 20:42:26 5eb5b503b376: Pull complete 20:42:27 5c69ac0246d0: Pull complete 20:42:27 ec43610c2a17: Pull complete 20:42:27 3a2ae6a8a46f: Pull complete 20:42:27 33b1e0a273af: Pull complete 20:42:27 5d3b04190fa2: Pull complete 20:42:33 2f39f015ded8: Pull complete 20:42:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:42:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:33 prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container 20:42:33 $ 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 20:42:35 $ docker top 9807b95a4e1702b8f6421329a9fdb766d42796d973fe95a9430b33acaa595a51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:35 ---> job-cost.sh 20:42:35 lf-activate-venv: SKIPPING 20:42:35 INFO: No Stack... 20:42:35 INFO: Retrieving Pricing Info for: v3-standard-8 20:42:36 INFO: Archiving Costs [Pipeline] sh 20:42:36 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 20:42:36 + cut -d, -f6 [Pipeline] lock 20:42:36 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-78-stack-cost] 20:42:36 Resource [jenkins-edgexfoundry-device-onvif-camera-main-78-stack-cost] did not exist. Created. 20:42:36 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:42:36 + echo total: 0.2199999988079071 [Pipeline] stash 20:42:36 Stashed 1 file(s) [Pipeline] } 20:42:36 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-78-stack-cost] [Pipeline] // lock [Pipeline] } 20:42:36 $ docker stop --time=1 9807b95a4e1702b8f6421329a9fdb766d42796d973fe95a9430b33acaa595a51 20:42:38 $ docker rm -f 9807b95a4e1702b8f6421329a9fdb766d42796d973fe95a9430b33acaa595a51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:43:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117326 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 20:43:44 Running in /w/workspace/device-onvif-camera/78 [Pipeline] { [Pipeline] checkout 20:43:44 The recommended git tool is: git 20:43:51 using credential edgex-jenkins-ssh 20:43:51 Cloning the remote Git repository 20:43:51 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 20:43:52 > git init /w/workspace/device-onvif-camera/78 # timeout=10 20:43:52 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 20:43:52 > git --version # timeout=10 20:43:52 > git --version # 'git version 2.25.1' 20:43:52 using GIT_SSH to set credentials SSH Credentials for GitHub 20:43:52 Verifying host key using known hosts file 20:43:52 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. 20:43:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:43:54 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 20:43:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:43:55 Avoid second fetch 20:43:55 Checking out Revision c606ad227c7573c7ba828fdfaccb601fc033aacf (main) 20:43:56 Commit message: "build: Latest go-mods, config and Dockerfile fix (#187)" [Pipeline] withEnv [Pipeline] { 20:43:55 > git config core.sparsecheckout # timeout=10 20:43:55 > git checkout -f c606ad227c7573c7ba828fdfaccb601fc033aacf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:43:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:43:57 % Total % Received % Xferd Average Speed Time Time Time Current 20:43:57 Dload Upload Total Spent Left Speed 20:43:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 83456 0 --:--:-- --:--:-- --:--:-- 83456 [Pipeline] sh 20:43:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:43:58 + sudo tee /etc/docker/daemon.new 20:43:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:43:58 { 20:43:58 "registry-mirrors": [ 20:43:58 "https://nexus3.edgexfoundry.org:10001" 20:43:58 ], 20:43:58 "bip": "10.250.0.254/24", 20:43:58 "hosts": [ 20:43:58 "tcp://0.0.0.0:5555", 20:43:58 "unix:///var/run/docker.sock" 20:43:58 ], 20:43:58 "mtu": 1458, 20:43:58 "selinux-enabled": true, 20:43:58 "seccomp-profile": "/etc/docker/seccomp.json" 20:43:58 } [Pipeline] sh 20:43:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:43:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:44:17 provisioning config files... 20:44:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/78@tmp/config5017621382789908716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:44:17 ---> docker-login.sh 20:44:17 nexus3.edgexfoundry.org:10001 20:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:18 Configure a credential helper to remove this warning. See 20:44:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:18 20:44:18 Login Succeeded 20:44:18 nexus3.edgexfoundry.org:10002 20:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:19 Configure a credential helper to remove this warning. See 20:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:19 20:44:19 Login Succeeded 20:44:19 nexus3.edgexfoundry.org:10003 20:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:19 Configure a credential helper to remove this warning. See 20:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:19 20:44:19 Login Succeeded 20:44:19 nexus3.edgexfoundry.org:10004 20:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:19 Configure a credential helper to remove this warning. See 20:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:19 20:44:19 Login Succeeded 20:44:19 docker.io 20:44:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:20 Configure a credential helper to remove this warning. See 20:44:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:20 20:44:20 Login Succeeded 20:44:20 ---> docker-login.sh ends [Pipeline] } 20:44:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:44:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:44:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:44:20 ========================================================= 20:44:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:44:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:21 + 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 . 20:44:21 Sending build context to Docker daemon 20.33MB 20:44:21 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:44:21 Step 2/13 : FROM ${BASE} AS builder 20:44:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:44:21 9b18e9b68314: Pulling fs layer 20:44:21 d32db5db7311: Pulling fs layer 20:44:21 d0c4b47475fc: Pulling fs layer 20:44:21 5831b945b038: Pulling fs layer 20:44:21 86bbec2aaacd: Pulling fs layer 20:44:21 e10730c5d714: Pulling fs layer 20:44:21 5dd5c2283517: Pulling fs layer 20:44:21 d5ac0230b979: Pulling fs layer 20:44:21 86bbec2aaacd: Waiting 20:44:21 e10730c5d714: Waiting 20:44:21 5dd5c2283517: Waiting 20:44:21 d5ac0230b979: Waiting 20:44:21 5831b945b038: Waiting 20:44:21 d0c4b47475fc: Verifying Checksum 20:44:21 d0c4b47475fc: Download complete 20:44:21 d32db5db7311: Verifying Checksum 20:44:21 d32db5db7311: Download complete 20:44:21 86bbec2aaacd: Verifying Checksum 20:44:21 86bbec2aaacd: Download complete 20:44:21 9b18e9b68314: Verifying Checksum 20:44:21 9b18e9b68314: Download complete 20:44:21 e10730c5d714: Verifying Checksum 20:44:21 e10730c5d714: Download complete 20:44:22 9b18e9b68314: Pull complete 20:44:23 d5ac0230b979: Verifying Checksum 20:44:23 d5ac0230b979: Download complete 20:44:23 d32db5db7311: Pull complete 20:44:24 d0c4b47475fc: Pull complete 20:44:24 5dd5c2283517: Verifying Checksum 20:44:24 5dd5c2283517: Download complete 20:44:25 5831b945b038: Verifying Checksum 20:44:25 5831b945b038: Download complete 20:44:37 5831b945b038: Pull complete 20:44:37 86bbec2aaacd: Pull complete 20:44:38 e10730c5d714: Pull complete 20:44:44 5dd5c2283517: Pull complete 20:44:45 d5ac0230b979: Pull complete 20:44:45 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:44:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:44:45 ---> 59b3b1a385d4 20:44:45 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:44:48 ---> Running in f0ead4b91937 20:44:48 Removing intermediate container f0ead4b91937 20:44:48 ---> f18384945b8c 20:44:48 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:44:48 ---> Running in e33c8169e2b0 20:44:49 Removing intermediate container e33c8169e2b0 20:44:49 ---> 3e928d3ff631 20:44:49 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:44:49 ---> Running in 0344f09b1846 20:44:49 Removing intermediate container 0344f09b1846 20:44:49 ---> 861073150870 20:44:49 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:44:49 ---> Running in 72d7cf89c4ee 20:44:50 Removing intermediate container 72d7cf89c4ee 20:44:50 ---> a319ea7ef20d 20:44:50 Step 7/13 : LABEL Name=edgex-device-onvif-camera 20:44:50 ---> Running in bf0f7238a067 20:44:50 Removing intermediate container bf0f7238a067 20:44:50 ---> 82f962941dc7 20:44:50 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:44:50 ---> Running in f4dec1ff91e8 20:44:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:44:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:44:53 OK: 221 MiB in 51 packages 20:44:54 Removing intermediate container f4dec1ff91e8 20:44:54 ---> 037f8dec3d3e 20:44:54 Step 9/13 : WORKDIR /device-onvif-camera 20:44:54 ---> Running in 01ca2b38287c 20:44:54 Removing intermediate container 01ca2b38287c 20:44:54 ---> 8bcde3ce09c9 20:44:54 Step 10/13 : COPY go.mod vendor* ./ 20:44:55 ---> 6c6c2eeb6b8e 20:44:55 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:44:55 ---> Running in 00ad93903265 20:46:03 Removing intermediate container 00ad93903265 20:46:03 ---> 136870c798d9 20:46:03 Step 12/13 : COPY . . 20:46:03 ---> d6a24d39dfea 20:46:03 Step 13/13 : RUN ${MAKE} 20:46:03 ---> Running in 78e805918906 20:46:03 noop 20:46:03 Removing intermediate container 78e805918906 20:46:03 ---> 8dc33d0199e4 20:46:03 Successfully built 8dc33d0199e4 20:46:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:03 + docker inspect -f . ci-base-image-arm64 20:46:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:04 prd-ubuntu20.04-docker-arm64-4c-16g-117326 does not seem to be running inside a container 20:46:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/78 -v /w/workspace/device-onvif-camera/78:/w/workspace/device-onvif-camera/78:rw,z -v /w/workspace/device-onvif-camera/78@tmp:/w/workspace/device-onvif-camera/78@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 20:46:05 $ docker top df7fd0897cd207445da483e4a345a78a81dea19f2f94f8a6b41e58a8e505e9a6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:06 + go version 20:46:06 go version go1.18.7 linux/arm64 [Pipeline] } 20:46:06 $ docker stop --time=1 df7fd0897cd207445da483e4a345a78a81dea19f2f94f8a6b41e58a8e505e9a6 20:46:08 $ docker rm -f df7fd0897cd207445da483e4a345a78a81dea19f2f94f8a6b41e58a8e505e9a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:08 + docker inspect -f . ci-base-image-arm64 20:46:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:08 prd-ubuntu20.04-docker-arm64-4c-16g-117326 does not seem to be running inside a container 20:46:09 $ 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/78 -v /w/workspace/device-onvif-camera/78:/w/workspace/device-onvif-camera/78:rw,z -v /w/workspace/device-onvif-camera/78@tmp:/w/workspace/device-onvif-camera/78@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 20:46:10 $ docker top 87f7363b4c0ce4d56d0b5996d4dd7471395348de6951eaeb25473104dd23fe0b -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:11 + git config --global --add safe.directory /w/workspace/device-onvif-camera/78 [Pipeline] fileExists [Pipeline] sh 20:46:11 + make test 20:46:11 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:46:13 ? github.com/edgexfoundry/device-onvif-camera [no test files] 20:48:05 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 20:48:05 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.226s coverage: 28.2% of statements 20:48:05 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 20:48:17 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 20.680s coverage: 86.5% of statements 20:48:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:48:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:48:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:48:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:48:56 ./bin/test-attribution-txt.sh [Pipeline] echo 20:48:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:48:56 $ docker stop --time=1 87f7363b4c0ce4d56d0b5996d4dd7471395348de6951eaeb25473104dd23fe0b 20:48:58 $ docker rm -f 87f7363b4c0ce4d56d0b5996d4dd7471395348de6951eaeb25473104dd23fe0b [Pipeline] // withDockerContainer [Pipeline] sh 20:49:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:49:00 Warning: overwriting stash ‘coverage-report’ 20:49:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:49:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:49:01 + ls -al . 20:49:01 total 240 20:49:01 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:46 . 20:49:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:43 .. 20:49:01 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:43 .git 20:49:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:43 .github 20:49:01 -rw-rw-r-- 1 jenkins jenkins 496 Oct 26 20:43 .gitignore 20:49:01 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 20:43 .golangci.yml 20:49:01 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 26 20:43 Attribution.txt 20:49:01 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 26 20:43 CHANGELOG.md 20:49:01 -rw-rw-r-- 1 jenkins jenkins 1637 Oct 26 20:43 Dockerfile 20:49:01 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:43 GOVERNANCE.md 20:49:01 -rw-rw-r-- 1 jenkins jenkins 734 Oct 26 20:43 Jenkinsfile 20:49:01 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 20:43 LICENSE 20:49:01 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 26 20:43 Makefile 20:49:01 -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 20:43 OWNERS.md 20:49:01 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 26 20:43 README.md 20:49:01 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 20:40 VERSION 20:49:01 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:43 bin 20:49:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:43 cmd 20:49:01 -rw-r--r-- 1 jenkins jenkins 78636 Oct 26 20:48 coverage.out 20:49:01 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 20:43 doc 20:49:01 -rw-rw-r-- 1 jenkins jenkins 3736 Oct 26 20:43 go.mod 20:49:01 -rw-rw-r-- 1 jenkins jenkins 46203 Oct 26 20:43 go.sum 20:49:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:43 internal 20:49:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:43 snap 20:49:01 -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 20:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:01 + 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=c606ad227c7573c7ba828fdfaccb601fc033aacf --label arch=arm64 --label version=2.3.0-dev.39 . 20:49:02 Sending build context to Docker daemon 20.41MB 20:49:02 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:49:02 Step 2/26 : FROM ${BASE} AS builder 20:49:02 ---> 8dc33d0199e4 20:49:02 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:49:02 ---> Running in b0870ca781bb 20:49:02 Removing intermediate container b0870ca781bb 20:49:02 ---> 447844ea66fb 20:49:02 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:49:02 ---> Running in ee535a855935 20:49:03 Removing intermediate container ee535a855935 20:49:03 ---> 5c75bb93305c 20:49:03 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 20:49:03 ---> Running in ca7960a5c735 20:49:03 Removing intermediate container ca7960a5c735 20:49:03 ---> d5db8b208c19 20:49:03 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:49:03 ---> Running in e8441ece8f94 20:49:04 Removing intermediate container e8441ece8f94 20:49:04 ---> f9813b8fed98 20:49:04 Step 7/26 : LABEL Name=edgex-device-onvif-camera 20:49:04 ---> Running in 7df9bf9b1f15 20:49:04 Removing intermediate container 7df9bf9b1f15 20:49:04 ---> 7dca3bf4fdcc 20:49:04 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:49:04 ---> Running in 741841e292b3 20:49:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:49:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:49:06 OK: 221 MiB in 51 packages 20:49:07 Removing intermediate container 741841e292b3 20:49:07 ---> b0f9e0f378c3 20:49:07 Step 9/26 : WORKDIR /device-onvif-camera 20:49:08 ---> Running in 55a0c2805df8 20:49:08 Removing intermediate container 55a0c2805df8 20:49:08 ---> 3608563ef7f5 20:49:08 Step 10/26 : COPY go.mod vendor* ./ 20:49:09 ---> 744b9fde0d74 20:49:09 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:49:09 ---> Running in a5d72f49fa3d 20:49:11 Removing intermediate container a5d72f49fa3d 20:49:11 ---> 8486b4df53ed 20:49:11 Step 12/26 : COPY . . 20:49:13 ---> 24d4ded399f0 20:49:13 Step 13/26 : RUN ${MAKE} 20:49:13 ---> Running in aa2c4872ce70 20:49:14 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.39 -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 20:52:06 Removing intermediate container aa2c4872ce70 20:52:06 ---> 26c5283efcdf 20:52:06 Step 14/26 : FROM alpine:3.16 20:52:06 3.16: Pulling from library/alpine 20:52:06 9b18e9b68314: Already exists 20:52:06 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:52:06 Status: Downloaded newer image for alpine:3.16 20:52:06 ---> a6215f271958 20:52:06 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:52:06 ---> Running in bb9c1df25b45 20:52:06 Removing intermediate container bb9c1df25b45 20:52:06 ---> 76d08fe4132b 20:52:06 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:52:06 ---> Running in 4dd254887acf 20:52:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:52:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:52:06 (1/6) Installing dumb-init (1.2.5-r1) 20:52:06 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:52:06 (3/6) Installing libsodium (1.0.18-r0) 20:52:06 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:52:06 (5/6) Installing libzmq (4.3.4-r0) 20:52:06 (6/6) Installing zeromq (4.3.4-r0) 20:52:06 Executing busybox-1.35.0-r17.trigger 20:52:06 OK: 8 MiB in 20 packages 20:52:06 Removing intermediate container 4dd254887acf 20:52:06 ---> 5f2ef215441f 20:52:06 Step 17/26 : WORKDIR / 20:52:06 ---> Running in cfb2b95ff7f8 20:52:06 Removing intermediate container cfb2b95ff7f8 20:52:06 ---> 53051e96fd59 20:52:06 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 20:52:07 ---> 76a4d531ff3e 20:52:07 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 20:52:08 ---> 5aaa5b95dc02 20:52:08 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 20:52:08 ---> 38ea563119ea 20:52:08 Step 21/26 : EXPOSE 59984 20:52:09 ---> Running in ba443d4a2e97 20:52:09 Removing intermediate container ba443d4a2e97 20:52:09 ---> cefe5916d8a0 20:52:09 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 20:52:09 ---> Running in 08580e166369 20:52:10 Removing intermediate container 08580e166369 20:52:10 ---> 40aa7c20dbc7 20:52:10 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:52:10 ---> Running in 499edca193b5 20:52:10 Removing intermediate container 499edca193b5 20:52:10 ---> 494a97cc9257 20:52:10 Step 24/26 : LABEL arch=arm64 20:52:10 ---> Running in 6b26b9a8e0d9 20:52:10 Removing intermediate container 6b26b9a8e0d9 20:52:10 ---> a08040c7bd70 20:52:10 Step 25/26 : LABEL git_sha=c606ad227c7573c7ba828fdfaccb601fc033aacf 20:52:10 ---> Running in 33c7a0ed8902 20:52:11 Removing intermediate container 33c7a0ed8902 20:52:11 ---> 64a1a8f869df 20:52:11 Step 26/26 : LABEL version=2.3.0-dev.39 20:52:11 ---> Running in 9d6ce67bfdc9 20:52:11 Removing intermediate container 9d6ce67bfdc9 20:52:11 ---> 49a02ecf2ce8 20:52:11 [Warning] One or more build-args [ARCH] were not consumed 20:52:11 Successfully built 49a02ecf2ce8 20:52:11 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 20:52:11 provisioning config files... 20:52:11 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/78@tmp/config11325233824768966617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:12 ---> docker-login.sh 20:52:12 nexus3.edgexfoundry.org:10001 20:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:12 Configure a credential helper to remove this warning. See 20:52:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:12 20:52:12 Login Succeeded 20:52:12 nexus3.edgexfoundry.org:10002 20:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:13 Configure a credential helper to remove this warning. See 20:52:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:13 20:52:13 Login Succeeded 20:52:13 nexus3.edgexfoundry.org:10003 20:52:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:13 Configure a credential helper to remove this warning. See 20:52:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:13 20:52:13 Login Succeeded 20:52:13 nexus3.edgexfoundry.org:10004 20:52:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:13 Configure a credential helper to remove this warning. See 20:52:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:13 20:52:13 Login Succeeded 20:52:13 docker.io 20:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:14 Configure a credential helper to remove this warning. See 20:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:14 20:52:14 Login Succeeded 20:52:14 ---> docker-login.sh ends [Pipeline] } 20:52:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:52:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:52:14 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 20:52:14 c606ad227c7573c7ba828fdfaccb601fc033aacf 20:52:14 latest 20:52:14 2.3.0-dev.39 20:52:14 c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39 20:52:14 main 20:52:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:15 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c606ad227c7573c7ba828fdfaccb601fc033aacf [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c606ad227c7573c7ba828fdfaccb601fc033aacf 20:52:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 20:52:15 9b86470114eb: Preparing 20:52:15 46ee872f3400: Preparing 20:52:15 406b890fd9c1: Preparing 20:52:15 eb750c0b0aa8: Preparing 20:52:15 5d3e392a13a0: Preparing 20:52:15 5d3e392a13a0: Layer already exists 20:52:15 9b86470114eb: Pushed 20:52:15 46ee872f3400: Pushed 20:52:16 eb750c0b0aa8: Pushed 20:52:22 406b890fd9c1: Pushed 20:52:22 c606ad227c7573c7ba828fdfaccb601fc033aacf: digest: sha256:e46680409269abdfdabac8ff2a75df4412d09ed3a4307f96039e1f797c4a2396 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:23 + 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 20:52:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 20:52:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 20:52:23 9b86470114eb: Preparing 20:52:23 46ee872f3400: Preparing 20:52:23 406b890fd9c1: Preparing 20:52:23 eb750c0b0aa8: Preparing 20:52:23 5d3e392a13a0: Preparing 20:52:23 9b86470114eb: Layer already exists 20:52:23 5d3e392a13a0: Layer already exists 20:52:23 46ee872f3400: Layer already exists 20:52:23 eb750c0b0aa8: Layer already exists 20:52:23 406b890fd9c1: Layer already exists 20:52:23 latest: digest: sha256:e46680409269abdfdabac8ff2a75df4412d09ed3a4307f96039e1f797c4a2396 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:23 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:24 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.39 20:52:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 20:52:24 9b86470114eb: Preparing 20:52:24 46ee872f3400: Preparing 20:52:24 406b890fd9c1: Preparing 20:52:24 eb750c0b0aa8: Preparing 20:52:24 5d3e392a13a0: Preparing 20:52:24 46ee872f3400: Layer already exists 20:52:24 9b86470114eb: Layer already exists 20:52:24 5d3e392a13a0: Layer already exists 20:52:24 eb750c0b0aa8: Layer already exists 20:52:24 406b890fd9c1: Layer already exists 20:52:24 2.3.0-dev.39: digest: sha256:e46680409269abdfdabac8ff2a75df4412d09ed3a4307f96039e1f797c4a2396 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:24 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:25 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39 20:52:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 20:52:25 9b86470114eb: Preparing 20:52:25 46ee872f3400: Preparing 20:52:25 406b890fd9c1: Preparing 20:52:25 eb750c0b0aa8: Preparing 20:52:25 5d3e392a13a0: Preparing 20:52:25 46ee872f3400: Layer already exists 20:52:25 406b890fd9c1: Layer already exists 20:52:25 5d3e392a13a0: Layer already exists 20:52:25 9b86470114eb: Layer already exists 20:52:25 eb750c0b0aa8: Layer already exists 20:52:25 c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39: digest: sha256:e46680409269abdfdabac8ff2a75df4412d09ed3a4307f96039e1f797c4a2396 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:25 + 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 20:52:26 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 20:52:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 20:52:26 9b86470114eb: Preparing 20:52:26 46ee872f3400: Preparing 20:52:26 406b890fd9c1: Preparing 20:52:26 eb750c0b0aa8: Preparing 20:52:26 5d3e392a13a0: Preparing 20:52:26 5d3e392a13a0: Layer already exists 20:52:26 46ee872f3400: Layer already exists 20:52:26 406b890fd9c1: Layer already exists 20:52:26 9b86470114eb: Layer already exists 20:52:26 eb750c0b0aa8: Layer already exists 20:52:26 main: digest: sha256:e46680409269abdfdabac8ff2a75df4412d09ed3a4307f96039e1f797c4a2396 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:52:26 ===================================================== [Pipeline] echo 20:52:26 taggedImages: 20:52:26 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c606ad227c7573c7ba828fdfaccb601fc033aacf 20:52:26 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 20:52:26 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.39 20:52:26 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c606ad227c7573c7ba828fdfaccb601fc033aacf-2.3.0-dev.39 20:52:26 - 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 20:52:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:27 20:52:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:27 arm64: Pulling from edgex-lftools-log-publisher 20:52:27 8998bd30e6a1: Pulling fs layer 20:52:27 04944245beec: Pulling fs layer 20:52:27 699f458cf7ca: Pulling fs layer 20:52:27 765212b225bb: Pulling fs layer 20:52:27 f23df028b6ca: Pulling fs layer 20:52:27 d65c8cfc05b1: Pulling fs layer 20:52:27 2437ff75d9bd: Pulling fs layer 20:52:27 f23df028b6ca: Waiting 20:52:27 2437ff75d9bd: Waiting 20:52:27 d65c8cfc05b1: Waiting 20:52:27 765212b225bb: Waiting 20:52:27 04944245beec: Verifying Checksum 20:52:27 04944245beec: Download complete 20:52:27 765212b225bb: Verifying Checksum 20:52:27 765212b225bb: Download complete 20:52:27 f23df028b6ca: Download complete 20:52:27 d65c8cfc05b1: Verifying Checksum 20:52:27 d65c8cfc05b1: Download complete 20:52:27 699f458cf7ca: Verifying Checksum 20:52:27 699f458cf7ca: Download complete 20:52:28 8998bd30e6a1: Verifying Checksum 20:52:28 8998bd30e6a1: Download complete 20:52:31 2437ff75d9bd: Verifying Checksum 20:52:31 2437ff75d9bd: Download complete 20:52:32 8998bd30e6a1: Pull complete 20:52:33 04944245beec: Pull complete 20:52:34 699f458cf7ca: Pull complete 20:52:34 765212b225bb: Pull complete 20:52:35 f23df028b6ca: Pull complete 20:52:35 d65c8cfc05b1: Pull complete 20:52:50 2437ff75d9bd: Pull complete 20:52:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:52:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:52:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:50 prd-ubuntu20.04-docker-arm64-4c-16g-117326 does not seem to be running inside a container 20:52:50 $ 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/78 -v /w/workspace/device-onvif-camera/78:/w/workspace/device-onvif-camera/78:rw,z -v /w/workspace/device-onvif-camera/78@tmp:/w/workspace/device-onvif-camera/78@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 20:52:54 $ docker top d49171007207706efad2d5dad6a8438cd6eb9edb71f4e9e3d58a523c4b0cb8bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:54 ---> job-cost.sh 20:52:54 lf-activate-venv: SKIPPING 20:52:54 INFO: No Stack... 20:52:55 INFO: Retrieving Pricing Info for: v3-standard-4 20:52:56 INFO: Archiving Costs [Pipeline] sh 20:52:56 + cat /w/workspace/device-onvif-camera/78/archives/cost.csv 20:52:56 + cut -d, -f6 [Pipeline] lock 20:52:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-78-stack-cost] 20:52:56 Resource [jenkins-edgexfoundry-device-onvif-camera-main-78-stack-cost] did not exist. Created. 20:52:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:52:57 /w/workspace/device-onvif-camera/78@tmp/durable-09fbf472/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:52:58 + echo total: 0.10999999940395355 [Pipeline] stash 20:52:58 Warning: overwriting stash ‘stack-cost’ 20:52:58 Stashed 1 file(s) [Pipeline] } 20:52:58 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-78-stack-cost] [Pipeline] // lock [Pipeline] } 20:52:58 $ docker stop --time=1 d49171007207706efad2d5dad6a8438cd6eb9edb71f4e9e3d58a523c4b0cb8bb 20:52:59 $ docker rm -f d49171007207706efad2d5dad6a8438cd6eb9edb71f4e9e3d58a523c4b0cb8bb [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 20:53:00 provisioning config files... 20:53:00 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6328970945746874912tmp [Pipeline] { [Pipeline] sh 20:53:00 + set +x 20:53:00 + curl -s https://codecov.io/bash 20:53:00 + bash -s -- 20:53:00 20:53:00 _____ _ 20:53:00 / ____| | | 20:53:00 | | ___ __| | ___ ___ _____ __ 20:53:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:53:00 | |___| (_) | (_| | __/ (_| (_) \ V / 20:53:00 \_____\___/ \__,_|\___|\___\___/ \_/ 20:53:00 Bash-1.0.6 20:53:00 20:53:00 20:53:00 ==> git version 2.25.1 found 20:53:00 ==> 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 20:53:00 Release-Date: 2020-01-08 20:53:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:53:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:53:00 ==> Jenkins CI detected. 20:53:00 current dir:  /w/workspace/foundry_device-onvif-camera_main 20:53:00 project root: . 20:53:00 --> token set from env 20:53:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:53:00 ==> Running gcov in . (disable via -X gcov) 20:53:00 ==> Python coveragepy not found 20:53:00 ==> Searching for coverage reports in: 20:53:00 + . 20:53:00 -> Found 1 reports 20:53:00 ==> Detecting git/mercurial file structure 20:53:00 ==> Reading reports 20:53:00 + ./coverage.out bytes=78636 20:53:00 ==> Appending adjustments 20:53:00 https://docs.codecov.io/docs/fixing-reports 20:53:00 + Found adjustments 20:53:00 ==> Gzipping contents 20:53:00 12K /tmp/codecov.MVNKMy.gz 20:53:00 ==> Uploading reports 20:53:00 url: https://codecov.io 20:53:00 query: branch=main&commit=c606ad227c7573c7ba828fdfaccb601fc033aacf&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 20:53:00 -> Pinging Codecov 20:53:00 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=c606ad227c7573c7ba828fdfaccb601fc033aacf&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 20:53:01 -> Uploading to 20:53:01 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/F29A59C45E3A92E06B3E522C9905F8EF/c606ad227c7573c7ba828fdfaccb601fc033aacf/22f8e451-3d04-4209-acd7-4d1b6a99c580.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T205300Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1988c50e694c575a278235963ca31a78348bfb320d62ade4a5a9a501c75bd758 20:53:01 % Total % Received % Xferd Average Speed Time Time Time Current 20:53:01 Dload Upload Total Spent Left Speed 20:53:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10802 0 0 100 10802 0 45965 --:--:-- --:--:-- --:--:-- 45965 20:53:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c606ad227c7573c7ba828fdfaccb601fc033aacf [Pipeline] } 20:53:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:53:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:53:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:53:01 20:53:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:53:02 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:53:02 df9b9388f04a: Pulling fs layer 20:53:02 52dc419b0ee2: Pulling fs layer 20:53:02 25bc292e5bac: Pulling fs layer 20:53:02 114826534d7a: Pulling fs layer 20:53:02 4657fd5d0bcf: Pulling fs layer 20:53:02 6ad1cebc031e: Pulling fs layer 20:53:02 8a3aa393b2d8: Pulling fs layer 20:53:02 114826534d7a: Waiting 20:53:02 4657fd5d0bcf: Waiting 20:53:02 6ad1cebc031e: Waiting 20:53:02 8a3aa393b2d8: Waiting 20:53:02 25bc292e5bac: Download complete 20:53:02 52dc419b0ee2: Verifying Checksum 20:53:02 52dc419b0ee2: Download complete 20:53:02 4657fd5d0bcf: Verifying Checksum 20:53:02 4657fd5d0bcf: Download complete 20:53:02 df9b9388f04a: Verifying Checksum 20:53:02 df9b9388f04a: Pull complete 20:53:02 6ad1cebc031e: Verifying Checksum 20:53:02 6ad1cebc031e: Download complete 20:53:02 52dc419b0ee2: Pull complete 20:53:02 25bc292e5bac: Pull complete 20:53:03 8a3aa393b2d8: Verifying Checksum 20:53:03 8a3aa393b2d8: Download complete 20:53:04 114826534d7a: Download complete 20:53:07 114826534d7a: Pull complete 20:53:07 4657fd5d0bcf: Pull complete 20:53:07 6ad1cebc031e: Pull complete 20:53:09 8a3aa393b2d8: Pull complete 20:53:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:53:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:53:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:10 prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container 20:53:10 $ 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 20:53:12 $ docker top a14b85ffeaeccbe9ccf11b283a1b5d1d07635655696f94701140dd4293f52b13 -eo pid,comm [Pipeline] { [Pipeline] echo 20:53:12 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 20:53:12 + set -o pipefail 20:53:12 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 20:53:18 20:53:18 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 20:53:18 20:53:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/2357cc72-8a9c-4394-b3f1-5694267bab45 20:53:18 20:53:18 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 20:53:18 20:53:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:53:18 20:53:18 20:53:18 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:53:18 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:53:18 More details here: https://snyk.co/ue1NS [Pipeline] } 20:53:18 $ docker stop --time=1 a14b85ffeaeccbe9ccf11b283a1b5d1d07635655696f94701140dd4293f52b13 20:53:20 $ docker rm -f a14b85ffeaeccbe9ccf11b283a1b5d1d07635655696f94701140dd4293f52b13 [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 20:53:21 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:21 provisioning config files... 20:53:21 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16400015288498270209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:21 --> edgex-publish-swagger.sh 20:53:21 === Publish doc/openapi/v2 API === 20:53:21 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 20:53:21 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 20:53:21 % Total % Received % Xferd Average Speed Time Time Time Current 20:53:21 Dload Upload Total Spent Left Speed 20:53:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 414k 0 0 100 414k 0 450k --:--:-- --:--:-- --:--:-- 449k 100 414k 0 0 100 414k 0 450k --:--:-- --:--:-- --:--:-- 449k 20:53:22 20:53:22 [Pipeline] } 20:53:22 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 20:53:22 + git log --format=format:%s -1 c606ad227c7573c7ba828fdfaccb601fc033aacf [Pipeline] sh 20:53:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:53:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:23 prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container 20:53:23 $ 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 20:53:23 $ docker top 9580a60bf6e0375f5ebb18a2ed5681707f0b4505c666ebb6f1a5407c3e4f6628 -eo pid,comm 20:53:23 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). 20:53:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:53:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:23 [ssh-agent] Looking for ssh-agent implementation... 20:53:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:23 $ docker exec 9580a60bf6e0375f5ebb18a2ed5681707f0b4505c666ebb6f1a5407c3e4f6628 ssh-agent 20:53:24 SSH_AUTH_SOCK=/tmp/ssh-3tMDQLpTYYet/agent.33 20:53:24 SSH_AGENT_PID=39 20:53:24 Running ssh-add (command line suppressed) 20:53:24 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3746656220378693361.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3746656220378693361.key) 20:53:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:24 + git semver tag 20:53:24 2022-10-26 20:53:24,672 [run_tag] DEBUG tag force:False 20:53:24 2022-10-26 20:53:24,672 [check_head_tag] DEBUG check head tag 20:53:24 2022-10-26 20:53:24,674 [execute] INFO git cat-file --batch-check 20:53:24 2022-10-26 20:53:24,674 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 20:53:24 2022-10-26 20:53:24,677 [execute] INFO git cat-file --batch 20:53:24 2022-10-26 20:53:24,678 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 20:53:24 2022-10-26 20:53:24,700 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:53:24 2022-10-26 20:53:24,700 [execute] INFO git tag -a v2.3.0-dev.39 -m v2.3.0-dev.39 20:53:24 2022-10-26 20:53:24,700 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.39', '-m', 'v2.3.0-dev.39'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 20:53:24 2022-10-26 20:53:24,704 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:53:24 2.3.0-dev.39 [Pipeline] } 20:53:24 $ docker exec --env ******** --env ******** 9580a60bf6e0375f5ebb18a2ed5681707f0b4505c666ebb6f1a5407c3e4f6628 ssh-agent -k 20:53:24 unset SSH_AUTH_SOCK; 20:53:24 unset SSH_AGENT_PID; 20:53:24 echo Agent pid 39 killed; 20:53:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:25 + git semver [Pipeline] } 20:53:25 $ docker stop --time=1 9580a60bf6e0375f5ebb18a2ed5681707f0b4505c666ebb6f1a5407c3e4f6628 20:53:26 $ docker rm -f 9580a60bf6e0375f5ebb18a2ed5681707f0b4505c666ebb6f1a5407c3e4f6628 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:53:27 20:53:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:53:27 0.23.1-centos7: Pulling from edgex-lftools 20:53:27 ab5ef0e58194: Pulling fs layer 20:53:27 9712f1f96733: Pulling fs layer 20:53:27 63f879dbbcfc: Pulling fs layer 20:53:27 0d9ebad4ef96: Pulling fs layer 20:53:27 e9a5061849ea: Pulling fs layer 20:53:27 d747dcd14b5f: Pulling fs layer 20:53:27 2de7ff778b66: Pulling fs layer 20:53:27 0d9ebad4ef96: Waiting 20:53:27 e9a5061849ea: Waiting 20:53:27 d747dcd14b5f: Waiting 20:53:27 2de7ff778b66: Waiting 20:53:27 9712f1f96733: Verifying Checksum 20:53:27 9712f1f96733: Download complete 20:53:28 63f879dbbcfc: Verifying Checksum 20:53:28 63f879dbbcfc: Download complete 20:53:28 e9a5061849ea: Verifying Checksum 20:53:28 e9a5061849ea: Download complete 20:53:28 d747dcd14b5f: Verifying Checksum 20:53:28 d747dcd14b5f: Download complete 20:53:28 0d9ebad4ef96: Verifying Checksum 20:53:28 0d9ebad4ef96: Download complete 20:53:28 2de7ff778b66: Download complete 20:53:28 ab5ef0e58194: Verifying Checksum 20:53:28 ab5ef0e58194: Download complete 20:53:30 ab5ef0e58194: Pull complete 20:53:31 9712f1f96733: Pull complete 20:53:31 63f879dbbcfc: Pull complete 20:53:34 0d9ebad4ef96: Pull complete 20:53:35 e9a5061849ea: Pull complete 20:53:35 d747dcd14b5f: Pull complete 20:53:36 2de7ff778b66: Pull complete 20:53:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:53:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:53:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:36 prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container 20:53: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:53:38 $ docker top 269c2b24bd35d6dd82eda8c2943cb36d01cfac8a921e2c2063578ea56c56fd64 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:53:38 provisioning config files... 20:53:38 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17952854909087791659tmp 20:53:38 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7928309095969132767tmp 20:53:38 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11797668331784627945tmp [Pipeline] { [Pipeline] echo 20:53:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:53:39 ---> sigul-configuration.sh 20:53:39 gpg: directory `/root/.gnupg' created 20:53:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:53:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:53:39 gpg: keyring `/root/.gnupg/secring.gpg' created 20:53:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:53:39 gpg: CAST5 encrypted data 20:53:39 gpg: encrypted with 1 passphrase 20:53:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:53:39 + mkdir /home/jenkins 20:53:39 + mkdir /home/jenkins/sigul [Pipeline] sh 20:53:39 + 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 20:53:39 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:53:39 ---> sigul-install.sh 20:53:39 Sigul already installed; skipping installation. [Pipeline] sh 20:53:40 + git tag --list 20:53:40 v0.0.0 20:53:40 v0.0.1-dev.1 20:53:40 v0.0.1-dev.10 20:53:40 v0.0.1-dev.11 20:53:40 v0.0.1-dev.12 20:53:40 v0.0.1-dev.13 20:53:40 v0.0.1-dev.14 20:53:40 v0.0.1-dev.15 20:53:40 v0.0.1-dev.16 20:53:40 v0.0.1-dev.17 20:53:40 v0.0.1-dev.18 20:53:40 v0.0.1-dev.19 20:53:40 v0.0.1-dev.2 20:53:40 v0.0.1-dev.20 20:53:40 v0.0.1-dev.21 20:53:40 v0.0.1-dev.22 20:53:40 v0.0.1-dev.23 20:53:40 v0.0.1-dev.24 20:53:40 v0.0.1-dev.25 20:53:40 v0.0.1-dev.26 20:53:40 v0.0.1-dev.27 20:53:40 v0.0.1-dev.28 20:53:40 v0.0.1-dev.3 20:53:40 v0.0.1-dev.4 20:53:40 v0.0.1-dev.5 20:53:40 v0.0.1-dev.6 20:53:40 v0.0.1-dev.7 20:53:40 v0.0.1-dev.8 20:53:40 v0.0.1-dev.9 20:53:40 v2.2.0 20:53:40 v2.2.0-dev.29 20:53:40 v2.2.0-dev.30 20:53:40 v2.2.0-dev.31 20:53:40 v2.2.0-dev.32 20:53:40 v2.2.0-dev.33 20:53:40 v2.2.0-dev.34 20:53:40 v2.2.0-dev.35 20:53:40 v2.3.0-dev.1 20:53:40 v2.3.0-dev.10 20:53:40 v2.3.0-dev.11 20:53:40 v2.3.0-dev.12 20:53:40 v2.3.0-dev.13 20:53:40 v2.3.0-dev.14 20:53:40 v2.3.0-dev.15 20:53:40 v2.3.0-dev.16 20:53:40 v2.3.0-dev.17 20:53:40 v2.3.0-dev.18 20:53:40 v2.3.0-dev.19 20:53:40 v2.3.0-dev.2 20:53:40 v2.3.0-dev.20 20:53:40 v2.3.0-dev.21 20:53:40 v2.3.0-dev.22 20:53:40 v2.3.0-dev.23 20:53:40 v2.3.0-dev.24 20:53:40 v2.3.0-dev.25 20:53:40 v2.3.0-dev.26 20:53:40 v2.3.0-dev.27 20:53:40 v2.3.0-dev.28 20:53:40 v2.3.0-dev.29 20:53:40 v2.3.0-dev.3 20:53:40 v2.3.0-dev.30 20:53:40 v2.3.0-dev.31 20:53:40 v2.3.0-dev.32 20:53:40 v2.3.0-dev.33 20:53:40 v2.3.0-dev.34 20:53:40 v2.3.0-dev.35 20:53:40 v2.3.0-dev.36 20:53:40 v2.3.0-dev.37 20:53:40 v2.3.0-dev.38 20:53:40 v2.3.0-dev.39 20:53:40 v2.3.0-dev.4 20:53:40 v2.3.0-dev.5 20:53:40 v2.3.0-dev.6 20:53:40 v2.3.0-dev.7 20:53:40 v2.3.0-dev.8 20:53:40 v2.3.0-dev.9 [Pipeline] sh 20:53:40 + lftools sign git-tag v2.3.0-dev.39 20:53:40 Signing Git tag with Sigul... 20:53:40 Signing v2.3.0-dev.39 [Pipeline] echo 20:53:41 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:53:41 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:53:41 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:53:41 $ docker stop --time=1 269c2b24bd35d6dd82eda8c2943cb36d01cfac8a921e2c2063578ea56c56fd64 20:53:42 $ docker rm -f 269c2b24bd35d6dd82eda8c2943cb36d01cfac8a921e2c2063578ea56c56fd64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:53:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:53:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:43 prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container 20:53:43 $ 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 20:53:43 $ docker top fb8d2e4ec24b9a7a030d440b1b211c0068472b39f6ea12bb7ad30f03b0f7c967 -eo pid,comm 20:53:44 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). 20:53:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:53:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:44 [ssh-agent] Looking for ssh-agent implementation... 20:53:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:44 $ docker exec fb8d2e4ec24b9a7a030d440b1b211c0068472b39f6ea12bb7ad30f03b0f7c967 ssh-agent 20:53:44 SSH_AUTH_SOCK=/tmp/ssh-dLaGXZyAL7FU/agent.32 20:53:44 SSH_AGENT_PID=39 20:53:44 Running ssh-add (command line suppressed) 20:53:44 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2810489754188374791.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2810489754188374791.key) 20:53:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:44 + git semver bump pre 20:53:44 2022-10-26 20:53:44,807 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:53:44 2022-10-26 20:53:44,807 [bump_version] DEBUG bumping version:2.3.0-dev.39 on axis:pre with prefix:dev 20:53:44 2022-10-26 20:53:44,808 [bump_version] DEBUG bumped version:2.3.0-dev.40 20:53:44 2022-10-26 20:53:44,808 [write_version] DEBUG write version:2.3.0-dev.40 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 20:53:44 2022-10-26 20:53:44,808 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:53:44 2022-10-26 20:53:44,808 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 20:53:44 2022-10-26 20:53:44,809 [execute] INFO git cat-file --batch-check 20:53:44 2022-10-26 20:53:44,810 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 20:53:44 2022-10-26 20:53:44,813 [execute] INFO git cat-file --batch 20:53:44 2022-10-26 20:53:44,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 20:53:44 2022-10-26 20:53:44,818 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:53:44 2.3.0-dev.40 [Pipeline] } 20:53:44 $ docker exec --env ******** --env ******** fb8d2e4ec24b9a7a030d440b1b211c0068472b39f6ea12bb7ad30f03b0f7c967 ssh-agent -k 20:53:45 unset SSH_AUTH_SOCK; 20:53:45 unset SSH_AGENT_PID; 20:53:45 echo Agent pid 39 killed; 20:53:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:45 + git semver [Pipeline] } 20:53:45 $ docker stop --time=1 fb8d2e4ec24b9a7a030d440b1b211c0068472b39f6ea12bb7ad30f03b0f7c967 20:53:46 $ docker rm -f fb8d2e4ec24b9a7a030d440b1b211c0068472b39f6ea12bb7ad30f03b0f7c967 [Pipeline] // withDockerContainer [Pipeline] sh 20:53:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:53:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:47 prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container 20:53:47 $ 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 20:53:47 $ docker top 714264661cdae8daab935bde02119dfedeba655d73b4a775ebeff2d9d35eaaf5 -eo pid,comm 20:53:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:53:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:53:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:48 [ssh-agent] Looking for ssh-agent implementation... 20:53:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:48 $ docker exec 714264661cdae8daab935bde02119dfedeba655d73b4a775ebeff2d9d35eaaf5 ssh-agent 20:53:48 SSH_AUTH_SOCK=/tmp/ssh-mfJvMqQ5Avmf/agent.31 20:53:48 SSH_AGENT_PID=37 20:53:48 Running ssh-add (command line suppressed) 20:53:48 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9578320455906474558.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9578320455906474558.key) 20:53:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:48 + git semver push 20:53:48 2022-10-26 20:53:48,853 [run_push] DEBUG push 20:53:48 2022-10-26 20:53:48,853 [execute] INFO git cat-file --batch-check 20:53:48 2022-10-26 20:53:48,853 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 20:53:48 2022-10-26 20:53:48,857 [execute] INFO git rev-list b81162d49ada3488bf8704698236801a40382c60 -- 20:53:48 2022-10-26 20:53:48,857 [execute] DEBUG Popen(['git', 'rev-list', 'b81162d49ada3488bf8704698236801a40382c60', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 20:53:48 2022-10-26 20:53:48,863 [execute] INFO git fetch -v origin 20:53:48 2022-10-26 20:53:48,864 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 20:53:49 2022-10-26 20:53:49,454 [run_push] DEBUG no remote changes detected 20:53:49 2022-10-26 20:53:49,454 [execute] INFO git push origin semver 20:53:49 2022-10-26 20:53:49,454 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 20:53:50 2022-10-26 20:53:50,213 [run_push] DEBUG push all version tags 20:53:50 2022-10-26 20:53:50,214 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:53:50 2022-10-26 20:53:50,214 [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) 20:53:51 2022-10-26 20:53:50,947 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 20:53:51 2.3.0-dev.40 [Pipeline] } 20:53:51 $ docker exec --env ******** --env ******** 714264661cdae8daab935bde02119dfedeba655d73b4a775ebeff2d9d35eaaf5 ssh-agent -k 20:53:51 unset SSH_AUTH_SOCK; 20:53:51 unset SSH_AGENT_PID; 20:53:51 echo Agent pid 37 killed; 20:53:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:51 + git semver [Pipeline] } 20:53:51 $ docker stop --time=1 714264661cdae8daab935bde02119dfedeba655d73b4a775ebeff2d9d35eaaf5 20:53:52 $ docker rm -f 714264661cdae8daab935bde02119dfedeba655d73b4a775ebeff2d9d35eaaf5 [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 20:53:53 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 20:53:53 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 20:53:53 total 16 20:53:53 drwxr-xr-x 3 root root 4096 Oct 26 20:42 . 20:53:53 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:53 .. 20:53:53 drwxr-xr-x 2 root root 4096 Oct 26 20:42 cost 20:53:53 -rw-r--r-- 1 root root 90 Oct 26 20:42 cost.csv 20:53:53 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 20:53:53 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 20:53:53 total 16 20:53:53 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:42 . 20:53:53 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 20:53 .. 20:53:53 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:42 cost 20:53:53 -rw-r--r-- 1 jenkins jenkins 90 Oct 26 20:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:53:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:53:54 ---> package-listing.sh 20:53:54 ++ facter osfamily 20:53:54 ++ tr '[:upper:]' '[:lower:]' 20:53:54 + OS_FAMILY=debian 20:53:54 + workspace=/w/workspace/foundry_device-onvif-camera_main 20:53:54 + START_PACKAGES=/tmp/packages_start.txt 20:53:54 + END_PACKAGES=/tmp/packages_end.txt 20:53:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:53:54 + PACKAGES=/tmp/packages_start.txt 20:53:54 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 20:53:54 + PACKAGES=/tmp/packages_end.txt 20:53:54 + case "${OS_FAMILY}" in 20:53:54 + dpkg -l 20:53:54 + grep '^ii' 20:53:54 + '[' -f /tmp/packages_start.txt ']' 20:53:54 + '[' -f /tmp/packages_end.txt ']' 20:53:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:53:54 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 20:53:54 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 20:53:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 20:53:54 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 20:53:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:53:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:55 prd-ubuntu20.04-docker-8c-8g-117320 does not seem to be running inside a container 20:53:55 $ 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 20:53:56 $ docker top f515e3aa37dbb508e52968add0f33ad262cd036173fa1d011cf1e1408f927cd1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:56 + touch /tmp/pre-build-complete [Pipeline] sh 20:53:56 + mkdir -p /var/log/sysstat [Pipeline] sh 20:53:57 + ls /var/log/sa-host 20:53:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:57 provisioning config files... 20:53:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11508921452909220986tmp [Pipeline] { [Pipeline] echo 20:53:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:53:57 ---> create-netrc.sh [Pipeline] } 20:53:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:53:57 ---> python-tools-install.sh [Pipeline] echo 20:53:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:53:58 ---> sudo-logs.sh 20:53:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:53:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:53:58 ---> job-cost.sh 20:53:58 lf-activate-venv: SKIPPING 20:53:58 DEBUG: total: 0.2199999988079071 20:53:58 INFO: Retrieving Stack Cost... 20:53:58 INFO: Retrieving Pricing Info for: v3-standard-8 20:53:59 INFO: Archiving Costs [Pipeline] echo 20:53:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:53:59 ---> logs-deploy.sh 20:53:59 lf-activate-venv: SKIPPING 20:53:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/78 20:53:59 INFO: archiving workspace using pattern(s): 20:54:00 Archives upload complete. 20:54:00 INFO: archiving logs to Nexus