Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 48aac476b513547f736cc1fa92662379694eca8e 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-ssh15591420582282680172.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-ssh6220570759207940423.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-ssh5642924620342705432.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-ssh5766884149102004026.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-ssh16438340177029702276.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-116899 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 48aac476b513547f736cc1fa92662379694eca8e (main) Commit message: "fix: update command request and response topic (#186)" > git config core.sparsecheckout # timeout=10 > git checkout -f 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 > git rev-list --no-walk 5d7a9db6a708ff5f4775a07ba788f56c414f1565 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:09:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:09:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:09:58 ========================================================= 16:09:58 EdgeX Global Pipelines Version Info 16:09:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:09:58 ------------------- 16:09:58 stable info: 16:09:58 ------------------- 16:09:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:09:58 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 16:09:58 Message: update stable to v1.0.243 16:09:59 ------------------- 16:09:59 experimental info: 16:09:59 ------------------- 16:09:59 Commited By: **** collab-it+edgex@linuxfoundation.org 16:09:59 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 16:09:59 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:09:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48aac476b513547f736cc1fa92662379694eca8e [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 48aac47 [Pipeline] echo 16:10:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:10:00 provisioning config files... 16:10:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10797884186913180966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:10:00 ---> docker-login.sh 16:10:00 nexus3.edgexfoundry.org:10001 16:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:00 Configure a credential helper to remove this warning. See 16:10:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:00 16:10:00 Login Succeeded 16:10:00 nexus3.edgexfoundry.org:10002 16:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:00 Configure a credential helper to remove this warning. See 16:10:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:00 16:10:00 Login Succeeded 16:10:00 nexus3.edgexfoundry.org:10003 16:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:00 Configure a credential helper to remove this warning. See 16:10:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:00 16:10:00 Login Succeeded 16:10:00 nexus3.edgexfoundry.org:10004 16:10:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:00 Configure a credential helper to remove this warning. See 16:10:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:00 16:10:00 Login Succeeded 16:10:00 docker.io 16:10:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:01 Configure a credential helper to remove this warning. See 16:10:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:01 16:10:01 Login Succeeded 16:10:01 ---> docker-login.sh ends [Pipeline] } 16:10:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:10:01 + git rev-list -1 --merges 48aac476b513547f736cc1fa92662379694eca8e~1..48aac476b513547f736cc1fa92662379694eca8e [Pipeline] echo 16:10:01 -----------> git rev-list -1 --merges 48aac476b513547f736cc1fa92662379694eca8e~1..48aac476b513547f736cc1fa92662379694eca8e 48aac476b513547f736cc1fa92662379694eca8e [false] [Pipeline] sh 16:10:02 + git log --format=format:%s -1 48aac476b513547f736cc1fa92662379694eca8e [Pipeline] echo 16:10:02 ========================================================= 16:10:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:10:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:10:02 + git log --format=format:%s -1 48aac476b513547f736cc1fa92662379694eca8e [Pipeline] echo 16:10:02 [semverPrep] GIT_COMMIT: 48aac476b513547f736cc1fa92662379694eca8e, Commit Message: fix: update command request and response topic (#186) [Pipeline] echo 16:10:02 [semverPrep] This is not a build commit. [Pipeline] sh 16:10:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:10:02 + grep -v github /etc/ssh/ssh_known_hosts 16:10:02 + [ -e /tmp/ssh_known_hosts ] 16:10:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:10:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:10:02 + sudo tee -a /etc/ssh/ssh_known_hosts 16:10:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:03 16:10:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:03 0.1.4: Pulling from edgex-devops/py-git-semver 16:10:03 b85a868b505f: Pulling fs layer 16:10:03 e2be974225ed: Pulling fs layer 16:10:03 339a4e72a1f5: Pulling fs layer 16:10:03 988bab9f4d93: Pulling fs layer 16:10:03 1469e6f7b9e6: Pulling fs layer 16:10:03 eaf3925da568: Pulling fs layer 16:10:03 bab4dde63d76: Pulling fs layer 16:10:03 bde34c3a00c8: Pulling fs layer 16:10:03 b352a97aabf1: Pulling fs layer 16:10:03 4872d77fe225: Pulling fs layer 16:10:03 5851b861e8e6: Pulling fs layer 16:10:03 bab4dde63d76: Waiting 16:10:03 bde34c3a00c8: Waiting 16:10:03 eaf3925da568: Waiting 16:10:03 4872d77fe225: Waiting 16:10:03 988bab9f4d93: Waiting 16:10:03 1469e6f7b9e6: Waiting 16:10:03 5851b861e8e6: Waiting 16:10:03 e2be974225ed: Download complete 16:10:03 988bab9f4d93: Verifying Checksum 16:10:03 988bab9f4d93: Download complete 16:10:03 1469e6f7b9e6: Verifying Checksum 16:10:03 1469e6f7b9e6: Download complete 16:10:03 eaf3925da568: Download complete 16:10:03 339a4e72a1f5: Verifying Checksum 16:10:03 339a4e72a1f5: Download complete 16:10:03 bde34c3a00c8: Verifying Checksum 16:10:03 bde34c3a00c8: Download complete 16:10:03 b352a97aabf1: Download complete 16:10:03 4872d77fe225: Verifying Checksum 16:10:03 4872d77fe225: Download complete 16:10:03 5851b861e8e6: Verifying Checksum 16:10:03 5851b861e8e6: Download complete 16:10:03 b85a868b505f: Verifying Checksum 16:10:03 b85a868b505f: Download complete 16:10:04 bab4dde63d76: Verifying Checksum 16:10:04 bab4dde63d76: Download complete 16:10:04 b85a868b505f: Pull complete 16:10:05 e2be974225ed: Pull complete 16:10:05 339a4e72a1f5: Pull complete 16:10:05 988bab9f4d93: Pull complete 16:10:06 1469e6f7b9e6: Pull complete 16:10:06 eaf3925da568: Pull complete 16:10:07 bab4dde63d76: Pull complete 16:10:07 bde34c3a00c8: Pull complete 16:10:07 b352a97aabf1: Pull complete 16:10:08 4872d77fe225: Pull complete 16:10:08 5851b861e8e6: Pull complete 16:10:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:10:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:10:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:08 prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container 16:10: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:10:10 $ docker top 05b17ecb63436a78a6321f7913c61e0d18b6a66c93f9cf6831df8865de9c7239 -eo pid,comm 16:10:10 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). 16:10:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:10:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:10 [ssh-agent] Looking for ssh-agent implementation... 16:10:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:11 $ docker exec 05b17ecb63436a78a6321f7913c61e0d18b6a66c93f9cf6831df8865de9c7239 ssh-agent 16:10:11 SSH_AUTH_SOCK=/tmp/ssh-76Nq7e8AARuU/agent.31 16:10:11 SSH_AGENT_PID=37 16:10:11 Running ssh-add (command line suppressed) 16:10:11 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13830031255289753020.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13830031255289753020.key) 16:10:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:11 + git tag --points-at HEAD [Pipeline] } 16:10:11 $ docker exec --env ******** --env ******** 05b17ecb63436a78a6321f7913c61e0d18b6a66c93f9cf6831df8865de9c7239 ssh-agent -k 16:10:11 unset SSH_AUTH_SOCK; 16:10:11 unset SSH_AGENT_PID; 16:10:11 echo Agent pid 37 killed; 16:10:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:10:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:10:11 [ssh-agent] Looking for ssh-agent implementation... 16:10:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:10:11 $ docker exec 05b17ecb63436a78a6321f7913c61e0d18b6a66c93f9cf6831df8865de9c7239 ssh-agent 16:10:11 SSH_AUTH_SOCK=/tmp/ssh-16G457WNXIEr/agent.69 16:10:11 SSH_AGENT_PID=75 16:10:11 Running ssh-add (command line suppressed) 16:10:12 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13039134805202116808.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_13039134805202116808.key) 16:10:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:10:12 + git semver init 16:10:12 2022-10-25 16:10:12,560 [run_init] DEBUG init version:0.0.0 force:False 16:10:12 2022-10-25 16:10:12,561 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 16:10:12 2022-10-25 16:10:12,561 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 16:10:12 2022-10-25 16:10:12,562 [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) 16:10:13 2022-10-25 16:10:13,625 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 16:10:13 2022-10-25 16:10:13,626 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 16:10:13 2022-10-25 16:10:13,626 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:10:13 2022-10-25 16:10:13,626 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:10:13 2.3.0-dev.37 [Pipeline] } 16:10:14 $ docker exec --env ******** --env ******** 05b17ecb63436a78a6321f7913c61e0d18b6a66c93f9cf6831df8865de9c7239 ssh-agent -k 16:10:14 unset SSH_AUTH_SOCK; 16:10:14 unset SSH_AGENT_PID; 16:10:14 echo Agent pid 75 killed; 16:10:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:10:14 + git semver [Pipeline] } 16:10:14 $ docker stop --time=1 05b17ecb63436a78a6321f7913c61e0d18b6a66c93f9cf6831df8865de9c7239 16:10:15 $ docker rm -f 05b17ecb63436a78a6321f7913c61e0d18b6a66c93f9cf6831df8865de9c7239 [Pipeline] // withDockerContainer [Pipeline] sh 16:10:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:10:16 Stashed 1 file(s) [Pipeline] echo 16:10:16 [edgeXSemver]: initialized semver on version 2.3.0-dev.37 [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 16:10:16 provisioning config files... 16:10:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3368912214460755001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:10:16 ---> docker-login.sh 16:10:16 nexus3.edgexfoundry.org:10001 16:10:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:16 Configure a credential helper to remove this warning. See 16:10:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:16 16:10:16 Login Succeeded 16:10:16 nexus3.edgexfoundry.org:10002 16:10:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:16 Configure a credential helper to remove this warning. See 16:10:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:16 16:10:16 Login Succeeded 16:10:16 nexus3.edgexfoundry.org:10003 16:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:17 Configure a credential helper to remove this warning. See 16:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:17 16:10:17 Login Succeeded 16:10:17 nexus3.edgexfoundry.org:10004 16:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:17 Configure a credential helper to remove this warning. See 16:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:17 16:10:17 Login Succeeded 16:10:17 docker.io 16:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:17 Configure a credential helper to remove this warning. See 16:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:17 16:10:17 Login Succeeded 16:10:17 ---> docker-login.sh ends [Pipeline] } 16:10:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:10:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:10:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:10:17 ========================================================= 16:10:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:10:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:18 + 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 . 16:10:18 Sending build context to Docker daemon 21.44MB 16:10:18 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 16:10:18 Step 2/14 : FROM ${BASE} AS builder 16:10:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:10:18 213ec9aee27d: Pulling fs layer 16:10:18 4583459ba037: Pulling fs layer 16:10:18 93c1e223e6f2: Pulling fs layer 16:10:18 53926ce57604: Pulling fs layer 16:10:18 21b2b0c7a3f4: Pulling fs layer 16:10:18 30f14e443154: Pulling fs layer 16:10:18 801331c1e519: Pulling fs layer 16:10:18 99cc6dd402b0: Pulling fs layer 16:10:18 7d9ed39f4882: Pulling fs layer 16:10:18 53926ce57604: Waiting 16:10:18 21b2b0c7a3f4: Waiting 16:10:18 30f14e443154: Waiting 16:10:18 801331c1e519: Waiting 16:10:18 99cc6dd402b0: Waiting 16:10:18 7d9ed39f4882: Waiting 16:10:18 93c1e223e6f2: Verifying Checksum 16:10:18 93c1e223e6f2: Download complete 16:10:18 4583459ba037: Download complete 16:10:18 21b2b0c7a3f4: Verifying Checksum 16:10:18 21b2b0c7a3f4: Download complete 16:10:18 30f14e443154: Verifying Checksum 16:10:18 30f14e443154: Download complete 16:10:18 213ec9aee27d: Verifying Checksum 16:10:18 801331c1e519: Verifying Checksum 16:10:18 801331c1e519: Download complete 16:10:18 213ec9aee27d: Pull complete 16:10:18 4583459ba037: Pull complete 16:10:18 93c1e223e6f2: Pull complete 16:10:19 53926ce57604: Verifying Checksum 16:10:19 53926ce57604: Download complete 16:10:19 7d9ed39f4882: Verifying Checksum 16:10:19 7d9ed39f4882: Download complete 16:10:19 99cc6dd402b0: Verifying Checksum 16:10:19 99cc6dd402b0: Download complete 16:10:23 53926ce57604: Pull complete 16:10:23 21b2b0c7a3f4: Pull complete 16:10:23 30f14e443154: Pull complete 16:10:23 801331c1e519: Pull complete 16:10:25 99cc6dd402b0: Pull complete 16:10:26 7d9ed39f4882: Pull complete 16:10:26 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 16:10:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:10:26 ---> 1dedd983c030 16:10:26 Step 3/14 : ARG ADD_BUILD_TAGS="" 16:10:29 ---> Running in d18790a84245 16:10:29 Removing intermediate container d18790a84245 16:10:29 ---> d9bbbb505e90 16:10:29 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:10:29 ---> Running in 0012d79b2970 16:10:29 Removing intermediate container 0012d79b2970 16:10:29 ---> fd7027747c77 16:10:29 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:10:29 ---> Running in 8c6db4a85059 16:10:29 Removing intermediate container 8c6db4a85059 16:10:29 ---> e0d28cfc8e87 16:10:29 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 16:10:29 ---> Running in 36ead3a686df 16:10:29 Removing intermediate container 36ead3a686df 16:10:29 ---> a600151e1f80 16:10:29 Step 7/14 : LABEL Name=edgex-device-onvif-camera 16:10:30 ---> Running in 8dd1f525fb40 16:10:30 Removing intermediate container 8dd1f525fb40 16:10:30 ---> 09e5635112da 16:10:30 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:10:30 ---> Running in b88de89e733d 16:10:30 Removing intermediate container b88de89e733d 16:10:30 ---> 5a6698d3e4bf 16:10:30 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:10:31 ---> Running in 36bd014f02ff 16:10:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:10:31 Still waiting to schedule task 16:10:31 ‘prd-ubuntu20.04-docker-8c-8g-116887’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 16:10:31 ‘prd-ubuntu20.04-docker-arm64-4c-16g-116900’ is offline 16:10:31 ‘prd-ubuntu20.04-docker-arm64-4c-16g-116901’ is offline 16:10:31 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory 16:10:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:10:31 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory 16:10:31 OK: 211 MiB in 51 packages 16:10:32 Removing intermediate container 36bd014f02ff 16:10:32 ---> dbd31f2e2128 16:10:32 Step 10/14 : WORKDIR /device-onvif-camera 16:10:32 ---> Running in d1200c75356e 16:10:32 Removing intermediate container d1200c75356e 16:10:32 ---> 5f5382d80f91 16:10:32 Step 11/14 : COPY go.mod vendor* ./ 16:10:32 ---> b6f6b3181fd1 16:10:32 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:10:32 ---> Running in ee373067dfdc 16:10:54 Removing intermediate container ee373067dfdc 16:10:54 ---> f4a0f353a0db 16:10:54 Step 13/14 : COPY . . 16:10:54 ---> e6aeff9dd7ef 16:10:54 Step 14/14 : RUN ${MAKE} 16:10:54 ---> Running in 53ef4f8e6b19 16:10:54 noop 16:10:54 Removing intermediate container 53ef4f8e6b19 16:10:54 ---> 257f4f03ac6f 16:10:54 Successfully built 257f4f03ac6f 16:10:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:54 + docker inspect -f . ci-base-image-x86_64 16:10:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:54 prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container 16:10:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:10:55 $ docker top 83d667d95508a52f7852597f924b72b8644451cfc06f8c02bd26f403a738f94c -eo pid,comm [Pipeline] { [Pipeline] sh 16:10:55 + go version 16:10:55 go version go1.18.7 linux/amd64 [Pipeline] } 16:10:55 $ docker stop --time=1 83d667d95508a52f7852597f924b72b8644451cfc06f8c02bd26f403a738f94c 16:10:56 $ docker rm -f 83d667d95508a52f7852597f924b72b8644451cfc06f8c02bd26f403a738f94c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:57 + docker inspect -f . ci-base-image-x86_64 16:10:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:10:57 prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container 16:10:57 $ 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 ******** ci-base-image-x86_64 cat 16:10:57 $ docker top abd9ced87aa81107655bdf04c5801bc21871a2c0a3681e478450d5b282adec53 -eo pid,comm [Pipeline] { [Pipeline] sh 16:10:57 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 16:10:58 + make test 16:10:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:10:58 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:11:10 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:11:11 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements 16:11:11 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:11:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.589s coverage: 86.5% of statements 16:11:19 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." 16:11:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:11:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:11:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:11:22 ./bin/test-attribution-txt.sh [Pipeline] echo 16:11:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:11:22 $ docker stop --time=1 abd9ced87aa81107655bdf04c5801bc21871a2c0a3681e478450d5b282adec53 16:11:24 $ docker rm -f abd9ced87aa81107655bdf04c5801bc21871a2c0a3681e478450d5b282adec53 [Pipeline] // withDockerContainer [Pipeline] sh 16:11:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:11:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:11:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:11:25 + ls -al . 16:11:25 total 244 16:11:25 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 16:10 . 16:11:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 16:09 .. 16:11:25 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 16:11 .git 16:11:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 16:09 .github 16:11:25 -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 16:09 .gitignore 16:11:25 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 16:09 .golangci.yml 16:11:25 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 16:10 .semver 16:11:25 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 16:09 Attribution.txt 16:11:25 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 16:09 CHANGELOG.md 16:11:25 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 25 16:09 Dockerfile 16:11:25 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 16:09 GOVERNANCE.md 16:11:25 -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 16:09 Jenkinsfile 16:11:25 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 16:09 LICENSE 16:11:25 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 16:09 Makefile 16:11:25 -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 16:09 OWNERS.md 16:11:25 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 16:09 README.md 16:11:25 -rw-rw-r-- 1 jenkins jenkins 12 Oct 25 16:10 VERSION 16:11:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 16:09 bin 16:11:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 16:09 cmd 16:11:25 -rw-r--r-- 1 jenkins jenkins 78636 Oct 25 16:11 coverage.out 16:11:25 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 16:09 doc 16:11:25 -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 16:09 go.mod 16:11:25 -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 16:09 go.sum 16:11:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 16:09 internal 16:11:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 16:09 snap 16:11:25 -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 16:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:26 + 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=48aac476b513547f736cc1fa92662379694eca8e --label arch=amd64 --label version=2.3.0-dev.37 . 16:11:26 Sending build context to Docker daemon 21.52MB 16:11:26 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 16:11:26 Step 2/27 : FROM ${BASE} AS builder 16:11:26 ---> 257f4f03ac6f 16:11:26 Step 3/27 : ARG ADD_BUILD_TAGS="" 16:11:26 ---> Running in f6b5c81c118d 16:11:26 Removing intermediate container f6b5c81c118d 16:11:26 ---> 4188ac8dfa30 16:11:26 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:11:26 ---> Running in 01c6b55a26d9 16:11:26 Removing intermediate container 01c6b55a26d9 16:11:26 ---> fe71be9fdbc4 16:11:26 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:11:26 ---> Running in 5b18c2a2aa37 16:11:26 Removing intermediate container 5b18c2a2aa37 16:11:26 ---> e1cf00878050 16:11:26 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 16:11:26 ---> Running in 117d0b72e7ba 16:11:27 Removing intermediate container 117d0b72e7ba 16:11:27 ---> badafe924fa6 16:11:27 Step 7/27 : LABEL Name=edgex-device-onvif-camera 16:11:27 ---> Running in d10c66d203d2 16:11:27 Removing intermediate container d10c66d203d2 16:11:27 ---> 8f8ccfbe8c9f 16:11:27 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:11:27 ---> Running in 77bedf6a43dc 16:11:27 Removing intermediate container 77bedf6a43dc 16:11:27 ---> 8eece7d16995 16:11:27 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:11:27 ---> Running in fdb3096862d7 16:11:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:11:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:11:28 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory 16:11:28 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory 16:11:28 OK: 211 MiB in 51 packages 16:11:29 Removing intermediate container fdb3096862d7 16:11:29 ---> 6e119272deb5 16:11:29 Step 10/27 : WORKDIR /device-onvif-camera 16:11:29 ---> Running in 7ea96537eed7 16:11:29 Removing intermediate container 7ea96537eed7 16:11:29 ---> 5bdc2468f158 16:11:29 Step 11/27 : COPY go.mod vendor* ./ 16:11:29 ---> 7ea65b394f91 16:11:29 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:11:29 ---> Running in 1edb8049abab 16:11:29 Removing intermediate container 1edb8049abab 16:11:29 ---> c4ebe44233c6 16:11:29 Step 13/27 : COPY . . 16:11:30 ---> e221813c74f6 16:11:30 Step 14/27 : RUN ${MAKE} 16:11:30 ---> Running in b4d5d51ec795 16:11:30 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.37 -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 16:11:52 Removing intermediate container b4d5d51ec795 16:11:52 ---> 785d82ed70ac 16:11:52 Step 15/27 : FROM alpine:3.16 16:11:52 3.16: Pulling from library/alpine 16:11:52 213ec9aee27d: Already exists 16:11:52 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:11:52 Status: Downloaded newer image for alpine:3.16 16:11:52 ---> 9c6f07244728 16:11:52 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:11:52 ---> Running in 6659cd520b41 16:11:52 Removing intermediate container 6659cd520b41 16:11:52 ---> 2b870a3ff3d6 16:11:52 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 16:11:52 ---> Running in 64533b89350f 16:11:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:11:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:11:52 (1/6) Installing dumb-init (1.2.5-r1) 16:11:52 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:11:52 (3/6) Installing libsodium (1.0.18-r0) 16:11:52 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:11:52 (5/6) Installing libzmq (4.3.4-r0) 16:11:52 (6/6) Installing zeromq (4.3.4-r0) 16:11:52 Executing busybox-1.35.0-r17.trigger 16:11:52 OK: 8 MiB in 20 packages 16:11:52 Removing intermediate container 64533b89350f 16:11:52 ---> a4481a990593 16:11:52 Step 18/27 : WORKDIR / 16:11:52 ---> Running in b5a2d1b91420 16:11:52 Removing intermediate container b5a2d1b91420 16:11:52 ---> 532a17408459 16:11:52 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 16:11:53 ---> 53c4c46dd2a9 16:11:53 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 16:11:53 ---> e43ed821a2cd 16:11:53 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:11:53 ---> b09574f83aa8 16:11:53 Step 22/27 : EXPOSE 59984 16:11:53 ---> Running in c11d85429b89 16:11:53 Removing intermediate container c11d85429b89 16:11:53 ---> e9193121b89d 16:11:53 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 16:11:53 ---> Running in 76153b0049dd 16:11:53 Removing intermediate container 76153b0049dd 16:11:53 ---> d8629a8dc1a7 16:11:53 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:11:54 ---> Running in 0fa0e654d906 16:11:54 Removing intermediate container 0fa0e654d906 16:11:54 ---> 9a2ff10ee923 16:11:54 Step 25/27 : LABEL arch=amd64 16:11:54 ---> Running in b866baf1a623 16:11:54 Removing intermediate container b866baf1a623 16:11:54 ---> b7965961f52b 16:11:54 Step 26/27 : LABEL git_sha=48aac476b513547f736cc1fa92662379694eca8e 16:11:54 ---> Running in ebdc57470acc 16:11:54 Removing intermediate container ebdc57470acc 16:11:54 ---> 7ae6b1bd8211 16:11:54 Step 27/27 : LABEL version=2.3.0-dev.37 16:11:54 ---> Running in 19797281e2f6 16:11:54 Removing intermediate container 19797281e2f6 16:11:54 ---> 53e37ce14d0e 16:11:54 [Warning] One or more build-args [ARCH] were not consumed 16:11:54 Successfully built 53e37ce14d0e 16:11:54 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 16:11:54 provisioning config files... 16:11:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9146192891324098220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:55 ---> docker-login.sh 16:11:55 nexus3.edgexfoundry.org:10001 16:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:55 Configure a credential helper to remove this warning. See 16:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:55 16:11:55 Login Succeeded 16:11:55 nexus3.edgexfoundry.org:10002 16:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:55 Configure a credential helper to remove this warning. See 16:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:55 16:11:55 Login Succeeded 16:11:55 nexus3.edgexfoundry.org:10003 16:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:55 Configure a credential helper to remove this warning. See 16:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:55 16:11:55 Login Succeeded 16:11:55 nexus3.edgexfoundry.org:10004 16:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:55 Configure a credential helper to remove this warning. See 16:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:55 16:11:55 Login Succeeded 16:11:55 docker.io 16:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:55 Configure a credential helper to remove this warning. See 16:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:55 16:11:55 Login Succeeded 16:11:55 ---> docker-login.sh ends [Pipeline] } 16:11:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:11:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:11:56 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 16:11:56 48aac476b513547f736cc1fa92662379694eca8e 16:11:56 latest 16:11:56 2.3.0-dev.37 16:11:56 48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37 16:11:56 main 16:11:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:56 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:48aac476b513547f736cc1fa92662379694eca8e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:56 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:48aac476b513547f736cc1fa92662379694eca8e 16:11:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:11:56 3e8b7e8fdbc2: Preparing 16:11:56 b78fbc774860: Preparing 16:11:56 c7df232a424e: Preparing 16:11:56 b48fa8ed9aa2: Preparing 16:11:56 994393dc58e7: Preparing 16:11:56 994393dc58e7: Layer already exists 16:11:56 3e8b7e8fdbc2: Pushed 16:11:56 b78fbc774860: Pushed 16:11:56 b48fa8ed9aa2: Pushed 16:12:00 c7df232a424e: Pushed 16:12:00 48aac476b513547f736cc1fa92662379694eca8e: digest: sha256:8b9496a158526578d80c470569239c97fa02c545ed2cc824e414d51b42913fb9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:00 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:00 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 16:12:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:12:00 3e8b7e8fdbc2: Preparing 16:12:00 b78fbc774860: Preparing 16:12:00 c7df232a424e: Preparing 16:12:00 b48fa8ed9aa2: Preparing 16:12:00 994393dc58e7: Preparing 16:12:00 3e8b7e8fdbc2: Layer already exists 16:12:00 b78fbc774860: Layer already exists 16:12:00 994393dc58e7: Layer already exists 16:12:00 c7df232a424e: Layer already exists 16:12:00 b48fa8ed9aa2: Layer already exists 16:12:00 latest: digest: sha256:8b9496a158526578d80c470569239c97fa02c545ed2cc824e414d51b42913fb9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:01 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:01 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.37 16:12:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:12:01 3e8b7e8fdbc2: Preparing 16:12:01 b78fbc774860: Preparing 16:12:01 c7df232a424e: Preparing 16:12:01 b48fa8ed9aa2: Preparing 16:12:01 994393dc58e7: Preparing 16:12:01 b48fa8ed9aa2: Layer already exists 16:12:01 c7df232a424e: Layer already exists 16:12:01 994393dc58e7: Layer already exists 16:12:01 b78fbc774860: Layer already exists 16:12:01 3e8b7e8fdbc2: Layer already exists 16:12:01 2.3.0-dev.37: digest: sha256:8b9496a158526578d80c470569239c97fa02c545ed2cc824e414d51b42913fb9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:01 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37 16:12:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:12:02 3e8b7e8fdbc2: Preparing 16:12:02 b78fbc774860: Preparing 16:12:02 c7df232a424e: Preparing 16:12:02 b48fa8ed9aa2: Preparing 16:12:02 994393dc58e7: Preparing 16:12:02 c7df232a424e: Layer already exists 16:12:02 3e8b7e8fdbc2: Layer already exists 16:12:02 b48fa8ed9aa2: Layer already exists 16:12:02 994393dc58e7: Layer already exists 16:12:02 b78fbc774860: Layer already exists 16:12:02 48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37: digest: sha256:8b9496a158526578d80c470569239c97fa02c545ed2cc824e414d51b42913fb9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:02 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 16:12:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 16:12:02 3e8b7e8fdbc2: Preparing 16:12:02 b78fbc774860: Preparing 16:12:02 c7df232a424e: Preparing 16:12:02 b48fa8ed9aa2: Preparing 16:12:02 994393dc58e7: Preparing 16:12:02 3e8b7e8fdbc2: Layer already exists 16:12:02 994393dc58e7: Layer already exists 16:12:02 b78fbc774860: Layer already exists 16:12:02 c7df232a424e: Layer already exists 16:12:02 b48fa8ed9aa2: Layer already exists 16:12:02 main: digest: sha256:8b9496a158526578d80c470569239c97fa02c545ed2cc824e414d51b42913fb9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:12:02 ===================================================== [Pipeline] echo 16:12:02 taggedImages: 16:12:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera:48aac476b513547f736cc1fa92662379694eca8e 16:12:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 16:12:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.37 16:12:02 - nexus3.edgexfoundry.org:10004/device-onvif-camera:48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37 16:12:02 - 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 16:12:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:03 16:12:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:03 latest: Pulling from edgex-lftools-log-publisher 16:12:03 5eb5b503b376: Pulling fs layer 16:12:03 5c69ac0246d0: Pulling fs layer 16:12:03 ec43610c2a17: Pulling fs layer 16:12:03 3a2ae6a8a46f: Pulling fs layer 16:12:03 33b1e0a273af: Pulling fs layer 16:12:03 5d3b04190fa2: Pulling fs layer 16:12:03 2f39f015ded8: Pulling fs layer 16:12:03 33b1e0a273af: Waiting 16:12:03 5d3b04190fa2: Waiting 16:12:03 2f39f015ded8: Waiting 16:12:03 3a2ae6a8a46f: Waiting 16:12:03 5c69ac0246d0: Download complete 16:12:03 3a2ae6a8a46f: Verifying Checksum 16:12:03 3a2ae6a8a46f: Download complete 16:12:03 ec43610c2a17: Verifying Checksum 16:12:03 ec43610c2a17: Download complete 16:12:03 33b1e0a273af: Download complete 16:12:03 5d3b04190fa2: Verifying Checksum 16:12:03 5d3b04190fa2: Download complete 16:12:03 5eb5b503b376: Verifying Checksum 16:12:03 5eb5b503b376: Download complete 16:12:04 2f39f015ded8: Download complete 16:12:04 5eb5b503b376: Pull complete 16:12:04 5c69ac0246d0: Pull complete 16:12:05 ec43610c2a17: Pull complete 16:12:05 3a2ae6a8a46f: Pull complete 16:12:05 33b1e0a273af: Pull complete 16:12:05 5d3b04190fa2: Pull complete 16:12:09 2f39f015ded8: Pull complete 16:12:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:12:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:12:09 prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container 16:12: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/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 16:12:12 $ docker top 14df857df53f3975eec2d3668f720c46a8513782fb876f845b0d9c08c89a6ef6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:12:12 ---> job-cost.sh 16:12:12 lf-activate-venv: SKIPPING 16:12:12 INFO: No Stack... 16:12:12 INFO: Retrieving Pricing Info for: v3-standard-8 16:12:13 INFO: Archiving Costs [Pipeline] sh 16:12:13 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 16:12:13 + cut -d, -f6 [Pipeline] lock 16:12:13 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-76-stack-cost] 16:12:13 Resource [jenkins-edgexfoundry-device-onvif-camera-main-76-stack-cost] did not exist. Created. 16:12:13 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:12:13 + echo total: 0.2199999988079071 [Pipeline] stash 16:12:13 Stashed 1 file(s) [Pipeline] } 16:12:13 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-76-stack-cost] [Pipeline] // lock [Pipeline] } 16:12:14 $ docker stop --time=1 14df857df53f3975eec2d3668f720c46a8513782fb876f845b0d9c08c89a6ef6 16:12:15 $ docker rm -f 14df857df53f3975eec2d3668f720c46a8513782fb876f845b0d9c08c89a6ef6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:20:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-116906 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 16:20:44 Running in /w/workspace/device-onvif-camera/76 [Pipeline] { [Pipeline] checkout 16:20:44 The recommended git tool is: git 16:20:50 using credential edgex-jenkins-ssh 16:20:50 Cloning the remote Git repository 16:20:50 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 16:20:50 > git init /w/workspace/device-onvif-camera/76 # timeout=10 16:20:50 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 16:20:50 > git --version # timeout=10 16:20:50 > git --version # 'git version 2.25.1' 16:20:50 using GIT_SSH to set credentials SSH Credentials for GitHub 16:20:50 Verifying host key using known hosts file 16:20:50 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. 16:20:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:20:53 Avoid second fetch 16:20:53 Checking out Revision 48aac476b513547f736cc1fa92662379694eca8e (main) 16:20:52 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 16:20:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:20:53 > git config core.sparsecheckout # timeout=10 16:20:53 > git checkout -f 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 16:20:53 Commit message: "fix: update command request and response topic (#186)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:20:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:20:54 % Total % Received % Xferd Average Speed Time Time Time Current 16:20:54 Dload Upload Total Spent Left Speed 16:20:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh 16:20:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:20:55 + sudo tee /etc/docker/daemon.new 16:20:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:20:55 { 16:20:55 "registry-mirrors": [ 16:20:55 "https://nexus3.edgexfoundry.org:10001" 16:20:55 ], 16:20:55 "bip": "10.250.0.254/24", 16:20:55 "hosts": [ 16:20:55 "tcp://0.0.0.0:5555", 16:20:55 "unix:///var/run/docker.sock" 16:20:55 ], 16:20:55 "mtu": 1458, 16:20:55 "selinux-enabled": true, 16:20:55 "seccomp-profile": "/etc/docker/seccomp.json" 16:20:55 } [Pipeline] sh 16:20:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:20:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:21:14 provisioning config files... 16:21:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/76@tmp/config9183073460106130443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:14 ---> docker-login.sh 16:21:14 nexus3.edgexfoundry.org:10001 16:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:15 Configure a credential helper to remove this warning. See 16:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:15 16:21:15 Login Succeeded 16:21:15 nexus3.edgexfoundry.org:10002 16:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:16 Configure a credential helper to remove this warning. See 16:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:16 16:21:16 Login Succeeded 16:21:16 nexus3.edgexfoundry.org:10003 16:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:16 Configure a credential helper to remove this warning. See 16:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:16 16:21:16 Login Succeeded 16:21:16 nexus3.edgexfoundry.org:10004 16:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:16 Configure a credential helper to remove this warning. See 16:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:16 16:21:16 Login Succeeded 16:21:16 docker.io 16:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:17 Configure a credential helper to remove this warning. See 16:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:17 16:21:17 Login Succeeded 16:21:17 ---> docker-login.sh ends [Pipeline] } 16:21:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:21:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:21:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:21:17 ========================================================= 16:21:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:21:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:17 + 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 . 16:21:18 Sending build context to Docker daemon 14.75MB 16:21:18 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 16:21:18 Step 2/14 : FROM ${BASE} AS builder 16:21:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:21:18 9b18e9b68314: Pulling fs layer 16:21:18 d32db5db7311: Pulling fs layer 16:21:18 d0c4b47475fc: Pulling fs layer 16:21:18 5831b945b038: Pulling fs layer 16:21:18 86bbec2aaacd: Pulling fs layer 16:21:18 e10730c5d714: Pulling fs layer 16:21:18 5dd5c2283517: Pulling fs layer 16:21:18 d5ac0230b979: Pulling fs layer 16:21:18 5831b945b038: Waiting 16:21:18 86bbec2aaacd: Waiting 16:21:18 e10730c5d714: Waiting 16:21:18 d5ac0230b979: Waiting 16:21:18 5dd5c2283517: Waiting 16:21:18 d0c4b47475fc: Verifying Checksum 16:21:18 d0c4b47475fc: Download complete 16:21:18 d32db5db7311: Verifying Checksum 16:21:18 d32db5db7311: Download complete 16:21:18 86bbec2aaacd: Verifying Checksum 16:21:18 86bbec2aaacd: Download complete 16:21:18 e10730c5d714: Verifying Checksum 16:21:18 e10730c5d714: Download complete 16:21:18 9b18e9b68314: Verifying Checksum 16:21:18 9b18e9b68314: Download complete 16:21:19 9b18e9b68314: Pull complete 16:21:20 d32db5db7311: Pull complete 16:21:20 d5ac0230b979: Verifying Checksum 16:21:20 d5ac0230b979: Download complete 16:21:20 d0c4b47475fc: Pull complete 16:21:21 5dd5c2283517: Verifying Checksum 16:21:21 5dd5c2283517: Download complete 16:21:21 5831b945b038: Verifying Checksum 16:21:21 5831b945b038: Download complete 16:21:34 5831b945b038: Pull complete 16:21:34 86bbec2aaacd: Pull complete 16:21:34 e10730c5d714: Pull complete 16:21:40 5dd5c2283517: Pull complete 16:21:42 d5ac0230b979: Pull complete 16:21:42 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 16:21:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:21:42 ---> 59b3b1a385d4 16:21:42 Step 3/14 : ARG ADD_BUILD_TAGS="" 16:21:45 ---> Running in d3129e59a852 16:21:45 Removing intermediate container d3129e59a852 16:21:45 ---> bab06608d64b 16:21:45 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:21:45 ---> Running in 14a2ccdfd679 16:21:45 Removing intermediate container 14a2ccdfd679 16:21:45 ---> 73370de0a5d6 16:21:45 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:21:46 ---> Running in 1814c84fb90a 16:21:46 Removing intermediate container 1814c84fb90a 16:21:46 ---> 607f1a268f14 16:21:46 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 16:21:46 ---> Running in 41bd39423dcb 16:21:46 Removing intermediate container 41bd39423dcb 16:21:46 ---> ccbd7cd228e0 16:21:46 Step 7/14 : LABEL Name=edgex-device-onvif-camera 16:21:47 ---> Running in cb56deb971c5 16:21:47 Removing intermediate container cb56deb971c5 16:21:47 ---> 756059053c90 16:21:47 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:21:47 ---> Running in a77144f470ae 16:21:49 Removing intermediate container a77144f470ae 16:21:49 ---> 9401d25b5be5 16:21:49 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:21:49 ---> Running in f279b4144213 16:21:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:21:50 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory 16:21:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:21:50 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory 16:21:50 OK: 221 MiB in 51 packages 16:21:51 Removing intermediate container f279b4144213 16:21:51 ---> c4424b691c6e 16:21:51 Step 10/14 : WORKDIR /device-onvif-camera 16:21:51 ---> Running in 96105a142150 16:21:52 Removing intermediate container 96105a142150 16:21:52 ---> 3f017275a390 16:21:52 Step 11/14 : COPY go.mod vendor* ./ 16:21:52 ---> 7ca0902df9e0 16:21:52 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:21:52 ---> Running in 885fa017a7cf 16:22:49 Removing intermediate container 885fa017a7cf 16:22:49 ---> bca672b1bcf9 16:22:49 Step 13/14 : COPY . . 16:22:49 ---> 95753dd347c8 16:22:49 Step 14/14 : RUN ${MAKE} 16:22:49 ---> Running in ea78a9787f81 16:22:49 noop 16:22:49 Removing intermediate container ea78a9787f81 16:22:49 ---> 66f5190cc818 16:22:49 Successfully built 66f5190cc818 16:22:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:50 + docker inspect -f . ci-base-image-arm64 16:22:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:50 prd-ubuntu20.04-docker-arm64-4c-16g-116906 does not seem to be running inside a container 16:22:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/76 -v /w/workspace/device-onvif-camera/76:/w/workspace/device-onvif-camera/76:rw,z -v /w/workspace/device-onvif-camera/76@tmp:/w/workspace/device-onvif-camera/76@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 16:22:51 $ docker top f53c03dd190f261cc741081ea65554b6f060e9795b885e133d22ef2c923c8d62 -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:52 + go version 16:22:52 go version go1.18.7 linux/arm64 [Pipeline] } 16:22:52 $ docker stop --time=1 f53c03dd190f261cc741081ea65554b6f060e9795b885e133d22ef2c923c8d62 16:22:53 $ docker rm -f f53c03dd190f261cc741081ea65554b6f060e9795b885e133d22ef2c923c8d62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:54 + docker inspect -f . ci-base-image-arm64 16:22:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:54 prd-ubuntu20.04-docker-arm64-4c-16g-116906 does not seem to be running inside a container 16:22:54 $ 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/76 -v /w/workspace/device-onvif-camera/76:/w/workspace/device-onvif-camera/76:rw,z -v /w/workspace/device-onvif-camera/76@tmp:/w/workspace/device-onvif-camera/76@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 16:22:55 $ docker top 27c087ed83d41b55cdc2d67a97a812d82559027c171acc69e2a8a2ce219ef5b5 -eo pid,comm [Pipeline] { [Pipeline] sh 16:22:56 + git config --global --add safe.directory /w/workspace/device-onvif-camera/76 [Pipeline] fileExists [Pipeline] sh 16:22:56 + make test 16:22:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:22:58 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:24:35 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:24:35 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.182s coverage: 28.2% of statements 16:24:35 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:24:53 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.496s coverage: 86.5% of statements 16:24:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:24:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:25:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:25:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:25:20 ./bin/test-attribution-txt.sh [Pipeline] echo 16:25:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:25:20 $ docker stop --time=1 27c087ed83d41b55cdc2d67a97a812d82559027c171acc69e2a8a2ce219ef5b5 16:25:22 $ docker rm -f 27c087ed83d41b55cdc2d67a97a812d82559027c171acc69e2a8a2ce219ef5b5 [Pipeline] // withDockerContainer [Pipeline] sh 16:25:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:25:23 Warning: overwriting stash ‘coverage-report’ 16:25:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:25:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:25:24 + ls -al . 16:25:24 total 240 16:25:24 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 16:22 . 16:25:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 16:20 .. 16:25:24 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 16:20 .git 16:25:24 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 16:20 .github 16:25:24 -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 16:20 .gitignore 16:25:24 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 16:20 .golangci.yml 16:25:24 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 16:20 Attribution.txt 16:25:24 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 16:20 CHANGELOG.md 16:25:24 -rw-rw-r-- 1 jenkins jenkins 1726 Oct 25 16:20 Dockerfile 16:25:24 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 16:20 GOVERNANCE.md 16:25:24 -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 16:20 Jenkinsfile 16:25:24 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 16:20 LICENSE 16:25:24 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 16:20 Makefile 16:25:24 -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 16:20 OWNERS.md 16:25:24 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 16:20 README.md 16:25:24 -rw-rw-r-- 1 jenkins jenkins 12 Oct 25 16:10 VERSION 16:25:24 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 16:20 bin 16:25:24 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 16:20 cmd 16:25:24 -rw-r--r-- 1 jenkins jenkins 78636 Oct 25 16:24 coverage.out 16:25:24 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 16:20 doc 16:25:24 -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 16:20 go.mod 16:25:24 -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 16:20 go.sum 16:25:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 16:20 internal 16:25:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 16:20 snap 16:25:24 -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 16:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:25 + 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=48aac476b513547f736cc1fa92662379694eca8e --label arch=arm64 --label version=2.3.0-dev.37 . 16:25:25 Sending build context to Docker daemon 14.83MB 16:25:25 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 16:25:25 Step 2/27 : FROM ${BASE} AS builder 16:25:25 ---> 66f5190cc818 16:25:25 Step 3/27 : ARG ADD_BUILD_TAGS="" 16:25:26 ---> Running in 9acbddca981d 16:25:26 Removing intermediate container 9acbddca981d 16:25:26 ---> ba89238c13f6 16:25:26 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:25:26 ---> Running in 868735f5124d 16:25:26 Removing intermediate container 868735f5124d 16:25:26 ---> 58e5f364065d 16:25:26 Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 16:25:26 ---> Running in 87d37b768235 16:25:26 Removing intermediate container 87d37b768235 16:25:26 ---> ed7442a81af0 16:25:26 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 16:25:27 ---> Running in 7b39c203e14d 16:25:27 Removing intermediate container 7b39c203e14d 16:25:27 ---> 330d5c9513b9 16:25:27 Step 7/27 : LABEL Name=edgex-device-onvif-camera 16:25:27 ---> Running in 3d3c2701b609 16:25:27 Removing intermediate container 3d3c2701b609 16:25:27 ---> 3196e1879d44 16:25:27 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:25:27 ---> Running in 5488967eb2f2 16:25:29 Removing intermediate container 5488967eb2f2 16:25:29 ---> 1a6c785f9de3 16:25:29 Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:25:30 ---> Running in 74c7a3f4901b 16:25:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:25:31 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/main: No such file or directory 16:25:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:25:31 WARNING: Ignoring https://dl-4.alpinelinux.org/alpine/v3.16/community: No such file or directory 16:25:31 OK: 221 MiB in 51 packages 16:25:32 Removing intermediate container 74c7a3f4901b 16:25:32 ---> 7e420ebc6a95 16:25:32 Step 10/27 : WORKDIR /device-onvif-camera 16:25:32 ---> Running in 68549edaa240 16:25:32 Removing intermediate container 68549edaa240 16:25:32 ---> 8737c85254fe 16:25:32 Step 11/27 : COPY go.mod vendor* ./ 16:25:33 ---> 0d81f0b81961 16:25:33 Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:25:33 ---> Running in ba4d9d250322 16:25:36 Removing intermediate container ba4d9d250322 16:25:36 ---> dc7f1e381e31 16:25:36 Step 13/27 : COPY . . 16:25:38 ---> a6aafd2e9ad5 16:25:38 Step 14/27 : RUN ${MAKE} 16:25:38 ---> Running in c39cd07c8f3e 16:25:39 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.37 -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 16:28:16 Removing intermediate container c39cd07c8f3e 16:28:16 ---> 5b1ad148f8f1 16:28:16 Step 15/27 : FROM alpine:3.16 16:28:16 3.16: Pulling from library/alpine 16:28:16 9b18e9b68314: Already exists 16:28:16 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:28:16 Status: Downloaded newer image for alpine:3.16 16:28:16 ---> a6215f271958 16:28:16 Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:28:16 ---> Running in 73fb116a2959 16:28:16 Removing intermediate container 73fb116a2959 16:28:16 ---> 398f647d97f2 16:28:16 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 16:28:16 ---> Running in ff9c4b516ddb 16:28:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:28:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:28:16 (1/6) Installing dumb-init (1.2.5-r1) 16:28:16 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:28:16 (3/6) Installing libsodium (1.0.18-r0) 16:28:16 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:28:16 (5/6) Installing libzmq (4.3.4-r0) 16:28:16 (6/6) Installing zeromq (4.3.4-r0) 16:28:16 Executing busybox-1.35.0-r17.trigger 16:28:16 OK: 8 MiB in 20 packages 16:28:16 Removing intermediate container ff9c4b516ddb 16:28:16 ---> 3772834ea805 16:28:16 Step 18/27 : WORKDIR / 16:28:16 ---> Running in ff8b82acc989 16:28:16 Removing intermediate container ff8b82acc989 16:28:16 ---> 376a347ad174 16:28:16 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 16:28:16 ---> 65eb37153c7c 16:28:16 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 16:28:16 ---> d4b45d34f16f 16:28:16 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:28:16 ---> d55fefdd4122 16:28:16 Step 22/27 : EXPOSE 59984 16:28:16 ---> Running in b33ea723306f 16:28:16 Removing intermediate container b33ea723306f 16:28:16 ---> 88079de0acfb 16:28:16 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 16:28:16 ---> Running in 72240908ad74 16:28:16 Removing intermediate container 72240908ad74 16:28:16 ---> 0561e64d7ff9 16:28:16 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:28:16 ---> Running in 85bd3df8c95a 16:28:16 Removing intermediate container 85bd3df8c95a 16:28:16 ---> 9f81f2e34703 16:28:16 Step 25/27 : LABEL arch=arm64 16:28:16 ---> Running in 2067374c5b07 16:28:16 Removing intermediate container 2067374c5b07 16:28:16 ---> 2fcda2cbb990 16:28:16 Step 26/27 : LABEL git_sha=48aac476b513547f736cc1fa92662379694eca8e 16:28:16 ---> Running in d7498d4f3dc7 16:28:16 Removing intermediate container d7498d4f3dc7 16:28:16 ---> f1adc23d0ff9 16:28:16 Step 27/27 : LABEL version=2.3.0-dev.37 16:28:16 ---> Running in af929c4a48d0 16:28:16 Removing intermediate container af929c4a48d0 16:28:16 ---> 94b0ffbec7e7 16:28:16 [Warning] One or more build-args [ARCH] were not consumed 16:28:16 Successfully built 94b0ffbec7e7 16:28:16 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 16:28:16 provisioning config files... 16:28:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/76@tmp/config14225819616581808175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:28:16 ---> docker-login.sh 16:28:16 nexus3.edgexfoundry.org:10001 16:28:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:17 Configure a credential helper to remove this warning. See 16:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:17 16:28:17 Login Succeeded 16:28:17 nexus3.edgexfoundry.org:10002 16:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:17 Configure a credential helper to remove this warning. See 16:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:17 16:28:17 Login Succeeded 16:28:17 nexus3.edgexfoundry.org:10003 16:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:17 Configure a credential helper to remove this warning. See 16:28:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:17 16:28:17 Login Succeeded 16:28:17 nexus3.edgexfoundry.org:10004 16:28:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:18 Configure a credential helper to remove this warning. See 16:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:18 16:28:18 Login Succeeded 16:28:18 docker.io 16:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:28:18 Configure a credential helper to remove this warning. See 16:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:28:18 16:28:18 Login Succeeded 16:28:18 ---> docker-login.sh ends [Pipeline] } 16:28:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:28:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:28:18 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 16:28:18 48aac476b513547f736cc1fa92662379694eca8e 16:28:18 latest 16:28:18 2.3.0-dev.37 16:28:18 48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37 16:28:18 main 16:28:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:19 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:48aac476b513547f736cc1fa92662379694eca8e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:19 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:48aac476b513547f736cc1fa92662379694eca8e 16:28:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:28:19 b4d81ce2becf: Preparing 16:28:19 625466ff07d7: Preparing 16:28:19 462c832e64db: Preparing 16:28:19 3a7f36f66044: Preparing 16:28:19 5d3e392a13a0: Preparing 16:28:19 5d3e392a13a0: Layer already exists 16:28:19 b4d81ce2becf: Pushed 16:28:19 625466ff07d7: Pushed 16:28:20 3a7f36f66044: Pushed 16:28:25 462c832e64db: Pushed 16:28:25 48aac476b513547f736cc1fa92662379694eca8e: digest: sha256:a720f36c704b42805adf4f0d7461a552360ca2e92be87300658a2e3f816b58c5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:25 + 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 16:28:26 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 16:28:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:28:26 b4d81ce2becf: Preparing 16:28:26 625466ff07d7: Preparing 16:28:26 462c832e64db: Preparing 16:28:26 3a7f36f66044: Preparing 16:28:26 5d3e392a13a0: Preparing 16:28:26 462c832e64db: Layer already exists 16:28:26 625466ff07d7: Layer already exists 16:28:26 b4d81ce2becf: Layer already exists 16:28:26 3a7f36f66044: Layer already exists 16:28:26 5d3e392a13a0: Layer already exists 16:28:26 latest: digest: sha256:a720f36c704b42805adf4f0d7461a552360ca2e92be87300658a2e3f816b58c5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:26 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:27 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.37 16:28:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:28:27 b4d81ce2becf: Preparing 16:28:27 625466ff07d7: Preparing 16:28:27 462c832e64db: Preparing 16:28:27 3a7f36f66044: Preparing 16:28:27 5d3e392a13a0: Preparing 16:28:27 5d3e392a13a0: Layer already exists 16:28:27 462c832e64db: Layer already exists 16:28:27 625466ff07d7: Layer already exists 16:28:27 3a7f36f66044: Layer already exists 16:28:27 b4d81ce2becf: Layer already exists 16:28:27 2.3.0-dev.37: digest: sha256:a720f36c704b42805adf4f0d7461a552360ca2e92be87300658a2e3f816b58c5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:27 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:27 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37 16:28:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:28:27 b4d81ce2becf: Preparing 16:28:27 625466ff07d7: Preparing 16:28:27 462c832e64db: Preparing 16:28:27 3a7f36f66044: Preparing 16:28:27 5d3e392a13a0: Preparing 16:28:27 5d3e392a13a0: Layer already exists 16:28:27 625466ff07d7: Layer already exists 16:28:27 3a7f36f66044: Layer already exists 16:28:27 462c832e64db: Layer already exists 16:28:27 b4d81ce2becf: Layer already exists 16:28:27 48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37: digest: sha256:a720f36c704b42805adf4f0d7461a552360ca2e92be87300658a2e3f816b58c5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:28 + 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 16:28:28 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 16:28:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 16:28:28 b4d81ce2becf: Preparing 16:28:28 625466ff07d7: Preparing 16:28:28 462c832e64db: Preparing 16:28:28 3a7f36f66044: Preparing 16:28:28 5d3e392a13a0: Preparing 16:28:28 b4d81ce2becf: Layer already exists 16:28:28 5d3e392a13a0: Layer already exists 16:28:28 625466ff07d7: Layer already exists 16:28:28 3a7f36f66044: Layer already exists 16:28:28 462c832e64db: Layer already exists 16:28:28 main: digest: sha256:a720f36c704b42805adf4f0d7461a552360ca2e92be87300658a2e3f816b58c5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:28:28 ===================================================== [Pipeline] echo 16:28:28 taggedImages: 16:28:28 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:48aac476b513547f736cc1fa92662379694eca8e 16:28:28 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 16:28:28 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.37 16:28:28 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:48aac476b513547f736cc1fa92662379694eca8e-2.3.0-dev.37 16:28:28 - 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 16:28:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:28:29 16:28:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:28:29 arm64: Pulling from edgex-lftools-log-publisher 16:28:29 8998bd30e6a1: Pulling fs layer 16:28:29 04944245beec: Pulling fs layer 16:28:29 699f458cf7ca: Pulling fs layer 16:28:29 765212b225bb: Pulling fs layer 16:28:29 f23df028b6ca: Pulling fs layer 16:28:29 d65c8cfc05b1: Pulling fs layer 16:28:29 2437ff75d9bd: Pulling fs layer 16:28:29 765212b225bb: Waiting 16:28:29 f23df028b6ca: Waiting 16:28:29 d65c8cfc05b1: Waiting 16:28:29 2437ff75d9bd: Waiting 16:28:29 04944245beec: Verifying Checksum 16:28:29 04944245beec: Download complete 16:28:29 765212b225bb: Verifying Checksum 16:28:29 765212b225bb: Download complete 16:28:29 f23df028b6ca: Download complete 16:28:29 d65c8cfc05b1: Download complete 16:28:29 699f458cf7ca: Verifying Checksum 16:28:29 699f458cf7ca: Download complete 16:28:30 8998bd30e6a1: Verifying Checksum 16:28:30 8998bd30e6a1: Download complete 16:28:32 2437ff75d9bd: Verifying Checksum 16:28:32 2437ff75d9bd: Download complete 16:28:34 8998bd30e6a1: Pull complete 16:28:34 04944245beec: Pull complete 16:28:35 699f458cf7ca: Pull complete 16:28:35 765212b225bb: Pull complete 16:28:36 f23df028b6ca: Pull complete 16:28:36 d65c8cfc05b1: Pull complete 16:28:51 2437ff75d9bd: Pull complete 16:28:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:28:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:28:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:51 prd-ubuntu20.04-docker-arm64-4c-16g-116906 does not seem to be running inside a container 16:28:51 $ 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/76 -v /w/workspace/device-onvif-camera/76:/w/workspace/device-onvif-camera/76:rw,z -v /w/workspace/device-onvif-camera/76@tmp:/w/workspace/device-onvif-camera/76@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 16:28:54 $ docker top 3591520306ff40fc3a12d6fb8c3d6db2b941106e48fbce2adfc56f8b97b038ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:28:54 ---> job-cost.sh 16:28:54 lf-activate-venv: SKIPPING 16:28:54 INFO: No Stack... 16:28:55 INFO: Retrieving Pricing Info for: v3-standard-4 16:28:56 INFO: Archiving Costs [Pipeline] sh 16:28:56 + cat /w/workspace/device-onvif-camera/76/archives/cost.csv 16:28:56 + cut -d, -f6 [Pipeline] lock 16:28:56 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-76-stack-cost] 16:28:56 Resource [jenkins-edgexfoundry-device-onvif-camera-main-76-stack-cost] did not exist. Created. 16:28:56 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:28:57 /w/workspace/device-onvif-camera/76@tmp/durable-371d6830/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:28:57 + echo total: 0.10999999940395355 [Pipeline] stash 16:28:57 Warning: overwriting stash ‘stack-cost’ 16:28:57 Stashed 1 file(s) [Pipeline] } 16:28:57 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-76-stack-cost] [Pipeline] // lock [Pipeline] } 16:28:57 $ docker stop --time=1 3591520306ff40fc3a12d6fb8c3d6db2b941106e48fbce2adfc56f8b97b038ab 16:28:59 $ docker rm -f 3591520306ff40fc3a12d6fb8c3d6db2b941106e48fbce2adfc56f8b97b038ab [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 16:28:59 provisioning config files... 16:28:59 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12423028462384300163tmp [Pipeline] { [Pipeline] sh 16:28:59 + set +x 16:28:59 + bash -s -- 16:28:59 + curl -s https://codecov.io/bash 16:28:59 16:28:59 _____ _ 16:28:59 / ____| | | 16:28:59 | | ___ __| | ___ ___ _____ __ 16:28:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:28:59 | |___| (_) | (_| | __/ (_| (_) \ V / 16:28:59 \_____\___/ \__,_|\___|\___\___/ \_/ 16:28:59 Bash-1.0.6 16:28:59 16:28:59 16:28:59 ==> git version 2.25.1 found 16:28:59 ==> 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 16:28:59 Release-Date: 2020-01-08 16:28:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:28:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:28:59 ==> Jenkins CI detected. 16:28:59 current dir:  /w/workspace/foundry_device-onvif-camera_main 16:28:59 project root: . 16:28:59 --> token set from env 16:28:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:28:59 ==> Running gcov in . (disable via -X gcov) 16:28:59 ==> Python coveragepy not found 16:28:59 ==> Searching for coverage reports in: 16:28:59 + . 16:28:59 -> Found 1 reports 16:28:59 ==> Detecting git/mercurial file structure 16:28:59 ==> Reading reports 16:28:59 + ./coverage.out bytes=78636 16:28:59 ==> Appending adjustments 16:28:59 https://docs.codecov.io/docs/fixing-reports 16:28:59 + Found adjustments 16:28:59 ==> Gzipping contents 16:29:00 12K /tmp/codecov.dKuh5M.gz 16:29:00 ==> Uploading reports 16:29:00 url: https://codecov.io 16:29:00 query: branch=main&commit=48aac476b513547f736cc1fa92662379694eca8e&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:29:00 -> Pinging Codecov 16:29:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=48aac476b513547f736cc1fa92662379694eca8e&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:29:00 -> Uploading to 16:29:00 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/F29A59C45E3A92E06B3E522C9905F8EF/48aac476b513547f736cc1fa92662379694eca8e/c593aa4b-efcc-4cd7-9243-a73f8598c52c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T162900Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d06da64eeaf0e126914fa1089f0e89cd82205a9ff1a2842752bcb9d09c144349 16:29:00 % Total % Received % Xferd Average Speed Time Time Time Current 16:29:00 Dload Upload Total Spent Left Speed 16:29:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10749 0 0 100 10749 0 45163 --:--:-- --:--:-- --:--:-- 45163 16:29:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/48aac476b513547f736cc1fa92662379694eca8e [Pipeline] } 16:29:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:29:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:29:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:29:01 16:29:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:29:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:29:01 df9b9388f04a: Pulling fs layer 16:29:01 52dc419b0ee2: Pulling fs layer 16:29:01 25bc292e5bac: Pulling fs layer 16:29:01 114826534d7a: Pulling fs layer 16:29:01 4657fd5d0bcf: Pulling fs layer 16:29:01 6ad1cebc031e: Pulling fs layer 16:29:01 8a3aa393b2d8: Pulling fs layer 16:29:01 6ad1cebc031e: Waiting 16:29:01 114826534d7a: Waiting 16:29:01 8a3aa393b2d8: Waiting 16:29:01 25bc292e5bac: Verifying Checksum 16:29:01 25bc292e5bac: Download complete 16:29:01 52dc419b0ee2: Verifying Checksum 16:29:01 52dc419b0ee2: Download complete 16:29:01 4657fd5d0bcf: Verifying Checksum 16:29:01 df9b9388f04a: Download complete 16:29:01 6ad1cebc031e: Verifying Checksum 16:29:01 6ad1cebc031e: Download complete 16:29:01 df9b9388f04a: Pull complete 16:29:01 52dc419b0ee2: Pull complete 16:29:01 25bc292e5bac: Pull complete 16:29:02 114826534d7a: Verifying Checksum 16:29:02 114826534d7a: Download complete 16:29:02 8a3aa393b2d8: Verifying Checksum 16:29:02 8a3aa393b2d8: Download complete 16:29:05 114826534d7a: Pull complete 16:29:05 4657fd5d0bcf: Pull complete 16:29:05 6ad1cebc031e: Pull complete 16:29:08 8a3aa393b2d8: Pull complete 16:29:08 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:29:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:29:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:08 prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container 16:29:08 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:29:10 $ docker top de097e1329372bc6a686386f61dfbf4fc2c0f0bc8b936770f9982f054f132d00 -eo pid,comm [Pipeline] { [Pipeline] echo 16:29:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 16:29:10 + set -o pipefail 16:29:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 16:29:16 16:29:16 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 16:29:16 16:29:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/3cf1785b-38bc-4f9d-a915-775199886601 16:29:16 16:29:16 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 16:29:16 16:29:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:29:16 16:29:16 16:29:16 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:29:16 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:29:16 More details here: https://snyk.co/ue1NS [Pipeline] } 16:29:16 $ docker stop --time=1 de097e1329372bc6a686386f61dfbf4fc2c0f0bc8b936770f9982f054f132d00 16:29:18 $ docker rm -f de097e1329372bc6a686386f61dfbf4fc2c0f0bc8b936770f9982f054f132d00 [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 16:29:18 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:29:18 provisioning config files... 16:29:18 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5636312331834893226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:29:19 --> edgex-publish-swagger.sh 16:29:19 === Publish doc/openapi/v2 API === 16:29:19 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 16:29:19 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 16:29:19 % Total % Received % Xferd Average Speed Time Time Time Current 16:29:19 Dload Upload Total Spent Left Speed 16:29:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 406k 0 0 100 406k 0 436k --:--:-- --:--:-- --:--:-- 435k 16:29:20 16:29:20 [Pipeline] } 16:29:20 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 16:29:20 + git log --format=format:%s -1 48aac476b513547f736cc1fa92662379694eca8e [Pipeline] sh 16:29:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:29:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:29:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:21 prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container 16:29: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:29:21 $ docker top da2098870ae58845f39624028d3443ff1ce897cbd7bb0be7951673b1d47aab7b -eo pid,comm 16:29:21 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). 16:29:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:29:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:29:21 [ssh-agent] Looking for ssh-agent implementation... 16:29:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:29:21 $ docker exec da2098870ae58845f39624028d3443ff1ce897cbd7bb0be7951673b1d47aab7b ssh-agent 16:29:21 SSH_AUTH_SOCK=/tmp/ssh-iHlqDrn2FN1A/agent.32 16:29:21 SSH_AGENT_PID=38 16:29:21 Running ssh-add (command line suppressed) 16:29:22 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6611882638544334517.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6611882638544334517.key) 16:29:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:29:22 + git semver tag 16:29:22 2022-10-25 16:29:22,517 [run_tag] DEBUG tag force:False 16:29:22 2022-10-25 16:29:22,517 [check_head_tag] DEBUG check head tag 16:29:22 2022-10-25 16:29:22,518 [execute] INFO git cat-file --batch-check 16:29:22 2022-10-25 16:29:22,518 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 16:29:22 2022-10-25 16:29:22,522 [execute] INFO git cat-file --batch 16:29:22 2022-10-25 16:29:22,522 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 16:29:22 2022-10-25 16:29:22,546 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:29:22 2022-10-25 16:29:22,546 [execute] INFO git tag -a v2.3.0-dev.37 -m v2.3.0-dev.37 16:29:22 2022-10-25 16:29:22,547 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.37', '-m', 'v2.3.0-dev.37'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 16:29:22 2022-10-25 16:29:22,551 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:29:22 2.3.0-dev.37 [Pipeline] } 16:29:22 $ docker exec --env ******** --env ******** da2098870ae58845f39624028d3443ff1ce897cbd7bb0be7951673b1d47aab7b ssh-agent -k 16:29:22 unset SSH_AUTH_SOCK; 16:29:22 unset SSH_AGENT_PID; 16:29:22 echo Agent pid 38 killed; 16:29:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:29:23 + git semver [Pipeline] } 16:29:23 $ docker stop --time=1 da2098870ae58845f39624028d3443ff1ce897cbd7bb0be7951673b1d47aab7b 16:29:24 $ docker rm -f da2098870ae58845f39624028d3443ff1ce897cbd7bb0be7951673b1d47aab7b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:29:25 16:29:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:29:25 0.23.1-centos7: Pulling from edgex-lftools 16:29:25 ab5ef0e58194: Pulling fs layer 16:29:25 9712f1f96733: Pulling fs layer 16:29:25 63f879dbbcfc: Pulling fs layer 16:29:25 0d9ebad4ef96: Pulling fs layer 16:29:25 e9a5061849ea: Pulling fs layer 16:29:25 d747dcd14b5f: Pulling fs layer 16:29:25 2de7ff778b66: Pulling fs layer 16:29:25 e9a5061849ea: Waiting 16:29:25 d747dcd14b5f: Waiting 16:29:25 2de7ff778b66: Waiting 16:29:25 0d9ebad4ef96: Waiting 16:29:25 9712f1f96733: Verifying Checksum 16:29:25 9712f1f96733: Download complete 16:29:25 63f879dbbcfc: Verifying Checksum 16:29:25 63f879dbbcfc: Download complete 16:29:25 0d9ebad4ef96: Verifying Checksum 16:29:25 0d9ebad4ef96: Download complete 16:29:25 d747dcd14b5f: Verifying Checksum 16:29:25 d747dcd14b5f: Download complete 16:29:25 e9a5061849ea: Verifying Checksum 16:29:25 e9a5061849ea: Download complete 16:29:25 ab5ef0e58194: Download complete 16:29:25 2de7ff778b66: Verifying Checksum 16:29:25 2de7ff778b66: Download complete 16:29:28 ab5ef0e58194: Pull complete 16:29:28 9712f1f96733: Pull complete 16:29:28 63f879dbbcfc: Pull complete 16:29:32 0d9ebad4ef96: Pull complete 16:29:32 e9a5061849ea: Pull complete 16:29:32 d747dcd14b5f: Pull complete 16:29:33 2de7ff778b66: Pull complete 16:29:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:29:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:29:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:33 prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container 16:29:33 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:29:35 $ docker top 1f583e103dd70f4c4adcfa846ab1229344cc78bd2bd296cab797943c50f37a9c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:29:35 provisioning config files... 16:29:35 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7467473996518713234tmp 16:29:36 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3086827532753876239tmp 16:29:36 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4277194316887451436tmp [Pipeline] { [Pipeline] echo 16:29:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:29:36 ---> sigul-configuration.sh 16:29:36 gpg: directory `/root/.gnupg' created 16:29:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:29:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:29:36 gpg: keyring `/root/.gnupg/secring.gpg' created 16:29:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:29:36 gpg: CAST5 encrypted data 16:29:36 gpg: encrypted with 1 passphrase 16:29:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:29:36 + mkdir /home/jenkins 16:29:36 + mkdir /home/jenkins/sigul [Pipeline] sh 16:29:36 + 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 16:29:36 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:29:37 ---> sigul-install.sh 16:29:37 Sigul already installed; skipping installation. [Pipeline] sh 16:29:37 + git tag --list 16:29:37 v0.0.0 16:29:37 v0.0.1-dev.1 16:29:37 v0.0.1-dev.10 16:29:37 v0.0.1-dev.11 16:29:37 v0.0.1-dev.12 16:29:37 v0.0.1-dev.13 16:29:37 v0.0.1-dev.14 16:29:37 v0.0.1-dev.15 16:29:37 v0.0.1-dev.16 16:29:37 v0.0.1-dev.17 16:29:37 v0.0.1-dev.18 16:29:37 v0.0.1-dev.19 16:29:37 v0.0.1-dev.2 16:29:37 v0.0.1-dev.20 16:29:37 v0.0.1-dev.21 16:29:37 v0.0.1-dev.22 16:29:37 v0.0.1-dev.23 16:29:37 v0.0.1-dev.24 16:29:37 v0.0.1-dev.25 16:29:37 v0.0.1-dev.26 16:29:37 v0.0.1-dev.27 16:29:37 v0.0.1-dev.28 16:29:37 v0.0.1-dev.3 16:29:37 v0.0.1-dev.4 16:29:37 v0.0.1-dev.5 16:29:37 v0.0.1-dev.6 16:29:37 v0.0.1-dev.7 16:29:37 v0.0.1-dev.8 16:29:37 v0.0.1-dev.9 16:29:37 v2.2.0 16:29:37 v2.2.0-dev.29 16:29:37 v2.2.0-dev.30 16:29:37 v2.2.0-dev.31 16:29:37 v2.2.0-dev.32 16:29:37 v2.2.0-dev.33 16:29:37 v2.2.0-dev.34 16:29:37 v2.2.0-dev.35 16:29:37 v2.3.0-dev.1 16:29:37 v2.3.0-dev.10 16:29:37 v2.3.0-dev.11 16:29:37 v2.3.0-dev.12 16:29:37 v2.3.0-dev.13 16:29:37 v2.3.0-dev.14 16:29:37 v2.3.0-dev.15 16:29:37 v2.3.0-dev.16 16:29:37 v2.3.0-dev.17 16:29:37 v2.3.0-dev.18 16:29:37 v2.3.0-dev.19 16:29:37 v2.3.0-dev.2 16:29:37 v2.3.0-dev.20 16:29:37 v2.3.0-dev.21 16:29:37 v2.3.0-dev.22 16:29:37 v2.3.0-dev.23 16:29:37 v2.3.0-dev.24 16:29:37 v2.3.0-dev.25 16:29:37 v2.3.0-dev.26 16:29:37 v2.3.0-dev.27 16:29:37 v2.3.0-dev.28 16:29:37 v2.3.0-dev.29 16:29:37 v2.3.0-dev.3 16:29:37 v2.3.0-dev.30 16:29:37 v2.3.0-dev.31 16:29:37 v2.3.0-dev.32 16:29:37 v2.3.0-dev.33 16:29:37 v2.3.0-dev.34 16:29:37 v2.3.0-dev.35 16:29:37 v2.3.0-dev.36 16:29:37 v2.3.0-dev.37 16:29:37 v2.3.0-dev.4 16:29:37 v2.3.0-dev.5 16:29:37 v2.3.0-dev.6 16:29:37 v2.3.0-dev.7 16:29:37 v2.3.0-dev.8 16:29:37 v2.3.0-dev.9 [Pipeline] sh 16:29:37 + lftools sign git-tag v2.3.0-dev.37 16:29:38 Signing Git tag with Sigul... 16:29:38 Signing v2.3.0-dev.37 [Pipeline] echo 16:29:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:29:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:29:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:29:38 $ docker stop --time=1 1f583e103dd70f4c4adcfa846ab1229344cc78bd2bd296cab797943c50f37a9c 16:29:40 $ docker rm -f 1f583e103dd70f4c4adcfa846ab1229344cc78bd2bd296cab797943c50f37a9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:29:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:29:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:29:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:40 prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container 16:29:40 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:29:41 $ docker top a1e6a883695eb7f313331f03c091cc4429059c7d9a823a953266eaccc2960d18 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:29:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:29:41 [ssh-agent] Looking for ssh-agent implementation... 16:29:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:29:41 $ docker exec a1e6a883695eb7f313331f03c091cc4429059c7d9a823a953266eaccc2960d18 ssh-agent 16:29:41 SSH_AUTH_SOCK=/tmp/ssh-CiKTWm95BOD2/agent.32 16:29:41 SSH_AGENT_PID=38 16:29:41 Running ssh-add (command line suppressed) 16:29:41 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6925915238912594295.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6925915238912594295.key) 16:29:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:29:42 + git semver bump pre 16:29:42 2022-10-25 16:29:42,210 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:29:42 2022-10-25 16:29:42,210 [bump_version] DEBUG bumping version:2.3.0-dev.37 on axis:pre with prefix:dev 16:29:42 2022-10-25 16:29:42,210 [bump_version] DEBUG bumped version:2.3.0-dev.38 16:29:42 2022-10-25 16:29:42,210 [write_version] DEBUG write version:2.3.0-dev.38 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 16:29:42 2022-10-25 16:29:42,210 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:29:42 2022-10-25 16:29:42,210 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 16:29:42 2022-10-25 16:29:42,212 [execute] INFO git cat-file --batch-check 16:29:42 2022-10-25 16:29:42,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:29:42 2022-10-25 16:29:42,217 [execute] INFO git cat-file --batch 16:29:42 2022-10-25 16:29:42,218 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:29:42 2022-10-25 16:29:42,223 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:29:42 2.3.0-dev.38 [Pipeline] } 16:29:42 $ docker exec --env ******** --env ******** a1e6a883695eb7f313331f03c091cc4429059c7d9a823a953266eaccc2960d18 ssh-agent -k 16:29:42 unset SSH_AUTH_SOCK; 16:29:42 unset SSH_AGENT_PID; 16:29:42 echo Agent pid 38 killed; 16:29:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:29:42 + git semver [Pipeline] } 16:29:42 $ docker stop --time=1 a1e6a883695eb7f313331f03c091cc4429059c7d9a823a953266eaccc2960d18 16:29:44 $ docker rm -f a1e6a883695eb7f313331f03c091cc4429059c7d9a823a953266eaccc2960d18 [Pipeline] // withDockerContainer [Pipeline] sh 16:29:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:29:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:29:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:44 prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container 16:29:45 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:29:45 $ docker top efaa681f108e05490b3262510d5f0c85ac79af28cdc9298945e9f8f7c34a9e45 -eo pid,comm 16:29:45 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). 16:29:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:29:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:29:45 [ssh-agent] Looking for ssh-agent implementation... 16:29:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:29:45 $ docker exec efaa681f108e05490b3262510d5f0c85ac79af28cdc9298945e9f8f7c34a9e45 ssh-agent 16:29:45 SSH_AUTH_SOCK=/tmp/ssh-7NFCeDKn60OH/agent.32 16:29:45 SSH_AGENT_PID=38 16:29:45 Running ssh-add (command line suppressed) 16:29:45 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8309621817299300347.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8309621817299300347.key) 16:29:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:29:46 + git semver push 16:29:46 2022-10-25 16:29:46,269 [run_push] DEBUG push 16:29:46 2022-10-25 16:29:46,269 [execute] INFO git cat-file --batch-check 16:29:46 2022-10-25 16:29:46,269 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 16:29:46 2022-10-25 16:29:46,273 [execute] INFO git rev-list e34da6221593128e46f2ac881ebc81f62249fa17 -- 16:29:46 2022-10-25 16:29:46,273 [execute] DEBUG Popen(['git', 'rev-list', 'e34da6221593128e46f2ac881ebc81f62249fa17', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:29:46 2022-10-25 16:29:46,280 [execute] INFO git fetch -v origin 16:29:46 2022-10-25 16:29:46,280 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 16:29:46 2022-10-25 16:29:46,877 [run_push] DEBUG no remote changes detected 16:29:46 2022-10-25 16:29:46,877 [execute] INFO git push origin semver 16:29:46 2022-10-25 16:29:46,878 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 16:29:47 2022-10-25 16:29:47,658 [run_push] DEBUG push all version tags 16:29:47 2022-10-25 16:29:47,659 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:29:47 2022-10-25 16:29:47,659 [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) 16:29:48 2022-10-25 16:29:48,569 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 16:29:48 2.3.0-dev.38 [Pipeline] } 16:29:48 $ docker exec --env ******** --env ******** efaa681f108e05490b3262510d5f0c85ac79af28cdc9298945e9f8f7c34a9e45 ssh-agent -k 16:29:49 unset SSH_AUTH_SOCK; 16:29:49 unset SSH_AGENT_PID; 16:29:49 echo Agent pid 38 killed; 16:29:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:29:49 + git semver [Pipeline] } 16:29:49 $ docker stop --time=1 efaa681f108e05490b3262510d5f0c85ac79af28cdc9298945e9f8f7c34a9e45 16:29:50 $ docker rm -f efaa681f108e05490b3262510d5f0c85ac79af28cdc9298945e9f8f7c34a9e45 [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 16:29:51 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 16:29:51 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 16:29:51 total 16 16:29:51 drwxr-xr-x 3 root root 4096 Oct 25 16:12 . 16:29:51 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 16:29 .. 16:29:51 drwxr-xr-x 2 root root 4096 Oct 25 16:12 cost 16:29:51 -rw-r--r-- 1 root root 90 Oct 25 16:12 cost.csv 16:29:51 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 16:29:51 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 16:29:51 total 16 16:29:51 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 16:12 . 16:29:51 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 16:29 .. 16:29:51 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 16:12 cost 16:29:51 -rw-r--r-- 1 jenkins jenkins 90 Oct 25 16:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:29:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:29:52 ---> package-listing.sh 16:29:52 ++ facter osfamily 16:29:52 ++ tr '[:upper:]' '[:lower:]' 16:29:52 + OS_FAMILY=debian 16:29:52 + workspace=/w/workspace/foundry_device-onvif-camera_main 16:29:52 + START_PACKAGES=/tmp/packages_start.txt 16:29:52 + END_PACKAGES=/tmp/packages_end.txt 16:29:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:29:52 + PACKAGES=/tmp/packages_start.txt 16:29:52 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 16:29:52 + PACKAGES=/tmp/packages_end.txt 16:29:52 + case "${OS_FAMILY}" in 16:29:52 + dpkg -l 16:29:52 + grep '^ii' 16:29:52 + '[' -f /tmp/packages_start.txt ']' 16:29:52 + '[' -f /tmp/packages_end.txt ']' 16:29:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:29:52 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 16:29:52 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 16:29:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 16:29:52 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 16:29:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:29:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:53 prd-ubuntu20.04-docker-8c-8g-116899 does not seem to be running inside a container 16:29:53 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:29:54 $ docker top a01dca89fc7b1adb9412708c5ab75a840d15f2c841a39e0816cec27afd54ae0f -eo pid,comm [Pipeline] { [Pipeline] sh 16:29:54 + touch /tmp/pre-build-complete [Pipeline] sh 16:29:54 + mkdir -p /var/log/sysstat [Pipeline] sh 16:29:54 + ls /var/log/sa-host 16:29:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:29:55 provisioning config files... 16:29:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1094669802725134255tmp [Pipeline] { [Pipeline] echo 16:29:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:29:55 ---> create-netrc.sh [Pipeline] } 16:29:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:29:55 ---> python-tools-install.sh [Pipeline] echo 16:29:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:29:56 ---> sudo-logs.sh 16:29:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:29:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:29:56 ---> job-cost.sh 16:29:56 lf-activate-venv: SKIPPING 16:29:56 DEBUG: total: 0.2199999988079071 16:29:56 INFO: Retrieving Stack Cost... 16:29:56 INFO: Retrieving Pricing Info for: v3-standard-8 16:29:57 INFO: Archiving Costs [Pipeline] echo 16:29:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:29:57 ---> logs-deploy.sh 16:29:57 lf-activate-venv: SKIPPING 16:29:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/76 16:29:57 INFO: archiving workspace using pattern(s): 16:29:58 Archives upload complete. 16:29:58 INFO: archiving logs to Nexus