Push event to branch refactor-snapcraft Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b19be15f1aae5ce963d99b90e51172ceff0b476d 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-ssh16516973256280152352.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-ssh10627031768490667340.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/refactor-snapcraft/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/refactor-snapcraft/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12513793621493142335.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/refactor-snapcraft/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3352024434987993127.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh5524208516270897341.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/refactor-snapcraft/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/refactor-snapcraft/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8005000861955604242.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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 Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2471 in /w/workspace/_onvif-camera_refactor-snapcraft [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/_onvif-camera_refactor-snapcraft # 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 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b19be15f1aae5ce963d99b90e51172ceff0b476d (refactor-snapcraft) Commit message: "ci: Change dependabot gomod schedule to daily (#264)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:55:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script > git config core.sparsecheckout # timeout=10 > git checkout -f b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 [Pipeline] { [Pipeline] withCredentials 15:55:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:55:31 ========================================================= 15:55:31 EdgeX Global Pipelines Version Info 15:55:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:55:31 ------------------- 15:55:31 stable info: 15:55:31 ------------------- 15:55:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:55:31 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 15:55:31 Message: update stable to v1.0.245 15:55:32 ------------------- 15:55:32 experimental info: 15:55:32 ------------------- 15:55:32 Commited By: **** collab-it+edgex@linuxfoundation.org 15:55:32 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 15:55:32 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:55:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 15:55:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 15:55:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:55:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:55:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:55:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = refactor-snapcraft [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = refactor-snapcraft [Pipeline] echo 15:55:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = refactor-snapcraft [Pipeline] echo 15:55:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b19be15f1aae5ce963d99b90e51172ceff0b476d [Pipeline] echo 15:55:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b19be15 [Pipeline] echo 15:55:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:55:34 provisioning config files... 15:55:34 copy managed file [device-onvif-camera-settings] to file:/w/workspace/_onvif-camera_refactor-snapcraft@tmp/config15408601724461093641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:55:34 ---> docker-login.sh 15:55:34 nexus3.edgexfoundry.org:10001 15:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:34 Configure a credential helper to remove this warning. See 15:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:34 15:55:34 Login Succeeded 15:55:34 nexus3.edgexfoundry.org:10002 15:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:35 Configure a credential helper to remove this warning. See 15:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:35 15:55:35 Login Succeeded 15:55:35 nexus3.edgexfoundry.org:10003 15:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:35 Configure a credential helper to remove this warning. See 15:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:35 15:55:35 Login Succeeded 15:55:35 nexus3.edgexfoundry.org:10004 15:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:35 Configure a credential helper to remove this warning. See 15:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:35 15:55:35 Login Succeeded 15:55:35 docker.io 15:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:35 Configure a credential helper to remove this warning. See 15:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:35 15:55:35 Login Succeeded 15:55:35 ---> docker-login.sh ends [Pipeline] } 15:55:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:55:36 + git rev-list -1 --merges b19be15f1aae5ce963d99b90e51172ceff0b476d~1..b19be15f1aae5ce963d99b90e51172ceff0b476d [Pipeline] echo 15:55:36 -----------> git rev-list -1 --merges b19be15f1aae5ce963d99b90e51172ceff0b476d~1..b19be15f1aae5ce963d99b90e51172ceff0b476d b19be15f1aae5ce963d99b90e51172ceff0b476d [false] [Pipeline] sh 15:55:36 + git log --format=format:%s -1 b19be15f1aae5ce963d99b90e51172ceff0b476d [Pipeline] echo 15:55:36 ========================================================= 15:55:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:55:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:55:37 + git log --format=format:%s -1 b19be15f1aae5ce963d99b90e51172ceff0b476d [Pipeline] echo 15:55:37 [semverPrep] GIT_COMMIT: b19be15f1aae5ce963d99b90e51172ceff0b476d, Commit Message: ci: Change dependabot gomod schedule to daily (#264) [Pipeline] echo 15:55:37 [semverPrep] This is not a build commit. [Pipeline] sh 15:55:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:55:37 + grep -v github /etc/ssh/ssh_known_hosts 15:55:37 + [ -e /tmp/ssh_known_hosts ] 15:55:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:55:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:55:37 + sudo tee -a /etc/ssh/ssh_known_hosts 15:55:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:55:38 15:55:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:55:38 0.1.4: Pulling from edgex-devops/py-git-semver 15:55:38 b85a868b505f: Pulling fs layer 15:55:38 e2be974225ed: Pulling fs layer 15:55:38 339a4e72a1f5: Pulling fs layer 15:55:38 988bab9f4d93: Pulling fs layer 15:55:38 1469e6f7b9e6: Pulling fs layer 15:55:38 eaf3925da568: Pulling fs layer 15:55:38 bab4dde63d76: Pulling fs layer 15:55:38 bde34c3a00c8: Pulling fs layer 15:55:38 1469e6f7b9e6: Waiting 15:55:38 eaf3925da568: Waiting 15:55:38 988bab9f4d93: Waiting 15:55:38 bab4dde63d76: Waiting 15:55:38 b352a97aabf1: Pulling fs layer 15:55:38 4872d77fe225: Pulling fs layer 15:55:38 b352a97aabf1: Waiting 15:55:38 bde34c3a00c8: Waiting 15:55:38 4872d77fe225: Waiting 15:55:38 5851b861e8e6: Pulling fs layer 15:55:38 e2be974225ed: Download complete 15:55:38 988bab9f4d93: Verifying Checksum 15:55:38 988bab9f4d93: Download complete 15:55:38 1469e6f7b9e6: Verifying Checksum 15:55:38 1469e6f7b9e6: Download complete 15:55:38 339a4e72a1f5: Verifying Checksum 15:55:38 339a4e72a1f5: Download complete 15:55:38 eaf3925da568: Verifying Checksum 15:55:38 eaf3925da568: Download complete 15:55:38 bde34c3a00c8: Verifying Checksum 15:55:38 bde34c3a00c8: Download complete 15:55:38 b352a97aabf1: Verifying Checksum 15:55:38 b352a97aabf1: Download complete 15:55:38 4872d77fe225: Verifying Checksum 15:55:38 4872d77fe225: Download complete 15:55:38 5851b861e8e6: Verifying Checksum 15:55:38 5851b861e8e6: Download complete 15:55:38 b85a868b505f: Download complete 15:55:38 bab4dde63d76: Verifying Checksum 15:55:38 bab4dde63d76: Download complete 15:55:39 b85a868b505f: Pull complete 15:55:39 e2be974225ed: Pull complete 15:55:40 339a4e72a1f5: Pull complete 15:55:40 988bab9f4d93: Pull complete 15:55:40 1469e6f7b9e6: Pull complete 15:55:40 eaf3925da568: Pull complete 15:55:42 bab4dde63d76: Pull complete 15:55:42 bde34c3a00c8: Pull complete 15:55:42 b352a97aabf1: Pull complete 15:55:42 4872d77fe225: Pull complete 15:55:42 5851b861e8e6: Pull complete 15:55:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:55:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:55:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:55:42 prd-ubuntu20.04-docker-8c-8g-2471 does not seem to be running inside a container 15:55:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/_onvif-camera_refactor-snapcraft -v /w/workspace/_onvif-camera_refactor-snapcraft:/w/workspace/_onvif-camera_refactor-snapcraft:rw,z -v /w/workspace/_onvif-camera_refactor-snapcraft@tmp:/w/workspace/_onvif-camera_refactor-snapcraft@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:55:44 $ docker top d7369d56ea3707f3ff2396946fd7d1da185efbe39e12f2e88510e22a4f616c84 -eo pid,comm 15:55:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:55:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:55:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:55:44 [ssh-agent] Looking for ssh-agent implementation... 15:55:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:55:44 $ docker exec d7369d56ea3707f3ff2396946fd7d1da185efbe39e12f2e88510e22a4f616c84 ssh-agent 15:55:44 SSH_AUTH_SOCK=/tmp/ssh-TFQkaJEJvtyb/agent.32 15:55:44 SSH_AGENT_PID=38 15:55:44 Running ssh-add (command line suppressed) 15:55:44 Identity added: /w/workspace/_onvif-camera_refactor-snapcraft@tmp/private_key_1435444256969207884.key (/w/workspace/_onvif-camera_refactor-snapcraft@tmp/private_key_1435444256969207884.key) 15:55:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:55:44 + git tag --points-at HEAD [Pipeline] } 15:55:44 $ docker exec --env ******** --env ******** d7369d56ea3707f3ff2396946fd7d1da185efbe39e12f2e88510e22a4f616c84 ssh-agent -k 15:55:45 unset SSH_AUTH_SOCK; 15:55:45 unset SSH_AGENT_PID; 15:55:45 echo Agent pid 38 killed; 15:55:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:55:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:55:45 [ssh-agent] Looking for ssh-agent implementation... 15:55:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:55:45 $ docker exec d7369d56ea3707f3ff2396946fd7d1da185efbe39e12f2e88510e22a4f616c84 ssh-agent 15:55:45 SSH_AUTH_SOCK=/tmp/ssh-M34LOuthLYDG/agent.70 15:55:45 SSH_AGENT_PID=76 15:55:45 Running ssh-add (command line suppressed) 15:55:45 Identity added: /w/workspace/_onvif-camera_refactor-snapcraft@tmp/private_key_4280804465255478457.key (/w/workspace/_onvif-camera_refactor-snapcraft@tmp/private_key_4280804465255478457.key) 15:55:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:55:45 + git semver init 15:55:46 2023-03-16 15:55:46,015 [run_init] DEBUG init version:0.0.0 force:False 15:55:46 2023-03-16 15:55:46,016 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/_onvif-camera_refactor-snapcraft/.semver 15:55:46 2023-03-16 15:55:46,016 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/_onvif-camera_refactor-snapcraft/.semver 15:55:46 2023-03-16 15:55:46,016 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/_onvif-camera_refactor-snapcraft/.semver'], cwd=/w/workspace/_onvif-camera_refactor-snapcraft, universal_newlines=False, shell=None, istream=None) 15:55:47 2023-03-16 15:55:46,803 [append_file] DEBUG append to file:/w/workspace/_onvif-camera_refactor-snapcraft/.git/info/exclude 15:55:47 2023-03-16 15:55:46,803 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/_onvif-camera_refactor-snapcraft/.semver/refactor-snapcraft with force:False 15:55:47 2023-03-16 15:55:46,803 [write_file] DEBUG write to file:/w/workspace/_onvif-camera_refactor-snapcraft/.semver/refactor-snapcraft 15:55:47 2023-03-16 15:55:46,809 [execute] INFO git cat-file --batch-check 15:55:47 2023-03-16 15:55:46,810 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/_onvif-camera_refactor-snapcraft/.semver, universal_newlines=False, shell=None, istream=) 15:55:47 2023-03-16 15:55:46,815 [execute] INFO git cat-file --batch 15:55:47 2023-03-16 15:55:46,815 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/_onvif-camera_refactor-snapcraft/.semver, universal_newlines=False, shell=None, istream=) 15:55:47 2023-03-16 15:55:46,820 [read_version] DEBUG read version from /w/workspace/_onvif-camera_refactor-snapcraft/.semver/refactor-snapcraft 15:55:47 0.0.0 [Pipeline] } 15:55:47 $ docker exec --env ******** --env ******** d7369d56ea3707f3ff2396946fd7d1da185efbe39e12f2e88510e22a4f616c84 ssh-agent -k 15:55:47 unset SSH_AUTH_SOCK; 15:55:47 unset SSH_AGENT_PID; 15:55:47 echo Agent pid 76 killed; 15:55:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:55:47 + git semver [Pipeline] } 15:55:47 $ docker stop --time=1 d7369d56ea3707f3ff2396946fd7d1da185efbe39e12f2e88510e22a4f616c84 15:55:49 $ docker rm -f --volumes d7369d56ea3707f3ff2396946fd7d1da185efbe39e12f2e88510e22a4f616c84 [Pipeline] // withDockerContainer [Pipeline] sh 15:55:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:55:49 Stashed 1 file(s) [Pipeline] echo 15:55:49 [edgeXSemver]: initialized semver on version 0.0.0 [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 15:55:50 provisioning config files... 15:55:50 copy managed file [device-onvif-camera-settings] to file:/w/workspace/_onvif-camera_refactor-snapcraft@tmp/config5591250237302236189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:55:50 ---> docker-login.sh 15:55:50 nexus3.edgexfoundry.org:10001 15:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:50 Configure a credential helper to remove this warning. See 15:55:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:50 15:55:50 Login Succeeded 15:55:50 nexus3.edgexfoundry.org:10002 15:55:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:50 Configure a credential helper to remove this warning. See 15:55:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:50 15:55:50 Login Succeeded 15:55:50 nexus3.edgexfoundry.org:10003 15:55:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:51 Configure a credential helper to remove this warning. See 15:55:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:51 15:55:51 Login Succeeded 15:55:51 nexus3.edgexfoundry.org:10004 15:55:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:51 Configure a credential helper to remove this warning. See 15:55:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:51 15:55:51 Login Succeeded 15:55:51 docker.io 15:55:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:51 Configure a credential helper to remove this warning. See 15:55:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:51 15:55:51 Login Succeeded 15:55:51 ---> docker-login.sh ends [Pipeline] } 15:55:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:55:51 [edgeX.isLTS] Checking if [refactor-snapcraft] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:55:51 [edgeX.isLTS] Checking if [refactor-snapcraft] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:55:51 ========================================================= 15:55:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:55:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:52 + 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 . 15:55:52 Sending build context to Docker daemon 27.88MB 15:55:52 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 15:55:52 Step 2/13 : FROM ${BASE} AS builder 15:55:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:55:52 63b65145d645: Pulling fs layer 15:55:52 a2d21d5440eb: Pulling fs layer 15:55:52 935e6c44a52c: Pulling fs layer 15:55:52 94cc34f8dd06: Pulling fs layer 15:55:52 30dea6a524f1: Pulling fs layer 15:55:52 a2aff8979fd8: Pulling fs layer 15:55:52 6808be2612f2: Pulling fs layer 15:55:52 f25807f1079a: Pulling fs layer 15:55:52 6808be2612f2: Waiting 15:55:52 a2d21d5440eb: Download complete 15:55:52 94cc34f8dd06: Verifying Checksum 15:55:52 94cc34f8dd06: Download complete 15:55:52 30dea6a524f1: Verifying Checksum 15:55:52 30dea6a524f1: Download complete 15:55:52 63b65145d645: Verifying Checksum 15:55:52 63b65145d645: Download complete 15:55:52 a2aff8979fd8: Verifying Checksum 15:55:52 a2aff8979fd8: Download complete 15:55:52 63b65145d645: Pull complete 15:55:52 a2d21d5440eb: Pull complete 15:55:53 935e6c44a52c: Verifying Checksum 15:55:53 935e6c44a52c: Download complete 15:55:53 f25807f1079a: Verifying Checksum 15:55:53 f25807f1079a: Download complete 15:55:53 6808be2612f2: Verifying Checksum 15:55:53 6808be2612f2: Download complete 15:55:56 935e6c44a52c: Pull complete 15:55:56 94cc34f8dd06: Pull complete 15:55:56 30dea6a524f1: Pull complete 15:55:56 a2aff8979fd8: Pull complete 15:55:58 6808be2612f2: Pull complete 15:55:58 f25807f1079a: Pull complete 15:55:58 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 15:55:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:55:58 ---> 3b553350e43f 15:55:58 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:56:00 ---> Running in 0c9d356bc513 15:56:00 Removing intermediate container 0c9d356bc513 15:56:00 ---> 8ac0b0ea8d50 15:56:00 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:56:00 ---> Running in 177769fd394a 15:56:00 Removing intermediate container 177769fd394a 15:56:00 ---> 9d1dd86bfd84 15:56:00 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 15:56:00 ---> Running in ebe3cce4ae90 15:56:01 Removing intermediate container ebe3cce4ae90 15:56:01 ---> b903dcf63f0f 15:56:01 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 15:56:01 ---> Running in 95153a0bf951 15:56:01 Removing intermediate container 95153a0bf951 15:56:01 ---> 97b8b254c241 15:56:01 Step 7/13 : LABEL Name=edgex-device-onvif-camera 15:56:01 ---> Running in d1592b847782 15:56:01 Removing intermediate container d1592b847782 15:56:01 ---> 5b715758819d 15:56:01 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:56:01 ---> Running in 5c145fc178af 15:56:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:56:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:56:01 OK: 265 MiB in 53 packages 15:56:02 Removing intermediate container 5c145fc178af 15:56:02 ---> 8dd774b17196 15:56:02 Step 9/13 : WORKDIR /device-onvif-camera 15:56:02 ---> Running in 6f85799b42f7 15:56:02 Removing intermediate container 6f85799b42f7 15:56:02 ---> 5c42828d0752 15:56:02 Step 10/13 : COPY go.mod vendor* ./ 15:56:02 ---> 4a08377034fa 15:56:02 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:56:02 ---> Running in 3b0fbbe76f46 15:56:05 Still waiting to schedule task 15:56:05 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:56:24 Removing intermediate container 3b0fbbe76f46 15:56:24 ---> 529c301b6513 15:56:24 Step 12/13 : COPY . . 15:56:24 ---> 01982cddd20d 15:56:24 Step 13/13 : RUN ${MAKE} 15:56:24 ---> Running in 11d3c3db9cb3 15:56:24 noop 15:56:24 Removing intermediate container 11d3c3db9cb3 15:56:24 ---> 381f3cfdaf9d 15:56:24 Successfully built 381f3cfdaf9d 15:56:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:24 + docker inspect -f . ci-base-image-x86_64 15:56:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:24 prd-ubuntu20.04-docker-8c-8g-2471 does not seem to be running inside a container 15:56:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/_onvif-camera_refactor-snapcraft -v /w/workspace/_onvif-camera_refactor-snapcraft:/w/workspace/_onvif-camera_refactor-snapcraft:rw,z -v /w/workspace/_onvif-camera_refactor-snapcraft@tmp:/w/workspace/_onvif-camera_refactor-snapcraft@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 ******** ci-base-image-x86_64 cat 15:56:25 $ docker top 562903253a216425e91a63acf84e7f2f643beb1a666f7a6752bf9dc05e3402ba -eo pid,comm [Pipeline] { [Pipeline] sh 15:56:25 + go version 15:56:25 go version go1.20.2 linux/amd64 [Pipeline] } 15:56:25 $ docker stop --time=1 562903253a216425e91a63acf84e7f2f643beb1a666f7a6752bf9dc05e3402ba 15:56:26 $ docker rm -f --volumes 562903253a216425e91a63acf84e7f2f643beb1a666f7a6752bf9dc05e3402ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:27 + docker inspect -f . ci-base-image-x86_64 15:56:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:27 prd-ubuntu20.04-docker-8c-8g-2471 does not seem to be running inside a container 15:56:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/_onvif-camera_refactor-snapcraft -v /w/workspace/_onvif-camera_refactor-snapcraft:/w/workspace/_onvif-camera_refactor-snapcraft:rw,z -v /w/workspace/_onvif-camera_refactor-snapcraft@tmp:/w/workspace/_onvif-camera_refactor-snapcraft@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 ******** ci-base-image-x86_64 cat 15:56:28 $ docker top 4192af454e1468f89825eee00ed2c1d1f8f11e0d00a2e5699ac4b85bbf5add8a -eo pid,comm [Pipeline] { [Pipeline] sh 15:56:28 + git config --global --add safe.directory /w/workspace/_onvif-camera_refactor-snapcraft [Pipeline] fileExists [Pipeline] sh 15:56:28 + make test 15:56:28 go test ./... -coverprofile=coverage.out ./... 15:56:32 ? github.com/edgexfoundry/device-onvif-camera [no test files] 15:56:42 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 15:56:43 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 15:56:45 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 30.5% of statements 15:56:45 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.084s coverage: 86.5% of statements 15:56:53 go vet ./... 15:56:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:56:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:56:57 ./bin/test-attribution-txt.sh [Pipeline] echo 15:56:57 [edgeX.isLTS] Checking if [refactor-snapcraft] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:56:57 $ docker stop --time=1 4192af454e1468f89825eee00ed2c1d1f8f11e0d00a2e5699ac4b85bbf5add8a 15:56:59 $ docker rm -f --volumes 4192af454e1468f89825eee00ed2c1d1f8f11e0d00a2e5699ac4b85bbf5add8a [Pipeline] // withDockerContainer [Pipeline] sh 15:56:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:56:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:57:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:57:00 + ls -al . 15:57:00 total 232 15:57:00 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 15:56 . 15:57:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:55 .. 15:57:00 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 15:55 .git 15:57:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:55 .github 15:57:00 -rw-rw-r-- 1 jenkins jenkins 496 Mar 16 15:55 .gitignore 15:57:00 -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 15:55 .golangci.yml 15:57:00 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 15:55 .semver 15:57:00 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 16 15:55 Attribution.txt 15:57:00 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 16 15:55 CHANGELOG.md 15:57:00 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 16 15:55 Dockerfile 15:57:00 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 15:55 GOVERNANCE.md 15:57:00 -rw-rw-r-- 1 jenkins jenkins 734 Mar 16 15:55 Jenkinsfile 15:57:00 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 16 15:55 LICENSE 15:57:00 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 16 15:55 Makefile 15:57:00 -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 15:55 OWNERS.md 15:57:00 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 16 15:55 README.md 15:57:00 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 15:55 VERSION 15:57:00 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 15:55 bin 15:57:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:55 cmd 15:57:00 -rw-r--r-- 1 jenkins jenkins 76650 Mar 16 15:56 coverage.out 15:57:00 drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 15:55 doc 15:57:00 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 16 15:55 go.mod 15:57:00 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 16 15:55 go.sum 15:57:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:55 internal 15:57:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:55 snap 15:57:00 -rw-rw-r-- 1 jenkins jenkins 236 Mar 16 15:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:01 + 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=b19be15f1aae5ce963d99b90e51172ceff0b476d --label arch=amd64 --label version=0.0.0 . 15:57:01 Sending build context to Docker daemon 27.95MB 15:57:01 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 15:57:01 Step 2/26 : FROM ${BASE} AS builder 15:57:01 ---> 381f3cfdaf9d 15:57:01 Step 3/26 : ARG ADD_BUILD_TAGS="" 15:57:01 ---> Running in d1b7df97e94a 15:57:01 Removing intermediate container d1b7df97e94a 15:57:01 ---> 81214e94f10d 15:57:01 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:57:01 ---> Running in d5a35ea8088f 15:57:01 Removing intermediate container d5a35ea8088f 15:57:01 ---> b1204b0025cb 15:57:01 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 15:57:01 ---> Running in b93d8cccf16d 15:57:01 Removing intermediate container b93d8cccf16d 15:57:01 ---> 9b0c658804ae 15:57:01 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 15:57:01 ---> Running in 73eb01a890ee 15:57:01 Removing intermediate container 73eb01a890ee 15:57:01 ---> f6fb7dff515c 15:57:01 Step 7/26 : LABEL Name=edgex-device-onvif-camera 15:57:01 ---> Running in ff52fdf5d044 15:57:01 Removing intermediate container ff52fdf5d044 15:57:01 ---> 73c949ec57b7 15:57:01 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:57:01 ---> Running in dffb892b210a 15:57:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:57:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:57:02 OK: 265 MiB in 53 packages 15:57:02 Removing intermediate container dffb892b210a 15:57:02 ---> e4275d147776 15:57:02 Step 9/26 : WORKDIR /device-onvif-camera 15:57:02 ---> Running in f306780aa968 15:57:02 Removing intermediate container f306780aa968 15:57:02 ---> a3016831c2ff 15:57:02 Step 10/26 : COPY go.mod vendor* ./ 15:57:02 ---> b74efc0be026 15:57:02 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:57:02 ---> Running in 0c173fe5d5c1 15:57:03 Removing intermediate container 0c173fe5d5c1 15:57:03 ---> 76507dbfd3d8 15:57:03 Step 12/26 : COPY . . 15:57:04 ---> f01b705283a8 15:57:04 Step 13/26 : RUN ${MAKE} 15:57:04 ---> Running in 2ae9d49aee1a 15:57:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 15:57:22 Removing intermediate container 2ae9d49aee1a 15:57:22 ---> d48fe04c992a 15:57:22 Step 14/26 : FROM alpine:3.17 15:57:22 3.17: Pulling from library/alpine 15:57:22 63b65145d645: Already exists 15:57:22 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 15:57:22 Status: Downloaded newer image for alpine:3.17 15:57:22 ---> b2aa39c304c2 15:57:22 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 15:57:22 ---> Running in ff59bdfb8214 15:57:22 Removing intermediate container ff59bdfb8214 15:57:22 ---> 05d1ddea5daa 15:57:22 Step 16/26 : RUN apk add --update --no-cache dumb-init 15:57:22 ---> Running in 991ceeb5bbd5 15:57:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:57:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:57:22 (1/1) Installing dumb-init (1.2.5-r2) 15:57:22 Executing busybox-1.35.0-r29.trigger 15:57:22 OK: 7 MiB in 16 packages 15:57:22 Removing intermediate container 991ceeb5bbd5 15:57:22 ---> 1dd6d3a502df 15:57:22 Step 17/26 : WORKDIR / 15:57:22 ---> Running in 89272d276cb3 15:57:22 Removing intermediate container 89272d276cb3 15:57:22 ---> 9b41dd07b8af 15:57:22 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 15:57:23 ---> fe7063bf04cb 15:57:23 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 15:57:23 ---> 890cded0c26b 15:57:23 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 15:57:23 ---> b9bd7945640b 15:57:23 Step 21/26 : EXPOSE 59984 15:57:23 ---> Running in bb99136f795b 15:57:23 Removing intermediate container bb99136f795b 15:57:23 ---> 4f477673b274 15:57:23 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 15:57:23 ---> Running in 2f2305dbddf5 15:57:23 Removing intermediate container 2f2305dbddf5 15:57:23 ---> b69da449d37b 15:57:23 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:57:23 ---> Running in 82ec1cc3d9be 15:57:23 Removing intermediate container 82ec1cc3d9be 15:57:23 ---> 00dbf5c4994f 15:57:23 Step 24/26 : LABEL arch=amd64 15:57:23 ---> Running in 7d0f63c98fcf 15:57:23 Removing intermediate container 7d0f63c98fcf 15:57:23 ---> 8e3dc0676429 15:57:23 Step 25/26 : LABEL git_sha=b19be15f1aae5ce963d99b90e51172ceff0b476d 15:57:23 ---> Running in 5c67df2f96a5 15:57:24 Removing intermediate container 5c67df2f96a5 15:57:24 ---> cef0c67a5380 15:57:24 Step 26/26 : LABEL version=0.0.0 15:57:24 ---> Running in 1c1f777a5a3c 15:57:24 Removing intermediate container 1c1f777a5a3c 15:57:24 ---> 2b5c751a3acb 15:57:24 [Warning] One or more build-args [ARCH] were not consumed 15:57:24 Successfully built 2b5c751a3acb 15:57:24 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:57:24 15:57:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:57:25 latest: Pulling from edgex-lftools-log-publisher 15:57:25 5eb5b503b376: Pulling fs layer 15:57:25 5c69ac0246d0: Pulling fs layer 15:57:25 ec43610c2a17: Pulling fs layer 15:57:25 3a2ae6a8a46f: Pulling fs layer 15:57:25 33b1e0a273af: Pulling fs layer 15:57:25 5d3b04190fa2: Pulling fs layer 15:57:25 2f39f015ded8: Pulling fs layer 15:57:25 33b1e0a273af: Waiting 15:57:25 3a2ae6a8a46f: Waiting 15:57:25 5d3b04190fa2: Waiting 15:57:25 5c69ac0246d0: Download complete 15:57:25 3a2ae6a8a46f: Download complete 15:57:25 33b1e0a273af: Verifying Checksum 15:57:25 33b1e0a273af: Download complete 15:57:25 5d3b04190fa2: Verifying Checksum 15:57:25 5d3b04190fa2: Download complete 15:57:25 ec43610c2a17: Verifying Checksum 15:57:25 ec43610c2a17: Download complete 15:57:25 5eb5b503b376: Download complete 15:57:26 2f39f015ded8: Download complete 15:57:26 5eb5b503b376: Pull complete 15:57:26 5c69ac0246d0: Pull complete 15:57:27 ec43610c2a17: Pull complete 15:57:27 3a2ae6a8a46f: Pull complete 15:57:27 33b1e0a273af: Pull complete 15:57:27 5d3b04190fa2: Pull complete 15:57:31 2f39f015ded8: Pull complete 15:57:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:57:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:57:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:31 prd-ubuntu20.04-docker-8c-8g-2471 does not seem to be running inside a container 15:57:31 $ 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/_onvif-camera_refactor-snapcraft -v /w/workspace/_onvif-camera_refactor-snapcraft:/w/workspace/_onvif-camera_refactor-snapcraft:rw,z -v /w/workspace/_onvif-camera_refactor-snapcraft@tmp:/w/workspace/_onvif-camera_refactor-snapcraft@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-lftools-log-publisher:latest cat 15:57:32 $ docker top ef0d19858ab01ffc771950c78898486772bc243ed6077661e626d31aed544e68 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:57:33 ---> job-cost.sh 15:57:33 lf-activate-venv: SKIPPING 15:57:33 INFO: No Stack... 15:57:33 INFO: Retrieving Pricing Info for: v3-standard-8 15:57:33 INFO: Archiving Costs [Pipeline] sh 15:57:34 + cat /w/workspace/_onvif-camera_refactor-snapcraft/archives/cost.csv 15:57:34 + cut -d, -f6 [Pipeline] lock 15:57:34 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-refactor-snapcraft-1-stack-cost] 15:57:34 Resource [jenkins-edgexfoundry-device-onvif-camera-refactor-snapcraft-1-stack-cost] did not exist. Created. 15:57:34 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-refactor-snapcraft-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:57:34 + echo total: 0.2199999988079071 [Pipeline] stash 15:57:34 Stashed 1 file(s) [Pipeline] } 15:57:34 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-refactor-snapcraft-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:57:34 $ docker stop --time=1 ef0d19858ab01ffc771950c78898486772bc243ed6077661e626d31aed544e68 15:57:35 $ docker rm -f --volumes ef0d19858ab01ffc771950c78898486772bc243ed6077661e626d31aed544e68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:58:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2472 in /w/workspace/_onvif-camera_refactor-snapcraft [Pipeline] { [Pipeline] ws 15:58:01 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 15:58:01 The recommended git tool is: git 15:58:08 using credential edgex-jenkins-ssh 15:58:08 Cloning the remote Git repository 15:58:08 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 15:58:08 > git init /w/workspace/device-onvif-camera/1 # timeout=10 15:58:08 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 15:58:08 > git --version # timeout=10 15:58:08 > git --version # 'git version 2.25.1' 15:58:08 using GIT_SSH to set credentials SSH Credentials for GitHub 15:58:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:58:11 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 15:58:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:58:12 Avoid second fetch 15:58:12 Checking out Revision b19be15f1aae5ce963d99b90e51172ceff0b476d (refactor-snapcraft) 15:58:13 Commit message: "ci: Change dependabot gomod schedule to daily (#264)" 15:58:13 > git --version # timeout=10 15:58:13 > git --version # 'git version 2.25.1' 15:58:13 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 15:58:12 > git config core.sparsecheckout # timeout=10 15:58:12 > git checkout -f b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:58:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:58:14 % Total % Received % Xferd Average Speed Time Time Time Current 15:58:14 Dload Upload Total Spent Left Speed 15:58:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh 15:58:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:58:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:58:15 + sudo tee /etc/docker/daemon.new 15:58:15 { 15:58:15 "registry-mirrors": [ 15:58:15 "https://nexus3.edgexfoundry.org:10001" 15:58:15 ], 15:58:15 "bip": "10.250.0.254/24", 15:58:15 "hosts": [ 15:58:15 "tcp://0.0.0.0:5555", 15:58:15 "unix:///var/run/docker.sock" 15:58:15 ], 15:58:15 "mtu": 1458, 15:58:15 "selinux-enabled": true, 15:58:15 "seccomp-profile": "/etc/docker/seccomp.json" 15:58:15 } [Pipeline] sh 15:58:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:58:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:35 provisioning config files... 15:58:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config5112118190260089084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:35 ---> docker-login.sh 15:58:35 nexus3.edgexfoundry.org:10001 15:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:36 Configure a credential helper to remove this warning. See 15:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:36 15:58:36 Login Succeeded 15:58:36 nexus3.edgexfoundry.org:10002 15:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:36 Configure a credential helper to remove this warning. See 15:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:36 15:58:36 Login Succeeded 15:58:36 nexus3.edgexfoundry.org:10003 15:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:36 Configure a credential helper to remove this warning. See 15:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:36 15:58:36 Login Succeeded 15:58:36 nexus3.edgexfoundry.org:10004 15:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:37 Configure a credential helper to remove this warning. See 15:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:37 15:58:37 Login Succeeded 15:58:37 docker.io 15:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:37 Configure a credential helper to remove this warning. See 15:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:37 15:58:37 Login Succeeded 15:58:37 ---> docker-login.sh ends [Pipeline] } 15:58:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:58:38 [edgeX.isLTS] Checking if [refactor-snapcraft] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:38 [edgeX.isLTS] Checking if [refactor-snapcraft] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:38 ========================================================= 15:58:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:58:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:38 + 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 . 15:58:39 Sending build context to Docker daemon 20.62MB 15:58:39 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 15:58:39 Step 2/13 : FROM ${BASE} AS builder 15:58:39 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:58:39 af6eaf76a39c: Pulling fs layer 15:58:39 55522c791124: Pulling fs layer 15:58:39 ce5c4a1c91eb: Pulling fs layer 15:58:39 169dfbe0d373: Pulling fs layer 15:58:39 e1ff8fa3b103: Pulling fs layer 15:58:39 52ebb69f0ebf: Pulling fs layer 15:58:39 5abe8eddf0d5: Pulling fs layer 15:58:39 e1ff8fa3b103: Waiting 15:58:39 52ebb69f0ebf: Waiting 15:58:39 5abe8eddf0d5: Waiting 15:58:39 169dfbe0d373: Waiting 15:58:39 55522c791124: Verifying Checksum 15:58:39 55522c791124: Download complete 15:58:39 169dfbe0d373: Verifying Checksum 15:58:39 169dfbe0d373: Download complete 15:58:39 e1ff8fa3b103: Verifying Checksum 15:58:39 e1ff8fa3b103: Download complete 15:58:39 af6eaf76a39c: Download complete 15:58:40 af6eaf76a39c: Pull complete 15:58:41 5abe8eddf0d5: Verifying Checksum 15:58:41 5abe8eddf0d5: Download complete 15:58:41 55522c791124: Pull complete 15:58:42 52ebb69f0ebf: Verifying Checksum 15:58:42 52ebb69f0ebf: Download complete 15:58:42 ce5c4a1c91eb: Verifying Checksum 15:58:42 ce5c4a1c91eb: Download complete 15:58:52 ce5c4a1c91eb: Pull complete 15:58:52 169dfbe0d373: Pull complete 15:58:53 e1ff8fa3b103: Pull complete 15:58:59 52ebb69f0ebf: Pull complete 15:59:02 5abe8eddf0d5: Pull complete 15:59:02 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 15:59:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:59:02 ---> 6cb57ee374ae 15:59:02 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:59:04 ---> Running in 840783b7b434 15:59:04 Removing intermediate container 840783b7b434 15:59:04 ---> 494506d1b238 15:59:04 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:59:04 ---> Running in 5e4541121e7b 15:59:05 Removing intermediate container 5e4541121e7b 15:59:05 ---> 9e9334481af0 15:59:05 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 15:59:05 ---> Running in cfc60b88c514 15:59:05 Removing intermediate container cfc60b88c514 15:59:05 ---> 5dc6dd70e4ea 15:59:05 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 15:59:05 ---> Running in df373c1f000d 15:59:06 Removing intermediate container df373c1f000d 15:59:06 ---> e44cc25bc6c8 15:59:06 Step 7/13 : LABEL Name=edgex-device-onvif-camera 15:59:06 ---> Running in bd9aaafab760 15:59:06 Removing intermediate container bd9aaafab760 15:59:06 ---> abc9fc050518 15:59:06 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:59:06 ---> Running in bed371497620 15:59:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:59:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:59:09 OK: 263 MiB in 53 packages 15:59:10 Removing intermediate container bed371497620 15:59:10 ---> 98fecff25a7e 15:59:10 Step 9/13 : WORKDIR /device-onvif-camera 15:59:10 ---> Running in 32819ae1741c 15:59:10 Removing intermediate container 32819ae1741c 15:59:10 ---> cf932b93c769 15:59:10 Step 10/13 : COPY go.mod vendor* ./ 15:59:11 ---> cdfd9b75961f 15:59:11 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:59:11 ---> Running in 2662730be739 16:00:19 Removing intermediate container 2662730be739 16:00:19 ---> dc2a254e5b51 16:00:19 Step 12/13 : COPY . . 16:00:19 ---> f619f46839f6 16:00:19 Step 13/13 : RUN ${MAKE} 16:00:19 ---> Running in f20dbb5552e2 16:00:19 noop 16:00:19 Removing intermediate container f20dbb5552e2 16:00:19 ---> b4147ced452e 16:00:19 Successfully built b4147ced452e 16:00:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:20 + docker inspect -f . ci-base-image-arm64 16:00:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:20 prd-ubuntu20.04-docker-arm64-4c-16g-2472 does not seem to be running inside a container 16:00:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 16:00:21 $ docker top 5ca25a1a02cc036d3e607b31615f0e0ca65c0afea5fb24e17dff450efe276cba -eo pid,comm [Pipeline] { [Pipeline] sh 16:00:22 + go version 16:00:22 go version go1.20.2 linux/arm64 [Pipeline] } 16:00:22 $ docker stop --time=1 5ca25a1a02cc036d3e607b31615f0e0ca65c0afea5fb24e17dff450efe276cba 16:00:24 $ docker rm -f --volumes 5ca25a1a02cc036d3e607b31615f0e0ca65c0afea5fb24e17dff450efe276cba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:25 + docker inspect -f . ci-base-image-arm64 16:00:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:25 prd-ubuntu20.04-docker-arm64-4c-16g-2472 does not seem to be running inside a container 16:00:25 $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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 ******** ci-base-image-arm64 cat 16:00:26 $ docker top a0650e3af05ea5ff076ea28792d38e5443b445b07df46cdcde665d88b451e312 -eo pid,comm [Pipeline] { [Pipeline] sh 16:00:27 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 16:00:27 + make test 16:00:27 go test ./... -coverprofile=coverage.out ./... 16:01:06 ? github.com/edgexfoundry/device-onvif-camera [no test files] 16:03:43 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 16:03:43 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 16:03:43 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.218s coverage: 30.5% of statements 16:04:15 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.029s coverage: 86.5% of statements 16:04:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:04:15 go vet ./... 16:04:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:04:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:04:42 ./bin/test-attribution-txt.sh [Pipeline] echo 16:04:42 [edgeX.isLTS] Checking if [refactor-snapcraft] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:04:42 $ docker stop --time=1 a0650e3af05ea5ff076ea28792d38e5443b445b07df46cdcde665d88b451e312 16:04:44 $ docker rm -f --volumes a0650e3af05ea5ff076ea28792d38e5443b445b07df46cdcde665d88b451e312 [Pipeline] // withDockerContainer [Pipeline] sh 16:04:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:04:45 Warning: overwriting stash ‘coverage-report’ 16:04:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:04:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:04:47 + ls -al . 16:04:47 total 228 16:04:47 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 16:00 . 16:04:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:58 .. 16:04:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 15:58 .git 16:04:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:58 .github 16:04:47 -rw-rw-r-- 1 jenkins jenkins 496 Mar 16 15:58 .gitignore 16:04:47 -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 15:58 .golangci.yml 16:04:47 -rw-rw-r-- 1 jenkins jenkins 9857 Mar 16 15:58 Attribution.txt 16:04:47 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 16 15:58 CHANGELOG.md 16:04:47 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 16 15:58 Dockerfile 16:04:47 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 15:58 GOVERNANCE.md 16:04:47 -rw-rw-r-- 1 jenkins jenkins 734 Mar 16 15:58 Jenkinsfile 16:04:47 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 16 15:58 LICENSE 16:04:47 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 16 15:58 Makefile 16:04:47 -rw-rw-r-- 1 jenkins jenkins 625 Mar 16 15:58 OWNERS.md 16:04:47 -rw-rw-r-- 1 jenkins jenkins 5931 Mar 16 15:58 README.md 16:04:47 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 15:55 VERSION 16:04:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 15:58 bin 16:04:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 15:58 cmd 16:04:47 -rw-r--r-- 1 jenkins jenkins 76650 Mar 16 16:04 coverage.out 16:04:47 drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 15:58 doc 16:04:47 -rw-rw-r-- 1 jenkins jenkins 3601 Mar 16 15:58 go.mod 16:04:47 -rw-rw-r-- 1 jenkins jenkins 32890 Mar 16 15:58 go.sum 16:04:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:58 internal 16:04:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 15:58 snap 16:04:47 -rw-rw-r-- 1 jenkins jenkins 236 Mar 16 15:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:47 + 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=b19be15f1aae5ce963d99b90e51172ceff0b476d --label arch=arm64 --label version=0.0.0 . 16:04:48 Sending build context to Docker daemon 20.7MB 16:04:48 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 16:04:48 Step 2/26 : FROM ${BASE} AS builder 16:04:48 ---> b4147ced452e 16:04:48 Step 3/26 : ARG ADD_BUILD_TAGS="" 16:04:48 ---> Running in bdb8fad717f2 16:04:48 Removing intermediate container bdb8fad717f2 16:04:48 ---> 82db4b44dde6 16:04:48 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:04:48 ---> Running in b67bca4c9009 16:04:49 Removing intermediate container b67bca4c9009 16:04:49 ---> d48110afcb84 16:04:49 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 16:04:49 ---> Running in d0c0944690b1 16:04:49 Removing intermediate container d0c0944690b1 16:04:49 ---> 2305265e47e2 16:04:49 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 16:04:49 ---> Running in 31da3de77b98 16:04:49 Removing intermediate container 31da3de77b98 16:04:49 ---> b8c8cedb9cab 16:04:49 Step 7/26 : LABEL Name=edgex-device-onvif-camera 16:04:49 ---> Running in a0d9f6c61c8e 16:04:50 Removing intermediate container a0d9f6c61c8e 16:04:50 ---> 6368d0decbe8 16:04:50 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:04:50 ---> Running in eb9176ea64ac 16:04:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:04:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:04:53 OK: 263 MiB in 53 packages 16:04:53 Removing intermediate container eb9176ea64ac 16:04:53 ---> eb6ecf25631d 16:04:53 Step 9/26 : WORKDIR /device-onvif-camera 16:04:53 ---> Running in f89058f5c719 16:04:54 Removing intermediate container f89058f5c719 16:04:54 ---> cc82abf20d10 16:04:54 Step 10/26 : COPY go.mod vendor* ./ 16:04:54 ---> ea50c924b2f2 16:04:54 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:04:54 ---> Running in ff94931aee22 16:04:57 Removing intermediate container ff94931aee22 16:04:57 ---> 98254bb19b13 16:04:57 Step 12/26 : COPY . . 16:05:01 ---> 370cf6ff90a0 16:05:01 Step 13/26 : RUN ${MAKE} 16:05:01 ---> Running in f1b17812e27a 16:05:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 16:07:24 Removing intermediate container f1b17812e27a 16:07:24 ---> 628d89fc254a 16:07:24 Step 14/26 : FROM alpine:3.17 16:07:24 3.17: Pulling from library/alpine 16:07:24 af6eaf76a39c: Already exists 16:07:24 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:07:24 Status: Downloaded newer image for alpine:3.17 16:07:24 ---> d74e625d9115 16:07:24 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:07:24 ---> Running in 469a004b649d 16:07:24 Removing intermediate container 469a004b649d 16:07:24 ---> 10f07d2266cf 16:07:24 Step 16/26 : RUN apk add --update --no-cache dumb-init 16:07:24 ---> Running in e82eb922d722 16:07:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:07:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:07:25 (1/1) Installing dumb-init (1.2.5-r2) 16:07:25 Executing busybox-1.35.0-r29.trigger 16:07:25 OK: 8 MiB in 16 packages 16:07:26 Removing intermediate container e82eb922d722 16:07:26 ---> 2648007cb932 16:07:26 Step 17/26 : WORKDIR / 16:07:26 ---> Running in 8215c7bbaf6b 16:07:26 Removing intermediate container 8215c7bbaf6b 16:07:26 ---> 9f7b8e04eafb 16:07:26 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 16:07:28 ---> 01e88e3c8a5e 16:07:28 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 16:07:28 ---> b5372d9e1e08 16:07:28 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 16:07:29 ---> b4908ecb2347 16:07:29 Step 21/26 : EXPOSE 59984 16:07:29 ---> Running in 73e2a270d373 16:07:29 Removing intermediate container 73e2a270d373 16:07:29 ---> 952864771c0c 16:07:29 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 16:07:29 ---> Running in af6a8544d20b 16:07:29 Removing intermediate container af6a8544d20b 16:07:29 ---> b95713971db8 16:07:29 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:07:29 ---> Running in 32428d8a26f0 16:07:29 Removing intermediate container 32428d8a26f0 16:07:29 ---> 807dfde4b828 16:07:29 Step 24/26 : LABEL arch=arm64 16:07:29 ---> Running in 4e0d9be99347 16:07:30 Removing intermediate container 4e0d9be99347 16:07:30 ---> 58e88a375781 16:07:30 Step 25/26 : LABEL git_sha=b19be15f1aae5ce963d99b90e51172ceff0b476d 16:07:30 ---> Running in f7b772a1175f 16:07:30 Removing intermediate container f7b772a1175f 16:07:30 ---> 73ef6c50fe6c 16:07:30 Step 26/26 : LABEL version=0.0.0 16:07:30 ---> Running in e45f87c5f06e 16:07:30 Removing intermediate container e45f87c5f06e 16:07:30 ---> c88851782665 16:07:30 [Warning] One or more build-args [ARCH] were not consumed 16:07:30 Successfully built c88851782665 16:07:30 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:31 16:07:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:32 arm64: Pulling from edgex-lftools-log-publisher 16:07:32 8998bd30e6a1: Pulling fs layer 16:07:32 04944245beec: Pulling fs layer 16:07:32 699f458cf7ca: Pulling fs layer 16:07:32 765212b225bb: Pulling fs layer 16:07:32 f23df028b6ca: Pulling fs layer 16:07:32 d65c8cfc05b1: Pulling fs layer 16:07:32 2437ff75d9bd: Pulling fs layer 16:07:32 765212b225bb: Waiting 16:07:32 f23df028b6ca: Waiting 16:07:32 d65c8cfc05b1: Waiting 16:07:32 2437ff75d9bd: Waiting 16:07:32 04944245beec: Verifying Checksum 16:07:32 04944245beec: Download complete 16:07:32 765212b225bb: Verifying Checksum 16:07:32 765212b225bb: Download complete 16:07:32 f23df028b6ca: Verifying Checksum 16:07:32 f23df028b6ca: Download complete 16:07:32 d65c8cfc05b1: Verifying Checksum 16:07:32 d65c8cfc05b1: Download complete 16:07:32 699f458cf7ca: Verifying Checksum 16:07:32 699f458cf7ca: Download complete 16:07:33 8998bd30e6a1: Verifying Checksum 16:07:33 8998bd30e6a1: Download complete 16:07:34 2437ff75d9bd: Verifying Checksum 16:07:34 2437ff75d9bd: Download complete 16:07:36 8998bd30e6a1: Pull complete 16:07:36 04944245beec: Pull complete 16:07:37 699f458cf7ca: Pull complete 16:07:38 765212b225bb: Pull complete 16:07:38 f23df028b6ca: Pull complete 16:07:39 d65c8cfc05b1: Pull complete 16:07:51 2437ff75d9bd: Pull complete 16:07:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:07:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:51 prd-ubuntu20.04-docker-arm64-4c-16g-2472 does not seem to be running inside a container 16:07:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@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-lftools-log-publisher:arm64 cat 16:07:54 $ docker top 94102c8bffd0ecad39db6f6a31c63b2a5bbb4f5908c40061b46dbc3710fb3620 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:55 ---> job-cost.sh 16:07:55 lf-activate-venv: SKIPPING 16:07:55 INFO: No Stack... 16:07:55 INFO: Retrieving Pricing Info for: v3-standard-4 16:07:56 INFO: Archiving Costs [Pipeline] sh 16:07:57 + cat /w/workspace/device-onvif-camera/1/archives/cost.csv 16:07:57 + cut -d, -f6 [Pipeline] lock 16:07:57 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-refactor-snapcraft-1-stack-cost] 16:07:57 Resource [jenkins-edgexfoundry-device-onvif-camera-refactor-snapcraft-1-stack-cost] did not exist. Created. 16:07:57 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-refactor-snapcraft-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:07:57 /w/workspace/device-onvif-camera/1@tmp/durable-fa7f453d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:07:58 + echo total: 0.10999999940395355 [Pipeline] stash 16:07:58 Warning: overwriting stash ‘stack-cost’ 16:07:58 Stashed 1 file(s) [Pipeline] } 16:07:58 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-refactor-snapcraft-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:07:58 $ docker stop --time=1 94102c8bffd0ecad39db6f6a31c63b2a5bbb4f5908c40061b46dbc3710fb3620 16:08:01 $ docker rm -f --volumes 94102c8bffd0ecad39db6f6a31c63b2a5bbb4f5908c40061b46dbc3710fb3620 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 16:08:02 provisioning config files... 16:08:02 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/_onvif-camera_refactor-snapcraft@tmp/config9849827434723608666tmp [Pipeline] { [Pipeline] sh 16:08:03 + set +x 16:08:03 + curl -s https://codecov.io/bash 16:08:03 + bash -s -- 16:08:03 16:08:03 _____ _ 16:08:03 / ____| | | 16:08:03 | | ___ __| | ___ ___ _____ __ 16:08:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:08:03 | |___| (_) | (_| | __/ (_| (_) \ V / 16:08:03 \_____\___/ \__,_|\___|\___\___/ \_/ 16:08:03 Bash-1.0.6 16:08:03 16:08:03 16:08:03 ==> git version 2.25.1 found 16:08:03 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:08:03 Release-Date: 2020-01-08 16:08:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:08:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:08:03 ==> Jenkins CI detected. 16:08:03 current dir:  /w/workspace/_onvif-camera_refactor-snapcraft 16:08:03 project root: . 16:08:03 --> token set from env 16:08:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:08:03 ==> Running gcov in . (disable via -X gcov) 16:08:03 ==> Python coveragepy not found 16:08:03 ==> Searching for coverage reports in: 16:08:03 + . 16:08:03 -> Found 1 reports 16:08:03 ==> Detecting git/mercurial file structure 16:08:03 ==> Reading reports 16:08:03 + ./coverage.out bytes=76650 16:08:03 ==> Appending adjustments 16:08:03 https://docs.codecov.io/docs/fixing-reports 16:08:03 + Found adjustments 16:08:03 ==> Gzipping contents 16:08:03 12K /tmp/codecov.IIMsLP.gz 16:08:03 ==> Uploading reports 16:08:03 url: https://codecov.io 16:08:03 query: branch=refactor-snapcraft&commit=b19be15f1aae5ce963d99b90e51172ceff0b476d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Frefactor-snapcraft%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:08:03 -> Pinging Codecov 16:08:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=refactor-snapcraft&commit=b19be15f1aae5ce963d99b90e51172ceff0b476d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Frefactor-snapcraft%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 16:08:03 -> Uploading to 16:08:03 https://storage.googleapis.com/codecov/v4/raw/2023-03-16/F29A59C45E3A92E06B3E522C9905F8EF/b19be15f1aae5ce963d99b90e51172ceff0b476d/3d5ac158-d8b3-4bf7-b9a4-27b02478fc4e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T160803Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=49a7e25548d1425d840ea67ecdaf9d6a7be193b3be906ef844d57f81b63b5a20 16:08:03 % Total % Received % Xferd Average Speed Time Time Time Current 16:08:03 Dload Upload Total Spent Left Speed 16:08:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10354 0 0 100 10354 0 43687 --:--:-- --:--:-- --:--:-- 43687 16:08:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b19be15f1aae5ce963d99b90e51172ceff0b476d [Pipeline] } 16:08:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:08:05 + [ -d /w/workspace/_onvif-camera_refactor-snapcraft/archives ] 16:08:05 + ls -al /w/workspace/_onvif-camera_refactor-snapcraft/archives 16:08:05 total 16 16:08:05 drwxr-xr-x 3 root root 4096 Mar 16 15:57 . 16:08:05 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 15:57 .. 16:08:05 drwxr-xr-x 2 root root 4096 Mar 16 15:57 cost 16:08:05 -rw-r--r-- 1 root root 103 Mar 16 15:57 cost.csv 16:08:05 + sudo chown -R jenkins:jenkins /w/workspace/_onvif-camera_refactor-snapcraft/archives 16:08:05 + ls -al /w/workspace/_onvif-camera_refactor-snapcraft/archives 16:08:05 total 16 16:08:05 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 15:57 . 16:08:05 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 15:57 .. 16:08:05 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 15:57 cost 16:08:05 -rw-r--r-- 1 jenkins jenkins 103 Mar 16 15:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:08:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:08:06 ---> package-listing.sh 16:08:06 ++ facter osfamily 16:08:06 ++ tr '[:upper:]' '[:lower:]' 16:08:07 + OS_FAMILY=debian 16:08:07 + workspace=/w/workspace/_onvif-camera_refactor-snapcraft 16:08:07 + START_PACKAGES=/tmp/packages_start.txt 16:08:07 + END_PACKAGES=/tmp/packages_end.txt 16:08:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:08:07 + PACKAGES=/tmp/packages_start.txt 16:08:07 + '[' /w/workspace/_onvif-camera_refactor-snapcraft ']' 16:08:07 + PACKAGES=/tmp/packages_end.txt 16:08:07 + case "${OS_FAMILY}" in 16:08:07 + dpkg -l 16:08:07 + grep '^ii' 16:08:07 + '[' -f /tmp/packages_start.txt ']' 16:08:07 + '[' -f /tmp/packages_end.txt ']' 16:08:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:08:07 + '[' /w/workspace/_onvif-camera_refactor-snapcraft ']' 16:08:07 + mkdir -p /w/workspace/_onvif-camera_refactor-snapcraft/archives/ 16:08:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/_onvif-camera_refactor-snapcraft/archives/ [Pipeline] echo 16:08:07 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/_onvif-camera_refactor-snapcraft/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:08:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:08 prd-ubuntu20.04-docker-8c-8g-2471 does not seem to be running inside a container 16:08:08 $ 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/_onvif-camera_refactor-snapcraft/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/_onvif-camera_refactor-snapcraft -v /w/workspace/_onvif-camera_refactor-snapcraft:/w/workspace/_onvif-camera_refactor-snapcraft:rw,z -v /w/workspace/_onvif-camera_refactor-snapcraft@tmp:/w/workspace/_onvif-camera_refactor-snapcraft@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:08:08 $ docker top 84d47c4e5223dfe32689ed03e217e012f1c23b691a6e1e64fa16ddd1d329a22a -eo pid,comm [Pipeline] { [Pipeline] sh 16:08:08 + touch /tmp/pre-build-complete [Pipeline] sh 16:08:08 + mkdir -p /var/log/sysstat [Pipeline] sh 16:08:09 + ls /var/log/sa-host 16:08:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:08:09 provisioning config files... 16:08:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/_onvif-camera_refactor-snapcraft@tmp/config17667719278169991147tmp [Pipeline] { [Pipeline] echo 16:08:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:08:09 ---> create-netrc.sh [Pipeline] } 16:08:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:08:10 ---> python-tools-install.sh [Pipeline] echo 16:08:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:08:10 ---> sudo-logs.sh 16:08:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:08:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:08:10 ---> job-cost.sh 16:08:10 lf-activate-venv: SKIPPING 16:08:10 DEBUG: total: 0.2199999988079071 16:08:10 INFO: Retrieving Stack Cost... 16:08:11 INFO: Retrieving Pricing Info for: v3-standard-8 16:08:11 INFO: Archiving Costs [Pipeline] echo 16:08:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:08:12 ---> logs-deploy.sh 16:08:12 lf-activate-venv: SKIPPING 16:08:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/refactor-snapcraft/1 16:08:12 INFO: archiving workspace using pattern(s): 16:08:12 Archives upload complete. 16:08:12 INFO: archiving logs to Nexus