Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d13e481dd874f1286a187d197f108b2a3a763e5d 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-ssh3861291797180538966.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh16800111738146267921.key > 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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3516476063521922534.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh6624124289102304727.key > 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-ssh18111562125837120667.key > 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.20 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 Running on prd-ubuntu20.04-docker-8c-8g-340 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 > 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 d13e481dd874f1286a187d197f108b2a3a763e5d (main) Commit message: "Merge pull request #262 from lenny-intel/go-1.20" > 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 d13e481dd874f1286a187d197f108b2a3a763e5d # timeout=10 > git rev-list --no-walk 33d7f92d5661b99b9b96e2663b29a2bf689d0f01 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:00:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:00:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:00:00 ========================================================= 03:00:00 EdgeX Global Pipelines Version Info 03:00:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:00:01 ------------------- 03:00:01 stable info: 03:00:01 ------------------- 03:00:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:00:01 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 03:00:01 Message: update stable to v1.0.245 03:00:02 ------------------- 03:00:02 experimental info: 03:00:02 ------------------- 03:00:02 Commited By: **** collab-it+edgex@linuxfoundation.org 03:00:02 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 03:00:02 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d13e481dd874f1286a187d197f108b2a3a763e5d [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d13e481 [Pipeline] echo 03:00:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:00:02 provisioning config files... 03:00:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7984361990962463847tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:00:02 ---> docker-login.sh 03:00:02 nexus3.edgexfoundry.org:10001 03:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:03 Configure a credential helper to remove this warning. See 03:00:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:03 03:00:03 Login Succeeded 03:00:03 nexus3.edgexfoundry.org:10002 03:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:03 Configure a credential helper to remove this warning. See 03:00:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:03 03:00:03 Login Succeeded 03:00:03 nexus3.edgexfoundry.org:10003 03:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:03 Configure a credential helper to remove this warning. See 03:00:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:03 03:00:03 Login Succeeded 03:00:03 nexus3.edgexfoundry.org:10004 03:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:03 Configure a credential helper to remove this warning. See 03:00:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:03 03:00:03 Login Succeeded 03:00:03 docker.io 03:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:05 Configure a credential helper to remove this warning. See 03:00:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:05 03:00:05 Login Succeeded 03:00:05 ---> docker-login.sh ends [Pipeline] } 03:00:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:00:05 + git rev-list -1 --merges d13e481dd874f1286a187d197f108b2a3a763e5d~1..d13e481dd874f1286a187d197f108b2a3a763e5d [Pipeline] echo 03:00:05 -----------> git rev-list -1 --merges d13e481dd874f1286a187d197f108b2a3a763e5d~1..d13e481dd874f1286a187d197f108b2a3a763e5d d13e481dd874f1286a187d197f108b2a3a763e5d 03:00:05 d13e481dd874f1286a187d197f108b2a3a763e5d [false] [Pipeline] sh 03:00:05 + git log --format=format:%s -1 d13e481dd874f1286a187d197f108b2a3a763e5d [Pipeline] echo 03:00:05 ========================================================= 03:00:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:00:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:00:06 + git log --format=format:%s -1 d13e481dd874f1286a187d197f108b2a3a763e5d [Pipeline] echo 03:00:06 [semverPrep] GIT_COMMIT: d13e481dd874f1286a187d197f108b2a3a763e5d, Commit Message: Merge pull request #262 from lenny-intel/go-1.20 [Pipeline] echo 03:00:06 [semverPrep] This is not a build commit. [Pipeline] sh 03:00:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:00:06 + grep -v github /etc/ssh/ssh_known_hosts 03:00:06 + [ -e /tmp/ssh_known_hosts ] 03:00:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:00:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:00:06 + sudo tee -a /etc/ssh/ssh_known_hosts 03:00:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:00:06 03:00:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:00:07 0.1.4: Pulling from edgex-devops/py-git-semver 03:00:07 b85a868b505f: Pulling fs layer 03:00:07 e2be974225ed: Pulling fs layer 03:00:07 339a4e72a1f5: Pulling fs layer 03:00:07 988bab9f4d93: Pulling fs layer 03:00:07 1469e6f7b9e6: Pulling fs layer 03:00:07 eaf3925da568: Pulling fs layer 03:00:07 bab4dde63d76: Pulling fs layer 03:00:07 bde34c3a00c8: Pulling fs layer 03:00:07 b352a97aabf1: Pulling fs layer 03:00:07 4872d77fe225: Pulling fs layer 03:00:07 5851b861e8e6: Pulling fs layer 03:00:07 988bab9f4d93: Waiting 03:00:07 1469e6f7b9e6: Waiting 03:00:07 eaf3925da568: Waiting 03:00:07 bab4dde63d76: Waiting 03:00:07 4872d77fe225: Waiting 03:00:07 bde34c3a00c8: Waiting 03:00:07 5851b861e8e6: Waiting 03:00:07 b352a97aabf1: Waiting 03:00:07 e2be974225ed: Verifying Checksum 03:00:07 e2be974225ed: Download complete 03:00:07 988bab9f4d93: Download complete 03:00:07 1469e6f7b9e6: Verifying Checksum 03:00:07 1469e6f7b9e6: Download complete 03:00:07 eaf3925da568: Download complete 03:00:07 339a4e72a1f5: Verifying Checksum 03:00:07 339a4e72a1f5: Download complete 03:00:07 bde34c3a00c8: Verifying Checksum 03:00:07 bde34c3a00c8: Download complete 03:00:07 b352a97aabf1: Verifying Checksum 03:00:07 b352a97aabf1: Download complete 03:00:07 4872d77fe225: Download complete 03:00:07 5851b861e8e6: Verifying Checksum 03:00:07 5851b861e8e6: Download complete 03:00:07 b85a868b505f: Verifying Checksum 03:00:07 b85a868b505f: Download complete 03:00:07 bab4dde63d76: Verifying Checksum 03:00:07 bab4dde63d76: Download complete 03:00:08 b85a868b505f: Pull complete 03:00:08 e2be974225ed: Pull complete 03:00:09 339a4e72a1f5: Pull complete 03:00:09 988bab9f4d93: Pull complete 03:00:09 1469e6f7b9e6: Pull complete 03:00:09 eaf3925da568: Pull complete 03:00:11 bab4dde63d76: Pull complete 03:00:11 bde34c3a00c8: Pull complete 03:00:11 b352a97aabf1: Pull complete 03:00:11 4872d77fe225: Pull complete 03:00:11 5851b861e8e6: Pull complete 03:00:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:00:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:00:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:00:12 prd-ubuntu20.04-docker-8c-8g-340 does not seem to be running inside a container 03:00:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:00:15 $ docker top 1a9adeec42c087933003c706e4575e5af42a8c178274ab5b8701f14fb3a4cf88 -eo pid,comm 03:00:15 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). 03:00:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:00:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:00:15 [ssh-agent] Looking for ssh-agent implementation... 03:00:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:00:15 $ docker exec 1a9adeec42c087933003c706e4575e5af42a8c178274ab5b8701f14fb3a4cf88 ssh-agent 03:00:15 SSH_AUTH_SOCK=/tmp/ssh-4Qsp2r4twZyZ/agent.32 03:00:15 SSH_AGENT_PID=38 03:00:15 Running ssh-add (command line suppressed) 03:00:15 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16072043249901819769.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16072043249901819769.key) 03:00:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:00:16 + git tag --points-at HEAD [Pipeline] } 03:00:16 $ docker exec --env ******** --env ******** 1a9adeec42c087933003c706e4575e5af42a8c178274ab5b8701f14fb3a4cf88 ssh-agent -k 03:00:16 unset SSH_AUTH_SOCK; 03:00:16 unset SSH_AGENT_PID; 03:00:16 echo Agent pid 38 killed; 03:00:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:00:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:00:16 [ssh-agent] Looking for ssh-agent implementation... 03:00:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:00:16 $ docker exec 1a9adeec42c087933003c706e4575e5af42a8c178274ab5b8701f14fb3a4cf88 ssh-agent 03:00:16 SSH_AUTH_SOCK=/tmp/ssh-3FThuO4vQGzo/agent.70 03:00:16 SSH_AGENT_PID=76 03:00:16 Running ssh-add (command line suppressed) 03:00:16 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9242034256140931983.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_9242034256140931983.key) 03:00:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:00:17 + git semver init 03:00:17 2023-03-15 03:00:17,237 [run_init] DEBUG init version:0.0.0 force:False 03:00:17 2023-03-15 03:00:17,237 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 03:00:17 2023-03-15 03:00:17,238 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 03:00:17 2023-03-15 03:00:17,238 [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) 03:00:18 2023-03-15 03:00:18,175 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 03:00:18 2023-03-15 03:00:18,176 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 03:00:18 2023-03-15 03:00:18,176 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:00:18 2023-03-15 03:00:18,176 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 03:00:18 3.0.0-dev.21 [Pipeline] } 03:00:18 $ docker exec --env ******** --env ******** 1a9adeec42c087933003c706e4575e5af42a8c178274ab5b8701f14fb3a4cf88 ssh-agent -k 03:00:18 unset SSH_AUTH_SOCK; 03:00:18 unset SSH_AGENT_PID; 03:00:18 echo Agent pid 76 killed; 03:00:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:00:18 + git semver [Pipeline] } 03:00:18 $ docker stop --time=1 1a9adeec42c087933003c706e4575e5af42a8c178274ab5b8701f14fb3a4cf88 03:00:20 $ docker rm -f --volumes 1a9adeec42c087933003c706e4575e5af42a8c178274ab5b8701f14fb3a4cf88 [Pipeline] // withDockerContainer [Pipeline] sh 03:00:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:00:20 Stashed 1 file(s) [Pipeline] echo 03:00:20 [edgeXSemver]: initialized semver on version 3.0.0-dev.21 [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 03:00:20 provisioning config files... 03:00:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4090855613053999780tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:00:21 ---> docker-login.sh 03:00:21 nexus3.edgexfoundry.org:10001 03:00:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:21 Configure a credential helper to remove this warning. See 03:00:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:21 03:00:21 Login Succeeded 03:00:21 nexus3.edgexfoundry.org:10002 03:00:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:21 Configure a credential helper to remove this warning. See 03:00:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:21 03:00:21 Login Succeeded 03:00:21 nexus3.edgexfoundry.org:10003 03:00:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:21 Configure a credential helper to remove this warning. See 03:00:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:21 03:00:21 Login Succeeded 03:00:21 nexus3.edgexfoundry.org:10004 03:00:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:21 Configure a credential helper to remove this warning. See 03:00:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:21 03:00:21 Login Succeeded 03:00:21 docker.io 03:00:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:00:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:00:21 Configure a credential helper to remove this warning. See 03:00:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:00:21 03:00:21 Login Succeeded 03:00:21 ---> docker-login.sh ends [Pipeline] } 03:00:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:00:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:00:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:00:21 ========================================================= 03:00:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:00:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 03:00:22 Sending build context to Docker daemon 27.85MB 03:00:22 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 03:00:22 Step 2/13 : FROM ${BASE} AS builder 03:00:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:00:22 63b65145d645: Pulling fs layer 03:00:22 a2d21d5440eb: Pulling fs layer 03:00:22 935e6c44a52c: Pulling fs layer 03:00:22 94cc34f8dd06: Pulling fs layer 03:00:22 30dea6a524f1: Pulling fs layer 03:00:22 a2aff8979fd8: Pulling fs layer 03:00:22 6808be2612f2: Pulling fs layer 03:00:22 f25807f1079a: Pulling fs layer 03:00:22 a2aff8979fd8: Waiting 03:00:22 94cc34f8dd06: Waiting 03:00:22 30dea6a524f1: Waiting 03:00:22 6808be2612f2: Waiting 03:00:22 a2d21d5440eb: Download complete 03:00:22 94cc34f8dd06: Download complete 03:00:22 30dea6a524f1: Verifying Checksum 03:00:22 30dea6a524f1: Download complete 03:00:22 63b65145d645: Verifying Checksum 03:00:22 63b65145d645: Download complete 03:00:22 a2aff8979fd8: Verifying Checksum 03:00:22 a2aff8979fd8: Download complete 03:00:22 63b65145d645: Pull complete 03:00:22 a2d21d5440eb: Pull complete 03:00:23 f25807f1079a: Download complete 03:00:23 935e6c44a52c: Verifying Checksum 03:00:23 935e6c44a52c: Download complete 03:00:23 6808be2612f2: Verifying Checksum 03:00:23 6808be2612f2: Download complete 03:00:26 935e6c44a52c: Pull complete 03:00:26 94cc34f8dd06: Pull complete 03:00:26 30dea6a524f1: Pull complete 03:00:27 a2aff8979fd8: Pull complete 03:00:29 6808be2612f2: Pull complete 03:00:30 f25807f1079a: Pull complete 03:00:30 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 03:00:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:00:30 ---> 3b553350e43f 03:00:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:00:34 ---> Running in fc7b9fb14ce5 03:00:34 Removing intermediate container fc7b9fb14ce5 03:00:34 ---> 1d835ed3f293 03:00:34 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:00:34 ---> Running in 7cd681af86fe 03:00:34 Removing intermediate container 7cd681af86fe 03:00:34 ---> 15805e9492d5 03:00:34 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:00:34 ---> Running in a6f1d0fb5549 03:00:34 Removing intermediate container a6f1d0fb5549 03:00:34 ---> 8ffffed0614e 03:00:34 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:00:34 ---> Running in 294bb1e03d62 03:00:34 Removing intermediate container 294bb1e03d62 03:00:34 ---> c2c365fac502 03:00:34 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:00:34 ---> Running in 43a614c9f63c 03:00:34 Removing intermediate container 43a614c9f63c 03:00:34 ---> 165ced8a9722 03:00:34 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:00:34 ---> Running in 76f71518d16c 03:00:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:00:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:00:35 OK: 265 MiB in 53 packages 03:00:35 Still waiting to schedule task 03:00:35 ‘prd-ubuntu20.04-docker-8c-8g-327’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 03:00:35 ‘prd-ubuntu20.04-docker-8c-8g-330’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 03:00:35 ‘prd-ubuntu20.04-docker-8c-8g-335’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 03:00:35 ‘prd-ubuntu20.04-docker-8c-8g-338’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 03:00:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-331’ is offline 03:00:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-332’ is offline 03:00:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-342’ is offline 03:00:35 ‘prd-ubuntu20.04-docker-arm64-4c-16g-344’ is offline 03:00:36 Removing intermediate container 76f71518d16c 03:00:36 ---> bbcb1ef437e5 03:00:36 Step 9/13 : WORKDIR /device-onvif-camera 03:00:36 ---> Running in 16ef7e093edf 03:00:36 Removing intermediate container 16ef7e093edf 03:00:36 ---> 51a85b7a227a 03:00:36 Step 10/13 : COPY go.mod vendor* ./ 03:00:36 ---> 386c6dc7809d 03:00:36 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:00:36 ---> Running in bc6a920db7b4 03:01:08 Removing intermediate container bc6a920db7b4 03:01:08 ---> 9aa451fa8908 03:01:08 Step 12/13 : COPY . . 03:01:09 ---> 01e19ae28255 03:01:09 Step 13/13 : RUN ${MAKE} 03:01:09 ---> Running in f59716919e9f 03:01:09 noop 03:01:10 Removing intermediate container f59716919e9f 03:01:10 ---> 1409ebb99b23 03:01:10 Successfully built 1409ebb99b23 03:01:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:11 + docker inspect -f . ci-base-image-x86_64 03:01:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:01:11 prd-ubuntu20.04-docker-8c-8g-340 does not seem to be running inside a container 03:01:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:01:11 $ docker top 507fed3bd5da2995ff447d1ef809714eb12a927d7a2ce5f36065fc2f18eebf2e -eo pid,comm [Pipeline] { [Pipeline] sh 03:01:12 + go version 03:01:12 go version go1.20.2 linux/amd64 [Pipeline] } 03:01:12 $ docker stop --time=1 507fed3bd5da2995ff447d1ef809714eb12a927d7a2ce5f36065fc2f18eebf2e 03:01:13 $ docker rm -f --volumes 507fed3bd5da2995ff447d1ef809714eb12a927d7a2ce5f36065fc2f18eebf2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:13 + docker inspect -f . ci-base-image-x86_64 03:01:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:01:14 prd-ubuntu20.04-docker-8c-8g-340 does not seem to be running inside a container 03:01:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:01:14 $ docker top 01c0b61e4faf7dc699069e4de66a355d7daf84639d8f426fa307c756ef53c232 -eo pid,comm [Pipeline] { [Pipeline] sh 03:01:14 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 03:01:14 + make test 03:01:14 go test ./... -coverprofile=coverage.out ./... 03:01:20 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:01:30 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:01:30 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:01:32 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.039s coverage: 30.5% of statements 03:01:36 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.608s coverage: 86.5% of statements 03:01:42 go vet ./... 03:01:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:01:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:01:46 ./bin/test-attribution-txt.sh [Pipeline] echo 03:01:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:01:46 $ docker stop --time=1 01c0b61e4faf7dc699069e4de66a355d7daf84639d8f426fa307c756ef53c232 03:01:50 $ docker rm -f --volumes 01c0b61e4faf7dc699069e4de66a355d7daf84639d8f426fa307c756ef53c232 [Pipeline] // withDockerContainer [Pipeline] sh 03:01:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:01:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:01:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:01:51 + ls -al . 03:01:51 total 232 03:01:51 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 03:01 . 03:01:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 02:59 .. 03:01:51 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 03:00 .git 03:01:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 03:00 .github 03:01:51 -rw-rw-r-- 1 jenkins jenkins 496 Mar 15 03:00 .gitignore 03:01:51 -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 03:00 .golangci.yml 03:01:51 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 03:00 .semver 03:01:51 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 15 03:00 Attribution.txt 03:01:51 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 15 03:00 CHANGELOG.md 03:01:51 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 15 03:00 Dockerfile 03:01:51 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 03:00 GOVERNANCE.md 03:01:51 -rw-rw-r-- 1 jenkins jenkins 734 Mar 15 03:00 Jenkinsfile 03:01:51 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 15 03:00 LICENSE 03:01:51 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 15 03:00 Makefile 03:01:51 -rw-rw-r-- 1 jenkins jenkins 625 Mar 15 03:00 OWNERS.md 03:01:51 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 15 03:00 README.md 03:01:51 -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 03:00 VERSION 03:01:51 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 03:00 bin 03:01:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 03:00 cmd 03:01:51 -rw-r--r-- 1 jenkins jenkins 76650 Mar 15 03:01 coverage.out 03:01:51 drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 03:00 doc 03:01:51 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 15 03:00 go.mod 03:01:51 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 15 03:00 go.sum 03:01:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 03:00 internal 03:01:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 03:00 snap 03:01:51 -rw-rw-r-- 1 jenkins jenkins 236 Mar 15 03:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:51 + 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=d13e481dd874f1286a187d197f108b2a3a763e5d --label arch=amd64 --label version=3.0.0-dev.21 . 03:01:51 Sending build context to Docker daemon 27.93MB 03:01:51 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 03:01:51 Step 2/26 : FROM ${BASE} AS builder 03:01:51 ---> 1409ebb99b23 03:01:51 Step 3/26 : ARG ADD_BUILD_TAGS="" 03:01:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-346 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 03:01:52 Running in /w/workspace/device-onvif-camera/111 [Pipeline] { [Pipeline] checkout 03:01:52 The recommended git tool is: git 03:01:52 ---> Running in 112664fa2d7f 03:01:52 Removing intermediate container 112664fa2d7f 03:01:52 ---> 1d5acc00ae80 03:01:52 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:01:52 ---> Running in e49e6c62e3a1 03:01:52 Removing intermediate container e49e6c62e3a1 03:01:52 ---> af35796efc55 03:01:52 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 03:01:52 ---> Running in 475d49fafc85 03:01:52 Removing intermediate container 475d49fafc85 03:01:52 ---> 966c15c09a77 03:01:52 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 03:01:52 ---> Running in 7412d8c8911d 03:01:52 Removing intermediate container 7412d8c8911d 03:01:52 ---> 64b41a17da14 03:01:52 Step 7/26 : LABEL Name=edgex-device-onvif-camera 03:01:52 ---> Running in 33c23d81938e 03:01:52 Removing intermediate container 33c23d81938e 03:01:52 ---> 6c1c2248d77c 03:01:52 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:01:52 ---> Running in 6bee61050e98 03:01:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:01:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:01:53 OK: 265 MiB in 53 packages 03:01:53 Removing intermediate container 6bee61050e98 03:01:53 ---> 545c0cca3558 03:01:53 Step 9/26 : WORKDIR /device-onvif-camera 03:01:53 ---> Running in 69e7580bb04e 03:01:53 Removing intermediate container 69e7580bb04e 03:01:53 ---> 6653f58f0aff 03:01:53 Step 10/26 : COPY go.mod vendor* ./ 03:01:53 ---> 74b16924f152 03:01:53 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:01:53 ---> Running in 23ae1269d015 03:01:54 Removing intermediate container 23ae1269d015 03:01:54 ---> a38559259338 03:01:54 Step 12/26 : COPY . . 03:01:55 ---> 3a8c9b3d1b88 03:01:55 Step 13/26 : RUN ${MAKE} 03:01:55 ---> Running in 2d9cfed9d3d6 03:01:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.21" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:02:03 using credential edgex-jenkins-ssh 03:02:03 Cloning the remote Git repository 03:02:04 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:02:04 > git init /w/workspace/device-onvif-camera/111 # timeout=10 03:02:04 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:02:04 > git --version # timeout=10 03:02:04 > git --version # 'git version 2.25.1' 03:02:04 using GIT_SSH to set credentials SSH Credentials for GitHub 03:02:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:02:06 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:02:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:02:08 Avoid second fetch 03:02:08 Checking out Revision d13e481dd874f1286a187d197f108b2a3a763e5d (main) 03:02:08 > git config core.sparsecheckout # timeout=10 03:02:08 > git checkout -f d13e481dd874f1286a187d197f108b2a3a763e5d # timeout=10 03:02:10 Commit message: "Merge pull request #262 from lenny-intel/go-1.20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:02:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:02:11 % Total % Received % Xferd Average Speed Time Time Time Current 03:02:11 Dload Upload Total Spent Left Speed 03:02:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 166k 0 --:--:-- --:--:-- --:--:-- 166k [Pipeline] sh 03:02:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:02:13 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 03:02:13 03:02:13 { 03:02:13 "registry-mirrors": [ 03:02:13 "https://nexus3.edgexfoundry.org:10001" 03:02:13 ], 03:02:13 "bip": "10.250.0.254/24", 03:02:13 "hosts": [ 03:02:13 "tcp://0.0.0.0:5555", 03:02:13 "unix:///var/run/docker.sock" 03:02:13 ], 03:02:13 "mtu": 1458, 03:02:13 "selinux-enabled": true, 03:02:13 "seccomp-profile": "/etc/docker/seccomp.json" 03:02:13 } [Pipeline] sh 03:02:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:02:13 + sudo service docker restart 03:02:17 Removing intermediate container 2d9cfed9d3d6 03:02:17 ---> 1e28918f03e5 03:02:17 Step 14/26 : FROM alpine:3.17 03:02:17 3.17: Pulling from library/alpine 03:02:17 63b65145d645: Already exists 03:02:17 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 03:02:17 Status: Downloaded newer image for alpine:3.17 03:02:17 ---> b2aa39c304c2 03:02:17 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:02:17 ---> Running in 1760091e9048 03:02:17 Removing intermediate container 1760091e9048 03:02:17 ---> f2714b051830 03:02:17 Step 16/26 : RUN apk add --update --no-cache dumb-init 03:02:17 ---> Running in abf127e59389 03:02:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:02:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:02:18 (1/1) Installing dumb-init (1.2.5-r2) 03:02:18 Executing busybox-1.35.0-r29.trigger 03:02:18 OK: 7 MiB in 16 packages 03:02:18 Removing intermediate container abf127e59389 03:02:18 ---> 462bcf2e401e 03:02:18 Step 17/26 : WORKDIR / 03:02:18 ---> Running in 04afd60c81d1 03:02:18 Removing intermediate container 04afd60c81d1 03:02:18 ---> d1271a3d058a 03:02:18 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:02:20 ---> fb16337ca682 03:02:20 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:02:20 ---> cd01587f1fbf 03:02:20 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:02:20 ---> 072f1034817f 03:02:20 Step 21/26 : EXPOSE 59984 03:02:20 ---> Running in 3970e00d15ae 03:02:20 Removing intermediate container 3970e00d15ae 03:02:20 ---> 352fcd680a1b 03:02:20 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:02:20 ---> Running in 88d773eb0c93 03:02:20 Removing intermediate container 88d773eb0c93 03:02:20 ---> de89f74224c8 03:02:20 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:02:20 ---> Running in cad3102b8364 03:02:20 Removing intermediate container cad3102b8364 03:02:20 ---> aefad48371af 03:02:20 Step 24/26 : LABEL arch=amd64 03:02:20 ---> Running in db99fadee4d9 03:02:20 Removing intermediate container db99fadee4d9 03:02:20 ---> 32122bd8c954 03:02:20 Step 25/26 : LABEL git_sha=d13e481dd874f1286a187d197f108b2a3a763e5d 03:02:20 ---> Running in f838322a1897 03:02:20 Removing intermediate container f838322a1897 03:02:20 ---> b7bd7f78e675 03:02:20 Step 26/26 : LABEL version=3.0.0-dev.21 03:02:20 ---> Running in db81bd6865ba 03:02:20 Removing intermediate container db81bd6865ba 03:02:20 ---> 6f29cc92e1c6 03:02:20 [Warning] One or more build-args [ARCH] were not consumed 03:02:20 Successfully built 6f29cc92e1c6 03:02:20 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 03:02:20 provisioning config files... 03:02:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10924501744489522169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:02:21 ---> docker-login.sh 03:02:21 nexus3.edgexfoundry.org:10001 03:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:21 Configure a credential helper to remove this warning. See 03:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:21 03:02:21 Login Succeeded 03:02:21 nexus3.edgexfoundry.org:10002 03:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:21 Configure a credential helper to remove this warning. See 03:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:21 03:02:21 Login Succeeded 03:02:21 nexus3.edgexfoundry.org:10003 03:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:21 Configure a credential helper to remove this warning. See 03:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:21 03:02:21 Login Succeeded 03:02:21 nexus3.edgexfoundry.org:10004 03:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:21 Configure a credential helper to remove this warning. See 03:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:21 03:02:21 Login Succeeded 03:02:21 docker.io 03:02:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:21 Configure a credential helper to remove this warning. See 03:02:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:21 03:02:21 Login Succeeded 03:02:21 ---> docker-login.sh ends [Pipeline] } 03:02:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:02:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:02:21 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 03:02:21 d13e481dd874f1286a187d197f108b2a3a763e5d 03:02:21 latest 03:02:21 3.0.0-dev.21 03:02:21 d13e481dd874f1286a187d197f108b2a3a763e5d-3.0.0-dev.21 03:02:21 main 03:02:21 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:21 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:d13e481dd874f1286a187d197f108b2a3a763e5d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:22 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:d13e481dd874f1286a187d197f108b2a3a763e5d 03:02:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 03:02:22 d7352ce752e0: Preparing 03:02:22 a2e625f72720: Preparing 03:02:22 55db22957173: Preparing 03:02:22 eaeed81f8a73: Preparing 03:02:22 7cd52847ad77: Preparing 03:02:22 7cd52847ad77: Layer already exists [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:02:32 provisioning config files... 03:02:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/111@tmp/config6261563753539353321tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:02:32 ---> docker-login.sh 03:02:32 nexus3.edgexfoundry.org:10001 03:02:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:33 Configure a credential helper to remove this warning. See 03:02:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:33 03:02:33 Login Succeeded 03:02:33 nexus3.edgexfoundry.org:10002 03:02:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:33 Configure a credential helper to remove this warning. See 03:02:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:33 03:02:33 Login Succeeded 03:02:33 nexus3.edgexfoundry.org:10003 03:02:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:34 Configure a credential helper to remove this warning. See 03:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:34 03:02:34 Login Succeeded 03:02:34 nexus3.edgexfoundry.org:10004 03:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:34 Configure a credential helper to remove this warning. See 03:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:34 03:02:34 Login Succeeded 03:02:34 docker.io 03:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:02:35 Configure a credential helper to remove this warning. See 03:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:02:35 03:02:35 Login Succeeded 03:02:35 ---> docker-login.sh ends [Pipeline] } 03:02:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:02:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:02:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:02:35 ========================================================= 03:02:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:02:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:02:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 03:02:36 Sending build context to Docker daemon 20.61MB 03:02:36 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 03:02:36 Step 2/13 : FROM ${BASE} AS builder 03:02:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:02:36 af6eaf76a39c: Pulling fs layer 03:02:36 55522c791124: Pulling fs layer 03:02:36 ce5c4a1c91eb: Pulling fs layer 03:02:36 169dfbe0d373: Pulling fs layer 03:02:36 e1ff8fa3b103: Pulling fs layer 03:02:36 52ebb69f0ebf: Pulling fs layer 03:02:36 5abe8eddf0d5: Pulling fs layer 03:02:36 e1ff8fa3b103: Waiting 03:02:36 169dfbe0d373: Waiting 03:02:36 52ebb69f0ebf: Waiting 03:02:36 5abe8eddf0d5: Waiting 03:02:37 55522c791124: Verifying Checksum 03:02:37 55522c791124: Download complete 03:02:37 169dfbe0d373: Verifying Checksum 03:02:37 169dfbe0d373: Download complete 03:02:37 e1ff8fa3b103: Verifying Checksum 03:02:37 e1ff8fa3b103: Download complete 03:02:37 af6eaf76a39c: Verifying Checksum 03:02:37 af6eaf76a39c: Download complete 03:02:38 af6eaf76a39c: Pull complete 03:02:38 5abe8eddf0d5: Verifying Checksum 03:02:38 5abe8eddf0d5: Download complete 03:02:38 55522c791124: Pull complete 03:02:40 ce5c4a1c91eb: Verifying Checksum 03:02:40 ce5c4a1c91eb: Download complete 03:02:40 52ebb69f0ebf: Verifying Checksum 03:02:40 52ebb69f0ebf: Download complete 03:02:52 ce5c4a1c91eb: Pull complete 03:02:52 169dfbe0d373: Pull complete 03:02:52 e1ff8fa3b103: Pull complete 03:02:59 52ebb69f0ebf: Pull complete 03:03:00 5abe8eddf0d5: Pull complete 03:03:00 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 03:03:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:03:00 ---> 6cb57ee374ae 03:03:00 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:03:02 ---> Running in bda0ff96ffc4 03:03:02 Removing intermediate container bda0ff96ffc4 03:03:02 ---> c4c9af1fafec 03:03:02 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:03:02 ---> Running in 76f0d544b975 03:03:03 Removing intermediate container 76f0d544b975 03:03:03 ---> dbe45311f880 03:03:03 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:03:03 ---> Running in b4742deb6f8c 03:03:03 Removing intermediate container b4742deb6f8c 03:03:03 ---> 5166e29b7ac0 03:03:03 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:03:03 ---> Running in e16966f5ade1 03:03:04 Removing intermediate container e16966f5ade1 03:03:04 ---> e1addda3c99c 03:03:04 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:03:04 ---> Running in 05d657255ea9 03:03:04 Removing intermediate container 05d657255ea9 03:03:04 ---> 9ce19500d3a4 03:03:04 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:03:04 ---> Running in 33eefba06e2e 03:03:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:03:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:03:08 OK: 263 MiB in 53 packages 03:03:09 Removing intermediate container 33eefba06e2e 03:03:09 ---> 69fc48862ac1 03:03:09 Step 9/13 : WORKDIR /device-onvif-camera 03:03:09 ---> Running in 5438850d24c6 03:03:09 Removing intermediate container 5438850d24c6 03:03:09 ---> ea958b05a762 03:03:09 Step 10/13 : COPY go.mod vendor* ./ 03:03:10 ---> f3e6c3e6445d 03:03:10 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:03:10 ---> Running in 0f2fc54fe779 03:03:58 d7352ce752e0: Retrying in 5 seconds 03:03:58 a2e625f72720: Retrying in 5 seconds 03:03:58 eaeed81f8a73: Retrying in 5 seconds 03:03:58 55db22957173: Retrying in 5 seconds 03:03:58 eaeed81f8a73: Retrying in 4 seconds 03:03:58 d7352ce752e0: Retrying in 4 seconds 03:03:58 a2e625f72720: Retrying in 4 seconds 03:03:58 55db22957173: Retrying in 4 seconds 03:03:58 eaeed81f8a73: Retrying in 3 seconds 03:03:58 d7352ce752e0: Retrying in 3 seconds 03:03:58 a2e625f72720: Retrying in 3 seconds 03:03:58 55db22957173: Retrying in 3 seconds 03:03:58 d7352ce752e0: Retrying in 2 seconds 03:03:58 eaeed81f8a73: Retrying in 2 seconds 03:03:58 a2e625f72720: Retrying in 2 seconds 03:03:58 55db22957173: Retrying in 2 seconds 03:03:58 d7352ce752e0: Retrying in 1 second 03:03:58 a2e625f72720: Retrying in 1 second 03:03:58 eaeed81f8a73: Retrying in 1 second 03:03:58 55db22957173: Retrying in 1 second 03:04:18 Removing intermediate container 0f2fc54fe779 03:04:18 ---> cc0350b8e408 03:04:18 Step 12/13 : COPY . . 03:04:18 ---> 590fb0a3c855 03:04:18 Step 13/13 : RUN ${MAKE} 03:04:18 ---> Running in 7dc004c8b649 03:04:20 noop 03:04:20 Removing intermediate container 7dc004c8b649 03:04:20 ---> 169892320f12 03:04:20 Successfully built 169892320f12 03:04:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:21 + docker inspect -f . ci-base-image-arm64 03:04:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:21 prd-ubuntu20.04-docker-arm64-4c-16g-346 does not seem to be running inside a container 03:04:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/111 -v /w/workspace/device-onvif-camera/111:/w/workspace/device-onvif-camera/111:rw,z -v /w/workspace/device-onvif-camera/111@tmp:/w/workspace/device-onvif-camera/111@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 03:04:22 $ docker top ce9d3bdd0505d211d9e3da608104f62a29ebe68863117c121dace4ace2f343f7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:04:23 + go version 03:04:23 go version go1.20.2 linux/arm64 [Pipeline] } 03:04:23 $ docker stop --time=1 ce9d3bdd0505d211d9e3da608104f62a29ebe68863117c121dace4ace2f343f7 03:04:25 $ docker rm -f --volumes ce9d3bdd0505d211d9e3da608104f62a29ebe68863117c121dace4ace2f343f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:26 + docker inspect -f . ci-base-image-arm64 03:04:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:26 prd-ubuntu20.04-docker-arm64-4c-16g-346 does not seem to be running inside a container 03:04:26 $ 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/111 -v /w/workspace/device-onvif-camera/111:/w/workspace/device-onvif-camera/111:rw,z -v /w/workspace/device-onvif-camera/111@tmp:/w/workspace/device-onvif-camera/111@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 03:04:27 $ docker top ea5fab623f59f6902d66601b4c582704b3834ff7922e18bc6c9f06e16e23b370 -eo pid,comm [Pipeline] { [Pipeline] sh 03:04:28 + git config --global --add safe.directory /w/workspace/device-onvif-camera/111 [Pipeline] fileExists [Pipeline] sh 03:04:29 + make test 03:04:29 go test ./... -coverprofile=coverage.out ./... 03:05:16 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:05:35 eaeed81f8a73: Retrying in 10 seconds 03:05:35 d7352ce752e0: Retrying in 10 seconds 03:05:35 a2e625f72720: Retrying in 10 seconds 03:05:35 55db22957173: Retrying in 10 seconds 03:05:35 d7352ce752e0: Retrying in 9 seconds 03:05:35 eaeed81f8a73: Retrying in 9 seconds 03:05:35 55db22957173: Retrying in 9 seconds 03:05:35 a2e625f72720: Retrying in 9 seconds 03:05:35 eaeed81f8a73: Retrying in 8 seconds 03:05:35 d7352ce752e0: Retrying in 8 seconds 03:05:35 a2e625f72720: Retrying in 8 seconds 03:05:35 55db22957173: Retrying in 8 seconds 03:05:35 d7352ce752e0: Retrying in 7 seconds 03:05:35 eaeed81f8a73: Retrying in 7 seconds 03:05:35 55db22957173: Retrying in 7 seconds 03:05:35 a2e625f72720: Retrying in 7 seconds 03:05:35 d7352ce752e0: Retrying in 6 seconds 03:05:35 eaeed81f8a73: Retrying in 6 seconds 03:05:35 55db22957173: Retrying in 6 seconds 03:05:35 a2e625f72720: Retrying in 6 seconds 03:05:35 eaeed81f8a73: Retrying in 5 seconds 03:05:35 d7352ce752e0: Retrying in 5 seconds 03:05:35 55db22957173: Retrying in 5 seconds 03:05:35 a2e625f72720: Retrying in 5 seconds 03:05:35 d7352ce752e0: Retrying in 4 seconds 03:05:35 eaeed81f8a73: Retrying in 4 seconds 03:05:35 55db22957173: Retrying in 4 seconds 03:05:35 a2e625f72720: Retrying in 4 seconds 03:05:35 eaeed81f8a73: Retrying in 3 seconds 03:05:35 a2e625f72720: Retrying in 3 seconds 03:05:35 d7352ce752e0: Retrying in 3 seconds 03:05:35 55db22957173: Retrying in 3 seconds 03:05:35 eaeed81f8a73: Retrying in 2 seconds 03:05:35 d7352ce752e0: Retrying in 2 seconds 03:05:35 a2e625f72720: Retrying in 2 seconds 03:05:35 55db22957173: Retrying in 2 seconds 03:05:36 d7352ce752e0: Retrying in 1 second 03:05:36 eaeed81f8a73: Retrying in 1 second 03:05:36 55db22957173: Retrying in 1 second 03:05:36 a2e625f72720: Retrying in 1 second 03:07:12 55db22957173: Retrying in 15 seconds 03:07:12 d7352ce752e0: Retrying in 15 seconds 03:07:12 eaeed81f8a73: Retrying in 15 seconds 03:07:12 a2e625f72720: Retrying in 15 seconds 03:07:12 d7352ce752e0: Retrying in 14 seconds 03:07:12 eaeed81f8a73: Retrying in 14 seconds 03:07:12 55db22957173: Retrying in 14 seconds 03:07:12 a2e625f72720: Retrying in 14 seconds 03:07:12 eaeed81f8a73: Retrying in 13 seconds 03:07:12 d7352ce752e0: Retrying in 13 seconds 03:07:12 55db22957173: Retrying in 13 seconds 03:07:12 a2e625f72720: Retrying in 13 seconds 03:07:12 eaeed81f8a73: Retrying in 12 seconds 03:07:12 55db22957173: Retrying in 12 seconds 03:07:12 d7352ce752e0: Retrying in 12 seconds 03:07:12 a2e625f72720: Retrying in 12 seconds 03:07:12 55db22957173: Retrying in 11 seconds 03:07:12 d7352ce752e0: Retrying in 11 seconds 03:07:12 eaeed81f8a73: Retrying in 11 seconds 03:07:12 a2e625f72720: Retrying in 11 seconds 03:07:12 eaeed81f8a73: Retrying in 10 seconds 03:07:12 a2e625f72720: Retrying in 10 seconds 03:07:12 d7352ce752e0: Retrying in 10 seconds 03:07:12 55db22957173: Retrying in 10 seconds 03:07:13 d7352ce752e0: Retrying in 9 seconds 03:07:13 55db22957173: Retrying in 9 seconds 03:07:13 eaeed81f8a73: Retrying in 9 seconds 03:07:13 a2e625f72720: Retrying in 9 seconds 03:07:14 a2e625f72720: Retrying in 8 seconds 03:07:14 eaeed81f8a73: Retrying in 8 seconds 03:07:14 d7352ce752e0: Retrying in 8 seconds 03:07:14 55db22957173: Retrying in 8 seconds 03:07:15 55db22957173: Retrying in 7 seconds 03:07:15 eaeed81f8a73: Retrying in 7 seconds 03:07:15 d7352ce752e0: Retrying in 7 seconds 03:07:15 a2e625f72720: Retrying in 7 seconds 03:07:16 55db22957173: Retrying in 6 seconds 03:07:16 d7352ce752e0: Retrying in 6 seconds 03:07:16 eaeed81f8a73: Retrying in 6 seconds 03:07:16 a2e625f72720: Retrying in 6 seconds 03:07:17 eaeed81f8a73: Retrying in 5 seconds 03:07:17 a2e625f72720: Retrying in 5 seconds 03:07:17 d7352ce752e0: Retrying in 5 seconds 03:07:17 55db22957173: Retrying in 5 seconds 03:07:18 55db22957173: Retrying in 4 seconds 03:07:18 eaeed81f8a73: Retrying in 4 seconds 03:07:18 d7352ce752e0: Retrying in 4 seconds 03:07:18 a2e625f72720: Retrying in 4 seconds 03:07:19 eaeed81f8a73: Retrying in 3 seconds 03:07:19 d7352ce752e0: Retrying in 3 seconds 03:07:19 55db22957173: Retrying in 3 seconds 03:07:19 a2e625f72720: Retrying in 3 seconds 03:07:20 55db22957173: Retrying in 2 seconds 03:07:20 eaeed81f8a73: Retrying in 2 seconds 03:07:20 d7352ce752e0: Retrying in 2 seconds 03:07:20 a2e625f72720: Retrying in 2 seconds 03:07:21 55db22957173: Retrying in 1 second 03:07:21 eaeed81f8a73: Retrying in 1 second 03:07:21 d7352ce752e0: Retrying in 1 second 03:07:21 a2e625f72720: Retrying in 1 second 03:07:38 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 03:07:39 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:07:41 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.205s coverage: 30.5% of statements 03:08:07 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.844s coverage: 86.5% of statements 03:08:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:08:07 go vet ./... 03:08:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:08:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:08:40 ./bin/test-attribution-txt.sh [Pipeline] echo 03:08:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:08:40 $ docker stop --time=1 ea5fab623f59f6902d66601b4c582704b3834ff7922e18bc6c9f06e16e23b370 03:08:42 $ docker rm -f --volumes ea5fab623f59f6902d66601b4c582704b3834ff7922e18bc6c9f06e16e23b370 [Pipeline] // withDockerContainer [Pipeline] sh 03:08:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:08:43 Warning: overwriting stash ‘coverage-report’ 03:08:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:08:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:08:45 + ls -al . 03:08:45 total 228 03:08:45 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 03:04 . 03:08:45 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 03:02 .. 03:08:45 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 03:02 .git 03:08:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 03:02 .github 03:08:45 -rw-rw-r-- 1 jenkins jenkins 496 Mar 15 03:02 .gitignore 03:08:45 -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 03:02 .golangci.yml 03:08:45 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 15 03:02 Attribution.txt 03:08:45 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 15 03:02 CHANGELOG.md 03:08:45 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 15 03:02 Dockerfile 03:08:45 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 03:02 GOVERNANCE.md 03:08:45 -rw-rw-r-- 1 jenkins jenkins 734 Mar 15 03:02 Jenkinsfile 03:08:45 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 15 03:02 LICENSE 03:08:45 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 15 03:02 Makefile 03:08:45 -rw-rw-r-- 1 jenkins jenkins 625 Mar 15 03:02 OWNERS.md 03:08:45 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 15 03:02 README.md 03:08:45 -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 03:00 VERSION 03:08:45 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 03:02 bin 03:08:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 03:02 cmd 03:08:45 -rw-r--r-- 1 jenkins jenkins 76650 Mar 15 03:08 coverage.out 03:08:45 drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 03:02 doc 03:08:45 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 15 03:02 go.mod 03:08:45 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 15 03:02 go.sum 03:08:45 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 03:02 internal 03:08:45 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 03:02 snap 03:08:45 -rw-rw-r-- 1 jenkins jenkins 236 Mar 15 03:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:08:45 + 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=d13e481dd874f1286a187d197f108b2a3a763e5d --label arch=arm64 --label version=3.0.0-dev.21 . 03:08:45 Sending build context to Docker daemon 20.69MB 03:08:45 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 03:08:45 Step 2/26 : FROM ${BASE} AS builder 03:08:45 ---> 169892320f12 03:08:45 Step 3/26 : ARG ADD_BUILD_TAGS="" 03:08:46 ---> Running in 8133f6871a00 03:08:46 Removing intermediate container 8133f6871a00 03:08:46 ---> 0df779e5b1d2 03:08:46 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:08:46 ---> Running in f63d86eea7f3 03:08:47 Removing intermediate container f63d86eea7f3 03:08:47 ---> 47391a464136 03:08:47 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 03:08:47 ---> Running in 9af6fa039679 03:08:47 Removing intermediate container 9af6fa039679 03:08:47 ---> fa130d6523da 03:08:47 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 03:08:47 ---> Running in 10cf1f2e40a3 03:08:47 Removing intermediate container 10cf1f2e40a3 03:08:47 ---> e9efbd330f73 03:08:47 Step 7/26 : LABEL Name=edgex-device-onvif-camera 03:08:48 ---> Running in e91d9af7e48a 03:08:48 Removing intermediate container e91d9af7e48a 03:08:48 ---> 58adb79808de 03:08:48 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:08:48 ---> Running in fb20be87b41d 03:08:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:08:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:08:51 OK: 263 MiB in 53 packages 03:08:52 Removing intermediate container fb20be87b41d 03:08:52 ---> 887e70fef375 03:08:52 Step 9/26 : WORKDIR /device-onvif-camera 03:08:52 ---> Running in f107567c3585 03:08:52 Removing intermediate container f107567c3585 03:08:52 ---> f78ad9454299 03:08:52 Step 10/26 : COPY go.mod vendor* ./ 03:08:53 ---> 38f8fdc12ac1 03:08:53 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:08:53 ---> Running in 5bbfee4d3da4 03:08:56 Removing intermediate container 5bbfee4d3da4 03:08:56 ---> 26cabeebabab 03:08:56 Step 12/26 : COPY . . 03:08:58 d7352ce752e0: Retrying in 20 seconds 03:08:58 a2e625f72720: Retrying in 20 seconds 03:08:58 eaeed81f8a73: Retrying in 20 seconds 03:08:58 55db22957173: Retrying in 20 seconds 03:08:58 d7352ce752e0: Retrying in 19 seconds 03:08:58 a2e625f72720: Retrying in 19 seconds 03:08:58 eaeed81f8a73: Retrying in 19 seconds 03:08:58 55db22957173: Retrying in 19 seconds 03:08:58 eaeed81f8a73: Retrying in 18 seconds 03:08:58 d7352ce752e0: Retrying in 18 seconds 03:08:58 a2e625f72720: Retrying in 18 seconds 03:08:58 55db22957173: Retrying in 18 seconds 03:08:58 d7352ce752e0: Retrying in 17 seconds 03:08:58 a2e625f72720: Retrying in 17 seconds 03:08:58 eaeed81f8a73: Retrying in 17 seconds 03:08:58 55db22957173: Retrying in 17 seconds 03:08:58 d7352ce752e0: Retrying in 16 seconds 03:08:58 a2e625f72720: Retrying in 16 seconds 03:08:58 eaeed81f8a73: Retrying in 16 seconds 03:08:58 55db22957173: Retrying in 16 seconds 03:08:58 d7352ce752e0: Retrying in 15 seconds 03:08:58 a2e625f72720: Retrying in 15 seconds 03:08:58 eaeed81f8a73: Retrying in 15 seconds 03:08:58 55db22957173: Retrying in 15 seconds 03:08:58 a2e625f72720: Retrying in 14 seconds 03:08:58 d7352ce752e0: Retrying in 14 seconds 03:08:58 eaeed81f8a73: Retrying in 14 seconds 03:08:58 55db22957173: Retrying in 14 seconds 03:08:58 ---> 25c2cb76608f 03:08:58 Step 13/26 : RUN ${MAKE} 03:08:58 ---> Running in 99bcab53774f 03:08:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.21" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 03:08:59 d7352ce752e0: Retrying in 13 seconds 03:08:59 a2e625f72720: Retrying in 13 seconds 03:08:59 eaeed81f8a73: Retrying in 13 seconds 03:08:59 55db22957173: Retrying in 13 seconds 03:09:00 d7352ce752e0: Retrying in 12 seconds 03:09:00 a2e625f72720: Retrying in 12 seconds 03:09:00 eaeed81f8a73: Retrying in 12 seconds 03:09:00 55db22957173: Retrying in 12 seconds 03:09:01 d7352ce752e0: Retrying in 11 seconds 03:09:01 eaeed81f8a73: Retrying in 11 seconds 03:09:01 a2e625f72720: Retrying in 11 seconds 03:09:01 55db22957173: Retrying in 11 seconds 03:09:02 a2e625f72720: Retrying in 10 seconds 03:09:02 eaeed81f8a73: Retrying in 10 seconds 03:09:02 d7352ce752e0: Retrying in 10 seconds 03:09:02 55db22957173: Retrying in 10 seconds 03:09:03 d7352ce752e0: Retrying in 9 seconds 03:09:03 a2e625f72720: Retrying in 9 seconds 03:09:03 55db22957173: Retrying in 9 seconds 03:09:03 eaeed81f8a73: Retrying in 9 seconds 03:09:04 d7352ce752e0: Retrying in 8 seconds 03:09:04 eaeed81f8a73: Retrying in 8 seconds 03:09:04 a2e625f72720: Retrying in 8 seconds 03:09:04 55db22957173: Retrying in 8 seconds 03:09:05 d7352ce752e0: Retrying in 7 seconds 03:09:05 eaeed81f8a73: Retrying in 7 seconds 03:09:05 a2e625f72720: Retrying in 7 seconds 03:09:05 55db22957173: Retrying in 7 seconds 03:09:06 eaeed81f8a73: Retrying in 6 seconds 03:09:06 d7352ce752e0: Retrying in 6 seconds 03:09:06 a2e625f72720: Retrying in 6 seconds 03:09:06 55db22957173: Retrying in 6 seconds 03:09:07 d7352ce752e0: Retrying in 5 seconds 03:09:07 a2e625f72720: Retrying in 5 seconds 03:09:07 55db22957173: Retrying in 5 seconds 03:09:07 eaeed81f8a73: Retrying in 5 seconds 03:09:08 d7352ce752e0: Retrying in 4 seconds 03:09:08 a2e625f72720: Retrying in 4 seconds 03:09:08 eaeed81f8a73: Retrying in 4 seconds 03:09:08 55db22957173: Retrying in 4 seconds 03:09:09 d7352ce752e0: Retrying in 3 seconds 03:09:09 a2e625f72720: Retrying in 3 seconds 03:09:09 eaeed81f8a73: Retrying in 3 seconds 03:09:09 55db22957173: Retrying in 3 seconds 03:09:10 d7352ce752e0: Retrying in 2 seconds 03:09:10 a2e625f72720: Retrying in 2 seconds 03:09:10 eaeed81f8a73: Retrying in 2 seconds 03:09:10 55db22957173: Retrying in 2 seconds 03:09:11 a2e625f72720: Retrying in 1 second 03:09:11 eaeed81f8a73: Retrying in 1 second 03:09:11 d7352ce752e0: Retrying in 1 second 03:09:11 55db22957173: Retrying in 1 second 03:10:47 received unexpected HTTP status: 504 Gateway Time-out [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:10:48 03:10:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:10:48 latest: Pulling from edgex-lftools-log-publisher 03:10:48 5eb5b503b376: Pulling fs layer 03:10:48 5c69ac0246d0: Pulling fs layer 03:10:48 ec43610c2a17: Pulling fs layer 03:10:48 3a2ae6a8a46f: Pulling fs layer 03:10:48 33b1e0a273af: Pulling fs layer 03:10:48 5d3b04190fa2: Pulling fs layer 03:10:48 2f39f015ded8: Pulling fs layer 03:10:48 3a2ae6a8a46f: Waiting 03:10:48 33b1e0a273af: Waiting 03:10:48 5d3b04190fa2: Waiting 03:10:48 5c69ac0246d0: Verifying Checksum 03:10:48 5c69ac0246d0: Download complete 03:10:48 3a2ae6a8a46f: Verifying Checksum 03:10:48 3a2ae6a8a46f: Download complete 03:10:48 33b1e0a273af: Verifying Checksum 03:10:48 33b1e0a273af: Download complete 03:10:48 5d3b04190fa2: Verifying Checksum 03:10:48 5d3b04190fa2: Download complete 03:10:48 ec43610c2a17: Verifying Checksum 03:10:48 ec43610c2a17: Download complete 03:10:48 5eb5b503b376: Verifying Checksum 03:10:48 5eb5b503b376: Download complete 03:10:49 2f39f015ded8: Download complete 03:10:49 5eb5b503b376: Pull complete 03:10:50 5c69ac0246d0: Pull complete 03:10:50 ec43610c2a17: Pull complete 03:10:50 3a2ae6a8a46f: Pull complete 03:10:50 33b1e0a273af: Pull complete 03:10:50 5d3b04190fa2: Pull complete 03:10:55 2f39f015ded8: Pull complete 03:10:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:10:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:10:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:55 prd-ubuntu20.04-docker-8c-8g-340 does not seem to be running inside a container 03:10:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:11:00 $ docker top 2c4b9fea6c24e9b6fc3fdf562d4669034af2c18463ede66b0223f4f726616ef8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:11:00 ---> job-cost.sh 03:11:00 lf-activate-venv: SKIPPING 03:11:00 INFO: No Stack... 03:11:00 INFO: Retrieving Pricing Info for: v3-standard-8 03:11:01 INFO: Archiving Costs [Pipeline] sh 03:11:01 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 03:11:01 + cut -d, -f6 [Pipeline] lock 03:11:01 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-111-stack-cost] 03:11:01 Resource [jenkins-edgexfoundry-device-onvif-camera-main-111-stack-cost] did not exist. Created. 03:11:01 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-111-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:11:02 + echo total: 0.2199999988079071 [Pipeline] stash 03:11:02 Stashed 1 file(s) [Pipeline] } 03:11:02 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-111-stack-cost] [Pipeline] // lock [Pipeline] } 03:11:02 $ docker stop --time=1 2c4b9fea6c24e9b6fc3fdf562d4669034af2c18463ede66b0223f4f726616ef8 03:11:03 $ docker rm -f --volumes 2c4b9fea6c24e9b6fc3fdf562d4669034af2c18463ede66b0223f4f726616ef8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:11:03 Failed in branch amd64 03:11:51 Removing intermediate container 99bcab53774f 03:11:51 ---> c04c60dec4f5 03:11:51 Step 14/26 : FROM alpine:3.17 03:11:51 3.17: Pulling from library/alpine 03:11:51 af6eaf76a39c: Already exists 03:11:51 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 03:11:51 Status: Downloaded newer image for alpine:3.17 03:11:51 ---> d74e625d9115 03:11:51 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:11:51 ---> Running in f21b6ad88156 03:11:51 Removing intermediate container f21b6ad88156 03:11:51 ---> 96583f51c956 03:11:51 Step 16/26 : RUN apk add --update --no-cache dumb-init 03:11:51 ---> Running in 9d33dea2c400 03:11:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:11:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:11:51 (1/1) Installing dumb-init (1.2.5-r2) 03:11:51 Executing busybox-1.35.0-r29.trigger 03:11:51 OK: 8 MiB in 16 packages 03:11:51 Removing intermediate container 9d33dea2c400 03:11:51 ---> 7a08241885c9 03:11:51 Step 17/26 : WORKDIR / 03:11:51 ---> Running in d6835e60efad 03:11:51 Removing intermediate container d6835e60efad 03:11:51 ---> d6a8df2cc48f 03:11:51 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 03:11:51 ---> cce5bad0023e 03:11:51 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 03:11:51 ---> e0601b602bfd 03:11:51 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 03:11:51 ---> 1ba8af2ac8f2 03:11:51 Step 21/26 : EXPOSE 59984 03:11:51 ---> Running in ceb51d2da9f0 03:11:51 Removing intermediate container ceb51d2da9f0 03:11:51 ---> 2efa7c143eff 03:11:51 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 03:11:51 ---> Running in b1499181b6f5 03:11:51 Removing intermediate container b1499181b6f5 03:11:51 ---> 5f70408d3636 03:11:51 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:11:51 ---> Running in d6927ac1bd78 03:11:51 Removing intermediate container d6927ac1bd78 03:11:51 ---> 4097d97ab347 03:11:51 Step 24/26 : LABEL arch=arm64 03:11:51 ---> Running in 0a0623e82140 03:11:51 Removing intermediate container 0a0623e82140 03:11:51 ---> d8a389f5bb07 03:11:51 Step 25/26 : LABEL git_sha=d13e481dd874f1286a187d197f108b2a3a763e5d 03:11:51 ---> Running in e1609995ff50 03:11:51 Removing intermediate container e1609995ff50 03:11:51 ---> e3ba5f41ff26 03:11:51 Step 26/26 : LABEL version=3.0.0-dev.21 03:11:51 ---> Running in e9b856bd1ad2 03:11:51 Removing intermediate container e9b856bd1ad2 03:11:51 ---> 32e2758ca548 03:11:51 [Warning] One or more build-args [ARCH] were not consumed 03:11:51 Successfully built 32e2758ca548 03:11:51 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 03:11:51 provisioning config files... 03:11:51 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/111@tmp/config1120155909635203137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:11:51 ---> docker-login.sh 03:11:51 nexus3.edgexfoundry.org:10001 03:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:11:52 Configure a credential helper to remove this warning. See 03:11:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:11:52 03:11:52 Login Succeeded 03:11:52 nexus3.edgexfoundry.org:10002 03:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:11:52 Configure a credential helper to remove this warning. See 03:11:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:11:52 03:11:52 Login Succeeded 03:11:52 nexus3.edgexfoundry.org:10003 03:11:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:11:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:11:52 Configure a credential helper to remove this warning. See 03:11:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:11:52 03:11:52 Login Succeeded 03:11:53 nexus3.edgexfoundry.org:10004 03:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:11:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:11:53 Configure a credential helper to remove this warning. See 03:11:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:11:53 03:11:53 Login Succeeded 03:11:53 docker.io 03:11:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:11:54 Configure a credential helper to remove this warning. See 03:11:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:11:54 03:11:54 Login Succeeded 03:11:54 ---> docker-login.sh ends [Pipeline] } 03:11:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:11:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:11:54 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 03:11:54 d13e481dd874f1286a187d197f108b2a3a763e5d 03:11:54 latest 03:11:54 3.0.0-dev.21 03:11:54 d13e481dd874f1286a187d197f108b2a3a763e5d-3.0.0-dev.21 03:11:54 main 03:11:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:54 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d13e481dd874f1286a187d197f108b2a3a763e5d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:54 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d13e481dd874f1286a187d197f108b2a3a763e5d 03:11:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:11:54 0cf149795c87: Preparing 03:11:54 ecd5586f3a85: Preparing 03:11:54 28868c249296: Preparing 03:11:54 0ddadac84fd3: Preparing 03:11:54 edf70074bd40: Preparing 03:11:54 edf70074bd40: Layer already exists 03:11:55 0ddadac84fd3: Pushed 03:11:55 0cf149795c87: Pushed 03:11:55 ecd5586f3a85: Pushed 03:12:01 28868c249296: Pushed 03:12:01 d13e481dd874f1286a187d197f108b2a3a763e5d: digest: sha256:212151d741ffaded0b835bcb629b39b23d79f05b7d7ab172b36b79f5b4db8510 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:02 + 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 03:12:02 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 03:12:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:12:02 0cf149795c87: Preparing 03:12:02 ecd5586f3a85: Preparing 03:12:02 28868c249296: Preparing 03:12:02 0ddadac84fd3: Preparing 03:12:02 edf70074bd40: Preparing 03:12:02 28868c249296: Layer already exists 03:12:02 edf70074bd40: Layer already exists 03:12:02 0ddadac84fd3: Layer already exists 03:12:02 ecd5586f3a85: Layer already exists 03:12:02 0cf149795c87: Layer already exists 03:12:02 latest: digest: sha256:212151d741ffaded0b835bcb629b39b23d79f05b7d7ab172b36b79f5b4db8510 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:03 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:03 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.21 03:12:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:12:03 0cf149795c87: Preparing 03:12:03 ecd5586f3a85: Preparing 03:12:03 28868c249296: Preparing 03:12:03 0ddadac84fd3: Preparing 03:12:03 edf70074bd40: Preparing 03:12:03 ecd5586f3a85: Layer already exists 03:12:03 0ddadac84fd3: Layer already exists 03:12:03 edf70074bd40: Layer already exists 03:12:03 0cf149795c87: Layer already exists 03:12:03 28868c249296: Layer already exists 03:12:03 3.0.0-dev.21: digest: sha256:212151d741ffaded0b835bcb629b39b23d79f05b7d7ab172b36b79f5b4db8510 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:04 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d13e481dd874f1286a187d197f108b2a3a763e5d-3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:04 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d13e481dd874f1286a187d197f108b2a3a763e5d-3.0.0-dev.21 03:12:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:12:04 0cf149795c87: Preparing 03:12:04 ecd5586f3a85: Preparing 03:12:04 28868c249296: Preparing 03:12:04 0ddadac84fd3: Preparing 03:12:04 edf70074bd40: Preparing 03:12:04 edf70074bd40: Layer already exists 03:12:04 ecd5586f3a85: Layer already exists 03:12:04 0cf149795c87: Layer already exists 03:12:04 0ddadac84fd3: Layer already exists 03:12:04 28868c249296: Layer already exists 03:12:04 d13e481dd874f1286a187d197f108b2a3a763e5d-3.0.0-dev.21: digest: sha256:212151d741ffaded0b835bcb629b39b23d79f05b7d7ab172b36b79f5b4db8510 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:05 + 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 03:12:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 03:12:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 03:12:05 0cf149795c87: Preparing 03:12:05 ecd5586f3a85: Preparing 03:12:05 28868c249296: Preparing 03:12:05 0ddadac84fd3: Preparing 03:12:05 edf70074bd40: Preparing 03:12:05 ecd5586f3a85: Layer already exists 03:12:05 28868c249296: Layer already exists 03:12:05 0ddadac84fd3: Layer already exists 03:12:05 edf70074bd40: Layer already exists 03:12:05 0cf149795c87: Layer already exists 03:12:05 main: digest: sha256:212151d741ffaded0b835bcb629b39b23d79f05b7d7ab172b36b79f5b4db8510 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:12:05 ===================================================== [Pipeline] echo 03:12:05 taggedImages: 03:12:05 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d13e481dd874f1286a187d197f108b2a3a763e5d 03:12:05 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 03:12:05 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.21 03:12:05 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:d13e481dd874f1286a187d197f108b2a3a763e5d-3.0.0-dev.21 03:12:05 - 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 03:12:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:12:06 03:12:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:12:06 arm64: Pulling from edgex-lftools-log-publisher 03:12:06 8998bd30e6a1: Pulling fs layer 03:12:06 04944245beec: Pulling fs layer 03:12:06 699f458cf7ca: Pulling fs layer 03:12:06 765212b225bb: Pulling fs layer 03:12:06 f23df028b6ca: Pulling fs layer 03:12:06 d65c8cfc05b1: Pulling fs layer 03:12:06 2437ff75d9bd: Pulling fs layer 03:12:06 f23df028b6ca: Waiting 03:12:06 d65c8cfc05b1: Waiting 03:12:06 2437ff75d9bd: Waiting 03:12:06 765212b225bb: Waiting 03:12:06 04944245beec: Verifying Checksum 03:12:06 04944245beec: Download complete 03:12:06 765212b225bb: Download complete 03:12:06 f23df028b6ca: Verifying Checksum 03:12:06 f23df028b6ca: Download complete 03:12:06 d65c8cfc05b1: Verifying Checksum 03:12:06 d65c8cfc05b1: Download complete 03:12:07 699f458cf7ca: Verifying Checksum 03:12:07 699f458cf7ca: Download complete 03:12:07 8998bd30e6a1: Download complete 03:12:09 2437ff75d9bd: Verifying Checksum 03:12:09 2437ff75d9bd: Download complete 03:12:11 8998bd30e6a1: Pull complete 03:12:12 04944245beec: Pull complete 03:12:13 699f458cf7ca: Pull complete 03:12:13 765212b225bb: Pull complete 03:12:14 f23df028b6ca: Pull complete 03:12:14 d65c8cfc05b1: Pull complete 03:12:29 2437ff75d9bd: Pull complete 03:12:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:12:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:12:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:12:29 prd-ubuntu20.04-docker-arm64-4c-16g-346 does not seem to be running inside a container 03:12:30 $ 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/111 -v /w/workspace/device-onvif-camera/111:/w/workspace/device-onvif-camera/111:rw,z -v /w/workspace/device-onvif-camera/111@tmp:/w/workspace/device-onvif-camera/111@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 03:12:32 $ docker top 2e3589fa39d16dba895930b5090a67c05e773770144441a3e856c8097243208b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:12:33 ---> job-cost.sh 03:12:33 lf-activate-venv: SKIPPING 03:12:33 INFO: No Stack... 03:12:33 INFO: Retrieving Pricing Info for: v3-standard-4 03:12:34 INFO: Archiving Costs [Pipeline] sh 03:12:35 + cat /w/workspace/device-onvif-camera/111/archives/cost.csv 03:12:35 + cut -d, -f6 [Pipeline] lock 03:12:35 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-111-stack-cost] 03:12:35 Resource [jenkins-edgexfoundry-device-onvif-camera-main-111-stack-cost] did not exist. Created. 03:12:35 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-111-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:12:35 /w/workspace/device-onvif-camera/111@tmp/durable-4fc9e5c1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:12:36 + echo total: 0.10999999940395355 [Pipeline] stash 03:12:36 Warning: overwriting stash ‘stack-cost’ 03:12:36 Stashed 1 file(s) [Pipeline] } 03:12:36 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-111-stack-cost] [Pipeline] // lock [Pipeline] } 03:12:36 $ docker stop --time=1 2e3589fa39d16dba895930b5090a67c05e773770144441a3e856c8097243208b 03:12:37 $ docker rm -f --volumes 2e3589fa39d16dba895930b5090a67c05e773770144441a3e856c8097243208b [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:12:40 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 03:12:40 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 03:12:40 total 16 03:12:40 drwxr-xr-x 3 root root 4096 Mar 15 03:11 . 03:12:40 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 03:11 .. 03:12:40 drwxr-xr-x 2 root root 4096 Mar 15 03:11 cost 03:12:40 -rw-r--r-- 1 root root 91 Mar 15 03:11 cost.csv 03:12:40 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 03:12:40 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 03:12:40 total 16 03:12:40 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 03:11 . 03:12:40 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 03:11 .. 03:12:40 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 03:11 cost 03:12:40 -rw-r--r-- 1 jenkins jenkins 91 Mar 15 03:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:12:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:12:41 ---> package-listing.sh 03:12:41 ++ facter osfamily 03:12:41 ++ tr '[:upper:]' '[:lower:]' 03:12:42 + OS_FAMILY=debian 03:12:42 + workspace=/w/workspace/foundry_device-onvif-camera_main 03:12:42 + START_PACKAGES=/tmp/packages_start.txt 03:12:42 + END_PACKAGES=/tmp/packages_end.txt 03:12:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:12:42 + PACKAGES=/tmp/packages_start.txt 03:12:42 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 03:12:42 + PACKAGES=/tmp/packages_end.txt 03:12:42 + case "${OS_FAMILY}" in 03:12:42 + dpkg -l 03:12:42 + grep '^ii' 03:12:42 + '[' -f /tmp/packages_start.txt ']' 03:12:42 + '[' -f /tmp/packages_end.txt ']' 03:12:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:12:42 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 03:12:42 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 03:12:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 03:12:42 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 03:12:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:12:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:12:42 prd-ubuntu20.04-docker-8c-8g-340 does not seem to be running inside a container 03:12:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:12:43 $ docker top 939b19918b017e6b4e4aa5c455f113046af1f0daf162841eb69e5ffcf53e73f8 -eo pid,comm [Pipeline] { [Pipeline] sh 03:12:43 + touch /tmp/pre-build-complete [Pipeline] sh 03:12:43 + mkdir -p /var/log/sysstat [Pipeline] sh 03:12:44 + ls /var/log/sa-host 03:12:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:12:44 provisioning config files... 03:12:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11568554429716396534tmp [Pipeline] { [Pipeline] echo 03:12:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:12:44 ---> create-netrc.sh [Pipeline] } 03:12:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:12:44 ---> python-tools-install.sh [Pipeline] echo 03:12:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:12:45 ---> sudo-logs.sh 03:12:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:12:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:12:45 ---> job-cost.sh 03:12:45 lf-activate-venv: SKIPPING 03:12:45 DEBUG: total: 0.2199999988079071 03:12:45 INFO: Retrieving Stack Cost... 03:12:45 INFO: Retrieving Pricing Info for: v3-standard-8 03:12:45 INFO: Archiving Costs [Pipeline] echo 03:12:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:12:46 ---> logs-deploy.sh 03:12:46 lf-activate-venv: SKIPPING 03:12:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/111 03:12:46 INFO: archiving workspace using pattern(s): 03:12:47 Archives upload complete. 03:12:47 INFO: archiving logs to Nexus