Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 68a981fa1763c207823ac86b4113d2db4c49b852 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-ssh1623089540186361425.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-ssh670504841643623136.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-ssh11560616138828760944.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-ssh8373657533664836802.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-ssh11830001317018634997.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-117250 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 68a981fa1763c207823ac86b4113d2db4c49b852 (main) Commit message: "docs: integrate onvif schemas and validation matrix to swagger (#180)" > git config core.sparsecheckout # timeout=10 > git checkout -f 68a981fa1763c207823ac86b4113d2db4c49b852 # timeout=10 > git rev-list --no-walk 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:30:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:30:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:30:11 ========================================================= 19:30:11 EdgeX Global Pipelines Version Info 19:30:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:30:11 ------------------- 19:30:11 stable info: 19:30:11 ------------------- 19:30:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:30:11 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 19:30:11 Message: update stable to v1.0.243 19:30:12 ------------------- 19:30:12 experimental info: 19:30:12 ------------------- 19:30:12 Commited By: **** collab-it+edgex@linuxfoundation.org 19:30:12 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 19:30:12 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 68a981fa1763c207823ac86b4113d2db4c49b852 [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 68a981f [Pipeline] echo 19:30:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:30:13 provisioning config files... 19:30:13 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7547293187473368018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:30:13 ---> docker-login.sh 19:30:13 nexus3.edgexfoundry.org:10001 19:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:13 Configure a credential helper to remove this warning. See 19:30:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:13 19:30:13 Login Succeeded 19:30:13 nexus3.edgexfoundry.org:10002 19:30:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:14 Configure a credential helper to remove this warning. See 19:30:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:14 19:30:14 Login Succeeded 19:30:14 nexus3.edgexfoundry.org:10003 19:30:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:14 Configure a credential helper to remove this warning. See 19:30:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:14 19:30:14 Login Succeeded 19:30:14 nexus3.edgexfoundry.org:10004 19:30:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:14 Configure a credential helper to remove this warning. See 19:30:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:14 19:30:14 Login Succeeded 19:30:14 docker.io 19:30:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:14 Configure a credential helper to remove this warning. See 19:30:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:14 19:30:14 Login Succeeded 19:30:14 ---> docker-login.sh ends [Pipeline] } 19:30:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:30:15 + git rev-list -1 --merges 68a981fa1763c207823ac86b4113d2db4c49b852~1..68a981fa1763c207823ac86b4113d2db4c49b852 [Pipeline] echo 19:30:15 -----------> git rev-list -1 --merges 68a981fa1763c207823ac86b4113d2db4c49b852~1..68a981fa1763c207823ac86b4113d2db4c49b852 68a981fa1763c207823ac86b4113d2db4c49b852 [false] [Pipeline] sh 19:30:15 + git log --format=format:%s -1 68a981fa1763c207823ac86b4113d2db4c49b852 [Pipeline] echo 19:30:15 ========================================================= 19:30:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:30:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:30:15 + git log --format=format:%s -1 68a981fa1763c207823ac86b4113d2db4c49b852 [Pipeline] echo 19:30:15 [semverPrep] GIT_COMMIT: 68a981fa1763c207823ac86b4113d2db4c49b852, Commit Message: docs: integrate onvif schemas and validation matrix to swagger (#180) [Pipeline] echo 19:30:15 [semverPrep] This is not a build commit. [Pipeline] sh 19:30:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:30:16 + grep -v github /etc/ssh/ssh_known_hosts 19:30:16 + [ -e /tmp/ssh_known_hosts ] 19:30:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:30:16 + + sudo tee -a /etc/ssh/ssh_known_hosts 19:30:16 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:30:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:30:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:30:16 19:30:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:30:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:30:16 0.1.4: Pulling from edgex-devops/py-git-semver 19:30:16 b85a868b505f: Pulling fs layer 19:30:16 e2be974225ed: Pulling fs layer 19:30:16 339a4e72a1f5: Pulling fs layer 19:30:16 988bab9f4d93: Pulling fs layer 19:30:16 1469e6f7b9e6: Pulling fs layer 19:30:16 eaf3925da568: Pulling fs layer 19:30:16 bab4dde63d76: Pulling fs layer 19:30:16 bde34c3a00c8: Pulling fs layer 19:30:16 b352a97aabf1: Pulling fs layer 19:30:16 4872d77fe225: Pulling fs layer 19:30:16 5851b861e8e6: Pulling fs layer 19:30:16 988bab9f4d93: Waiting 19:30:16 1469e6f7b9e6: Waiting 19:30:16 eaf3925da568: Waiting 19:30:16 bab4dde63d76: Waiting 19:30:16 bde34c3a00c8: Waiting 19:30:16 b352a97aabf1: Waiting 19:30:16 4872d77fe225: Waiting 19:30:16 5851b861e8e6: Waiting 19:30:16 e2be974225ed: Verifying Checksum 19:30:16 e2be974225ed: Download complete 19:30:16 988bab9f4d93: Verifying Checksum 19:30:16 988bab9f4d93: Download complete 19:30:17 339a4e72a1f5: Verifying Checksum 19:30:17 339a4e72a1f5: Download complete 19:30:17 1469e6f7b9e6: Verifying Checksum 19:30:17 1469e6f7b9e6: Download complete 19:30:17 eaf3925da568: Verifying Checksum 19:30:17 eaf3925da568: Download complete 19:30:17 bde34c3a00c8: Verifying Checksum 19:30:17 bde34c3a00c8: Download complete 19:30:17 b352a97aabf1: Download complete 19:30:17 4872d77fe225: Verifying Checksum 19:30:17 4872d77fe225: Download complete 19:30:17 5851b861e8e6: Verifying Checksum 19:30:17 5851b861e8e6: Download complete 19:30:17 b85a868b505f: Verifying Checksum 19:30:17 b85a868b505f: Download complete 19:30:17 bab4dde63d76: Verifying Checksum 19:30:17 bab4dde63d76: Download complete 19:30:18 b85a868b505f: Pull complete 19:30:18 e2be974225ed: Pull complete 19:30:19 339a4e72a1f5: Pull complete 19:30:19 988bab9f4d93: Pull complete 19:30:19 1469e6f7b9e6: Pull complete 19:30:19 eaf3925da568: Pull complete 19:30:21 bab4dde63d76: Pull complete 19:30:21 bde34c3a00c8: Pull complete 19:30:21 b352a97aabf1: Pull complete 19:30:21 4872d77fe225: Pull complete 19:30:21 5851b861e8e6: Pull complete 19:30:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:30:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:30:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:30:21 prd-ubuntu20.04-docker-8c-8g-117250 does not seem to be running inside a container 19:30:21 $ 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 19:30:25 $ docker top 9dd7d0421f21656ebd0da8fe0d2a50f41d76219c25bab02d91051695ddaa29de -eo pid,comm 19:30:25 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). 19:30:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:30:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:30:25 [ssh-agent] Looking for ssh-agent implementation... 19:30:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:30:25 $ docker exec 9dd7d0421f21656ebd0da8fe0d2a50f41d76219c25bab02d91051695ddaa29de ssh-agent 19:30:26 SSH_AUTH_SOCK=/tmp/ssh-NMkumE0znnxW/agent.14 19:30:26 SSH_AGENT_PID=20 19:30:26 Running ssh-add (command line suppressed) 19:30:26 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5152065741453259294.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5152065741453259294.key) 19:30:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:30:26 + git tag --points-at HEAD [Pipeline] } 19:30:26 $ docker exec --env ******** --env ******** 9dd7d0421f21656ebd0da8fe0d2a50f41d76219c25bab02d91051695ddaa29de ssh-agent -k 19:30:26 unset SSH_AUTH_SOCK; 19:30:26 unset SSH_AGENT_PID; 19:30:26 echo Agent pid 20 killed; 19:30:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:30:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:30:26 [ssh-agent] Looking for ssh-agent implementation... 19:30:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:30:26 $ docker exec 9dd7d0421f21656ebd0da8fe0d2a50f41d76219c25bab02d91051695ddaa29de ssh-agent 19:30:26 SSH_AUTH_SOCK=/tmp/ssh-R4egEKlTO5OV/agent.70 19:30:26 SSH_AGENT_PID=77 19:30:26 Running ssh-add (command line suppressed) 19:30:27 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10461205076369367760.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10461205076369367760.key) 19:30:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:30:27 + git semver init 19:30:27 2022-10-26 19:30:27,545 [run_init] DEBUG init version:0.0.0 force:False 19:30:27 2022-10-26 19:30:27,546 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 19:30:27 2022-10-26 19:30:27,547 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 19:30:27 2022-10-26 19:30:27,547 [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) 19:30:28 2022-10-26 19:30:28,828 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 19:30:28 2022-10-26 19:30:28,829 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 19:30:28 2022-10-26 19:30:28,829 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:30:28 2022-10-26 19:30:28,829 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:30:28 2.3.0-dev.38 [Pipeline] } 19:30:29 $ docker exec --env ******** --env ******** 9dd7d0421f21656ebd0da8fe0d2a50f41d76219c25bab02d91051695ddaa29de ssh-agent -k 19:30:29 unset SSH_AUTH_SOCK; 19:30:29 unset SSH_AGENT_PID; 19:30:29 echo Agent pid 77 killed; 19:30:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:30:29 + git semver [Pipeline] } 19:30:29 $ docker stop --time=1 9dd7d0421f21656ebd0da8fe0d2a50f41d76219c25bab02d91051695ddaa29de 19:30:31 $ docker rm -f 9dd7d0421f21656ebd0da8fe0d2a50f41d76219c25bab02d91051695ddaa29de [Pipeline] // withDockerContainer [Pipeline] sh 19:30:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:30:31 Stashed 1 file(s) [Pipeline] echo 19:30:31 [edgeXSemver]: initialized semver on version 2.3.0-dev.38 [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 19:30:31 provisioning config files... 19:30:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2405996466062040186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:30:32 ---> docker-login.sh 19:30:32 nexus3.edgexfoundry.org:10001 19:30:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:32 Configure a credential helper to remove this warning. See 19:30:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:32 19:30:32 Login Succeeded 19:30:32 nexus3.edgexfoundry.org:10002 19:30:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:32 Configure a credential helper to remove this warning. See 19:30:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:32 19:30:32 Login Succeeded 19:30:32 nexus3.edgexfoundry.org:10003 19:30:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:32 Configure a credential helper to remove this warning. See 19:30:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:32 19:30:32 Login Succeeded 19:30:32 nexus3.edgexfoundry.org:10004 19:30:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:32 Configure a credential helper to remove this warning. See 19:30:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:32 19:30:32 Login Succeeded 19:30:32 docker.io 19:30:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:30:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:30:32 Configure a credential helper to remove this warning. See 19:30:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:30:32 19:30:32 Login Succeeded 19:30:32 ---> docker-login.sh ends [Pipeline] } 19:30:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:30:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:30:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:30:32 ========================================================= 19:30:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:30:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:30:33 + 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 . 19:30:33 Sending build context to Docker daemon 27.42MB 19:30:33 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 19:30:33 Step 2/14 : FROM ${BASE} AS builder 19:30:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:30:33 213ec9aee27d: Pulling fs layer 19:30:33 4583459ba037: Pulling fs layer 19:30:33 93c1e223e6f2: Pulling fs layer 19:30:33 53926ce57604: Pulling fs layer 19:30:33 21b2b0c7a3f4: Pulling fs layer 19:30:33 30f14e443154: Pulling fs layer 19:30:33 801331c1e519: Pulling fs layer 19:30:33 99cc6dd402b0: Pulling fs layer 19:30:33 7d9ed39f4882: Pulling fs layer 19:30:33 21b2b0c7a3f4: Waiting 19:30:33 7d9ed39f4882: Waiting 19:30:33 53926ce57604: Waiting 19:30:33 30f14e443154: Waiting 19:30:33 801331c1e519: Waiting 19:30:33 99cc6dd402b0: Waiting 19:30:33 93c1e223e6f2: Download complete 19:30:33 4583459ba037: Verifying Checksum 19:30:33 4583459ba037: Download complete 19:30:33 21b2b0c7a3f4: Verifying Checksum 19:30:33 21b2b0c7a3f4: Download complete 19:30:33 30f14e443154: Verifying Checksum 19:30:33 30f14e443154: Download complete 19:30:33 213ec9aee27d: Verifying Checksum 19:30:33 213ec9aee27d: Download complete 19:30:33 801331c1e519: Verifying Checksum 19:30:33 801331c1e519: Download complete 19:30:33 213ec9aee27d: Pull complete 19:30:33 4583459ba037: Pull complete 19:30:34 93c1e223e6f2: Pull complete 19:30:34 7d9ed39f4882: Verifying Checksum 19:30:34 7d9ed39f4882: Download complete 19:30:34 99cc6dd402b0: Verifying Checksum 19:30:34 99cc6dd402b0: Download complete 19:30:34 53926ce57604: Verifying Checksum 19:30:34 53926ce57604: Download complete 19:30:38 53926ce57604: Pull complete 19:30:38 21b2b0c7a3f4: Pull complete 19:30:38 30f14e443154: Pull complete 19:30:38 801331c1e519: Pull complete 19:30:40 99cc6dd402b0: Pull complete 19:30:41 7d9ed39f4882: Pull complete 19:30:41 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 19:30:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:30:41 ---> 1dedd983c030 19:30:41 Step 3/14 : ARG ADD_BUILD_TAGS="" 19:30:46 Still waiting to schedule task 19:30:46 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 19:30:47 ---> Running in 4dbe2b23a7f6 19:30:48 Removing intermediate container 4dbe2b23a7f6 19:30:48 ---> 001ec2acee0e 19:30:48 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:30:49 ---> Running in cd3d5cd63ef5 19:30:50 Removing intermediate container cd3d5cd63ef5 19:30:50 ---> bf2982eb1ace 19:30:50 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:30:50 ---> Running in 5566e4e23075 19:30:51 Removing intermediate container 5566e4e23075 19:30:51 ---> 5a19dfbed451 19:30:51 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 19:30:51 ---> Running in e0662221986e 19:30:52 Removing intermediate container e0662221986e 19:30:52 ---> c5e7f6f24efe 19:30:52 Step 7/14 : LABEL Name=edgex-device-onvif-camera 19:30:52 ---> Running in 441a1617e1fd 19:30:53 Removing intermediate container 441a1617e1fd 19:30:53 ---> c4eea145934f 19:30:53 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:30:53 ---> Running in 1fb31f4ef16c 19:30:55 Removing intermediate container 1fb31f4ef16c 19:30:55 ---> 81748eca5441 19:30:55 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:30:56 ---> Running in e4bcc46938f8 19:30:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:30:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:30:57 OK: 211 MiB in 51 packages 19:30:58 Removing intermediate container e4bcc46938f8 19:30:58 ---> 189653e1f005 19:30:58 Step 10/14 : WORKDIR /device-onvif-camera 19:30:59 ---> Running in f50e4578c965 19:30:59 Removing intermediate container f50e4578c965 19:30:59 ---> 31a7a0edb95d 19:30:59 Step 11/14 : COPY go.mod vendor* ./ 19:30:59 ---> d2e7f0d5851a 19:30:59 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:30:59 ---> Running in e79b2a4cd83b 19:31:38 Removing intermediate container e79b2a4cd83b 19:31:38 ---> fe61245e0aa2 19:31:38 Step 13/14 : COPY . . 19:31:39 ---> 0f4f76a793b5 19:31:39 Step 14/14 : RUN ${MAKE} 19:31:39 ---> Running in 58ed651984e2 19:31:39 noop 19:31:40 Removing intermediate container 58ed651984e2 19:31:40 ---> 6426d40bf89c 19:31:40 Successfully built 6426d40bf89c 19:31:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:31:40 + docker inspect -f . ci-base-image-x86_64 19:31:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:31:40 prd-ubuntu20.04-docker-8c-8g-117250 does not seem to be running inside a container 19:31:40 $ 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 19:31:41 $ docker top e13e616b4d9346df0d5184b70da100a8c5acff5dad721b19f48f8729678af286 -eo pid,comm [Pipeline] { [Pipeline] sh 19:31:41 + go version 19:31:41 go version go1.18.7 linux/amd64 [Pipeline] } 19:31:41 $ docker stop --time=1 e13e616b4d9346df0d5184b70da100a8c5acff5dad721b19f48f8729678af286 19:31:42 $ docker rm -f e13e616b4d9346df0d5184b70da100a8c5acff5dad721b19f48f8729678af286 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:31:43 + docker inspect -f . ci-base-image-x86_64 19:31:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:31:43 prd-ubuntu20.04-docker-8c-8g-117250 does not seem to be running inside a container 19:31:43 $ 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 19:31:43 $ docker top cbb1fd565decfa713cbb7d6a355d67823819f4966f3380c321ecfeb7222ddbe5 -eo pid,comm [Pipeline] { [Pipeline] sh 19:31:44 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 19:31:44 + make test 19:31:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:31:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:31:54 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:31:55 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.031s coverage: 28.2% of statements 19:31:55 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:31:55 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.390s coverage: 86.5% of statements 19:32:02 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 19:32:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:32:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:32:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:32:05 ./bin/test-attribution-txt.sh [Pipeline] echo 19:32:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:32:05 $ docker stop --time=1 cbb1fd565decfa713cbb7d6a355d67823819f4966f3380c321ecfeb7222ddbe5 19:32:08 $ docker rm -f cbb1fd565decfa713cbb7d6a355d67823819f4966f3380c321ecfeb7222ddbe5 [Pipeline] // withDockerContainer [Pipeline] sh 19:32:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:32:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:32:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:32:10 + ls -al . 19:32:10 total 244 19:32:10 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 19:31 . 19:32:10 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:30 .. 19:32:10 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:31 .git 19:32:10 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:30 .github 19:32:10 -rw-rw-r-- 1 jenkins jenkins 496 Oct 26 19:30 .gitignore 19:32:10 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 19:30 .golangci.yml 19:32:10 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 19:30 .semver 19:32:10 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 26 19:30 Attribution.txt 19:32:10 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 26 19:30 CHANGELOG.md 19:32:10 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 26 19:30 Dockerfile 19:32:10 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:30 GOVERNANCE.md 19:32:10 -rw-rw-r-- 1 jenkins jenkins 734 Oct 26 19:30 Jenkinsfile 19:32:10 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 19:30 LICENSE 19:32:10 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 26 19:30 Makefile 19:32:10 -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 19:30 OWNERS.md 19:32:10 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 26 19:30 README.md 19:32:10 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 19:30 VERSION 19:32:10 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:30 bin 19:32:10 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:30 cmd 19:32:10 -rw-r--r-- 1 jenkins jenkins 78636 Oct 26 19:31 coverage.out 19:32:10 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 19:30 doc 19:32:10 -rw-rw-r-- 1 jenkins jenkins 3735 Oct 26 19:30 go.mod 19:32:10 -rw-rw-r-- 1 jenkins jenkins 46201 Oct 26 19:30 go.sum 19:32:10 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:30 internal 19:32:10 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:30 snap 19:32:10 -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 19:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:10 + 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=68a981fa1763c207823ac86b4113d2db4c49b852 --label arch=amd64 --label version=2.3.0-dev.38 . 19:32:10 Sending build context to Docker daemon 27.5MB 19:32:10 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 19:32:10 Step 2/27 : FROM ${BASE} AS builder 19:32:10 ---> 6426d40bf89c 19:32:10 Step 3/27 : ARG ADD_BUILD_TAGS="" 19:32:11 ---> Running in 4059d17cf802 19:32:11 Removing intermediate container 4059d17cf802 19:32:11 ---> 4ea102c0821a 19:32:11 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:32:11 ---> Running in ef6ca4a8a40f 19:32:12 Removing intermediate container ef6ca4a8a40f 19:32:12 ---> 9d1ed4150373 19:32:12 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:32:12 ---> Running in f2cb22e5c752 19:32:12 Removing intermediate container f2cb22e5c752 19:32:12 ---> 5aec5d4d52ac 19:32:12 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 19:32:12 ---> Running in fb75af80e092 19:32:12 Removing intermediate container fb75af80e092 19:32:12 ---> 58b58eeae2bb 19:32:12 Step 7/27 : LABEL Name=edgex-device-onvif-camera 19:32:12 ---> Running in b50865701a87 19:32:12 Removing intermediate container b50865701a87 19:32:12 ---> 977f42058b7b 19:32:12 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:32:12 ---> Running in e17cc5bc91da 19:32:13 Removing intermediate container e17cc5bc91da 19:32:13 ---> 8c3149473c85 19:32:13 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:32:13 ---> Running in adcfdb142354 19:32:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:32:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:32:14 OK: 211 MiB in 51 packages 19:32:14 Removing intermediate container adcfdb142354 19:32:14 ---> bea0d791d324 19:32:14 Step 10/27 : WORKDIR /device-onvif-camera 19:32:14 ---> Running in b6b34f2e822b 19:32:14 Removing intermediate container b6b34f2e822b 19:32:14 ---> 91ca77c3514c 19:32:14 Step 11/27 : COPY go.mod vendor* ./ 19:32:15 ---> 032e6de72c56 19:32:15 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:32:15 ---> Running in 0b8e60e21c31 19:32:15 Removing intermediate container 0b8e60e21c31 19:32:15 ---> 55986fb0f38e 19:32:15 Step 13/27 : COPY . . 19:32:16 ---> 870cc7d3e750 19:32:16 Step 14/27 : RUN ${MAKE} 19:32:16 ---> Running in 1d22d89971c1 19:32:17 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.38 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 19:32:43 Removing intermediate container 1d22d89971c1 19:32:43 ---> 06d367a9cecd 19:32:43 Step 15/27 : FROM alpine:3.16 19:32:43 3.16: Pulling from library/alpine 19:32:43 213ec9aee27d: Already exists 19:32:43 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:32:43 Status: Downloaded newer image for alpine:3.16 19:32:43 ---> 9c6f07244728 19:32:43 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:32:43 ---> Running in 368a4e5852d4 19:32:43 Removing intermediate container 368a4e5852d4 19:32:43 ---> 8d4374d73d13 19:32:43 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 19:32:43 ---> Running in c03477950326 19:32:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:32:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:32:43 (1/6) Installing dumb-init (1.2.5-r1) 19:32:43 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:32:43 (3/6) Installing libsodium (1.0.18-r0) 19:32:43 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:32:43 (5/6) Installing libzmq (4.3.4-r0) 19:32:43 (6/6) Installing zeromq (4.3.4-r0) 19:32:43 Executing busybox-1.35.0-r17.trigger 19:32:43 OK: 8 MiB in 20 packages 19:32:43 Removing intermediate container c03477950326 19:32:43 ---> 30e0a50ec126 19:32:43 Step 18/27 : WORKDIR / 19:32:43 ---> Running in 5799480d84a6 19:32:43 Removing intermediate container 5799480d84a6 19:32:43 ---> 3b3c51b0497e 19:32:43 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 19:32:44 ---> 51046920a360 19:32:44 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 19:32:44 ---> 31eb823fab50 19:32:44 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:32:44 ---> 4fdbe3bc2727 19:32:44 Step 22/27 : EXPOSE 59984 19:32:44 ---> Running in ae0363d1d5c2 19:32:44 Removing intermediate container ae0363d1d5c2 19:32:44 ---> a19775bf4a79 19:32:44 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 19:32:44 ---> Running in 2ea09570538b 19:32:44 Removing intermediate container 2ea09570538b 19:32:44 ---> 88baa06facf7 19:32:44 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:32:44 ---> Running in 310aa44bdc5a 19:32:45 Removing intermediate container 310aa44bdc5a 19:32:45 ---> f007cef9d28a 19:32:45 Step 25/27 : LABEL arch=amd64 19:32:45 ---> Running in 89059666baad 19:32:45 Removing intermediate container 89059666baad 19:32:45 ---> f8b59a305f60 19:32:45 Step 26/27 : LABEL git_sha=68a981fa1763c207823ac86b4113d2db4c49b852 19:32:45 ---> Running in 6a91a87575c7 19:32:45 Removing intermediate container 6a91a87575c7 19:32:45 ---> 51a16e642762 19:32:45 Step 27/27 : LABEL version=2.3.0-dev.38 19:32:45 ---> Running in b3a0550e7124 19:32:45 Removing intermediate container b3a0550e7124 19:32:45 ---> b88e8a6d6204 19:32:45 [Warning] One or more build-args [ARCH] were not consumed 19:32:45 Successfully built b88e8a6d6204 19:32:45 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 19:32:45 provisioning config files... 19:32:45 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config90076157186481312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:32:45 ---> docker-login.sh 19:32:45 nexus3.edgexfoundry.org:10001 19:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:32:45 Configure a credential helper to remove this warning. See 19:32:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:32:45 19:32:45 Login Succeeded 19:32:45 nexus3.edgexfoundry.org:10002 19:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:32:45 Configure a credential helper to remove this warning. See 19:32:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:32:45 19:32:45 Login Succeeded 19:32:45 nexus3.edgexfoundry.org:10003 19:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:32:45 Configure a credential helper to remove this warning. See 19:32:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:32:45 19:32:45 Login Succeeded 19:32:45 nexus3.edgexfoundry.org:10004 19:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:32:45 Configure a credential helper to remove this warning. See 19:32:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:32:45 19:32:45 Login Succeeded 19:32:45 docker.io 19:32:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:32:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:32:46 Configure a credential helper to remove this warning. See 19:32:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:32:46 19:32:46 Login Succeeded 19:32:46 ---> docker-login.sh ends [Pipeline] } 19:32:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:32:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:32:46 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 19:32:46 68a981fa1763c207823ac86b4113d2db4c49b852 19:32:46 latest 19:32:46 2.3.0-dev.38 19:32:46 68a981fa1763c207823ac86b4113d2db4c49b852-2.3.0-dev.38 19:32:46 main 19:32:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:46 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:68a981fa1763c207823ac86b4113d2db4c49b852 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:47 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:68a981fa1763c207823ac86b4113d2db4c49b852 19:32:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:32:47 ac5c0b2e4585: Preparing 19:32:47 e5d55af1c83a: Preparing 19:32:47 ee5e050065cf: Preparing 19:32:47 80f14b492c22: Preparing 19:32:47 994393dc58e7: Preparing 19:32:47 994393dc58e7: Layer already exists 19:32:47 ac5c0b2e4585: Pushed 19:32:47 e5d55af1c83a: Pushed 19:32:47 80f14b492c22: Pushed 19:32:49 ee5e050065cf: Pushed 19:32:49 68a981fa1763c207823ac86b4113d2db4c49b852: digest: sha256:8fd784c0301b948b61da1f07c920c00ebc940c92747b2d66868182b0e6445b6b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:50 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:50 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 19:32:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:32:50 ac5c0b2e4585: Preparing 19:32:50 e5d55af1c83a: Preparing 19:32:50 ee5e050065cf: Preparing 19:32:50 80f14b492c22: Preparing 19:32:50 994393dc58e7: Preparing 19:32:50 80f14b492c22: Layer already exists 19:32:50 ee5e050065cf: Layer already exists 19:32:50 e5d55af1c83a: Layer already exists 19:32:50 994393dc58e7: Layer already exists 19:32:50 ac5c0b2e4585: Layer already exists 19:32:50 latest: digest: sha256:8fd784c0301b948b61da1f07c920c00ebc940c92747b2d66868182b0e6445b6b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:50 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:51 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.38 19:32:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:32:51 ac5c0b2e4585: Preparing 19:32:51 e5d55af1c83a: Preparing 19:32:51 ee5e050065cf: Preparing 19:32:51 80f14b492c22: Preparing 19:32:51 994393dc58e7: Preparing 19:32:51 e5d55af1c83a: Layer already exists 19:32:51 ee5e050065cf: Layer already exists 19:32:51 ac5c0b2e4585: Layer already exists 19:32:51 80f14b492c22: Layer already exists 19:32:51 994393dc58e7: Layer already exists 19:32:51 2.3.0-dev.38: digest: sha256:8fd784c0301b948b61da1f07c920c00ebc940c92747b2d66868182b0e6445b6b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:51 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:68a981fa1763c207823ac86b4113d2db4c49b852-2.3.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:51 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:68a981fa1763c207823ac86b4113d2db4c49b852-2.3.0-dev.38 19:32:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:32:51 ac5c0b2e4585: Preparing 19:32:51 e5d55af1c83a: Preparing 19:32:51 ee5e050065cf: Preparing 19:32:51 80f14b492c22: Preparing 19:32:51 994393dc58e7: Preparing 19:32:51 e5d55af1c83a: Layer already exists 19:32:51 ac5c0b2e4585: Layer already exists 19:32:51 994393dc58e7: Layer already exists 19:32:51 ee5e050065cf: Layer already exists 19:32:51 80f14b492c22: Layer already exists 19:32:51 68a981fa1763c207823ac86b4113d2db4c49b852-2.3.0-dev.38: digest: sha256:8fd784c0301b948b61da1f07c920c00ebc940c92747b2d66868182b0e6445b6b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:52 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:52 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 19:32:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 19:32:52 ac5c0b2e4585: Preparing 19:32:52 e5d55af1c83a: Preparing 19:32:52 ee5e050065cf: Preparing 19:32:52 80f14b492c22: Preparing 19:32:52 994393dc58e7: Preparing 19:32:52 e5d55af1c83a: Layer already exists 19:32:52 994393dc58e7: Layer already exists 19:32:52 ee5e050065cf: Layer already exists 19:32:52 80f14b492c22: Layer already exists 19:32:52 ac5c0b2e4585: Layer already exists 19:32:52 main: digest: sha256:8fd784c0301b948b61da1f07c920c00ebc940c92747b2d66868182b0e6445b6b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:32:52 ===================================================== [Pipeline] echo 19:32:52 taggedImages: 19:32:52 - nexus3.edgexfoundry.org:10004/device-onvif-camera:68a981fa1763c207823ac86b4113d2db4c49b852 19:32:52 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 19:32:52 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.38 19:32:52 - nexus3.edgexfoundry.org:10004/device-onvif-camera:68a981fa1763c207823ac86b4113d2db4c49b852-2.3.0-dev.38 19:32:52 - 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 19:32:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:32:52 19:32:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:32:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:32:53 latest: Pulling from edgex-lftools-log-publisher 19:32:53 5eb5b503b376: Pulling fs layer 19:32:53 5c69ac0246d0: Pulling fs layer 19:32:53 ec43610c2a17: Pulling fs layer 19:32:53 3a2ae6a8a46f: Pulling fs layer 19:32:53 33b1e0a273af: Pulling fs layer 19:32:53 5d3b04190fa2: Pulling fs layer 19:32:53 2f39f015ded8: Pulling fs layer 19:32:53 3a2ae6a8a46f: Waiting 19:32:53 33b1e0a273af: Waiting 19:32:53 2f39f015ded8: Waiting 19:32:53 5d3b04190fa2: Waiting 19:32:53 5c69ac0246d0: Verifying Checksum 19:32:53 5c69ac0246d0: Download complete 19:32:53 3a2ae6a8a46f: Verifying Checksum 19:32:53 3a2ae6a8a46f: Download complete 19:32:53 33b1e0a273af: Download complete 19:32:53 5d3b04190fa2: Verifying Checksum 19:32:53 5d3b04190fa2: Download complete 19:32:53 ec43610c2a17: Verifying Checksum 19:32:53 ec43610c2a17: Download complete 19:32:53 5eb5b503b376: Verifying Checksum 19:32:53 5eb5b503b376: Download complete 19:32:54 2f39f015ded8: Download complete 19:32:55 5eb5b503b376: Pull complete 19:32:55 5c69ac0246d0: Pull complete 19:32:56 ec43610c2a17: Pull complete 19:32:56 3a2ae6a8a46f: Pull complete 19:32:56 33b1e0a273af: Pull complete 19:32:56 5d3b04190fa2: Pull complete 19:33:01 2f39f015ded8: Pull complete 19:33:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:33:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:33:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:33:01 prd-ubuntu20.04-docker-8c-8g-117250 does not seem to be running inside a container 19:33:01 $ 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 19:33:05 $ docker top e3f9a810ed5cc82166aab2b98115400152da1b174c8523eb1ecd25ced8d37ac5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:33:06 ---> job-cost.sh 19:33:06 lf-activate-venv: SKIPPING 19:33:06 INFO: No Stack... 19:33:06 INFO: Retrieving Pricing Info for: v3-standard-8 19:33:06 INFO: Archiving Costs [Pipeline] sh 19:33:06 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 19:33:06 + cut -d, -f6 [Pipeline] lock 19:33:06 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-77-stack-cost] 19:33:06 Resource [jenkins-edgexfoundry-device-onvif-camera-main-77-stack-cost] did not exist. Created. 19:33:06 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:33:07 + echo total: 0.2199999988079071 [Pipeline] stash 19:33:07 Stashed 1 file(s) [Pipeline] } 19:33:07 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-77-stack-cost] [Pipeline] // lock [Pipeline] } 19:33:07 $ docker stop --time=1 e3f9a810ed5cc82166aab2b98115400152da1b174c8523eb1ecd25ced8d37ac5 19:33:08 $ docker rm -f e3f9a810ed5cc82166aab2b98115400152da1b174c8523eb1ecd25ced8d37ac5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:37:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117265 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 19:37:29 Running in /w/workspace/device-onvif-camera/77 [Pipeline] { [Pipeline] checkout 19:37:29 The recommended git tool is: git 19:37:37 using credential edgex-jenkins-ssh 19:37:37 Cloning the remote Git repository 19:37:37 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 19:37:37 > git init /w/workspace/device-onvif-camera/77 # timeout=10 19:37:37 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:37:37 > git --version # timeout=10 19:37:37 > git --version # 'git version 2.25.1' 19:37:37 using GIT_SSH to set credentials SSH Credentials for GitHub 19:37:37 Verifying host key using known hosts file 19:37:37 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. 19:37:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:37:39 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:37:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:37:40 Avoid second fetch 19:37:40 Checking out Revision 68a981fa1763c207823ac86b4113d2db4c49b852 (main) 19:37:41 Commit message: "docs: integrate onvif schemas and validation matrix to swagger (#180)" 19:37:40 > git config core.sparsecheckout # timeout=10 19:37:40 > git checkout -f 68a981fa1763c207823ac86b4113d2db4c49b852 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:37:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:37:42 % Total % Received % Xferd Average Speed Time Time Time Current 19:37:42 Dload Upload Total Spent Left Speed 19:37:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 83456 0 --:--:-- --:--:-- --:--:-- 83456 [Pipeline] sh 19:37:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:37:43 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 19:37:43 /etc/docker/daemon.json 19:37:43 { 19:37:43 "registry-mirrors": [ 19:37:43 "https://nexus3.edgexfoundry.org:10001" 19:37:43 ], 19:37:43 "bip": "10.250.0.254/24", 19:37:43 "hosts": [ 19:37:43 "tcp://0.0.0.0:5555", 19:37:43 "unix:///var/run/docker.sock" 19:37:43 ], 19:37:43 "mtu": 1458, 19:37:43 "selinux-enabled": true, 19:37:43 "seccomp-profile": "/etc/docker/seccomp.json" 19:37:43 } [Pipeline] sh 19:37:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:37:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:38:02 provisioning config files... 19:38:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/77@tmp/config2555928568291406130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:38:03 ---> docker-login.sh 19:38:03 nexus3.edgexfoundry.org:10001 19:38:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:03 Configure a credential helper to remove this warning. See 19:38:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:03 19:38:03 Login Succeeded 19:38:03 nexus3.edgexfoundry.org:10002 19:38:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:04 Configure a credential helper to remove this warning. See 19:38:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:04 19:38:04 Login Succeeded 19:38:04 nexus3.edgexfoundry.org:10003 19:38:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:04 Configure a credential helper to remove this warning. See 19:38:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:04 19:38:04 Login Succeeded 19:38:04 nexus3.edgexfoundry.org:10004 19:38:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:04 Configure a credential helper to remove this warning. See 19:38:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:04 19:38:04 Login Succeeded 19:38:04 docker.io 19:38:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:05 Configure a credential helper to remove this warning. See 19:38:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:05 19:38:05 Login Succeeded 19:38:05 ---> docker-login.sh ends [Pipeline] } 19:38:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:38:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:38:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:38:05 ========================================================= 19:38:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:38:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:38:06 + 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 . 19:38:06 Sending build context to Docker daemon 20.35MB 19:38:06 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 19:38:06 Step 2/14 : FROM ${BASE} AS builder 19:38:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:38:07 9b18e9b68314: Pulling fs layer 19:38:07 d32db5db7311: Pulling fs layer 19:38:07 d0c4b47475fc: Pulling fs layer 19:38:07 5831b945b038: Pulling fs layer 19:38:07 86bbec2aaacd: Pulling fs layer 19:38:07 e10730c5d714: Pulling fs layer 19:38:07 5dd5c2283517: Pulling fs layer 19:38:07 d5ac0230b979: Pulling fs layer 19:38:07 86bbec2aaacd: Waiting 19:38:07 e10730c5d714: Waiting 19:38:07 5dd5c2283517: Waiting 19:38:07 d5ac0230b979: Waiting 19:38:07 5831b945b038: Waiting 19:38:07 d0c4b47475fc: Verifying Checksum 19:38:07 d0c4b47475fc: Download complete 19:38:07 d32db5db7311: Download complete 19:38:07 86bbec2aaacd: Verifying Checksum 19:38:07 86bbec2aaacd: Download complete 19:38:07 e10730c5d714: Verifying Checksum 19:38:07 e10730c5d714: Download complete 19:38:07 9b18e9b68314: Verifying Checksum 19:38:08 9b18e9b68314: Pull complete 19:38:08 d5ac0230b979: Verifying Checksum 19:38:08 d5ac0230b979: Download complete 19:38:08 d32db5db7311: Pull complete 19:38:08 d0c4b47475fc: Pull complete 19:38:09 5dd5c2283517: Verifying Checksum 19:38:09 5dd5c2283517: Download complete 19:38:10 5831b945b038: Download complete 19:38:22 5831b945b038: Pull complete 19:38:22 86bbec2aaacd: Pull complete 19:38:22 e10730c5d714: Pull complete 19:38:27 5dd5c2283517: Pull complete 19:38:29 d5ac0230b979: Pull complete 19:38:29 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 19:38:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:38:29 ---> 59b3b1a385d4 19:38:29 Step 3/14 : ARG ADD_BUILD_TAGS="" 19:38:31 ---> Running in eeefc7d84c02 19:38:32 Removing intermediate container eeefc7d84c02 19:38:32 ---> 8bcc553eb1fb 19:38:32 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:38:32 ---> Running in c3af78730c20 19:38:32 Removing intermediate container c3af78730c20 19:38:32 ---> c6b4ffa99c80 19:38:32 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:38:32 ---> Running in ce811f115f91 19:38:33 Removing intermediate container ce811f115f91 19:38:33 ---> e605934992d7 19:38:33 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 19:38:33 ---> Running in 9f7e0a985314 19:38:33 Removing intermediate container 9f7e0a985314 19:38:33 ---> a5aa6878ebdf 19:38:33 Step 7/14 : LABEL Name=edgex-device-onvif-camera 19:38:33 ---> Running in 3f897a6fdede 19:38:34 Removing intermediate container 3f897a6fdede 19:38:34 ---> 1caf44ed5d71 19:38:34 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:38:34 ---> Running in d346a2876e82 19:38:36 Removing intermediate container d346a2876e82 19:38:36 ---> 427b8f5e1f0e 19:38:36 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:38:36 ---> Running in 17dd0e36d9c4 19:38:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:38:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:38:40 OK: 221 MiB in 51 packages 19:38:41 Removing intermediate container 17dd0e36d9c4 19:38:41 ---> d526b17ce994 19:38:41 Step 10/14 : WORKDIR /device-onvif-camera 19:38:41 ---> Running in 0f488d0f1c2b 19:38:41 Removing intermediate container 0f488d0f1c2b 19:38:41 ---> 6e5715e74cfa 19:38:41 Step 11/14 : COPY go.mod vendor* ./ 19:38:42 ---> 26f1d18e078e 19:38:42 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:38:42 ---> Running in 1bd808a450a5 19:39:50 Removing intermediate container 1bd808a450a5 19:39:50 ---> 714cb918bd22 19:39:50 Step 13/14 : COPY . . 19:39:50 ---> 129fcc795dba 19:39:50 Step 14/14 : RUN ${MAKE} 19:39:50 ---> Running in c225e6143027 19:39:50 noop 19:39:50 Removing intermediate container c225e6143027 19:39:50 ---> 463bd28fe470 19:39:50 Successfully built 463bd28fe470 19:39:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:39:50 + docker inspect -f . ci-base-image-arm64 19:39:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:39:51 prd-ubuntu20.04-docker-arm64-4c-16g-117265 does not seem to be running inside a container 19:39:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/77 -v /w/workspace/device-onvif-camera/77:/w/workspace/device-onvif-camera/77:rw,z -v /w/workspace/device-onvif-camera/77@tmp:/w/workspace/device-onvif-camera/77@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 19:39:52 $ docker top 004664fb2b5cf537ff02cbbdce327291019f00e0f60013ad54b87881adef3ea2 -eo pid,comm [Pipeline] { [Pipeline] sh 19:39:53 + go version 19:39:53 go version go1.18.7 linux/arm64 [Pipeline] } 19:39:53 $ docker stop --time=1 004664fb2b5cf537ff02cbbdce327291019f00e0f60013ad54b87881adef3ea2 19:39:55 $ docker rm -f 004664fb2b5cf537ff02cbbdce327291019f00e0f60013ad54b87881adef3ea2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:39:55 + docker inspect -f . ci-base-image-arm64 19:39:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:39:56 prd-ubuntu20.04-docker-arm64-4c-16g-117265 does not seem to be running inside a container 19:39:56 $ 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/77 -v /w/workspace/device-onvif-camera/77:/w/workspace/device-onvif-camera/77:rw,z -v /w/workspace/device-onvif-camera/77@tmp:/w/workspace/device-onvif-camera/77@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 19:39:57 $ docker top eedbb9bd8a4ba01f81d99d842d4243674ed5dc7a0c231a27de337cc1adaed928 -eo pid,comm [Pipeline] { [Pipeline] sh 19:39:58 + git config --global --add safe.directory /w/workspace/device-onvif-camera/77 [Pipeline] fileExists [Pipeline] sh 19:39:58 + make test 19:39:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:40:00 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:42:07 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:42:13 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.240s coverage: 28.2% of statements 19:42:13 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:42:35 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 31.052s coverage: 86.5% of statements 19:42:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:42:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:43:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:43:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:43:14 ./bin/test-attribution-txt.sh [Pipeline] echo 19:43:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:43:14 $ docker stop --time=1 eedbb9bd8a4ba01f81d99d842d4243674ed5dc7a0c231a27de337cc1adaed928 19:43:16 $ docker rm -f eedbb9bd8a4ba01f81d99d842d4243674ed5dc7a0c231a27de337cc1adaed928 [Pipeline] // withDockerContainer [Pipeline] sh 19:43:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:43:17 Warning: overwriting stash ‘coverage-report’ 19:43:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:43:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:43:18 + ls -al . 19:43:18 total 240 19:43:18 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 19:40 . 19:43:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:37 .. 19:43:18 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:37 .git 19:43:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:37 .github 19:43:18 -rw-rw-r-- 1 jenkins jenkins 496 Oct 26 19:37 .gitignore 19:43:18 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 19:37 .golangci.yml 19:43:18 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 26 19:37 Attribution.txt 19:43:18 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 26 19:37 CHANGELOG.md 19:43:18 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 26 19:37 Dockerfile 19:43:18 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:37 GOVERNANCE.md 19:43:18 -rw-rw-r-- 1 jenkins jenkins 734 Oct 26 19:37 Jenkinsfile 19:43:18 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 19:37 LICENSE 19:43:18 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 26 19:37 Makefile 19:43:18 -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 19:37 OWNERS.md 19:43:18 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 26 19:37 README.md 19:43:18 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 19:30 VERSION 19:43:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:37 bin 19:43:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:37 cmd 19:43:18 -rw-r--r-- 1 jenkins jenkins 78636 Oct 26 19:42 coverage.out 19:43:18 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 19:37 doc 19:43:18 -rw-rw-r-- 1 jenkins jenkins 3735 Oct 26 19:37 go.mod 19:43:18 -rw-rw-r-- 1 jenkins jenkins 46201 Oct 26 19:37 go.sum 19:43:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:37 internal 19:43:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:37 snap 19:43:18 -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 19:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:19 + 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=68a981fa1763c207823ac86b4113d2db4c49b852 --label arch=arm64 --label version=2.3.0-dev.38 . 19:43:19 Sending build context to Docker daemon 20.43MB 19:43:19 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 19:43:19 Step 2/27 : FROM ${BASE} AS builder 19:43:19 ---> 463bd28fe470 19:43:19 Step 3/27 : ARG ADD_BUILD_TAGS="" 19:43:20 ---> Running in 992d2aa32706 19:43:20 Removing intermediate container 992d2aa32706 19:43:20 ---> c59658eb326a 19:43:20 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:43:20 ---> Running in 20a27153e61e 19:43:20 Removing intermediate container 20a27153e61e 19:43:20 ---> 4ffa5127bc31 19:43:20 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 19:43:20 ---> Running in 8ec4e3b7ba57 19:43:21 Removing intermediate container 8ec4e3b7ba57 19:43:21 ---> 747ff65d9cb1 19:43:21 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 19:43:21 ---> Running in 5f8f50c07ff4 19:43:21 Removing intermediate container 5f8f50c07ff4 19:43:21 ---> 2287c8001951 19:43:21 Step 7/27 : LABEL Name=edgex-device-onvif-camera 19:43:21 ---> Running in 923a7547557e 19:43:21 Removing intermediate container 923a7547557e 19:43:21 ---> ae2afbb399b3 19:43:21 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:43:22 ---> Running in 4f8614b710fd 19:43:24 Removing intermediate container 4f8614b710fd 19:43:24 ---> d376323f9a5d 19:43:24 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:43:24 ---> Running in 5e55b3d36b04 19:43:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:43:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:43:27 OK: 221 MiB in 51 packages 19:43:28 Removing intermediate container 5e55b3d36b04 19:43:28 ---> a4443f8da22a 19:43:28 Step 10/27 : WORKDIR /device-onvif-camera 19:43:28 ---> Running in fb6e4fb60186 19:43:29 Removing intermediate container fb6e4fb60186 19:43:29 ---> 290cfc58cb7c 19:43:29 Step 11/27 : COPY go.mod vendor* ./ 19:43:29 ---> 0f5c85f9d943 19:43:29 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:43:29 ---> Running in 2732ec7ef1ba 19:43:32 Removing intermediate container 2732ec7ef1ba 19:43:32 ---> f4fecc9aaab9 19:43:32 Step 13/27 : COPY . . 19:43:34 ---> 91fba8ec3934 19:43:34 Step 14/27 : RUN ${MAKE} 19:43:34 ---> Running in dbfc173ef9a8 19:43:35 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.38 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 19:46:27 Removing intermediate container dbfc173ef9a8 19:46:27 ---> 66cf0fa6e266 19:46:27 Step 15/27 : FROM alpine:3.16 19:46:27 3.16: Pulling from library/alpine 19:46:27 9b18e9b68314: Already exists 19:46:27 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:46:27 Status: Downloaded newer image for alpine:3.16 19:46:27 ---> a6215f271958 19:46:27 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 19:46:27 ---> Running in 02a2f0e01f00 19:46:27 Removing intermediate container 02a2f0e01f00 19:46:27 ---> bdb61ffb3d8d 19:46:27 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 19:46:27 ---> Running in b72ff2f2afd9 19:46:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:46:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:46:27 (1/6) Installing dumb-init (1.2.5-r1) 19:46:27 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:46:27 (3/6) Installing libsodium (1.0.18-r0) 19:46:27 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:46:27 (5/6) Installing libzmq (4.3.4-r0) 19:46:27 (6/6) Installing zeromq (4.3.4-r0) 19:46:27 Executing busybox-1.35.0-r17.trigger 19:46:27 OK: 8 MiB in 20 packages 19:46:27 Removing intermediate container b72ff2f2afd9 19:46:27 ---> ab35fe4638e5 19:46:27 Step 18/27 : WORKDIR / 19:46:27 ---> Running in afa53def85f6 19:46:27 Removing intermediate container afa53def85f6 19:46:27 ---> 2bdbb5e35723 19:46:27 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 19:46:27 ---> 927a27808ad3 19:46:27 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 19:46:27 ---> cfb02c1eba68 19:46:27 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:46:28 ---> 33276db4e00c 19:46:28 Step 22/27 : EXPOSE 59984 19:46:28 ---> Running in 6fedc0e0a6e0 19:46:28 Removing intermediate container 6fedc0e0a6e0 19:46:28 ---> ee6d370f7817 19:46:28 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 19:46:28 ---> Running in 482b003f40ee 19:46:29 Removing intermediate container 482b003f40ee 19:46:29 ---> 1684bc5e6e55 19:46:29 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:46:29 ---> Running in 97f241d98a70 19:46:29 Removing intermediate container 97f241d98a70 19:46:29 ---> 63da68c328ed 19:46:29 Step 25/27 : LABEL arch=arm64 19:46:29 ---> Running in 08ee322b4254 19:46:29 Removing intermediate container 08ee322b4254 19:46:29 ---> ae67b14013f9 19:46:29 Step 26/27 : LABEL git_sha=68a981fa1763c207823ac86b4113d2db4c49b852 19:46:29 ---> Running in d65e35bf4886 19:46:30 Removing intermediate container d65e35bf4886 19:46:30 ---> ca0df82dbb50 19:46:30 Step 27/27 : LABEL version=2.3.0-dev.38 19:46:30 ---> Running in d00a361e5fee 19:46:30 Removing intermediate container d00a361e5fee 19:46:30 ---> 831626168b14 19:46:30 [Warning] One or more build-args [ARCH] were not consumed 19:46:30 Successfully built 831626168b14 19:46:30 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 19:46:30 provisioning config files... 19:46:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/77@tmp/config16227284347533998292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:46:31 ---> docker-login.sh 19:46:31 nexus3.edgexfoundry.org:10001 19:46:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:31 Configure a credential helper to remove this warning. See 19:46:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:31 19:46:31 Login Succeeded 19:46:31 nexus3.edgexfoundry.org:10002 19:46:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:31 Configure a credential helper to remove this warning. See 19:46:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:31 19:46:31 Login Succeeded 19:46:31 nexus3.edgexfoundry.org:10003 19:46:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:32 Configure a credential helper to remove this warning. See 19:46:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:32 19:46:32 Login Succeeded 19:46:32 nexus3.edgexfoundry.org:10004 19:46:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:32 Configure a credential helper to remove this warning. See 19:46:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:32 19:46:32 Login Succeeded 19:46:32 docker.io 19:46:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:33 Configure a credential helper to remove this warning. See 19:46:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:33 19:46:33 Login Succeeded 19:46:33 ---> docker-login.sh ends [Pipeline] } 19:46:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:46:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:46:33 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 19:46:33 68a981fa1763c207823ac86b4113d2db4c49b852 19:46:33 latest 19:46:33 2.3.0-dev.38 19:46:33 68a981fa1763c207823ac86b4113d2db4c49b852-2.3.0-dev.38 19:46:33 main 19:46:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:33 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:68a981fa1763c207823ac86b4113d2db4c49b852 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:68a981fa1763c207823ac86b4113d2db4c49b852 19:46:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:46:34 75e82d55977c: Preparing 19:46:34 3b57ceae8ed9: Preparing 19:46:34 36da7a244f61: Preparing 19:46:34 b97538dbf328: Preparing 19:46:34 5d3e392a13a0: Preparing 19:46:34 5d3e392a13a0: Layer already exists 19:46:34 3b57ceae8ed9: Pushed 19:46:34 75e82d55977c: Pushed 19:46:35 b97538dbf328: Pushed 19:46:40 36da7a244f61: Pushed 19:46:40 68a981fa1763c207823ac86b4113d2db4c49b852: digest: sha256:fa055cb769f89ea729dd8a3cdca4388d46d853f47f0c05a7baaf14cda3811d70 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:40 + 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 19:46:41 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 19:46:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:46:41 75e82d55977c: Preparing 19:46:41 3b57ceae8ed9: Preparing 19:46:41 36da7a244f61: Preparing 19:46:41 b97538dbf328: Preparing 19:46:41 5d3e392a13a0: Preparing 19:46:41 5d3e392a13a0: Layer already exists 19:46:41 b97538dbf328: Layer already exists 19:46:41 75e82d55977c: Layer already exists 19:46:41 36da7a244f61: Layer already exists 19:46:41 3b57ceae8ed9: Layer already exists 19:46:41 latest: digest: sha256:fa055cb769f89ea729dd8a3cdca4388d46d853f47f0c05a7baaf14cda3811d70 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:41 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.38 19:46:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:46:42 75e82d55977c: Preparing 19:46:42 3b57ceae8ed9: Preparing 19:46:42 36da7a244f61: Preparing 19:46:42 b97538dbf328: Preparing 19:46:42 5d3e392a13a0: Preparing 19:46:42 b97538dbf328: Layer already exists 19:46:42 36da7a244f61: Layer already exists 19:46:42 5d3e392a13a0: Layer already exists 19:46:42 75e82d55977c: Layer already exists 19:46:42 3b57ceae8ed9: Layer already exists 19:46:42 2.3.0-dev.38: digest: sha256:fa055cb769f89ea729dd8a3cdca4388d46d853f47f0c05a7baaf14cda3811d70 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:42 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:68a981fa1763c207823ac86b4113d2db4c49b852-2.3.0-dev.38 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:43 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:68a981fa1763c207823ac86b4113d2db4c49b852-2.3.0-dev.38 19:46:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:46:43 75e82d55977c: Preparing 19:46:43 3b57ceae8ed9: Preparing 19:46:43 36da7a244f61: Preparing 19:46:43 b97538dbf328: Preparing 19:46:43 5d3e392a13a0: Preparing 19:46:43 3b57ceae8ed9: Layer already exists 19:46:43 5d3e392a13a0: Layer already exists 19:46:43 b97538dbf328: Layer already exists 19:46:43 36da7a244f61: Layer already exists 19:46:43 75e82d55977c: Layer already exists 19:46:43 68a981fa1763c207823ac86b4113d2db4c49b852-2.3.0-dev.38: digest: sha256:fa055cb769f89ea729dd8a3cdca4388d46d853f47f0c05a7baaf14cda3811d70 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:43 + 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 19:46:44 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 19:46:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 19:46:44 75e82d55977c: Preparing 19:46:44 3b57ceae8ed9: Preparing 19:46:44 36da7a244f61: Preparing 19:46:44 b97538dbf328: Preparing 19:46:44 5d3e392a13a0: Preparing 19:46:44 5d3e392a13a0: Layer already exists 19:46:44 36da7a244f61: Layer already exists 19:46:44 75e82d55977c: Layer already exists 19:46:44 b97538dbf328: Layer already exists 19:46:44 3b57ceae8ed9: Layer already exists 19:46:44 main: digest: sha256:fa055cb769f89ea729dd8a3cdca4388d46d853f47f0c05a7baaf14cda3811d70 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:46:44 ===================================================== [Pipeline] echo 19:46:44 taggedImages: 19:46:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:68a981fa1763c207823ac86b4113d2db4c49b852 19:46:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 19:46:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.38 19:46:44 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:68a981fa1763c207823ac86b4113d2db4c49b852-2.3.0-dev.38 19:46:44 - 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 19:46:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:46:44 19:46:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:46:45 arm64: Pulling from edgex-lftools-log-publisher 19:46:45 8998bd30e6a1: Pulling fs layer 19:46:45 04944245beec: Pulling fs layer 19:46:45 699f458cf7ca: Pulling fs layer 19:46:45 765212b225bb: Pulling fs layer 19:46:45 f23df028b6ca: Pulling fs layer 19:46:45 d65c8cfc05b1: Pulling fs layer 19:46:45 2437ff75d9bd: Pulling fs layer 19:46:45 d65c8cfc05b1: Waiting 19:46:45 765212b225bb: Waiting 19:46:45 2437ff75d9bd: Waiting 19:46:45 f23df028b6ca: Waiting 19:46:45 04944245beec: Verifying Checksum 19:46:45 04944245beec: Download complete 19:46:45 765212b225bb: Verifying Checksum 19:46:45 765212b225bb: Download complete 19:46:45 f23df028b6ca: Verifying Checksum 19:46:45 f23df028b6ca: Download complete 19:46:45 d65c8cfc05b1: Verifying Checksum 19:46:45 d65c8cfc05b1: Download complete 19:46:45 699f458cf7ca: Download complete 19:46:45 8998bd30e6a1: Download complete 19:46:48 2437ff75d9bd: Verifying Checksum 19:46:48 2437ff75d9bd: Download complete 19:46:49 8998bd30e6a1: Pull complete 19:46:50 04944245beec: Pull complete 19:46:51 699f458cf7ca: Pull complete 19:46:51 765212b225bb: Pull complete 19:46:54 f23df028b6ca: Pull complete 19:46:54 d65c8cfc05b1: Pull complete 19:47:09 2437ff75d9bd: Pull complete 19:47:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:47:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:47:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:47:09 prd-ubuntu20.04-docker-arm64-4c-16g-117265 does not seem to be running inside a container 19:47:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/77 -v /w/workspace/device-onvif-camera/77:/w/workspace/device-onvif-camera/77:rw,z -v /w/workspace/device-onvif-camera/77@tmp:/w/workspace/device-onvif-camera/77@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 19:47:12 $ docker top fbfd3b2171a1bfaae3be25ddd28c6cdca84e0582e34e63e1e2ef8f2ea599182c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:47:12 ---> job-cost.sh 19:47:13 lf-activate-venv: SKIPPING 19:47:13 INFO: No Stack... 19:47:13 INFO: Retrieving Pricing Info for: v3-standard-4 19:47:14 INFO: Archiving Costs [Pipeline] sh 19:47:14 + cat /w/workspace/device-onvif-camera/77/archives/cost.csv 19:47:14 + cut -d, -f6 [Pipeline] lock 19:47:14 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-77-stack-cost] 19:47:14 Resource [jenkins-edgexfoundry-device-onvif-camera-main-77-stack-cost] did not exist. Created. 19:47:14 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:47:15 /w/workspace/device-onvif-camera/77@tmp/durable-01a0a016/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:47:15 + echo total: 0.10999999940395355 [Pipeline] stash 19:47:15 Warning: overwriting stash ‘stack-cost’ 19:47:16 Stashed 1 file(s) [Pipeline] } 19:47:16 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-77-stack-cost] [Pipeline] // lock [Pipeline] } 19:47:16 $ docker stop --time=1 fbfd3b2171a1bfaae3be25ddd28c6cdca84e0582e34e63e1e2ef8f2ea599182c 19:47:17 $ docker rm -f fbfd3b2171a1bfaae3be25ddd28c6cdca84e0582e34e63e1e2ef8f2ea599182c [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 19:47:18 provisioning config files... 19:47:18 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2407973344058410975tmp [Pipeline] { [Pipeline] sh 19:47:18 + set +x 19:47:18 + curl -s https://codecov.io/bash 19:47:18 + bash -s -- 19:47:18 19:47:18 _____ _ 19:47:18 / ____| | | 19:47:18 | | ___ __| | ___ ___ _____ __ 19:47:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:47:18 | |___| (_) | (_| | __/ (_| (_) \ V / 19:47:18 \_____\___/ \__,_|\___|\___\___/ \_/ 19:47:18 Bash-1.0.6 19:47:18 19:47:18 19:47:18 ==> git version 2.25.1 found 19:47:18 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 19:47:18 Release-Date: 2020-01-08 19:47:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:47:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:47:18 ==> Jenkins CI detected. 19:47:18 current dir:  /w/workspace/foundry_device-onvif-camera_main 19:47:18 project root: . 19:47:18 --> token set from env 19:47:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:47:18 ==> Running gcov in . (disable via -X gcov) 19:47:18 ==> Python coveragepy not found 19:47:18 ==> Searching for coverage reports in: 19:47:18 + . 19:47:18 -> Found 1 reports 19:47:18 ==> Detecting git/mercurial file structure 19:47:18 ==> Reading reports 19:47:18 + ./coverage.out bytes=78636 19:47:18 ==> Appending adjustments 19:47:18 https://docs.codecov.io/docs/fixing-reports 19:47:18 + Found adjustments 19:47:18 ==> Gzipping contents 19:47:18 12K /tmp/codecov.Qj6jAY.gz 19:47:18 ==> Uploading reports 19:47:18 url: https://codecov.io 19:47:18 query: branch=main&commit=68a981fa1763c207823ac86b4113d2db4c49b852&build=77&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F77%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 19:47:18 -> Pinging Codecov 19:47:18 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=68a981fa1763c207823ac86b4113d2db4c49b852&build=77&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F77%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 19:47:19 -> Uploading to 19:47:19 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/F29A59C45E3A92E06B3E522C9905F8EF/68a981fa1763c207823ac86b4113d2db4c49b852/fcaebd49-27b1-4fff-a620-8905c9cc2bcc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T194719Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a33edacbfda851f2657a9fa029e9364892db82c4535b00dcd82b8d2645ee240f 19:47:19 % Total % Received % Xferd Average Speed Time Time Time Current 19:47:19 Dload Upload Total Spent Left Speed 19:47:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10816 0 0 100 10816 0 52504 --:--:-- --:--:-- --:--:-- 52504 19:47:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/68a981fa1763c207823ac86b4113d2db4c49b852 [Pipeline] } 19:47:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:47:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:47:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:47:19 19:47:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:47:20 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:47:20 df9b9388f04a: Pulling fs layer 19:47:20 52dc419b0ee2: Pulling fs layer 19:47:20 25bc292e5bac: Pulling fs layer 19:47:20 114826534d7a: Pulling fs layer 19:47:20 4657fd5d0bcf: Pulling fs layer 19:47:20 6ad1cebc031e: Pulling fs layer 19:47:20 8a3aa393b2d8: Pulling fs layer 19:47:20 114826534d7a: Waiting 19:47:20 6ad1cebc031e: Waiting 19:47:20 4657fd5d0bcf: Waiting 19:47:20 8a3aa393b2d8: Waiting 19:47:20 25bc292e5bac: Download complete 19:47:20 52dc419b0ee2: Verifying Checksum 19:47:20 52dc419b0ee2: Download complete 19:47:20 4657fd5d0bcf: Download complete 19:47:20 df9b9388f04a: Verifying Checksum 19:47:20 df9b9388f04a: Download complete 19:47:20 df9b9388f04a: Pull complete 19:47:20 6ad1cebc031e: Verifying Checksum 19:47:20 6ad1cebc031e: Download complete 19:47:20 52dc419b0ee2: Pull complete 19:47:20 25bc292e5bac: Pull complete 19:47:21 114826534d7a: Verifying Checksum 19:47:21 114826534d7a: Download complete 19:47:21 8a3aa393b2d8: Verifying Checksum 19:47:21 8a3aa393b2d8: Download complete 19:47:24 114826534d7a: Pull complete 19:47:24 4657fd5d0bcf: Pull complete 19:47:24 6ad1cebc031e: Pull complete 19:47:27 8a3aa393b2d8: Pull complete 19:47:27 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:47:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:47:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:47:27 prd-ubuntu20.04-docker-8c-8g-117250 does not seem to be running inside a container 19:47:27 $ 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 19:47:31 $ docker top a8d83b485ddf4818808e2c09c233714ea6b43a7a0b7235ee5b91f7b757bdcf64 -eo pid,comm [Pipeline] { [Pipeline] echo 19:47:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 19:47:32 + set -o pipefail 19:47:32 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 19:47:38 19:47:38 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 19:47:38 19:47:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/6b7be485-a06f-4da5-8dc4-fe8f24df58d2 19:47:38 19:47:38 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 19:47:38 19:47:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:47:38 19:47:39 19:47:39 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:47:39 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:47:39 More details here: https://snyk.co/ue1NS [Pipeline] } 19:47:39 $ docker stop --time=1 a8d83b485ddf4818808e2c09c233714ea6b43a7a0b7235ee5b91f7b757bdcf64 19:47:43 $ docker rm -f a8d83b485ddf4818808e2c09c233714ea6b43a7a0b7235ee5b91f7b757bdcf64 [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 19:47:43 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:47:43 provisioning config files... 19:47:43 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config119065370515814959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:47:44 --> edgex-publish-swagger.sh 19:47:44 === Publish doc/openapi/v2 API === 19:47:44 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 19:47:44 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 19:47:44 % Total % Received % Xferd Average Speed Time Time Time Current 19:47:44 Dload Upload Total Spent Left Speed 19:47:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 15 414k 0 0 15 65536 0 492k --:--:-- --:--:-- --:--:-- 488k 100 414k 0 0 100 414k 0 457k --:--:-- --:--:-- --:--:-- 457k 19:47:45 19:47:45 [Pipeline] } 19:47:45 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 19:47:45 + git log --format=format:%s -1 68a981fa1763c207823ac86b4113d2db4c49b852 [Pipeline] sh 19:47:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:47:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:47:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:47:46 prd-ubuntu20.04-docker-8c-8g-117250 does not seem to be running inside a container 19:47:46 $ 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 19:47:46 $ docker top d474b973637e92fd37c202251063dbdc60bc436eaf59e345f937d35e69cfcb16 -eo pid,comm 19:47:46 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). 19:47:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:47:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:47:46 [ssh-agent] Looking for ssh-agent implementation... 19:47:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:47:46 $ docker exec d474b973637e92fd37c202251063dbdc60bc436eaf59e345f937d35e69cfcb16 ssh-agent 19:47:47 SSH_AUTH_SOCK=/tmp/ssh-QPsM429bWOpL/agent.32 19:47:47 SSH_AGENT_PID=38 19:47:47 Running ssh-add (command line suppressed) 19:47:47 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4869628860705135525.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_4869628860705135525.key) 19:47:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:47:47 + git semver tag 19:47:47 2022-10-26 19:47:47,605 [run_tag] DEBUG tag force:False 19:47:47 2022-10-26 19:47:47,606 [check_head_tag] DEBUG check head tag 19:47:47 2022-10-26 19:47:47,607 [execute] INFO git cat-file --batch-check 19:47:47 2022-10-26 19:47:47,607 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 19:47:47 2022-10-26 19:47:47,611 [execute] INFO git cat-file --batch 19:47:47 2022-10-26 19:47:47,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 19:47:47 2022-10-26 19:47:47,634 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:47:47 2022-10-26 19:47:47,634 [execute] INFO git tag -a v2.3.0-dev.38 -m v2.3.0-dev.38 19:47:47 2022-10-26 19:47:47,634 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.38', '-m', 'v2.3.0-dev.38'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 19:47:47 2022-10-26 19:47:47,638 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:47:47 2.3.0-dev.38 [Pipeline] } 19:47:47 $ docker exec --env ******** --env ******** d474b973637e92fd37c202251063dbdc60bc436eaf59e345f937d35e69cfcb16 ssh-agent -k 19:47:47 unset SSH_AUTH_SOCK; 19:47:47 unset SSH_AGENT_PID; 19:47:47 echo Agent pid 38 killed; 19:47:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:47:48 + git semver [Pipeline] } 19:47:48 $ docker stop --time=1 d474b973637e92fd37c202251063dbdc60bc436eaf59e345f937d35e69cfcb16 19:47:49 $ docker rm -f d474b973637e92fd37c202251063dbdc60bc436eaf59e345f937d35e69cfcb16 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:47:50 19:47:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:47:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:47:50 0.23.1-centos7: Pulling from edgex-lftools 19:47:50 ab5ef0e58194: Pulling fs layer 19:47:50 9712f1f96733: Pulling fs layer 19:47:50 63f879dbbcfc: Pulling fs layer 19:47:50 0d9ebad4ef96: Pulling fs layer 19:47:50 e9a5061849ea: Pulling fs layer 19:47:50 d747dcd14b5f: Pulling fs layer 19:47:50 2de7ff778b66: Pulling fs layer 19:47:50 0d9ebad4ef96: Waiting 19:47:50 e9a5061849ea: Waiting 19:47:50 2de7ff778b66: Waiting 19:47:50 9712f1f96733: Verifying Checksum 19:47:50 9712f1f96733: Download complete 19:47:50 63f879dbbcfc: Verifying Checksum 19:47:50 63f879dbbcfc: Download complete 19:47:50 e9a5061849ea: Verifying Checksum 19:47:50 e9a5061849ea: Download complete 19:47:50 0d9ebad4ef96: Download complete 19:47:50 d747dcd14b5f: Download complete 19:47:50 ab5ef0e58194: Verifying Checksum 19:47:50 ab5ef0e58194: Download complete 19:47:51 2de7ff778b66: Verifying Checksum 19:47:51 2de7ff778b66: Download complete 19:47:53 ab5ef0e58194: Pull complete 19:47:53 9712f1f96733: Pull complete 19:47:54 63f879dbbcfc: Pull complete 19:47:57 0d9ebad4ef96: Pull complete 19:47:57 e9a5061849ea: Pull complete 19:47:57 d747dcd14b5f: Pull complete 19:47:58 2de7ff778b66: Pull complete 19:47:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:47:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:47:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:47:58 prd-ubuntu20.04-docker-8c-8g-117250 does not seem to be running inside a container 19:47:58 $ 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 19:48:03 $ docker top 6e4ab36763e17e1172aaf01633647c9271991cae0150d4775cc24612dac56768 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:48:03 provisioning config files... 19:48:03 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config6527276018048347399tmp 19:48:03 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9190569480399253748tmp 19:48:03 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config13300769380549978376tmp [Pipeline] { [Pipeline] echo 19:48:03 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:48:03 ---> sigul-configuration.sh 19:48:03 gpg: directory `/root/.gnupg' created 19:48:03 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:48:03 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:48:03 gpg: keyring `/root/.gnupg/secring.gpg' created 19:48:03 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:48:03 gpg: CAST5 encrypted data 19:48:03 gpg: encrypted with 1 passphrase 19:48:03 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:48:04 + mkdir /home/jenkins 19:48:04 + mkdir /home/jenkins/sigul [Pipeline] sh 19:48:04 + 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 19:48:04 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:48:04 ---> sigul-install.sh 19:48:04 Sigul already installed; skipping installation. [Pipeline] sh 19:48:04 + git tag --list 19:48:04 v0.0.0 19:48:04 v0.0.1-dev.1 19:48:04 v0.0.1-dev.10 19:48:04 v0.0.1-dev.11 19:48:04 v0.0.1-dev.12 19:48:04 v0.0.1-dev.13 19:48:04 v0.0.1-dev.14 19:48:04 v0.0.1-dev.15 19:48:04 v0.0.1-dev.16 19:48:04 v0.0.1-dev.17 19:48:04 v0.0.1-dev.18 19:48:04 v0.0.1-dev.19 19:48:04 v0.0.1-dev.2 19:48:04 v0.0.1-dev.20 19:48:04 v0.0.1-dev.21 19:48:04 v0.0.1-dev.22 19:48:04 v0.0.1-dev.23 19:48:04 v0.0.1-dev.24 19:48:04 v0.0.1-dev.25 19:48:04 v0.0.1-dev.26 19:48:04 v0.0.1-dev.27 19:48:04 v0.0.1-dev.28 19:48:04 v0.0.1-dev.3 19:48:04 v0.0.1-dev.4 19:48:04 v0.0.1-dev.5 19:48:04 v0.0.1-dev.6 19:48:04 v0.0.1-dev.7 19:48:04 v0.0.1-dev.8 19:48:04 v0.0.1-dev.9 19:48:04 v2.2.0 19:48:04 v2.2.0-dev.29 19:48:04 v2.2.0-dev.30 19:48:04 v2.2.0-dev.31 19:48:04 v2.2.0-dev.32 19:48:04 v2.2.0-dev.33 19:48:04 v2.2.0-dev.34 19:48:04 v2.2.0-dev.35 19:48:04 v2.3.0-dev.1 19:48:04 v2.3.0-dev.10 19:48:04 v2.3.0-dev.11 19:48:04 v2.3.0-dev.12 19:48:04 v2.3.0-dev.13 19:48:04 v2.3.0-dev.14 19:48:04 v2.3.0-dev.15 19:48:04 v2.3.0-dev.16 19:48:04 v2.3.0-dev.17 19:48:04 v2.3.0-dev.18 19:48:04 v2.3.0-dev.19 19:48:04 v2.3.0-dev.2 19:48:04 v2.3.0-dev.20 19:48:04 v2.3.0-dev.21 19:48:04 v2.3.0-dev.22 19:48:04 v2.3.0-dev.23 19:48:04 v2.3.0-dev.24 19:48:04 v2.3.0-dev.25 19:48:04 v2.3.0-dev.26 19:48:04 v2.3.0-dev.27 19:48:04 v2.3.0-dev.28 19:48:04 v2.3.0-dev.29 19:48:04 v2.3.0-dev.3 19:48:04 v2.3.0-dev.30 19:48:04 v2.3.0-dev.31 19:48:04 v2.3.0-dev.32 19:48:04 v2.3.0-dev.33 19:48:04 v2.3.0-dev.34 19:48:04 v2.3.0-dev.35 19:48:04 v2.3.0-dev.36 19:48:04 v2.3.0-dev.37 19:48:04 v2.3.0-dev.38 19:48:04 v2.3.0-dev.4 19:48:04 v2.3.0-dev.5 19:48:04 v2.3.0-dev.6 19:48:04 v2.3.0-dev.7 19:48:04 v2.3.0-dev.8 19:48:04 v2.3.0-dev.9 [Pipeline] sh 19:48:05 + lftools sign git-tag v2.3.0-dev.38 19:48:05 Signing Git tag with Sigul... 19:48:05 Signing v2.3.0-dev.38 [Pipeline] echo 19:48:06 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:48:06 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:48:06 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:48:06 $ docker stop --time=1 6e4ab36763e17e1172aaf01633647c9271991cae0150d4775cc24612dac56768 19:48:07 $ docker rm -f 6e4ab36763e17e1172aaf01633647c9271991cae0150d4775cc24612dac56768 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:48:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:48:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:48:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:48:08 prd-ubuntu20.04-docker-8c-8g-117250 does not seem to be running inside a container 19:48:08 $ 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 19:48:08 $ docker top 9e710d286e242c26b2bd6bcd549afc1cc1dcaf66f95dbf83a31a11bde0e05cd9 -eo pid,comm 19:48:08 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). 19:48:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:48:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:48:08 [ssh-agent] Looking for ssh-agent implementation... 19:48:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:48:08 $ docker exec 9e710d286e242c26b2bd6bcd549afc1cc1dcaf66f95dbf83a31a11bde0e05cd9 ssh-agent 19:48:09 SSH_AUTH_SOCK=/tmp/ssh-mR45dA7KI66Z/agent.32 19:48:09 SSH_AGENT_PID=38 19:48:09 Running ssh-add (command line suppressed) 19:48:09 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2082674777994758499.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_2082674777994758499.key) 19:48:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:48:09 + git semver bump pre 19:48:09 2022-10-26 19:48:09,662 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:48:09 2022-10-26 19:48:09,662 [bump_version] DEBUG bumping version:2.3.0-dev.38 on axis:pre with prefix:dev 19:48:09 2022-10-26 19:48:09,662 [bump_version] DEBUG bumped version:2.3.0-dev.39 19:48:09 2022-10-26 19:48:09,662 [write_version] DEBUG write version:2.3.0-dev.39 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 19:48:09 2022-10-26 19:48:09,663 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:48:09 2022-10-26 19:48:09,663 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 19:48:09 2022-10-26 19:48:09,664 [execute] INFO git cat-file --batch-check 19:48:09 2022-10-26 19:48:09,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 19:48:09 2022-10-26 19:48:09,670 [execute] INFO git cat-file --batch 19:48:09 2022-10-26 19:48:09,670 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 19:48:09 2022-10-26 19:48:09,675 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:48:09 2.3.0-dev.39 [Pipeline] } 19:48:09 $ docker exec --env ******** --env ******** 9e710d286e242c26b2bd6bcd549afc1cc1dcaf66f95dbf83a31a11bde0e05cd9 ssh-agent -k 19:48:09 unset SSH_AUTH_SOCK; 19:48:09 unset SSH_AGENT_PID; 19:48:09 echo Agent pid 38 killed; 19:48:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:48:10 + git semver [Pipeline] } 19:48:10 $ docker stop --time=1 9e710d286e242c26b2bd6bcd549afc1cc1dcaf66f95dbf83a31a11bde0e05cd9 19:48:11 $ docker rm -f 9e710d286e242c26b2bd6bcd549afc1cc1dcaf66f95dbf83a31a11bde0e05cd9 [Pipeline] // withDockerContainer [Pipeline] sh 19:48:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:48:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:48:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:48:12 prd-ubuntu20.04-docker-8c-8g-117250 does not seem to be running inside a container 19:48:12 $ 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 19:48:12 $ docker top 9716979a4d9898e3a7ac42b6a6179b0b578c522d63c6a15ad15474c96cc2c0f3 -eo pid,comm 19:48:12 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). 19:48:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:48:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:48:12 [ssh-agent] Looking for ssh-agent implementation... 19:48:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:48:12 $ docker exec 9716979a4d9898e3a7ac42b6a6179b0b578c522d63c6a15ad15474c96cc2c0f3 ssh-agent 19:48:13 SSH_AUTH_SOCK=/tmp/ssh-Jlfv0TtStow2/agent.34 19:48:13 SSH_AGENT_PID=40 19:48:13 Running ssh-add (command line suppressed) 19:48:13 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14685056430839265835.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14685056430839265835.key) 19:48:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:48:13 + git semver push 19:48:13 2022-10-26 19:48:13,570 [run_push] DEBUG push 19:48:13 2022-10-26 19:48:13,571 [execute] INFO git cat-file --batch-check 19:48:13 2022-10-26 19:48:13,571 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 19:48:13 2022-10-26 19:48:13,575 [execute] INFO git rev-list 7de7338d92e872cf24a0f9c2e992ef76651656b4 -- 19:48:13 2022-10-26 19:48:13,576 [execute] DEBUG Popen(['git', 'rev-list', '7de7338d92e872cf24a0f9c2e992ef76651656b4', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 19:48:13 2022-10-26 19:48:13,583 [execute] INFO git fetch -v origin 19:48:13 2022-10-26 19:48:13,583 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 19:48:14 2022-10-26 19:48:14,172 [run_push] DEBUG no remote changes detected 19:48:14 2022-10-26 19:48:14,172 [execute] INFO git push origin semver 19:48:14 2022-10-26 19:48:14,173 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 19:48:15 2022-10-26 19:48:15,183 [run_push] DEBUG push all version tags 19:48:15 2022-10-26 19:48:15,184 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:48:15 2022-10-26 19:48:15,184 [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) 19:48:16 2022-10-26 19:48:16,008 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 19:48:16 2.3.0-dev.39 [Pipeline] } 19:48:16 $ docker exec --env ******** --env ******** 9716979a4d9898e3a7ac42b6a6179b0b578c522d63c6a15ad15474c96cc2c0f3 ssh-agent -k 19:48:16 unset SSH_AUTH_SOCK; 19:48:16 unset SSH_AGENT_PID; 19:48:16 echo Agent pid 40 killed; 19:48:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:48:16 + git semver [Pipeline] } 19:48:16 $ docker stop --time=1 9716979a4d9898e3a7ac42b6a6179b0b578c522d63c6a15ad15474c96cc2c0f3 19:48:18 $ docker rm -f 9716979a4d9898e3a7ac42b6a6179b0b578c522d63c6a15ad15474c96cc2c0f3 [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 19:48:18 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 19:48:18 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 19:48:18 total 16 19:48:18 drwxr-xr-x 3 root root 4096 Oct 26 19:33 . 19:48:18 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 19:48 .. 19:48:18 drwxr-xr-x 2 root root 4096 Oct 26 19:33 cost 19:48:18 -rw-r--r-- 1 root root 90 Oct 26 19:33 cost.csv 19:48:18 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 19:48:18 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 19:48:18 total 16 19:48:18 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 19:33 . 19:48:18 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 19:48 .. 19:48:18 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 19:33 cost 19:48:18 -rw-r--r-- 1 jenkins jenkins 90 Oct 26 19:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:48:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:48:19 ---> package-listing.sh 19:48:19 ++ facter osfamily 19:48:19 ++ tr '[:upper:]' '[:lower:]' 19:48:20 + OS_FAMILY=debian 19:48:20 + workspace=/w/workspace/foundry_device-onvif-camera_main 19:48:20 + START_PACKAGES=/tmp/packages_start.txt 19:48:20 + END_PACKAGES=/tmp/packages_end.txt 19:48:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:48:20 + PACKAGES=/tmp/packages_start.txt 19:48:20 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 19:48:20 + PACKAGES=/tmp/packages_end.txt 19:48:20 + case "${OS_FAMILY}" in 19:48:20 + dpkg -l 19:48:20 + grep '^ii' 19:48:20 + '[' -f /tmp/packages_start.txt ']' 19:48:20 + '[' -f /tmp/packages_end.txt ']' 19:48:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:48:20 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 19:48:20 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 19:48:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 19:48:20 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 19:48:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:48:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:48:21 prd-ubuntu20.04-docker-8c-8g-117250 does not seem to be running inside a container 19:48:21 $ 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 19:48:21 $ docker top 0762311dd611fc33dc9da0375635248bf1d95531444c22a7c99b45eb030af6fb -eo pid,comm [Pipeline] { [Pipeline] sh 19:48:21 + touch /tmp/pre-build-complete [Pipeline] sh 19:48:21 + mkdir -p /var/log/sysstat [Pipeline] sh 19:48:22 + ls /var/log/sa-host 19:48:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:48:22 provisioning config files... 19:48:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4742321893243120644tmp [Pipeline] { [Pipeline] echo 19:48:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:48:22 ---> create-netrc.sh [Pipeline] } 19:48:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:48:22 ---> python-tools-install.sh [Pipeline] echo 19:48:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:48:23 ---> sudo-logs.sh 19:48:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:48:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:48:23 ---> job-cost.sh 19:48:23 lf-activate-venv: SKIPPING 19:48:23 DEBUG: total: 0.2199999988079071 19:48:23 INFO: Retrieving Stack Cost... 19:48:24 INFO: Retrieving Pricing Info for: v3-standard-8 19:48:24 INFO: Archiving Costs [Pipeline] echo 19:48:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:48:24 ---> logs-deploy.sh 19:48:24 lf-activate-venv: SKIPPING 19:48:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/77 19:48:24 INFO: archiving workspace using pattern(s): 19:48:25 Archives upload complete. 19:48:25 INFO: archiving logs to Nexus