Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eff61ece5709928a9f31d9a775fc6c989cb12ea4 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-ssh14840921159820225945.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh6706780040288751469.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh8700370087343689045.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh13257415914171723854.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-ssh10030299377616384800.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-1847’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1852 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 Avoid second fetch Checking out Revision eff61ece5709928a9f31d9a775fc6c989cb12ea4 (main) Commit message: "docs: Add video reference and text (#166)" > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eff61ece5709928a9f31d9a775fc6c989cb12ea4 # timeout=10 > git rev-list --no-walk f5732e31f5803dbff04c89d6285bbaabf5e55c73 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:13:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:13:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:13:40 ========================================================= 18:13:40 EdgeX Global Pipelines Version Info 18:13:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:13:41 ------------------- 18:13:41 stable info: 18:13:41 ------------------- 18:13:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:13:41 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 18:13:41 Message: update stable to v1.0.239 18:13:42 ------------------- 18:13:42 experimental info: 18:13:42 ------------------- 18:13:42 Commited By: **** collab-it+edgex@linuxfoundation.org 18:13:42 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 18:13:42 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eff61ece5709928a9f31d9a775fc6c989cb12ea4 [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eff61ec [Pipeline] echo 18:13:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:13:42 provisioning config files... 18:13:42 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4012652733187514383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:13:42 ---> docker-login.sh 18:13:42 nexus3.edgexfoundry.org:10001 18:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:43 Configure a credential helper to remove this warning. See 18:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:43 18:13:43 Login Succeeded 18:13:43 nexus3.edgexfoundry.org:10002 18:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:43 Configure a credential helper to remove this warning. See 18:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:43 18:13:43 Login Succeeded 18:13:43 nexus3.edgexfoundry.org:10003 18:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:43 Configure a credential helper to remove this warning. See 18:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:43 18:13:43 Login Succeeded 18:13:43 nexus3.edgexfoundry.org:10004 18:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:43 Configure a credential helper to remove this warning. See 18:13:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:43 18:13:43 Login Succeeded 18:13:43 docker.io 18:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:13:44 Configure a credential helper to remove this warning. See 18:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:13:44 18:13:44 Login Succeeded 18:13:44 ---> docker-login.sh ends [Pipeline] } 18:13:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:13:44 + git rev-list -1 --merges eff61ece5709928a9f31d9a775fc6c989cb12ea4~1..eff61ece5709928a9f31d9a775fc6c989cb12ea4 [Pipeline] echo 18:13:44 -----------> git rev-list -1 --merges eff61ece5709928a9f31d9a775fc6c989cb12ea4~1..eff61ece5709928a9f31d9a775fc6c989cb12ea4 eff61ece5709928a9f31d9a775fc6c989cb12ea4 [false] [Pipeline] sh 18:13:44 + git log --format=format:%s -1 eff61ece5709928a9f31d9a775fc6c989cb12ea4 [Pipeline] echo 18:13:44 ========================================================= 18:13:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:13:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:13:45 + git log --format=format:%s -1 eff61ece5709928a9f31d9a775fc6c989cb12ea4 [Pipeline] echo 18:13:45 [semverPrep] GIT_COMMIT: eff61ece5709928a9f31d9a775fc6c989cb12ea4, Commit Message: docs: Add video reference and text (#166) [Pipeline] echo 18:13:45 [semverPrep] This is not a build commit. [Pipeline] sh 18:13:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:13:45 + grep -v github /etc/ssh/ssh_known_hosts 18:13:45 + [ -e /tmp/ssh_known_hosts ] 18:13:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:13:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:13:45 + sudo tee -a /etc/ssh/ssh_known_hosts 18:13:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:13:46 18:13:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:13:46 0.1.4: Pulling from edgex-devops/py-git-semver 18:13:46 b85a868b505f: Pulling fs layer 18:13:46 e2be974225ed: Pulling fs layer 18:13:46 339a4e72a1f5: Pulling fs layer 18:13:46 988bab9f4d93: Pulling fs layer 18:13:46 988bab9f4d93: Waiting 18:13:46 1469e6f7b9e6: Pulling fs layer 18:13:46 eaf3925da568: Pulling fs layer 18:13:46 bab4dde63d76: Pulling fs layer 18:13:46 bde34c3a00c8: Pulling fs layer 18:13:46 b352a97aabf1: Pulling fs layer 18:13:46 bab4dde63d76: Waiting 18:13:46 eaf3925da568: Waiting 18:13:46 bde34c3a00c8: Waiting 18:13:46 b352a97aabf1: Waiting 18:13:46 4872d77fe225: Pulling fs layer 18:13:46 5851b861e8e6: Pulling fs layer 18:13:46 5851b861e8e6: Waiting 18:13:46 4872d77fe225: Waiting 18:13:46 e2be974225ed: Verifying Checksum 18:13:46 e2be974225ed: Download complete 18:13:46 988bab9f4d93: Verifying Checksum 18:13:46 988bab9f4d93: Download complete 18:13:46 1469e6f7b9e6: Verifying Checksum 18:13:46 1469e6f7b9e6: Download complete 18:13:46 eaf3925da568: Verifying Checksum 18:13:46 eaf3925da568: Download complete 18:13:46 339a4e72a1f5: Verifying Checksum 18:13:46 339a4e72a1f5: Download complete 18:13:46 bde34c3a00c8: Download complete 18:13:46 b352a97aabf1: Verifying Checksum 18:13:46 b352a97aabf1: Download complete 18:13:46 4872d77fe225: Verifying Checksum 18:13:46 4872d77fe225: Download complete 18:13:46 5851b861e8e6: Download complete 18:13:46 b85a868b505f: Verifying Checksum 18:13:46 b85a868b505f: Download complete 18:13:46 bab4dde63d76: Verifying Checksum 18:13:46 bab4dde63d76: Download complete 18:13:48 b85a868b505f: Pull complete 18:13:48 e2be974225ed: Pull complete 18:13:48 339a4e72a1f5: Pull complete 18:13:48 988bab9f4d93: Pull complete 18:13:49 1469e6f7b9e6: Pull complete 18:13:49 eaf3925da568: Pull complete 18:13:50 bab4dde63d76: Pull complete 18:13:50 bde34c3a00c8: Pull complete 18:13:51 b352a97aabf1: Pull complete 18:13:51 4872d77fe225: Pull complete 18:13:51 5851b861e8e6: Pull complete 18:13:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:13:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:13:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:13:51 prd-ubuntu20.04-docker-8c-8g-1852 does not seem to be running inside a container 18:13:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:13:54 $ docker top f5e3eb0988a4a62f00b42cf73d0b9cc5b35509d64361804b7a9b9b892a320fdb -eo pid,comm 18:13:54 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). 18:13:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:13:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:13:54 [ssh-agent] Looking for ssh-agent implementation... 18:13:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:13:54 $ docker exec f5e3eb0988a4a62f00b42cf73d0b9cc5b35509d64361804b7a9b9b892a320fdb ssh-agent 18:13:54 SSH_AUTH_SOCK=/tmp/ssh-MjYW4aMUecUN/agent.33 18:13:54 SSH_AGENT_PID=39 18:13:54 Running ssh-add (command line suppressed) 18:13:55 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8741827782079703020.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8741827782079703020.key) 18:13:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:13:55 + git tag --points-at HEAD [Pipeline] } 18:13:55 $ docker exec --env ******** --env ******** f5e3eb0988a4a62f00b42cf73d0b9cc5b35509d64361804b7a9b9b892a320fdb ssh-agent -k 18:13:55 unset SSH_AUTH_SOCK; 18:13:55 unset SSH_AGENT_PID; 18:13:55 echo Agent pid 39 killed; 18:13:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:13:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:13:55 [ssh-agent] Looking for ssh-agent implementation... 18:13:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:13:55 $ docker exec f5e3eb0988a4a62f00b42cf73d0b9cc5b35509d64361804b7a9b9b892a320fdb ssh-agent 18:13:55 SSH_AUTH_SOCK=/tmp/ssh-HjcZyl9muKJc/agent.71 18:13:55 SSH_AGENT_PID=77 18:13:55 Running ssh-add (command line suppressed) 18:13:55 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12021532558300531902.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12021532558300531902.key) 18:13:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:13:56 + git semver init 18:13:56 2022-09-28 18:13:56,417 [run_init] DEBUG init version:0.0.0 force:False 18:13:56 2022-09-28 18:13:56,418 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 18:13:56 2022-09-28 18:13:56,418 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 18:13:56 2022-09-28 18:13:56,418 [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) 18:13:57 2022-09-28 18:13:57,433 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 18:13:57 2022-09-28 18:13:57,433 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 18:13:57 2022-09-28 18:13:57,434 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:13:57 2022-09-28 18:13:57,434 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:13:57 2.3.0-dev.24 [Pipeline] } 18:13:57 $ docker exec --env ******** --env ******** f5e3eb0988a4a62f00b42cf73d0b9cc5b35509d64361804b7a9b9b892a320fdb ssh-agent -k 18:13:57 unset SSH_AUTH_SOCK; 18:13:57 unset SSH_AGENT_PID; 18:13:57 echo Agent pid 77 killed; 18:13:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:13:58 + git semver [Pipeline] } 18:13:58 $ docker stop --time=1 f5e3eb0988a4a62f00b42cf73d0b9cc5b35509d64361804b7a9b9b892a320fdb 18:13:59 $ docker rm -f f5e3eb0988a4a62f00b42cf73d0b9cc5b35509d64361804b7a9b9b892a320fdb [Pipeline] // withDockerContainer [Pipeline] sh 18:14:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:14:00 Stashed 1 file(s) [Pipeline] echo 18:14:00 [edgeXSemver]: initialized semver on version 2.3.0-dev.24 [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 18:14:00 provisioning config files... 18:14:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9238983976547540290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:00 ---> docker-login.sh 18:14:00 nexus3.edgexfoundry.org:10001 18:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:00 Configure a credential helper to remove this warning. See 18:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:00 18:14:00 Login Succeeded 18:14:00 nexus3.edgexfoundry.org:10002 18:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:00 Configure a credential helper to remove this warning. See 18:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:00 18:14:00 Login Succeeded 18:14:00 nexus3.edgexfoundry.org:10003 18:14:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:01 Configure a credential helper to remove this warning. See 18:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:01 18:14:01 Login Succeeded 18:14:01 nexus3.edgexfoundry.org:10004 18:14:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:01 Configure a credential helper to remove this warning. See 18:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:01 18:14:01 Login Succeeded 18:14:01 docker.io 18:14:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:14:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:14:01 Configure a credential helper to remove this warning. See 18:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:14:01 18:14:01 Login Succeeded 18:14:01 ---> docker-login.sh ends [Pipeline] } 18:14:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:14:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:14:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:14:01 ========================================================= 18:14:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:14:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:02 + 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 . 18:14:02 Sending build context to Docker daemon 20.73MB 18:14:02 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:14:02 Step 2/13 : FROM ${BASE} AS builder 18:14:02 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:14:02 2408cc74d12b: Pulling fs layer 18:14:02 ea60b727a1ce: Pulling fs layer 18:14:02 30c4a7721957: Pulling fs layer 18:14:02 370296b7ddb6: Pulling fs layer 18:14:02 7c6cee850709: Pulling fs layer 18:14:02 39a5fcdaea64: Pulling fs layer 18:14:02 d94ebbe4e438: Pulling fs layer 18:14:02 7c6cee850709: Waiting 18:14:02 370296b7ddb6: Waiting 18:14:02 39a5fcdaea64: Waiting 18:14:02 bcfd1f05c69d: Pulling fs layer 18:14:02 d94ebbe4e438: Waiting 18:14:02 bcfd1f05c69d: Waiting 18:14:02 59ccb84bbe0f: Pulling fs layer 18:14:02 59ccb84bbe0f: Waiting 18:14:02 30c4a7721957: Verifying Checksum 18:14:02 30c4a7721957: Download complete 18:14:02 ea60b727a1ce: Verifying Checksum 18:14:02 ea60b727a1ce: Download complete 18:14:02 7c6cee850709: Verifying Checksum 18:14:02 7c6cee850709: Download complete 18:14:02 39a5fcdaea64: Verifying Checksum 18:14:02 39a5fcdaea64: Download complete 18:14:02 2408cc74d12b: Verifying Checksum 18:14:02 d94ebbe4e438: Verifying Checksum 18:14:02 d94ebbe4e438: Download complete 18:14:02 2408cc74d12b: Pull complete 18:14:02 ea60b727a1ce: Pull complete 18:14:02 30c4a7721957: Pull complete 18:14:02 59ccb84bbe0f: Verifying Checksum 18:14:02 59ccb84bbe0f: Download complete 18:14:03 bcfd1f05c69d: Verifying Checksum 18:14:03 bcfd1f05c69d: Download complete 18:14:03 370296b7ddb6: Verifying Checksum 18:14:03 370296b7ddb6: Download complete 18:14:07 370296b7ddb6: Pull complete 18:14:07 7c6cee850709: Pull complete 18:14:07 39a5fcdaea64: Pull complete 18:14:07 d94ebbe4e438: Pull complete 18:14:09 bcfd1f05c69d: Pull complete 18:14:10 59ccb84bbe0f: Pull complete 18:14:10 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 18:14:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:14:10 ---> a4fb48ad2a94 18:14:10 Step 3/13 : ARG MAKE="make build" 18:14:15 Still waiting to schedule task 18:14:15 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1849’ is offline 18:14:15 ---> Running in 23bbcda81f99 18:14:15 Removing intermediate container 23bbcda81f99 18:14:15 ---> 4b46cef58b55 18:14:15 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:14:15 ---> Running in f264b360cee6 18:14:15 Removing intermediate container f264b360cee6 18:14:15 ---> f8ab5cd83cdd 18:14:15 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 18:14:15 ---> Running in 3aefa4ce485e 18:14:15 Removing intermediate container 3aefa4ce485e 18:14:15 ---> fde11503f92b 18:14:15 Step 6/13 : LABEL Name=edgex-device-onvif-camera 18:14:15 ---> Running in 722015fc9657 18:14:15 Removing intermediate container 722015fc9657 18:14:15 ---> c79236193a7a 18:14:15 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:14:15 ---> Running in c60036313b7a 18:14:16 Removing intermediate container c60036313b7a 18:14:16 ---> 358d08585440 18:14:16 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:14:16 ---> Running in 9d660271c3cb 18:14:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:14:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:14:17 OK: 211 MiB in 51 packages 18:14:18 Removing intermediate container 9d660271c3cb 18:14:18 ---> 43147a811522 18:14:18 Step 9/13 : WORKDIR /device-onvif-camera 18:14:18 ---> Running in d2990f39cfd3 18:14:18 Removing intermediate container d2990f39cfd3 18:14:18 ---> 92816d23fa0d 18:14:18 Step 10/13 : COPY go.mod vendor* ./ 18:14:18 ---> 9a4773dcb035 18:14:18 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:14:18 ---> Running in 4302246b946c 18:14:45 Removing intermediate container 4302246b946c 18:14:45 ---> f6ea1c8525bf 18:14:45 Step 12/13 : COPY . . 18:14:45 ---> 0a88eb35f167 18:14:45 Step 13/13 : RUN ${MAKE} 18:14:45 ---> Running in 4ff813c6866c 18:14:45 noop 18:14:45 Removing intermediate container 4ff813c6866c 18:14:45 ---> b10c37f4de27 18:14:45 Successfully built b10c37f4de27 18:14:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:45 + docker inspect -f . ci-base-image-x86_64 18:14:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:45 prd-ubuntu20.04-docker-8c-8g-1852 does not seem to be running inside a container 18:14:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:14:45 $ docker top ef5480e25e146389a879427a542baac461fd06a24f90b19bb9e054b17df3fdea -eo pid,comm [Pipeline] { [Pipeline] sh 18:14:46 + go version 18:14:46 go version go1.18.3 linux/amd64 [Pipeline] } 18:14:46 $ docker stop --time=1 ef5480e25e146389a879427a542baac461fd06a24f90b19bb9e054b17df3fdea 18:14:47 $ docker rm -f ef5480e25e146389a879427a542baac461fd06a24f90b19bb9e054b17df3fdea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:47 + docker inspect -f . ci-base-image-x86_64 18:14:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:47 prd-ubuntu20.04-docker-8c-8g-1852 does not seem to be running inside a container 18:14:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:14:48 $ docker top 1933d9ad79a5ba74edf84e1d01617686b778d42235c7eb32b148fc69f062e56a -eo pid,comm [Pipeline] { [Pipeline] sh 18:14:48 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 18:14:49 + make test 18:14:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:14:49 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:15:01 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:15:01 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.032s coverage: 28.2% of statements 18:15:01 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:15:01 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.354s coverage: 86.5% of statements 18:15:09 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." 18:15:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:15:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:15:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:15:12 ./bin/test-attribution-txt.sh [Pipeline] echo 18:15:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:15:12 $ docker stop --time=1 1933d9ad79a5ba74edf84e1d01617686b778d42235c7eb32b148fc69f062e56a 18:15:14 $ docker rm -f 1933d9ad79a5ba74edf84e1d01617686b778d42235c7eb32b148fc69f062e56a [Pipeline] // withDockerContainer [Pipeline] sh 18:15:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:15:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:15:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:15:16 + ls -al . 18:15:16 total 236 18:15:16 drwxrwxr-x 10 jenkins jenkins 4096 Sep 28 18:14 . 18:15:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 18:13 .. 18:15:16 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 18:15 .git 18:15:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 18:13 .github 18:15:16 -rw-rw-r-- 1 jenkins jenkins 418 Sep 28 18:13 .gitignore 18:15:16 -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 18:13 .golangci.yml 18:15:16 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 18:13 .semver 18:15:16 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 28 18:13 Attribution.txt 18:15:16 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 28 18:13 CHANGELOG.md 18:15:16 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 28 18:13 Dockerfile 18:15:16 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 18:13 GOVERNANCE.md 18:15:16 -rw-rw-r-- 1 jenkins jenkins 734 Sep 28 18:13 Jenkinsfile 18:15:16 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 18:13 LICENSE 18:15:16 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 28 18:13 Makefile 18:15:16 -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 18:13 OWNERS.md 18:15:16 -rw-rw-r-- 1 jenkins jenkins 5931 Sep 28 18:13 README.md 18:15:16 -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 18:14 VERSION 18:15:16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 18:13 bin 18:15:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 18:13 cmd 18:15:16 -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 18:15 coverage.out 18:15:16 drwxrwxr-x 6 jenkins jenkins 4096 Sep 28 18:13 doc 18:15:16 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 28 18:13 go.mod 18:15:16 -rw-rw-r-- 1 jenkins jenkins 39691 Sep 28 18:13 go.sum 18:15:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 18:13 internal 18:15:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 18:13 snap 18:15:16 -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 18:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:16 + 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=eff61ece5709928a9f31d9a775fc6c989cb12ea4 --label arch=amd64 --label version=2.3.0-dev.24 . 18:15:16 Sending build context to Docker daemon 20.81MB 18:15:16 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:15:16 Step 2/26 : FROM ${BASE} AS builder 18:15:16 ---> b10c37f4de27 18:15:16 Step 3/26 : ARG MAKE="make build" 18:15:16 ---> Running in 805c943509c2 18:15:16 Removing intermediate container 805c943509c2 18:15:16 ---> 9f6ad1baa4a1 18:15:16 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:15:16 ---> Running in 1939b265703d 18:15:16 Removing intermediate container 1939b265703d 18:15:16 ---> c2605441127c 18:15:16 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 18:15:16 ---> Running in a15e4db353fc 18:15:17 Removing intermediate container a15e4db353fc 18:15:17 ---> 14341befedff 18:15:17 Step 6/26 : LABEL Name=edgex-device-onvif-camera 18:15:17 ---> Running in 14eaa322e5e9 18:15:17 Removing intermediate container 14eaa322e5e9 18:15:17 ---> 41619008da64 18:15:17 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:15:17 ---> Running in f36b72bab11d 18:15:17 Removing intermediate container f36b72bab11d 18:15:17 ---> 30d80a6eafc1 18:15:17 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:15:17 ---> Running in 813f6b5bcabe 18:15:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:15:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:15:19 OK: 211 MiB in 51 packages 18:15:19 Removing intermediate container 813f6b5bcabe 18:15:19 ---> 10b43300463f 18:15:19 Step 9/26 : WORKDIR /device-onvif-camera 18:15:19 ---> Running in a241d6b82291 18:15:19 Removing intermediate container a241d6b82291 18:15:19 ---> 6bb0c50eb2f2 18:15:19 Step 10/26 : COPY go.mod vendor* ./ 18:15:19 ---> 3e900c5f09d7 18:15:19 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:15:19 ---> Running in 9775595ee219 18:15:20 Removing intermediate container 9775595ee219 18:15:20 ---> 34b083791c48 18:15:20 Step 12/26 : COPY . . 18:15:21 ---> a46f98014867 18:15:21 Step 13/26 : RUN ${MAKE} 18:15:21 ---> Running in c78fa7fb1816 18:15:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.24 -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 18:15:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1853 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 18:15:43 Running in /w/workspace/device-onvif-camera/63 [Pipeline] { [Pipeline] checkout 18:15:43 The recommended git tool is: git 18:15:48 Removing intermediate container c78fa7fb1816 18:15:48 ---> 99c0582340d8 18:15:48 Step 14/26 : FROM alpine:3.16 18:15:48 3.16: Pulling from library/alpine 18:15:48 213ec9aee27d: Pulling fs layer 18:15:48 213ec9aee27d: Verifying Checksum 18:15:48 213ec9aee27d: Download complete 18:15:48 213ec9aee27d: Pull complete 18:15:48 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:15:48 Status: Downloaded newer image for alpine:3.16 18:15:48 ---> 9c6f07244728 18:15:48 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:15:48 ---> Running in e15106fcb5de 18:15:48 Removing intermediate container e15106fcb5de 18:15:48 ---> c3ab2b8494ae 18:15:48 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 18:15:48 ---> Running in 339f79f86888 18:15:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:15:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:15:48 (1/6) Installing dumb-init (1.2.5-r1) 18:15:48 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:15:48 (3/6) Installing libsodium (1.0.18-r0) 18:15:48 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:15:48 (5/6) Installing libzmq (4.3.4-r0) 18:15:48 (6/6) Installing zeromq (4.3.4-r0) 18:15:48 Executing busybox-1.35.0-r17.trigger 18:15:48 OK: 8 MiB in 20 packages 18:15:48 Removing intermediate container 339f79f86888 18:15:48 ---> cce7ff69a8b0 18:15:48 Step 17/26 : WORKDIR / 18:15:48 ---> Running in 6589f3980f0c 18:15:48 Removing intermediate container 6589f3980f0c 18:15:48 ---> 0983cdc1189c 18:15:48 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:15:48 ---> 93570a96a5c0 18:15:48 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:15:48 ---> f162902f8a64 18:15:48 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:15:48 ---> dbe88eaaec85 18:15:48 Step 21/26 : EXPOSE 59984 18:15:48 ---> Running in 7cb9827fed34 18:15:48 Removing intermediate container 7cb9827fed34 18:15:48 ---> c61f57376928 18:15:48 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:15:48 ---> Running in becf0386fb6f 18:15:48 Removing intermediate container becf0386fb6f 18:15:48 ---> 12b0a8a07e17 18:15:48 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:15:48 ---> Running in 925e480c4ebf 18:15:48 Removing intermediate container 925e480c4ebf 18:15:48 ---> 0fabfaa9225e 18:15:48 Step 24/26 : LABEL arch=amd64 18:15:48 ---> Running in c1ded3d552d3 18:15:48 Removing intermediate container c1ded3d552d3 18:15:48 ---> 05150309cfdf 18:15:48 Step 25/26 : LABEL git_sha=eff61ece5709928a9f31d9a775fc6c989cb12ea4 18:15:48 using credential edgex-jenkins-ssh 18:15:48 Cloning the remote Git repository 18:15:48 ---> Running in 6b9b930cb813 18:15:48 Removing intermediate container 6b9b930cb813 18:15:48 ---> 17cd5e3724c9 18:15:48 Step 26/26 : LABEL version=2.3.0-dev.24 18:15:48 ---> Running in 176461e26f1b 18:15:48 Removing intermediate container 176461e26f1b 18:15:48 ---> 950f8ca29cf7 18:15:48 [Warning] One or more build-args [ARCH] were not consumed 18:15:48 Successfully built 950f8ca29cf7 18:15:48 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 18:15:48 provisioning config files... 18:15:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12608748749685798020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:15:48 ---> docker-login.sh 18:15:48 nexus3.edgexfoundry.org:10001 18:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:48 Configure a credential helper to remove this warning. See 18:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:48 18:15:48 Login Succeeded 18:15:48 nexus3.edgexfoundry.org:10002 18:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:48 Configure a credential helper to remove this warning. See 18:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:48 18:15:48 Login Succeeded 18:15:48 nexus3.edgexfoundry.org:10003 18:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:49 Configure a credential helper to remove this warning. See 18:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:49 18:15:49 Login Succeeded 18:15:49 nexus3.edgexfoundry.org:10004 18:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:49 Configure a credential helper to remove this warning. See 18:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:49 18:15:49 Login Succeeded 18:15:49 docker.io 18:15:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:48 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 18:15:48 > git init /w/workspace/device-onvif-camera/63 # timeout=10 18:15:48 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 18:15:48 > git --version # timeout=10 18:15:48 > git --version # 'git version 2.25.1' 18:15:48 using GIT_SSH to set credentials SSH Credentials for GitHub 18:15:48 Verifying host key using known hosts file 18:15:48 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. 18:15:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:15:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:49 Configure a credential helper to remove this warning. See 18:15:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:49 18:15:49 Login Succeeded 18:15:49 ---> docker-login.sh ends [Pipeline] } 18:15:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:15:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:15:49 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 18:15:49 eff61ece5709928a9f31d9a775fc6c989cb12ea4 18:15:49 latest 18:15:49 2.3.0-dev.24 18:15:49 eff61ece5709928a9f31d9a775fc6c989cb12ea4-2.3.0-dev.24 18:15:49 main 18:15:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:49 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:eff61ece5709928a9f31d9a775fc6c989cb12ea4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:50 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:eff61ece5709928a9f31d9a775fc6c989cb12ea4 18:15:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:15:50 ccfbb86574eb: Preparing 18:15:50 209a59b6229a: Preparing 18:15:50 cd4940d7daaf: Preparing 18:15:50 d84ff07bbf7c: Preparing 18:15:50 994393dc58e7: Preparing 18:15:50 994393dc58e7: Layer already exists 18:15:50 209a59b6229a: Pushed 18:15:50 ccfbb86574eb: Pushed 18:15:50 d84ff07bbf7c: Pushed 18:15:50 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 18:15:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:15:50 Avoid second fetch 18:15:50 Checking out Revision eff61ece5709928a9f31d9a775fc6c989cb12ea4 (main) 18:15:51 Commit message: "docs: Add video reference and text (#166)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:15:50 > git config core.sparsecheckout # timeout=10 18:15:50 > git checkout -f eff61ece5709928a9f31d9a775fc6c989cb12ea4 # timeout=10 18:15:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:15:52 % Total % Received % Xferd Average Speed Time Time Time Current 18:15:52 Dload Upload Total Spent Left Speed 18:15:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 80782 0 --:--:-- --:--:-- --:--:-- 80782 [Pipeline] sh 18:15:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:15:53 cd4940d7daaf: Pushed 18:15:53 eff61ece5709928a9f31d9a775fc6c989cb12ea4: digest: sha256:9649f3591170ce30e89f6e3cee9d9a60cc615f99db52388f349fcf6a38704713 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:53 + sudo tee /etc/docker/daemon.new 18:15:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:15:53 { 18:15:53 "registry-mirrors": [ 18:15:53 "https://nexus3.edgexfoundry.org:10001" 18:15:53 ], 18:15:53 "bip": "10.250.0.254/24", 18:15:53 "hosts": [ 18:15:53 "tcp://0.0.0.0:5555", 18:15:53 "unix:///var/run/docker.sock" 18:15:53 ], 18:15:53 "mtu": 1458, 18:15:53 "selinux-enabled": true, 18:15:53 "seccomp-profile": "/etc/docker/seccomp.json" 18:15:53 } [Pipeline] sh 18:15:53 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:15:53 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 18:15:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:15:53 ccfbb86574eb: Preparing 18:15:53 209a59b6229a: Preparing 18:15:53 cd4940d7daaf: Preparing 18:15:53 d84ff07bbf7c: Preparing 18:15:53 994393dc58e7: Preparing 18:15:53 d84ff07bbf7c: Layer already exists 18:15:53 994393dc58e7: Layer already exists 18:15:53 cd4940d7daaf: Layer already exists 18:15:53 209a59b6229a: Layer already exists 18:15:53 ccfbb86574eb: Layer already exists 18:15:53 latest: digest: sha256:9649f3591170ce30e89f6e3cee9d9a60cc615f99db52388f349fcf6a38704713 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:53 + sudo service docker restart 18:15:53 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.24 18:15:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:15:54 ccfbb86574eb: Preparing 18:15:54 209a59b6229a: Preparing 18:15:54 cd4940d7daaf: Preparing 18:15:54 d84ff07bbf7c: Preparing 18:15:54 994393dc58e7: Preparing 18:15:54 ccfbb86574eb: Layer already exists 18:15:54 d84ff07bbf7c: Layer already exists 18:15:54 994393dc58e7: Layer already exists 18:15:54 cd4940d7daaf: Layer already exists 18:15:54 209a59b6229a: Layer already exists 18:15:54 2.3.0-dev.24: digest: sha256:9649f3591170ce30e89f6e3cee9d9a60cc615f99db52388f349fcf6a38704713 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:54 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:eff61ece5709928a9f31d9a775fc6c989cb12ea4-2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:eff61ece5709928a9f31d9a775fc6c989cb12ea4-2.3.0-dev.24 18:15:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:15:54 ccfbb86574eb: Preparing 18:15:54 209a59b6229a: Preparing 18:15:54 cd4940d7daaf: Preparing 18:15:54 d84ff07bbf7c: Preparing 18:15:54 994393dc58e7: Preparing 18:15:54 209a59b6229a: Layer already exists 18:15:54 994393dc58e7: Layer already exists 18:15:54 cd4940d7daaf: Layer already exists 18:15:54 d84ff07bbf7c: Layer already exists 18:15:54 ccfbb86574eb: Layer already exists 18:15:54 eff61ece5709928a9f31d9a775fc6c989cb12ea4-2.3.0-dev.24: digest: sha256:9649f3591170ce30e89f6e3cee9d9a60cc615f99db52388f349fcf6a38704713 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:55 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:55 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 18:15:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 18:15:55 ccfbb86574eb: Preparing 18:15:55 209a59b6229a: Preparing 18:15:55 cd4940d7daaf: Preparing 18:15:55 d84ff07bbf7c: Preparing 18:15:55 994393dc58e7: Preparing 18:15:55 d84ff07bbf7c: Layer already exists 18:15:55 209a59b6229a: Layer already exists 18:15:55 cd4940d7daaf: Layer already exists 18:15:55 ccfbb86574eb: Layer already exists 18:15:55 994393dc58e7: Layer already exists 18:15:55 main: digest: sha256:9649f3591170ce30e89f6e3cee9d9a60cc615f99db52388f349fcf6a38704713 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:15:55 ===================================================== [Pipeline] echo 18:15:55 taggedImages: 18:15:55 - nexus3.edgexfoundry.org:10004/device-onvif-camera:eff61ece5709928a9f31d9a775fc6c989cb12ea4 18:15:55 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 18:15:55 - nexus3.edgexfoundry.org:10004/device-onvif-camera:2.3.0-dev.24 18:15:55 - nexus3.edgexfoundry.org:10004/device-onvif-camera:eff61ece5709928a9f31d9a775fc6c989cb12ea4-2.3.0-dev.24 18:15:55 - 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 18:15:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:15:55 18:15:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:15:56 latest: Pulling from edgex-lftools-log-publisher 18:15:56 5eb5b503b376: Pulling fs layer 18:15:56 5c69ac0246d0: Pulling fs layer 18:15:56 ec43610c2a17: Pulling fs layer 18:15:56 3a2ae6a8a46f: Pulling fs layer 18:15:56 33b1e0a273af: Pulling fs layer 18:15:56 5d3b04190fa2: Pulling fs layer 18:15:56 2f39f015ded8: Pulling fs layer 18:15:56 3a2ae6a8a46f: Waiting 18:15:56 33b1e0a273af: Waiting 18:15:56 5d3b04190fa2: Waiting 18:15:56 2f39f015ded8: Waiting 18:15:56 5c69ac0246d0: Verifying Checksum 18:15:56 5c69ac0246d0: Download complete 18:15:56 3a2ae6a8a46f: Verifying Checksum 18:15:56 3a2ae6a8a46f: Download complete 18:15:56 33b1e0a273af: Verifying Checksum 18:15:56 33b1e0a273af: Download complete 18:15:56 5d3b04190fa2: Verifying Checksum 18:15:56 5d3b04190fa2: Download complete 18:15:56 ec43610c2a17: Verifying Checksum 18:15:56 ec43610c2a17: Download complete 18:15:56 5eb5b503b376: Verifying Checksum 18:15:56 5eb5b503b376: Download complete 18:15:56 2f39f015ded8: Verifying Checksum 18:15:56 2f39f015ded8: Download complete 18:15:57 5eb5b503b376: Pull complete 18:15:57 5c69ac0246d0: Pull complete 18:15:58 ec43610c2a17: Pull complete 18:15:58 3a2ae6a8a46f: Pull complete 18:15:58 33b1e0a273af: Pull complete 18:15:58 5d3b04190fa2: Pull complete 18:16:02 2f39f015ded8: Pull complete 18:16:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:16:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:16:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:02 prd-ubuntu20.04-docker-8c-8g-1852 does not seem to be running inside a container 18:16:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:16:07 $ docker top 9366866522f9af7fdb0a88e112610c2abe97a872cb0ed0d02e413ce39e1c57b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:16:07 ---> job-cost.sh 18:16:07 lf-activate-venv: SKIPPING 18:16:07 INFO: No Stack... 18:16:07 INFO: Retrieving Pricing Info for: v3-standard-8 18:16:08 INFO: Archiving Costs [Pipeline] sh 18:16:08 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 18:16:08 + cut -d, -f6 [Pipeline] lock 18:16:08 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-63-stack-cost] 18:16:08 Resource [jenkins-edgexfoundry-device-onvif-camera-main-63-stack-cost] did not exist. Created. 18:16:08 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:16:08 + echo total: 0.2199999988079071 [Pipeline] stash 18:16:08 Stashed 1 file(s) [Pipeline] } 18:16:08 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-63-stack-cost] [Pipeline] // lock [Pipeline] } 18:16:08 $ docker stop --time=1 9366866522f9af7fdb0a88e112610c2abe97a872cb0ed0d02e413ce39e1c57b0 18:16:10 $ docker rm -f 9366866522f9af7fdb0a88e112610c2abe97a872cb0ed0d02e413ce39e1c57b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:16:12 provisioning config files... 18:16:12 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/63@tmp/config11727561292345524024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:16:12 ---> docker-login.sh 18:16:12 nexus3.edgexfoundry.org:10001 18:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:16:13 Configure a credential helper to remove this warning. See 18:16:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:16:13 18:16:13 Login Succeeded 18:16:13 nexus3.edgexfoundry.org:10002 18:16:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:16:13 Configure a credential helper to remove this warning. See 18:16:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:16:13 18:16:13 Login Succeeded 18:16:13 nexus3.edgexfoundry.org:10003 18:16:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:16:13 Configure a credential helper to remove this warning. See 18:16:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:16:13 18:16:13 Login Succeeded 18:16:13 nexus3.edgexfoundry.org:10004 18:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:16:14 Configure a credential helper to remove this warning. See 18:16:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:16:14 18:16:14 Login Succeeded 18:16:14 docker.io 18:16:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:16:14 Configure a credential helper to remove this warning. See 18:16:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:16:14 18:16:14 Login Succeeded 18:16:14 ---> docker-login.sh ends [Pipeline] } 18:16:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:16:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:16:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:16:15 ========================================================= 18:16:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:16:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:15 + 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 . 18:16:16 Sending build context to Docker daemon 14.17MB 18:16:16 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:16:16 Step 2/13 : FROM ${BASE} AS builder 18:16:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:16:16 b3c136eddcbf: Pulling fs layer 18:16:16 c0a3192eca97: Pulling fs layer 18:16:16 a050256f5b6f: Pulling fs layer 18:16:16 656be50a0ddc: Pulling fs layer 18:16:16 2bbca73fdf42: Pulling fs layer 18:16:16 46d945488cbd: Pulling fs layer 18:16:16 8a5474983e97: Pulling fs layer 18:16:16 329c88fbcd65: Pulling fs layer 18:16:16 2bbca73fdf42: Waiting 18:16:16 46d945488cbd: Waiting 18:16:16 8a5474983e97: Waiting 18:16:16 656be50a0ddc: Waiting 18:16:16 329c88fbcd65: Waiting 18:16:16 a050256f5b6f: Download complete 18:16:16 c0a3192eca97: Verifying Checksum 18:16:16 c0a3192eca97: Download complete 18:16:16 2bbca73fdf42: Verifying Checksum 18:16:16 2bbca73fdf42: Download complete 18:16:16 46d945488cbd: Verifying Checksum 18:16:16 46d945488cbd: Download complete 18:16:16 b3c136eddcbf: Verifying Checksum 18:16:16 b3c136eddcbf: Download complete 18:16:16 b3c136eddcbf: Pull complete 18:16:17 329c88fbcd65: Verifying Checksum 18:16:17 329c88fbcd65: Download complete 18:16:17 c0a3192eca97: Pull complete 18:16:17 a050256f5b6f: Pull complete 18:16:18 8a5474983e97: Verifying Checksum 18:16:18 8a5474983e97: Download complete 18:16:18 656be50a0ddc: Verifying Checksum 18:16:18 656be50a0ddc: Download complete 18:16:31 656be50a0ddc: Pull complete 18:16:31 2bbca73fdf42: Pull complete 18:16:31 46d945488cbd: Pull complete 18:16:38 8a5474983e97: Pull complete 18:16:38 329c88fbcd65: Pull complete 18:16:38 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 18:16:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:16:38 ---> ff4287adb874 18:16:38 Step 3/13 : ARG MAKE="make build" 18:16:40 ---> Running in a1d63b8c4341 18:16:41 Removing intermediate container a1d63b8c4341 18:16:41 ---> 6176a9d96452 18:16:41 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:16:41 ---> Running in 99af1ce60302 18:16:41 Removing intermediate container 99af1ce60302 18:16:41 ---> 305c88b3f4a4 18:16:41 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 18:16:41 ---> Running in e871d4e12420 18:16:42 Removing intermediate container e871d4e12420 18:16:42 ---> 5ba6b5e3a535 18:16:42 Step 6/13 : LABEL Name=edgex-device-onvif-camera 18:16:42 ---> Running in 694f50ad65f1 18:16:42 Removing intermediate container 694f50ad65f1 18:16:42 ---> a130d8a36978 18:16:42 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:16:42 ---> Running in fa522c122998 18:16:44 Removing intermediate container fa522c122998 18:16:44 ---> 039bf602c23c 18:16:44 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:16:44 ---> Running in 97dd9c4e64b9 18:16:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:16:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:16:46 OK: 221 MiB in 51 packages 18:16:47 Removing intermediate container 97dd9c4e64b9 18:16:47 ---> ad6069c3b6fb 18:16:47 Step 9/13 : WORKDIR /device-onvif-camera 18:16:47 ---> Running in 6eab078a2037 18:16:48 Removing intermediate container 6eab078a2037 18:16:48 ---> ade1e11142c8 18:16:48 Step 10/13 : COPY go.mod vendor* ./ 18:16:49 ---> ba243f7251d1 18:16:49 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:16:49 ---> Running in 60f1ffe528f3 18:17:45 Removing intermediate container 60f1ffe528f3 18:17:45 ---> cb87139f4248 18:17:45 Step 12/13 : COPY . . 18:17:45 ---> 3787eacdf628 18:17:45 Step 13/13 : RUN ${MAKE} 18:17:45 ---> Running in 69324c6b9cd9 18:17:45 noop 18:17:45 Removing intermediate container 69324c6b9cd9 18:17:45 ---> 135240c9ac84 18:17:45 Successfully built 135240c9ac84 18:17:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:46 + docker inspect -f . ci-base-image-arm64 18:17:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:17:46 prd-ubuntu20.04-docker-arm64-4c-16g-1853 does not seem to be running inside a container 18:17:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/63 -v /w/workspace/device-onvif-camera/63:/w/workspace/device-onvif-camera/63:rw,z -v /w/workspace/device-onvif-camera/63@tmp:/w/workspace/device-onvif-camera/63@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 18:17:47 $ docker top a40e123fe524ca9954597bbf0a567b2139c3f7e72de3bbef642728adff639362 -eo pid,comm [Pipeline] { [Pipeline] sh 18:17:48 + go version 18:17:48 go version go1.18.3 linux/arm64 [Pipeline] } 18:17:48 $ docker stop --time=1 a40e123fe524ca9954597bbf0a567b2139c3f7e72de3bbef642728adff639362 18:17:50 $ docker rm -f a40e123fe524ca9954597bbf0a567b2139c3f7e72de3bbef642728adff639362 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:50 + docker inspect -f . ci-base-image-arm64 18:17:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:17:50 prd-ubuntu20.04-docker-arm64-4c-16g-1853 does not seem to be running inside a container 18:17:50 $ 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/63 -v /w/workspace/device-onvif-camera/63:/w/workspace/device-onvif-camera/63:rw,z -v /w/workspace/device-onvif-camera/63@tmp:/w/workspace/device-onvif-camera/63@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 18:17:52 $ docker top dd76015a66108b4be54a3e45e8bed2df35641f061928824b207d3fca1c5353f3 -eo pid,comm [Pipeline] { [Pipeline] sh 18:17:52 + git config --global --add safe.directory /w/workspace/device-onvif-camera/63 [Pipeline] fileExists [Pipeline] sh 18:17:53 + make test 18:17:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:17:55 ? github.com/edgexfoundry/device-onvif-camera [no test files] 18:19:31 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 18:19:31 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.187s coverage: 28.2% of statements 18:19:31 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 18:19:46 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.356s coverage: 86.5% of statements 18:19:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:19:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:20:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:20:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:20:08 ./bin/test-attribution-txt.sh [Pipeline] echo 18:20:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:20:09 $ docker stop --time=1 dd76015a66108b4be54a3e45e8bed2df35641f061928824b207d3fca1c5353f3 18:20:10 $ docker rm -f dd76015a66108b4be54a3e45e8bed2df35641f061928824b207d3fca1c5353f3 [Pipeline] // withDockerContainer [Pipeline] sh 18:20:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:20:11 Warning: overwriting stash ‘coverage-report’ 18:20:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:20:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:20:13 + ls -al . 18:20:13 total 232 18:20:13 drwxrwxr-x 9 jenkins jenkins 4096 Sep 28 18:17 . 18:20:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 18:15 .. 18:20:13 drwxrwxr-x 8 jenkins jenkins 4096 Sep 28 18:15 .git 18:20:13 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 18:15 .github 18:20:13 -rw-rw-r-- 1 jenkins jenkins 418 Sep 28 18:15 .gitignore 18:20:13 -rw-rw-r-- 1 jenkins jenkins 42 Sep 28 18:15 .golangci.yml 18:20:13 -rw-rw-r-- 1 jenkins jenkins 9739 Sep 28 18:15 Attribution.txt 18:20:13 -rw-rw-r-- 1 jenkins jenkins 1498 Sep 28 18:15 CHANGELOG.md 18:20:13 -rw-rw-r-- 1 jenkins jenkins 1669 Sep 28 18:15 Dockerfile 18:20:13 -rw-rw-r-- 1 jenkins jenkins 677 Sep 28 18:15 GOVERNANCE.md 18:20:13 -rw-rw-r-- 1 jenkins jenkins 734 Sep 28 18:15 Jenkinsfile 18:20:13 -rw-rw-r-- 1 jenkins jenkins 11348 Sep 28 18:15 LICENSE 18:20:13 -rw-rw-r-- 1 jenkins jenkins 2649 Sep 28 18:15 Makefile 18:20:13 -rw-rw-r-- 1 jenkins jenkins 625 Sep 28 18:15 OWNERS.md 18:20:13 -rw-rw-r-- 1 jenkins jenkins 5931 Sep 28 18:15 README.md 18:20:13 -rw-rw-r-- 1 jenkins jenkins 12 Sep 28 18:14 VERSION 18:20:13 drwxrwxr-x 2 jenkins jenkins 4096 Sep 28 18:15 bin 18:20:13 drwxrwxr-x 3 jenkins jenkins 4096 Sep 28 18:15 cmd 18:20:13 -rw-r--r-- 1 jenkins jenkins 78461 Sep 28 18:19 coverage.out 18:20:13 drwxrwxr-x 6 jenkins jenkins 4096 Sep 28 18:15 doc 18:20:13 -rw-rw-r-- 1 jenkins jenkins 3747 Sep 28 18:15 go.mod 18:20:13 -rw-rw-r-- 1 jenkins jenkins 39691 Sep 28 18:15 go.sum 18:20:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 18:15 internal 18:20:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 28 18:15 snap 18:20:13 -rw-rw-r-- 1 jenkins jenkins 236 Sep 28 18:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:13 + 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=eff61ece5709928a9f31d9a775fc6c989cb12ea4 --label arch=arm64 --label version=2.3.0-dev.24 . 18:20:14 Sending build context to Docker daemon 14.25MB 18:20:14 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 18:20:14 Step 2/26 : FROM ${BASE} AS builder 18:20:14 ---> 135240c9ac84 18:20:14 Step 3/26 : ARG MAKE="make build" 18:20:14 ---> Running in 284c7463b510 18:20:14 Removing intermediate container 284c7463b510 18:20:14 ---> 42e52c80704b 18:20:14 Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 18:20:14 ---> Running in 212d064eb091 18:20:14 Removing intermediate container 212d064eb091 18:20:14 ---> 3d6623bb2a24 18:20:14 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 18:20:15 ---> Running in b7d29edc35e6 18:20:15 Removing intermediate container b7d29edc35e6 18:20:15 ---> a0d00e6b01ac 18:20:15 Step 6/26 : LABEL Name=edgex-device-onvif-camera 18:20:15 ---> Running in 512fc7bde433 18:20:15 Removing intermediate container 512fc7bde433 18:20:15 ---> cc3ec2da5e2b 18:20:15 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 18:20:15 ---> Running in 6ebab83e6f78 18:20:17 Removing intermediate container 6ebab83e6f78 18:20:17 ---> 4a028cf5cf15 18:20:17 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:20:17 ---> Running in 004050f815b7 18:20:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:20:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:20:20 OK: 221 MiB in 51 packages 18:20:22 Removing intermediate container 004050f815b7 18:20:22 ---> ea96ab7f56e8 18:20:22 Step 9/26 : WORKDIR /device-onvif-camera 18:20:22 ---> Running in 01e7d1c22e76 18:20:22 Removing intermediate container 01e7d1c22e76 18:20:22 ---> 7c5fddcf27ae 18:20:22 Step 10/26 : COPY go.mod vendor* ./ 18:20:23 ---> 0672d3ae6d6e 18:20:23 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:20:23 ---> Running in 6f60a9184b85 18:20:26 Removing intermediate container 6f60a9184b85 18:20:26 ---> 1a9492d8be42 18:20:26 Step 12/26 : COPY . . 18:20:27 ---> 6ce6fe1acd89 18:20:27 Step 13/26 : RUN ${MAKE} 18:20:27 ---> Running in 62311c56af3e 18:20:28 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=2.3.0-dev.24 -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 18:23:05 Removing intermediate container 62311c56af3e 18:23:05 ---> 8b32923729ad 18:23:05 Step 14/26 : FROM alpine:3.16 18:23:05 3.16: Pulling from library/alpine 18:23:05 9b18e9b68314: Pulling fs layer 18:23:05 9b18e9b68314: Verifying Checksum 18:23:05 9b18e9b68314: Pull complete 18:23:05 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:23:05 Status: Downloaded newer image for alpine:3.16 18:23:05 ---> a6215f271958 18:23:05 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:23:05 ---> Running in eba5358dff1d 18:23:05 Removing intermediate container eba5358dff1d 18:23:05 ---> 607753c34ba9 18:23:05 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 18:23:05 ---> Running in fc5c7a858dac 18:23:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:23:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:23:05 (1/6) Installing dumb-init (1.2.5-r1) 18:23:05 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:23:05 (3/6) Installing libsodium (1.0.18-r0) 18:23:05 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:23:05 (5/6) Installing libzmq (4.3.4-r0) 18:23:05 (6/6) Installing zeromq (4.3.4-r0) 18:23:05 Executing busybox-1.35.0-r17.trigger 18:23:05 OK: 8 MiB in 20 packages 18:23:05 Removing intermediate container fc5c7a858dac 18:23:05 ---> bdc48f375139 18:23:05 Step 17/26 : WORKDIR / 18:23:05 ---> Running in d4a4170651ca 18:23:05 Removing intermediate container d4a4170651ca 18:23:05 ---> 416ccbe46128 18:23:05 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 18:23:05 ---> c05385b65cb2 18:23:05 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 18:23:05 ---> ecf1e9591049 18:23:05 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 18:23:05 ---> ca30ebf14ac0 18:23:05 Step 21/26 : EXPOSE 59984 18:23:05 ---> Running in 439349bf545d 18:23:05 Removing intermediate container 439349bf545d 18:23:05 ---> 7c4f9cbce17e 18:23:05 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 18:23:05 ---> Running in c737c11cbfcd 18:23:05 Removing intermediate container c737c11cbfcd 18:23:05 ---> f23281c9ba37 18:23:05 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:23:05 ---> Running in c83862cafbbf 18:23:05 Removing intermediate container c83862cafbbf 18:23:05 ---> c6f347e5f552 18:23:05 Step 24/26 : LABEL arch=arm64 18:23:05 ---> Running in d41eb9213ffe 18:23:05 Removing intermediate container d41eb9213ffe 18:23:05 ---> a5d5ad5e5c2c 18:23:05 Step 25/26 : LABEL git_sha=eff61ece5709928a9f31d9a775fc6c989cb12ea4 18:23:05 ---> Running in 5b78b88e6077 18:23:05 Removing intermediate container 5b78b88e6077 18:23:05 ---> 1ae06c4bac49 18:23:05 Step 26/26 : LABEL version=2.3.0-dev.24 18:23:05 ---> Running in e3935043e81b 18:23:05 Removing intermediate container e3935043e81b 18:23:05 ---> 8200ea3848e8 18:23:05 [Warning] One or more build-args [ARCH] were not consumed 18:23:05 Successfully built 8200ea3848e8 18:23:05 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 18:23:05 provisioning config files... 18:23:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/63@tmp/config12566866140365490570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:23:05 ---> docker-login.sh 18:23:05 nexus3.edgexfoundry.org:10001 18:23:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:05 Configure a credential helper to remove this warning. See 18:23:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:05 18:23:05 Login Succeeded 18:23:05 nexus3.edgexfoundry.org:10002 18:23:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:06 Configure a credential helper to remove this warning. See 18:23:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:06 18:23:06 Login Succeeded 18:23:06 nexus3.edgexfoundry.org:10003 18:23:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:06 Configure a credential helper to remove this warning. See 18:23:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:06 18:23:06 Login Succeeded 18:23:06 nexus3.edgexfoundry.org:10004 18:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:07 Configure a credential helper to remove this warning. See 18:23:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:07 18:23:07 Login Succeeded 18:23:07 docker.io 18:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:07 Configure a credential helper to remove this warning. See 18:23:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:07 18:23:07 Login Succeeded 18:23:07 ---> docker-login.sh ends [Pipeline] } 18:23:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:23:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:23:07 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 18:23:07 eff61ece5709928a9f31d9a775fc6c989cb12ea4 18:23:07 latest 18:23:07 2.3.0-dev.24 18:23:07 eff61ece5709928a9f31d9a775fc6c989cb12ea4-2.3.0-dev.24 18:23:07 main 18:23:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:07 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:eff61ece5709928a9f31d9a775fc6c989cb12ea4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:eff61ece5709928a9f31d9a775fc6c989cb12ea4 18:23:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:23:08 292221a7d24e: Preparing 18:23:08 461cce93cf6e: Preparing 18:23:08 c9a4f999ad58: Preparing 18:23:08 d0380defc045: Preparing 18:23:08 5d3e392a13a0: Preparing 18:23:08 5d3e392a13a0: Layer already exists 18:23:08 461cce93cf6e: Pushed 18:23:08 292221a7d24e: Pushed 18:23:09 d0380defc045: Pushed 18:23:14 c9a4f999ad58: Pushed 18:23:14 eff61ece5709928a9f31d9a775fc6c989cb12ea4: digest: sha256:1d259aca225476410ef65e009c51a00198965d1dcde6d46402ec2d4610784ec9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:14 + 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 18:23:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:23:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:23:15 292221a7d24e: Preparing 18:23:15 461cce93cf6e: Preparing 18:23:15 c9a4f999ad58: Preparing 18:23:15 d0380defc045: Preparing 18:23:15 5d3e392a13a0: Preparing 18:23:15 461cce93cf6e: Layer already exists 18:23:15 c9a4f999ad58: Layer already exists 18:23:15 292221a7d24e: Layer already exists 18:23:15 d0380defc045: Layer already exists 18:23:15 5d3e392a13a0: Layer already exists 18:23:15 latest: digest: sha256:1d259aca225476410ef65e009c51a00198965d1dcde6d46402ec2d4610784ec9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:15 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.24 18:23:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:23:15 292221a7d24e: Preparing 18:23:15 461cce93cf6e: Preparing 18:23:15 c9a4f999ad58: Preparing 18:23:15 d0380defc045: Preparing 18:23:15 5d3e392a13a0: Preparing 18:23:15 5d3e392a13a0: Layer already exists 18:23:15 c9a4f999ad58: Layer already exists 18:23:15 d0380defc045: Layer already exists 18:23:15 461cce93cf6e: Layer already exists 18:23:15 292221a7d24e: Layer already exists 18:23:15 2.3.0-dev.24: digest: sha256:1d259aca225476410ef65e009c51a00198965d1dcde6d46402ec2d4610784ec9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:16 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:eff61ece5709928a9f31d9a775fc6c989cb12ea4-2.3.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:16 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:eff61ece5709928a9f31d9a775fc6c989cb12ea4-2.3.0-dev.24 18:23:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:23:16 292221a7d24e: Preparing 18:23:16 461cce93cf6e: Preparing 18:23:16 c9a4f999ad58: Preparing 18:23:16 d0380defc045: Preparing 18:23:16 5d3e392a13a0: Preparing 18:23:16 292221a7d24e: Layer already exists 18:23:16 5d3e392a13a0: Layer already exists 18:23:16 d0380defc045: Layer already exists 18:23:16 c9a4f999ad58: Layer already exists 18:23:16 461cce93cf6e: Layer already exists 18:23:16 eff61ece5709928a9f31d9a775fc6c989cb12ea4-2.3.0-dev.24: digest: sha256:1d259aca225476410ef65e009c51a00198965d1dcde6d46402ec2d4610784ec9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:16 + 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 18:23:17 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 18:23:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 18:23:17 292221a7d24e: Preparing 18:23:17 461cce93cf6e: Preparing 18:23:17 c9a4f999ad58: Preparing 18:23:17 d0380defc045: Preparing 18:23:17 5d3e392a13a0: Preparing 18:23:17 461cce93cf6e: Layer already exists 18:23:17 5d3e392a13a0: Layer already exists 18:23:17 292221a7d24e: Layer already exists 18:23:17 c9a4f999ad58: Layer already exists 18:23:17 d0380defc045: Layer already exists 18:23:17 main: digest: sha256:1d259aca225476410ef65e009c51a00198965d1dcde6d46402ec2d4610784ec9 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:23:17 ===================================================== [Pipeline] echo 18:23:17 taggedImages: 18:23:17 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:eff61ece5709928a9f31d9a775fc6c989cb12ea4 18:23:17 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 18:23:17 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:2.3.0-dev.24 18:23:17 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:eff61ece5709928a9f31d9a775fc6c989cb12ea4-2.3.0-dev.24 18:23:17 - 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 18:23:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:23:17 18:23:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:23:17 arm64: Pulling from edgex-lftools-log-publisher 18:23:17 8998bd30e6a1: Pulling fs layer 18:23:17 04944245beec: Pulling fs layer 18:23:17 699f458cf7ca: Pulling fs layer 18:23:17 765212b225bb: Pulling fs layer 18:23:17 f23df028b6ca: Pulling fs layer 18:23:17 d65c8cfc05b1: Pulling fs layer 18:23:17 2437ff75d9bd: Pulling fs layer 18:23:17 765212b225bb: Waiting 18:23:17 f23df028b6ca: Waiting 18:23:17 d65c8cfc05b1: Waiting 18:23:17 2437ff75d9bd: Waiting 18:23:18 04944245beec: Verifying Checksum 18:23:18 04944245beec: Download complete 18:23:18 765212b225bb: Verifying Checksum 18:23:18 765212b225bb: Download complete 18:23:18 f23df028b6ca: Verifying Checksum 18:23:18 f23df028b6ca: Download complete 18:23:18 d65c8cfc05b1: Verifying Checksum 18:23:18 d65c8cfc05b1: Download complete 18:23:18 699f458cf7ca: Verifying Checksum 18:23:18 699f458cf7ca: Download complete 18:23:18 8998bd30e6a1: Download complete 18:23:20 2437ff75d9bd: Verifying Checksum 18:23:20 2437ff75d9bd: Download complete 18:23:22 8998bd30e6a1: Pull complete 18:23:22 04944245beec: Pull complete 18:23:24 699f458cf7ca: Pull complete 18:23:24 765212b225bb: Pull complete 18:23:25 f23df028b6ca: Pull complete 18:23:25 d65c8cfc05b1: Pull complete 18:23:40 2437ff75d9bd: Pull complete 18:23:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:23:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:23:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:23:40 prd-ubuntu20.04-docker-arm64-4c-16g-1853 does not seem to be running inside a container 18:23:40 $ 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/63 -v /w/workspace/device-onvif-camera/63:/w/workspace/device-onvif-camera/63:rw,z -v /w/workspace/device-onvif-camera/63@tmp:/w/workspace/device-onvif-camera/63@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 18:23:43 $ docker top 1aec384054be5e3011398be76ca9f32df62d597c9998bc866716d17d9f193bb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:23:43 ---> job-cost.sh 18:23:43 lf-activate-venv: SKIPPING 18:23:43 INFO: No Stack... 18:23:44 INFO: Retrieving Pricing Info for: v3-standard-4 18:23:45 INFO: Archiving Costs [Pipeline] sh 18:23:45 + cut -d, -f6 18:23:45 + cat /w/workspace/device-onvif-camera/63/archives/cost.csv [Pipeline] lock 18:23:45 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-63-stack-cost] 18:23:45 Resource [jenkins-edgexfoundry-device-onvif-camera-main-63-stack-cost] did not exist. Created. 18:23:45 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-63-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:23:46 /w/workspace/device-onvif-camera/63@tmp/durable-0222236e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:23:46 + echo total: 0.10999999940395355 [Pipeline] stash 18:23:46 Warning: overwriting stash ‘stack-cost’ 18:23:46 Stashed 1 file(s) [Pipeline] } 18:23:46 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-63-stack-cost] [Pipeline] // lock [Pipeline] } 18:23:46 $ docker stop --time=1 1aec384054be5e3011398be76ca9f32df62d597c9998bc866716d17d9f193bb4 18:23:48 $ docker rm -f 1aec384054be5e3011398be76ca9f32df62d597c9998bc866716d17d9f193bb4 [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 18:23:48 provisioning config files... 18:23:48 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5721391570342646888tmp [Pipeline] { [Pipeline] sh 18:23:48 + set +x 18:23:48 + + bash -scurl -- -s 18:23:48 https://codecov.io/bash 18:23:48 18:23:48 _____ _ 18:23:48 / ____| | | 18:23:48 | | ___ __| | ___ ___ _____ __ 18:23:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:23:48 | |___| (_) | (_| | __/ (_| (_) \ V / 18:23:48 \_____\___/ \__,_|\___|\___\___/ \_/ 18:23:48 Bash-1.0.6 18:23:48 18:23:48 18:23:48 ==> git version 2.25.1 found 18:23:48 ==> 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 18:23:48 Release-Date: 2020-01-08 18:23:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:23:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:23:48 ==> Jenkins CI detected. 18:23:48 current dir:  /w/workspace/foundry_device-onvif-camera_main 18:23:48 project root: . 18:23:48 --> token set from env 18:23:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:23:48 ==> Running gcov in . (disable via -X gcov) 18:23:48 ==> Python coveragepy not found 18:23:48 ==> Searching for coverage reports in: 18:23:48 + . 18:23:48 -> Found 1 reports 18:23:48 ==> Detecting git/mercurial file structure 18:23:48 ==> Reading reports 18:23:48 + ./coverage.out bytes=78461 18:23:49 ==> Appending adjustments 18:23:49 https://docs.codecov.io/docs/fixing-reports 18:23:49 + Found adjustments 18:23:49 ==> Gzipping contents 18:23:49 12K /tmp/codecov.Axuuk9.gz 18:23:49 ==> Uploading reports 18:23:49 url: https://codecov.io 18:23:49 query: branch=main&commit=eff61ece5709928a9f31d9a775fc6c989cb12ea4&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:23:49 -> Pinging Codecov 18:23:49 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=eff61ece5709928a9f31d9a775fc6c989cb12ea4&build=63&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F63%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:23:49 -> Uploading to 18:23:49 https://storage.googleapis.com/codecov/v4/raw/2022-09-28/F29A59C45E3A92E06B3E522C9905F8EF/eff61ece5709928a9f31d9a775fc6c989cb12ea4/3c0a7aeb-c29d-4eeb-bc35-dc3fad678f65.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220928%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220928T182349Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8fbec5f547b4b84a67f174a643f0e2a319f274e1a585007a95ba302885e85cad 18:23:49 % Total % Received % Xferd Average Speed Time Time Time Current 18:23:49 Dload Upload Total Spent Left Speed 18:23:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10720 0 0 100 10720 0 42709 --:--:-- --:--:-- --:--:-- 42709 18:23:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/eff61ece5709928a9f31d9a775fc6c989cb12ea4 [Pipeline] } 18:23:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:23:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:23:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:23:50 18:23:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:23:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:23:50 df9b9388f04a: Pulling fs layer 18:23:50 52dc419b0ee2: Pulling fs layer 18:23:50 25bc292e5bac: Pulling fs layer 18:23:50 114826534d7a: Pulling fs layer 18:23:50 4657fd5d0bcf: Pulling fs layer 18:23:50 6ad1cebc031e: Pulling fs layer 18:23:50 8a3aa393b2d8: Pulling fs layer 18:23:50 4657fd5d0bcf: Waiting 18:23:50 6ad1cebc031e: Waiting 18:23:50 8a3aa393b2d8: Waiting 18:23:50 114826534d7a: Waiting 18:23:50 25bc292e5bac: Verifying Checksum 18:23:50 25bc292e5bac: Download complete 18:23:50 52dc419b0ee2: Verifying Checksum 18:23:50 52dc419b0ee2: Download complete 18:23:50 4657fd5d0bcf: Verifying Checksum 18:23:50 4657fd5d0bcf: Download complete 18:23:50 df9b9388f04a: Download complete 18:23:50 df9b9388f04a: Pull complete 18:23:50 6ad1cebc031e: Verifying Checksum 18:23:50 6ad1cebc031e: Download complete 18:23:50 52dc419b0ee2: Pull complete 18:23:50 25bc292e5bac: Pull complete 18:23:51 114826534d7a: Verifying Checksum 18:23:51 114826534d7a: Download complete 18:23:51 8a3aa393b2d8: Verifying Checksum 18:23:51 8a3aa393b2d8: Download complete 18:23:54 114826534d7a: Pull complete 18:23:54 4657fd5d0bcf: Pull complete 18:23:54 6ad1cebc031e: Pull complete 18:23:57 8a3aa393b2d8: Pull complete 18:23:57 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:23:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:23:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:23:57 prd-ubuntu20.04-docker-8c-8g-1852 does not seem to be running inside a container 18:23:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:24:01 $ docker top 5cc027ad0627449a951f5eba233a0005f96133b315a90ee87e34cae9fb6a218e -eo pid,comm [Pipeline] { [Pipeline] echo 18:24:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 18:24:02 + set -o pipefail 18:24:02 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 18:24:07 18:24:07 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 18:24:07 18:24:07 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/2b863559-527f-4ca6-8d94-76710fb7bdd5 18:24:07 18:24:07 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:24:07 18:24:07 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:24:07 18:24:07 [Pipeline] } 18:24:07 $ docker stop --time=1 5cc027ad0627449a951f5eba233a0005f96133b315a90ee87e34cae9fb6a218e 18:24:11 $ docker rm -f 5cc027ad0627449a951f5eba233a0005f96133b315a90ee87e34cae9fb6a218e [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 18:24:12 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:24:12 provisioning config files... 18:24:12 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config128544150573737878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:12 --> edgex-publish-swagger.sh 18:24:12 === Publish doc/openapi/v2 API === 18:24:12 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 18:24:12 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 18:24:12 % Total % Received % Xferd Average Speed Time Time Time Current 18:24:12 Dload Upload Total Spent Left Speed 18:24:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 139k 0 0 100 139k 0 205k --:--:-- --:--:-- --:--:-- 205k 100 139k 0 0 100 139k 0 205k --:--:-- --:--:-- --:--:-- 205k 18:24:12 18:24:12 [Pipeline] } 18:24:12 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 18:24:13 + git log --format=format:%s -1 eff61ece5709928a9f31d9a775fc6c989cb12ea4 [Pipeline] sh 18:24:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:24:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:24:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:14 prd-ubuntu20.04-docker-8c-8g-1852 does not seem to be running inside a container 18:24:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:24:14 $ docker top b9e55b11013d9a4d62c4e519bcee96c473c2130625c22a7667f74618419dcbbf -eo pid,comm 18:24:14 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). 18:24:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:24:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:24:14 [ssh-agent] Looking for ssh-agent implementation... 18:24:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:24:15 $ docker exec b9e55b11013d9a4d62c4e519bcee96c473c2130625c22a7667f74618419dcbbf ssh-agent 18:24:15 SSH_AUTH_SOCK=/tmp/ssh-aHhzOmAfRht2/agent.32 18:24:15 SSH_AGENT_PID=38 18:24:15 Running ssh-add (command line suppressed) 18:24:15 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15909989401933902201.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15909989401933902201.key) 18:24:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:24:15 + git semver tag 18:24:15 2022-09-28 18:24:15,772 [run_tag] DEBUG tag force:False 18:24:15 2022-09-28 18:24:15,773 [check_head_tag] DEBUG check head tag 18:24:15 2022-09-28 18:24:15,773 [execute] INFO git cat-file --batch-check 18:24:15 2022-09-28 18:24:15,774 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:24:15 2022-09-28 18:24:15,777 [execute] INFO git cat-file --batch 18:24:15 2022-09-28 18:24:15,777 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 18:24:15 2022-09-28 18:24:15,795 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:24:15 2022-09-28 18:24:15,795 [execute] INFO git tag -a v2.3.0-dev.24 -m v2.3.0-dev.24 18:24:15 2022-09-28 18:24:15,796 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.24', '-m', 'v2.3.0-dev.24'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 18:24:15 2022-09-28 18:24:15,800 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:24:15 2.3.0-dev.24 [Pipeline] } 18:24:15 $ docker exec --env ******** --env ******** b9e55b11013d9a4d62c4e519bcee96c473c2130625c22a7667f74618419dcbbf ssh-agent -k 18:24:15 unset SSH_AUTH_SOCK; 18:24:15 unset SSH_AGENT_PID; 18:24:15 echo Agent pid 38 killed; 18:24:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:24:16 + git semver [Pipeline] } 18:24:16 $ docker stop --time=1 b9e55b11013d9a4d62c4e519bcee96c473c2130625c22a7667f74618419dcbbf 18:24:17 $ docker rm -f b9e55b11013d9a4d62c4e519bcee96c473c2130625c22a7667f74618419dcbbf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:24:18 18:24:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:24:18 0.23.1-centos7: Pulling from edgex-lftools 18:24:18 ab5ef0e58194: Pulling fs layer 18:24:18 9712f1f96733: Pulling fs layer 18:24:18 63f879dbbcfc: Pulling fs layer 18:24:18 0d9ebad4ef96: Pulling fs layer 18:24:18 e9a5061849ea: Pulling fs layer 18:24:18 d747dcd14b5f: Pulling fs layer 18:24:18 2de7ff778b66: Pulling fs layer 18:24:18 e9a5061849ea: Waiting 18:24:18 0d9ebad4ef96: Waiting 18:24:18 d747dcd14b5f: Waiting 18:24:18 9712f1f96733: Verifying Checksum 18:24:18 63f879dbbcfc: Verifying Checksum 18:24:18 63f879dbbcfc: Download complete 18:24:18 e9a5061849ea: Verifying Checksum 18:24:18 e9a5061849ea: Download complete 18:24:18 d747dcd14b5f: Download complete 18:24:18 ab5ef0e58194: Download complete 18:24:18 0d9ebad4ef96: Verifying Checksum 18:24:18 0d9ebad4ef96: Download complete 18:24:18 2de7ff778b66: Verifying Checksum 18:24:18 2de7ff778b66: Download complete 18:24:22 ab5ef0e58194: Pull complete 18:24:22 9712f1f96733: Pull complete 18:24:22 63f879dbbcfc: Pull complete 18:24:26 0d9ebad4ef96: Pull complete 18:24:26 e9a5061849ea: Pull complete 18:24:26 d747dcd14b5f: Pull complete 18:24:28 2de7ff778b66: Pull complete 18:24:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:24:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:24:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:28 prd-ubuntu20.04-docker-8c-8g-1852 does not seem to be running inside a container 18:24:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:24:33 $ docker top f838493499acff63af48fe09dc65b4df77a802f183a6492801e1ab9a7e72a8cf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:24:34 provisioning config files... 18:24:34 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8827707481333291907tmp 18:24:34 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8956551959210403485tmp 18:24:34 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3489881655632781146tmp [Pipeline] { [Pipeline] echo 18:24:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:24:34 ---> sigul-configuration.sh 18:24:34 gpg: directory `/root/.gnupg' created 18:24:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:24:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:24:34 gpg: keyring `/root/.gnupg/secring.gpg' created 18:24:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:24:34 gpg: CAST5 encrypted data 18:24:34 gpg: encrypted with 1 passphrase 18:24:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:24:34 + mkdir /home/jenkins 18:24:34 + mkdir /home/jenkins/sigul [Pipeline] sh 18:24:34 + 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 18:24:34 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:24:35 ---> sigul-install.sh 18:24:35 Sigul already installed; skipping installation. [Pipeline] sh 18:24:35 + git tag --list 18:24:35 v0.0.0 18:24:35 v0.0.1-dev.1 18:24:35 v0.0.1-dev.10 18:24:35 v0.0.1-dev.11 18:24:35 v0.0.1-dev.12 18:24:35 v0.0.1-dev.13 18:24:35 v0.0.1-dev.14 18:24:35 v0.0.1-dev.15 18:24:35 v0.0.1-dev.16 18:24:35 v0.0.1-dev.17 18:24:35 v0.0.1-dev.18 18:24:35 v0.0.1-dev.19 18:24:35 v0.0.1-dev.2 18:24:35 v0.0.1-dev.20 18:24:35 v0.0.1-dev.21 18:24:35 v0.0.1-dev.22 18:24:35 v0.0.1-dev.23 18:24:35 v0.0.1-dev.24 18:24:35 v0.0.1-dev.25 18:24:35 v0.0.1-dev.26 18:24:35 v0.0.1-dev.27 18:24:35 v0.0.1-dev.28 18:24:35 v0.0.1-dev.3 18:24:35 v0.0.1-dev.4 18:24:35 v0.0.1-dev.5 18:24:35 v0.0.1-dev.6 18:24:35 v0.0.1-dev.7 18:24:35 v0.0.1-dev.8 18:24:35 v0.0.1-dev.9 18:24:35 v2.2.0 18:24:35 v2.2.0-dev.29 18:24:35 v2.2.0-dev.30 18:24:35 v2.2.0-dev.31 18:24:35 v2.2.0-dev.32 18:24:35 v2.2.0-dev.33 18:24:35 v2.2.0-dev.34 18:24:35 v2.2.0-dev.35 18:24:35 v2.3.0-dev.1 18:24:35 v2.3.0-dev.10 18:24:35 v2.3.0-dev.11 18:24:35 v2.3.0-dev.12 18:24:35 v2.3.0-dev.13 18:24:35 v2.3.0-dev.14 18:24:35 v2.3.0-dev.15 18:24:35 v2.3.0-dev.16 18:24:35 v2.3.0-dev.17 18:24:35 v2.3.0-dev.18 18:24:35 v2.3.0-dev.19 18:24:35 v2.3.0-dev.2 18:24:35 v2.3.0-dev.20 18:24:35 v2.3.0-dev.21 18:24:35 v2.3.0-dev.22 18:24:35 v2.3.0-dev.23 18:24:35 v2.3.0-dev.24 18:24:35 v2.3.0-dev.3 18:24:35 v2.3.0-dev.4 18:24:35 v2.3.0-dev.5 18:24:35 v2.3.0-dev.6 18:24:35 v2.3.0-dev.7 18:24:35 v2.3.0-dev.8 18:24:35 v2.3.0-dev.9 [Pipeline] sh 18:24:35 + lftools sign git-tag v2.3.0-dev.24 18:24:36 Signing Git tag with Sigul... 18:24:36 Signing v2.3.0-dev.24 [Pipeline] echo 18:24:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:24:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:24:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:24:36 $ docker stop --time=1 f838493499acff63af48fe09dc65b4df77a802f183a6492801e1ab9a7e72a8cf 18:24:38 $ docker rm -f f838493499acff63af48fe09dc65b4df77a802f183a6492801e1ab9a7e72a8cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:24:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:24:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:24:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:39 prd-ubuntu20.04-docker-8c-8g-1852 does not seem to be running inside a container 18:24:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:24:39 $ docker top 49f0ee0676935fc095fdba114df29c72225f84a1685ce69518d7607280d481ed -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:24:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:24:39 [ssh-agent] Looking for ssh-agent implementation... 18:24:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:24:39 $ docker exec 49f0ee0676935fc095fdba114df29c72225f84a1685ce69518d7607280d481ed ssh-agent 18:24:39 SSH_AUTH_SOCK=/tmp/ssh-7aVti12VTpRL/agent.32 18:24:39 SSH_AGENT_PID=38 18:24:39 Running ssh-add (command line suppressed) 18:24:39 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3011622956346284706.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3011622956346284706.key) 18:24:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:24:40 + git semver bump pre 18:24:40 2022-09-28 18:24:40,332 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:24:40 2022-09-28 18:24:40,332 [bump_version] DEBUG bumping version:2.3.0-dev.24 on axis:pre with prefix:dev 18:24:40 2022-09-28 18:24:40,332 [bump_version] DEBUG bumped version:2.3.0-dev.25 18:24:40 2022-09-28 18:24:40,332 [write_version] DEBUG write version:2.3.0-dev.25 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 18:24:40 2022-09-28 18:24:40,332 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:24:40 2022-09-28 18:24:40,332 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 18:24:40 2022-09-28 18:24:40,335 [execute] INFO git cat-file --batch-check 18:24:40 2022-09-28 18:24:40,335 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:24:40 2022-09-28 18:24:40,341 [execute] INFO git cat-file --batch 18:24:40 2022-09-28 18:24:40,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:24:40 2022-09-28 18:24:40,346 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:24:40 2.3.0-dev.25 [Pipeline] } 18:24:40 $ docker exec --env ******** --env ******** 49f0ee0676935fc095fdba114df29c72225f84a1685ce69518d7607280d481ed ssh-agent -k 18:24:40 unset SSH_AUTH_SOCK; 18:24:40 unset SSH_AGENT_PID; 18:24:40 echo Agent pid 38 killed; 18:24:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:24:40 + git semver [Pipeline] } 18:24:41 $ docker stop --time=1 49f0ee0676935fc095fdba114df29c72225f84a1685ce69518d7607280d481ed 18:24:42 $ docker rm -f 49f0ee0676935fc095fdba114df29c72225f84a1685ce69518d7607280d481ed [Pipeline] // withDockerContainer [Pipeline] sh 18:24:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:24:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:24:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:43 prd-ubuntu20.04-docker-8c-8g-1852 does not seem to be running inside a container 18:24:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:24:43 $ docker top ccb2a3e189bf3022a0d85c88218c24ae7a91dc66dd2ecf385a3a5ca55736eb01 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:24:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:24:43 [ssh-agent] Looking for ssh-agent implementation... 18:24:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:24:43 $ docker exec ccb2a3e189bf3022a0d85c88218c24ae7a91dc66dd2ecf385a3a5ca55736eb01 ssh-agent 18:24:43 SSH_AUTH_SOCK=/tmp/ssh-nj2t6KIxHDFU/agent.32 18:24:43 SSH_AGENT_PID=38 18:24:43 Running ssh-add (command line suppressed) 18:24:43 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3186709966828401132.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3186709966828401132.key) 18:24:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:24:44 + git semver push 18:24:44 2022-09-28 18:24:44,381 [run_push] DEBUG push 18:24:44 2022-09-28 18:24:44,382 [execute] INFO git cat-file --batch-check 18:24:44 2022-09-28 18:24:44,382 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:24:44 2022-09-28 18:24:44,387 [execute] INFO git rev-list c88d980573ecb26bba26b0c9f78166d4a44a016e -- 18:24:44 2022-09-28 18:24:44,387 [execute] DEBUG Popen(['git', 'rev-list', 'c88d980573ecb26bba26b0c9f78166d4a44a016e', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:24:44 2022-09-28 18:24:44,394 [execute] INFO git fetch -v origin 18:24:44 2022-09-28 18:24:44,394 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 18:24:45 2022-09-28 18:24:44,988 [run_push] DEBUG no remote changes detected 18:24:45 2022-09-28 18:24:44,988 [execute] INFO git push origin semver 18:24:45 2022-09-28 18:24:44,989 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:24:45 2022-09-28 18:24:45,763 [run_push] DEBUG push all version tags 18:24:45 2022-09-28 18:24:45,763 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:24:45 2022-09-28 18:24:45,764 [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) 18:24:46 2022-09-28 18:24:46,503 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 18:24:46 2.3.0-dev.25 [Pipeline] } 18:24:46 $ docker exec --env ******** --env ******** ccb2a3e189bf3022a0d85c88218c24ae7a91dc66dd2ecf385a3a5ca55736eb01 ssh-agent -k 18:24:46 unset SSH_AUTH_SOCK; 18:24:46 unset SSH_AGENT_PID; 18:24:46 echo Agent pid 38 killed; 18:24:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:24:46 + git semver [Pipeline] } 18:24:47 $ docker stop --time=1 ccb2a3e189bf3022a0d85c88218c24ae7a91dc66dd2ecf385a3a5ca55736eb01 18:24:48 $ docker rm -f ccb2a3e189bf3022a0d85c88218c24ae7a91dc66dd2ecf385a3a5ca55736eb01 [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 18:24:49 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 18:24:49 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:24:49 total 16 18:24:49 drwxr-xr-x 3 root root 4096 Sep 28 18:16 . 18:24:49 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 18:24 .. 18:24:49 drwxr-xr-x 2 root root 4096 Sep 28 18:16 cost 18:24:49 -rw-r--r-- 1 root root 90 Sep 28 18:16 cost.csv 18:24:49 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 18:24:49 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 18:24:49 total 16 18:24:49 drwxr-xr-x 3 jenkins jenkins 4096 Sep 28 18:16 . 18:24:49 drwxrwxr-x 11 jenkins jenkins 4096 Sep 28 18:24 .. 18:24:49 drwxr-xr-x 2 jenkins jenkins 4096 Sep 28 18:16 cost 18:24:49 -rw-r--r-- 1 jenkins jenkins 90 Sep 28 18:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:24:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:24:50 ---> package-listing.sh 18:24:50 ++ facter osfamily 18:24:50 ++ tr '[:upper:]' '[:lower:]' 18:24:50 + OS_FAMILY=debian 18:24:50 + workspace=/w/workspace/foundry_device-onvif-camera_main 18:24:50 + START_PACKAGES=/tmp/packages_start.txt 18:24:50 + END_PACKAGES=/tmp/packages_end.txt 18:24:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:24:50 + PACKAGES=/tmp/packages_start.txt 18:24:50 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:24:50 + PACKAGES=/tmp/packages_end.txt 18:24:50 + case "${OS_FAMILY}" in 18:24:50 + dpkg -l 18:24:50 + grep '^ii' 18:24:50 + '[' -f /tmp/packages_start.txt ']' 18:24:50 + '[' -f /tmp/packages_end.txt ']' 18:24:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:24:50 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 18:24:50 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 18:24:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 18:24:50 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 18:24:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:24:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:24:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:24:51 prd-ubuntu20.04-docker-8c-8g-1852 does not seem to be running inside a container 18:24:51 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:24:51 $ docker top 65c7db4098257a51860220dc3c906f01e700b4b00c179865074778edf8339134 -eo pid,comm [Pipeline] { [Pipeline] sh 18:24:52 + touch /tmp/pre-build-complete [Pipeline] sh 18:24:52 + mkdir -p /var/log/sysstat [Pipeline] sh 18:24:52 + ls /var/log/sa-host 18:24:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:24:52 provisioning config files... 18:24:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config9192679734409099803tmp [Pipeline] { [Pipeline] echo 18:24:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:24:53 ---> create-netrc.sh [Pipeline] } 18:24:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:24:53 ---> python-tools-install.sh [Pipeline] echo 18:24:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:24:53 ---> sudo-logs.sh 18:24:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:24:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:24:54 ---> job-cost.sh 18:24:54 lf-activate-venv: SKIPPING 18:24:54 DEBUG: total: 0.2199999988079071 18:24:54 INFO: Retrieving Stack Cost... 18:24:54 INFO: Retrieving Pricing Info for: v3-standard-8 18:24:54 INFO: Archiving Costs [Pipeline] echo 18:24:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:24:55 ---> logs-deploy.sh 18:24:55 lf-activate-venv: SKIPPING 18:24:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/63 18:24:55 INFO: archiving workspace using pattern(s): 18:24:56 Archives upload complete. 18:24:56 INFO: archiving logs to Nexus 18:24:56 ---> uname -a: 18:24:56 Linux prd-ubuntu20-04-docker-8c-8g-1852 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:24:56 18:24:56 18:24:56 ---> lscpu: 18:24:56 Architecture: x86_64 18:24:56 CPU op-mode(s): 32-bit, 64-bit 18:24:56 Byte Order: Little Endian 18:24:56 Address sizes: 40 bits physical, 48 bits virtual 18:24:56 CPU(s): 8 18:24:56 On-line CPU(s) list: 0-7 18:24:56 Thread(s) per core: 1 18:24:56 Core(s) per socket: 1 18:24:56 Socket(s): 8 18:24:56 NUMA node(s): 1 18:24:56 Vendor ID: AuthenticAMD 18:24:56 CPU family: 23 18:24:56 Model: 49 18:24:56 Model name: AMD EPYC-Rome Processor 18:24:56 Stepping: 0 18:24:56 CPU MHz: 2799.998 18:24:56 BogoMIPS: 5599.99 18:24:56 Virtualization: AMD-V 18:24:56 Hypervisor vendor: KVM 18:24:56 Virtualization type: full 18:24:56 L1d cache: 256 KiB 18:24:56 L1i cache: 256 KiB 18:24:56 L2 cache: 4 MiB 18:24:56 L3 cache: 128 MiB 18:24:56 NUMA node0 CPU(s): 0-7 18:24:56 Vulnerability Itlb multihit: Not affected 18:24:56 Vulnerability L1tf: Not affected 18:24:56 Vulnerability Mds: Not affected 18:24:56 Vulnerability Meltdown: Not affected 18:24:56 Vulnerability Mmio stale data: Not affected 18:24:56 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:24:56 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:24:56 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:24:56 Vulnerability Srbds: Not affected 18:24:56 Vulnerability Tsx async abort: Not affected 18:24:56 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 18:24:56 18:24:56 18:24:56 ---> nproc: 18:24:56 8 18:24:56 18:24:56 18:24:56 ---> df -h: 18:24:56 Filesystem Size Used Avail Use% Mounted on 18:24:56 overlay 155G 13G 143G 9% / 18:24:56 tmpfs 64M 0 64M 0% /dev 18:24:56 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:24:56 shm 64M 0 64M 0% /dev/shm 18:24:56 /dev/vda1 155G 13G 143G 9% /facter-os 18:24:56 18:24:56