Pull request #200 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1777b6c60d31a55e45e041d6910c546355869369+96327e049a2d26e356251a4ee56d80af5c884d85 (7af0888aed54230205e600f7ca05e40f083be907) 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-ssh954402354699493776.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-ssh693742523208892719.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-usb-camera/branches/PR-200/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-usb-camera/branches/PR-200/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11765701449299433559.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-usb-camera/branches/PR-200/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14114877391382069278.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-ssh17728306105514509386.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-usb-camera/branches/PR-200/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-usb-camera/branches/PR-200/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2564252791094877483.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-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-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-usb-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: false SWAGGER_API_FOLDERS: openapi/v1 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-5253 in /w/workspace/foundry_device-usb-camera_PR-200 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-200 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 96327e049a2d26e356251a4ee56d80af5c884d85 into PR head commit 1777b6c60d31a55e45e041d6910c546355869369 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/200/head:refs/remotes/origin/PR-200 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 1777b6c60d31a55e45e041d6910c546355869369 Checking out Revision 1777b6c60d31a55e45e041d6910c546355869369 (PR-200) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 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 18:05:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:05:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:05:22 ========================================================= 18:05:22 EdgeX Global Pipelines Version Info 18:05:22 ========================================================= [Pipeline] libraryResource > git checkout -f 1777b6c60d31a55e45e041d6910c546355869369 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 96327e049a2d26e356251a4ee56d80af5c884d85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1777b6c60d31a55e45e041d6910c546355869369 # timeout=10 [Pipeline] sh 18:05:23 ------------------- 18:05:23 stable info: 18:05:23 ------------------- 18:05:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:05:23 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:05:23 Message: update stable to v1.0.245 18:05:24 ------------------- 18:05:24 experimental info: 18:05:24 ------------------- 18:05:24 Commited By: **** collab-it+edgex@linuxfoundation.org 18:05:24 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 18:05:24 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:05:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 18:05:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 18:05:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:05:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:05:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:05:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:05:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:05:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:05:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:05:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:05:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:05:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 18:05:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:05:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:05:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:05:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:05:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:05:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:05:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:05:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:05:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:05:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:05:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:05:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:05:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:05:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:05:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:05:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-200 [Pipeline] echo 18:05:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-200 [Pipeline] echo 18:05:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-200 [Pipeline] echo 18:05:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1777b6c60d31a55e45e041d6910c546355869369 [Pipeline] echo 18:05:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1777b6c [Pipeline] echo 18:05:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:05:25 provisioning config files... 18:05:25 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-200@tmp/config3896909772119101478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:26 ---> docker-login.sh 18:05:26 nexus3.edgexfoundry.org:10001 18:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:26 Configure a credential helper to remove this warning. See 18:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:26 18:05:26 Login Succeeded 18:05:26 nexus3.edgexfoundry.org:10002 18:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:26 Configure a credential helper to remove this warning. See 18:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:26 18:05:26 Login Succeeded 18:05:26 nexus3.edgexfoundry.org:10003 18:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:26 Configure a credential helper to remove this warning. See 18:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:26 18:05:26 Login Succeeded 18:05:26 nexus3.edgexfoundry.org:10004 18:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:26 Configure a credential helper to remove this warning. See 18:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:26 18:05:26 Login Succeeded 18:05:26 docker.io 18:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:27 Configure a credential helper to remove this warning. See 18:05:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:27 18:05:27 Login Succeeded 18:05:27 ---> docker-login.sh ends [Pipeline] } 18:05:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:05:27 + git rev-list -1 --merges 1777b6c60d31a55e45e041d6910c546355869369~1..1777b6c60d31a55e45e041d6910c546355869369 [Pipeline] echo 18:05:27 -----------> git rev-list -1 --merges 1777b6c60d31a55e45e041d6910c546355869369~1..1777b6c60d31a55e45e041d6910c546355869369 1777b6c60d31a55e45e041d6910c546355869369 [false] [Pipeline] sh 18:05:28 + git log --format=format:%s -1 1777b6c60d31a55e45e041d6910c546355869369 [Pipeline] echo 18:05:28 ========================================================= 18:05:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:05:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:05:28 + git log --format=format:%s -1 1777b6c60d31a55e45e041d6910c546355869369 [Pipeline] echo 18:05:28 [semverPrep] GIT_COMMIT: 1777b6c60d31a55e45e041d6910c546355869369, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 18:05:28 [semverPrep] This is not a build commit. [Pipeline] sh 18:05:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:05:29 + grep -v github /etc/ssh/ssh_known_hosts 18:05:29 + [ -e /tmp/ssh_known_hosts ] 18:05:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:05:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:05:29 + sudo tee -a /etc/ssh/ssh_known_hosts 18:05:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:05:29 18:05:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:05:29 0.1.4: Pulling from edgex-devops/py-git-semver 18:05:29 b85a868b505f: Pulling fs layer 18:05:29 e2be974225ed: Pulling fs layer 18:05:29 339a4e72a1f5: Pulling fs layer 18:05:29 988bab9f4d93: Pulling fs layer 18:05:29 1469e6f7b9e6: Pulling fs layer 18:05:29 eaf3925da568: Pulling fs layer 18:05:29 bab4dde63d76: Pulling fs layer 18:05:29 bde34c3a00c8: Pulling fs layer 18:05:29 b352a97aabf1: Pulling fs layer 18:05:29 4872d77fe225: Pulling fs layer 18:05:29 5851b861e8e6: Pulling fs layer 18:05:29 bab4dde63d76: Waiting 18:05:29 988bab9f4d93: Waiting 18:05:29 1469e6f7b9e6: Waiting 18:05:29 bde34c3a00c8: Waiting 18:05:29 eaf3925da568: Waiting 18:05:29 b352a97aabf1: Waiting 18:05:29 4872d77fe225: Waiting 18:05:29 e2be974225ed: Download complete 18:05:29 988bab9f4d93: Download complete 18:05:30 1469e6f7b9e6: Verifying Checksum 18:05:30 1469e6f7b9e6: Download complete 18:05:30 339a4e72a1f5: Verifying Checksum 18:05:30 339a4e72a1f5: Download complete 18:05:30 eaf3925da568: Download complete 18:05:30 bde34c3a00c8: Download complete 18:05:30 b352a97aabf1: Verifying Checksum 18:05:30 b352a97aabf1: Download complete 18:05:30 4872d77fe225: Verifying Checksum 18:05:30 4872d77fe225: Download complete 18:05:30 5851b861e8e6: Verifying Checksum 18:05:30 5851b861e8e6: Download complete 18:05:30 b85a868b505f: Verifying Checksum 18:05:30 b85a868b505f: Download complete 18:05:30 bab4dde63d76: Verifying Checksum 18:05:30 bab4dde63d76: Download complete 18:05:31 b85a868b505f: Pull complete 18:05:31 e2be974225ed: Pull complete 18:05:32 339a4e72a1f5: Pull complete 18:05:32 988bab9f4d93: Pull complete 18:05:32 1469e6f7b9e6: Pull complete 18:05:32 eaf3925da568: Pull complete 18:05:34 bab4dde63d76: Pull complete 18:05:34 bde34c3a00c8: Pull complete 18:05:34 b352a97aabf1: Pull complete 18:05:34 4872d77fe225: Pull complete 18:05:34 5851b861e8e6: Pull complete 18:05:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:05:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:05:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:34 prd-ubuntu20.04-docker-8c-8g-5253 does not seem to be running inside a container 18:05:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-200 -v /w/workspace/foundry_device-usb-camera_PR-200:/w/workspace/foundry_device-usb-camera_PR-200:rw,z -v /w/workspace/foundry_device-usb-camera_PR-200@tmp:/w/workspace/foundry_device-usb-camera_PR-200@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:05:36 $ docker top 0fe88dee913b7bc2d7c496146d6c5034763e2cae3f49077c58cd8628bb002f0c -eo pid,comm 18:05:36 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:05:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:05:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:05:36 [ssh-agent] Looking for ssh-agent implementation... 18:05:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:05:36 $ docker exec 0fe88dee913b7bc2d7c496146d6c5034763e2cae3f49077c58cd8628bb002f0c ssh-agent 18:05:36 SSH_AUTH_SOCK=/tmp/ssh-NsGyTp2sozHv/agent.33 18:05:36 SSH_AGENT_PID=39 18:05:36 Running ssh-add (command line suppressed) 18:05:36 Identity added: /w/workspace/foundry_device-usb-camera_PR-200@tmp/private_key_7672377211819500012.key (/w/workspace/foundry_device-usb-camera_PR-200@tmp/private_key_7672377211819500012.key) 18:05:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:05:37 + git tag --points-at HEAD [Pipeline] } 18:05:37 $ docker exec --env ******** --env ******** 0fe88dee913b7bc2d7c496146d6c5034763e2cae3f49077c58cd8628bb002f0c ssh-agent -k 18:05:37 unset SSH_AUTH_SOCK; 18:05:37 unset SSH_AGENT_PID; 18:05:37 echo Agent pid 39 killed; 18:05:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:05:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:05:37 [ssh-agent] Looking for ssh-agent implementation... 18:05:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:05:37 $ docker exec 0fe88dee913b7bc2d7c496146d6c5034763e2cae3f49077c58cd8628bb002f0c ssh-agent 18:05:37 SSH_AUTH_SOCK=/tmp/ssh-YkDHJ0H4ZRqY/agent.71 18:05:37 SSH_AGENT_PID=77 18:05:37 Running ssh-add (command line suppressed) 18:05:37 Identity added: /w/workspace/foundry_device-usb-camera_PR-200@tmp/private_key_3666335046333566667.key (/w/workspace/foundry_device-usb-camera_PR-200@tmp/private_key_3666335046333566667.key) 18:05:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:05:38 + git semver init 18:05:38 2023-03-22 18:05:38,185 [run_init] DEBUG init version:0.0.0 force:False 18:05:38 2023-03-22 18:05:38,186 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-200/.semver 18:05:38 2023-03-22 18:05:38,186 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-200/.semver 18:05:38 2023-03-22 18:05:38,187 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-200/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-200, universal_newlines=False, shell=None, istream=None) 18:05:38 2023-03-22 18:05:38,846 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-200/.git/info/exclude 18:05:38 2023-03-22 18:05:38,846 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-200/.semver/PR-200 with force:False 18:05:38 2023-03-22 18:05:38,846 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-200/.semver/PR-200 18:05:38 2023-03-22 18:05:38,851 [execute] INFO git cat-file --batch-check 18:05:38 2023-03-22 18:05:38,852 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-200/.semver, universal_newlines=False, shell=None, istream=) 18:05:38 2023-03-22 18:05:38,858 [execute] INFO git cat-file --batch 18:05:38 2023-03-22 18:05:38,859 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-200/.semver, universal_newlines=False, shell=None, istream=) 18:05:38 2023-03-22 18:05:38,866 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-200/.semver/PR-200 18:05:38 0.0.0 [Pipeline] } 18:05:38 $ docker exec --env ******** --env ******** 0fe88dee913b7bc2d7c496146d6c5034763e2cae3f49077c58cd8628bb002f0c ssh-agent -k 18:05:39 unset SSH_AUTH_SOCK; 18:05:39 unset SSH_AGENT_PID; 18:05:39 echo Agent pid 77 killed; 18:05:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:05:39 + git semver [Pipeline] } 18:05:39 $ docker stop --time=1 0fe88dee913b7bc2d7c496146d6c5034763e2cae3f49077c58cd8628bb002f0c 18:05:41 $ docker rm -f --volumes 0fe88dee913b7bc2d7c496146d6c5034763e2cae3f49077c58cd8628bb002f0c [Pipeline] // withDockerContainer [Pipeline] sh 18:05:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:05:41 Stashed 1 file(s) [Pipeline] echo 18:05:41 [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 18:05:42 provisioning config files... 18:05:42 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-200@tmp/config14902308924728562680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:42 ---> docker-login.sh 18:05:42 nexus3.edgexfoundry.org:10001 18:05:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:42 Configure a credential helper to remove this warning. See 18:05:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:42 18:05:42 Login Succeeded 18:05:42 nexus3.edgexfoundry.org:10002 18:05:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:42 Configure a credential helper to remove this warning. See 18:05:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:42 18:05:42 Login Succeeded 18:05:42 nexus3.edgexfoundry.org:10003 18:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:43 Configure a credential helper to remove this warning. See 18:05:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:43 18:05:43 Login Succeeded 18:05:43 nexus3.edgexfoundry.org:10004 18:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:43 Configure a credential helper to remove this warning. See 18:05:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:43 18:05:43 Login Succeeded 18:05:43 docker.io 18:05:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:05:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:05:43 Configure a credential helper to remove this warning. See 18:05:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:05:43 18:05:43 Login Succeeded 18:05:43 ---> docker-login.sh ends [Pipeline] } 18:05:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:05:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:05:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:05:43 ========================================================= 18:05:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:05:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:44 + 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 . 18:05:44 Sending build context to Docker daemon 1.871MB 18:05:44 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:05:44 Step 2/13 : FROM ${BASE} AS builder 18:05:44 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:05:44 63b65145d645: Pulling fs layer 18:05:44 a2d21d5440eb: Pulling fs layer 18:05:44 935e6c44a52c: Pulling fs layer 18:05:44 94cc34f8dd06: Pulling fs layer 18:05:44 30dea6a524f1: Pulling fs layer 18:05:44 a2aff8979fd8: Pulling fs layer 18:05:44 6808be2612f2: Pulling fs layer 18:05:44 f25807f1079a: Pulling fs layer 18:05:44 30dea6a524f1: Waiting 18:05:44 a2aff8979fd8: Waiting 18:05:44 f25807f1079a: Waiting 18:05:44 6808be2612f2: Waiting 18:05:44 94cc34f8dd06: Waiting 18:05:44 a2d21d5440eb: Verifying Checksum 18:05:44 a2d21d5440eb: Download complete 18:05:44 94cc34f8dd06: Verifying Checksum 18:05:44 94cc34f8dd06: Download complete 18:05:44 30dea6a524f1: Verifying Checksum 18:05:44 30dea6a524f1: Download complete 18:05:44 63b65145d645: Verifying Checksum 18:05:44 63b65145d645: Download complete 18:05:44 a2aff8979fd8: Verifying Checksum 18:05:44 a2aff8979fd8: Download complete 18:05:44 63b65145d645: Pull complete 18:05:44 a2d21d5440eb: Pull complete 18:05:44 f25807f1079a: Verifying Checksum 18:05:44 f25807f1079a: Download complete 18:05:44 935e6c44a52c: Verifying Checksum 18:05:44 935e6c44a52c: Download complete 18:05:45 6808be2612f2: Verifying Checksum 18:05:45 6808be2612f2: Download complete 18:05:49 935e6c44a52c: Pull complete 18:05:49 94cc34f8dd06: Pull complete 18:05:49 30dea6a524f1: Pull complete 18:05:49 a2aff8979fd8: Pull complete 18:05:51 6808be2612f2: Pull complete 18:05:52 f25807f1079a: Pull complete 18:05:52 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 18:05:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:05:52 ---> 3b553350e43f 18:05:52 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:05:54 ---> Running in 3b9f88bdc1a5 18:05:54 Removing intermediate container 3b9f88bdc1a5 18:05:54 ---> f55f0c0a49f9 18:05:54 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:05:54 ---> Running in 62b968468f0b 18:05:54 Removing intermediate container 62b968468f0b 18:05:54 ---> a030bf74b354 18:05:54 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:05:54 ---> Running in e9ba445eaa2a 18:05:54 Removing intermediate container e9ba445eaa2a 18:05:54 ---> 53b1a83df17d 18:05:54 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:05:54 ---> Running in c68f173161bf 18:05:54 Removing intermediate container c68f173161bf 18:05:54 ---> 752a6c60c4a7 18:05:54 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:05:54 ---> Running in 808af32970c0 18:05:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:05:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:05:55 (1/14) Installing libintl (0.21.1-r1) 18:05:55 (2/14) Installing eudev-libs (3.2.11-r4) 18:05:55 (3/14) Installing libjpeg-turbo (2.1.4-r0) 18:05:55 (4/14) Installing v4l-utils-libs (1.22.1-r2) 18:05:55 (5/14) Installing v4l-utils (1.22.1-r2) 18:05:55 (6/14) Installing udev-init-scripts (35-r1) 18:05:55 (7/14) Installing libblkid (2.38.1-r1) 18:05:55 (8/14) Installing xz-libs (5.2.9-r0) 18:05:55 (9/14) Installing zstd-libs (1.5.2-r9) 18:05:55 (10/14) Installing kmod-libs (30-r1) 18:05:55 (11/14) Installing eudev (3.2.11-r4) 18:05:55 (12/14) Installing eudev-dev (3.2.11-r4) 18:05:55 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 18:05:55 (14/14) Installing v4l-utils-dev (1.22.1-r2) 18:05:55 Executing busybox-1.35.0-r29.trigger 18:05:55 Executing eudev-3.2.11-r4.trigger 18:05:55 OK: 272 MiB in 67 packages 18:05:55 Removing intermediate container 808af32970c0 18:05:55 ---> 9af6c03b59b4 18:05:55 Step 8/13 : WORKDIR /device-usb-camera 18:05:55 ---> Running in de1155fbfef8 18:05:55 Removing intermediate container de1155fbfef8 18:05:55 ---> 9fea589f2ec1 18:05:55 Step 9/13 : COPY go.mod vendor* ./ 18:05:55 ---> 632698d1b779 18:05:55 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:05:55 ---> Running in 14ff30e66794 18:05:57 Still waiting to schedule task 18:05:57 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:06:27 Removing intermediate container 14ff30e66794 18:06:27 ---> 05c1350eccbf 18:06:27 Step 11/13 : COPY . . 18:06:27 ---> 6a0500f2e4fa 18:06:27 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:06:27 ---> Running in f70d80082339 18:06:27  % Total % Received % Xferd Average Speed Time Time Time Current 18:06:27 Dload Upload Total Spent Left Speed 18:06:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20484 0 --:--:-- --:--:-- --:--:-- 20823 18:06:27 Removing intermediate container f70d80082339 18:06:27 ---> 368c12eb959a 18:06:27 Step 13/13 : RUN ${MAKE} 18:06:27 ---> Running in 099d8ea2fa12 18:06:27 noop 18:06:27 Removing intermediate container 099d8ea2fa12 18:06:27 ---> ad4f7b79392b 18:06:27 Successfully built ad4f7b79392b 18:06:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:28 + docker inspect -f . ci-base-image-x86_64 18:06:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:28 prd-ubuntu20.04-docker-8c-8g-5253 does not seem to be running inside a container 18:06:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-200 -v /w/workspace/foundry_device-usb-camera_PR-200:/w/workspace/foundry_device-usb-camera_PR-200:rw,z -v /w/workspace/foundry_device-usb-camera_PR-200@tmp:/w/workspace/foundry_device-usb-camera_PR-200@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:06:28 $ docker top 58fdc371b3f5584d3bb77ee76783c97bd6ffcbf1e29cb0e39e97d8592a05c3e3 -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:29 + go version 18:06:29 go version go1.20.2 linux/amd64 [Pipeline] } 18:06:29 $ docker stop --time=1 58fdc371b3f5584d3bb77ee76783c97bd6ffcbf1e29cb0e39e97d8592a05c3e3 18:06:30 $ docker rm -f --volumes 58fdc371b3f5584d3bb77ee76783c97bd6ffcbf1e29cb0e39e97d8592a05c3e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:31 + docker inspect -f . ci-base-image-x86_64 18:06:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:31 prd-ubuntu20.04-docker-8c-8g-5253 does not seem to be running inside a container 18:06:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-200 -v /w/workspace/foundry_device-usb-camera_PR-200:/w/workspace/foundry_device-usb-camera_PR-200:rw,z -v /w/workspace/foundry_device-usb-camera_PR-200@tmp:/w/workspace/foundry_device-usb-camera_PR-200@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:06:31 $ docker top 9f5ff1aaf265ac4821606b52e99a4c5dd311864fd30547f94e36aa300badea3d -eo pid,comm [Pipeline] { [Pipeline] sh 18:06:32 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-200 [Pipeline] fileExists [Pipeline] sh 18:06:32 + make test 18:06:32 go test ./... -coverprofile=coverage.out ./... 18:06:37 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:06:47 # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 18:06:47 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:30:19: invalid operation: pv.Maximum != "" (mismatched types *float64 and untyped string) 18:06:47 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:31:37: cannot use pv.Maximum (variable of type *float64) as string value in argument to validateWriteMaximum 18:06:47 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:36:19: invalid operation: pv.Minimum != "" (mismatched types *float64 and untyped string) 18:06:47 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:37:37: cannot use pv.Minimum (variable of type *float64) as string value in argument to validateWriteMinimum 18:06:47 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types *float64 and untyped string) 18:06:47 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types *float64 and string) 18:06:47 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type *float64) as string value in argument to transformOffset 18:06:47 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types *float64 and untyped string) 18:06:47 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types *float64 and string) 18:06:47 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type *float64) as string value in argument to transformScale 18:06:47 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:49:44: too many errors 18:06:47 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 18:06:47 FAIL 18:06:47 make: *** [Makefile:46: unittest] Error 1 [Pipeline] } 18:06:47 $ docker stop --time=1 9f5ff1aaf265ac4821606b52e99a4c5dd311864fd30547f94e36aa300badea3d 18:06:49 $ docker rm -f --volumes 9f5ff1aaf265ac4821606b52e99a4c5dd311864fd30547f94e36aa300badea3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:06:50 18:06:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:06:51 latest: Pulling from edgex-lftools-log-publisher 18:06:51 5eb5b503b376: Pulling fs layer 18:06:51 5c69ac0246d0: Pulling fs layer 18:06:51 ec43610c2a17: Pulling fs layer 18:06:51 3a2ae6a8a46f: Pulling fs layer 18:06:51 33b1e0a273af: Pulling fs layer 18:06:51 5d3b04190fa2: Pulling fs layer 18:06:51 2f39f015ded8: Pulling fs layer 18:06:51 33b1e0a273af: Waiting 18:06:51 5d3b04190fa2: Waiting 18:06:51 2f39f015ded8: Waiting 18:06:51 3a2ae6a8a46f: Waiting 18:06:51 5c69ac0246d0: Verifying Checksum 18:06:51 5c69ac0246d0: Download complete 18:06:51 3a2ae6a8a46f: Download complete 18:06:51 33b1e0a273af: Verifying Checksum 18:06:51 33b1e0a273af: Download complete 18:06:51 5d3b04190fa2: Verifying Checksum 18:06:51 5d3b04190fa2: Download complete 18:06:51 ec43610c2a17: Verifying Checksum 18:06:51 ec43610c2a17: Download complete 18:06:51 5eb5b503b376: Download complete 18:06:52 2f39f015ded8: Download complete 18:06:52 5eb5b503b376: Pull complete 18:06:53 5c69ac0246d0: Pull complete 18:06:53 ec43610c2a17: Pull complete 18:06:53 3a2ae6a8a46f: Pull complete 18:06:53 33b1e0a273af: Pull complete 18:06:53 5d3b04190fa2: Pull complete 18:06:57 2f39f015ded8: Pull complete 18:06:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:06:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:06:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:58 prd-ubuntu20.04-docker-8c-8g-5253 does not seem to be running inside a container 18:06:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-200 -v /w/workspace/foundry_device-usb-camera_PR-200:/w/workspace/foundry_device-usb-camera_PR-200:rw,z -v /w/workspace/foundry_device-usb-camera_PR-200@tmp:/w/workspace/foundry_device-usb-camera_PR-200@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:06:59 $ docker top f51a6c30351ee00f9623b07648ba43912cf3b30b5a01f8abb8b483eb0350b46a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:59 ---> job-cost.sh 18:06:59 lf-activate-venv: SKIPPING 18:06:59 INFO: No Stack... 18:06:59 INFO: Retrieving Pricing Info for: v3-standard-8 18:07:00 INFO: Archiving Costs [Pipeline] sh 18:07:00 + cat /w/workspace/foundry_device-usb-camera_PR-200/archives/cost.csv 18:07:00 + cut -d, -f6 [Pipeline] lock 18:07:00 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-200-1-stack-cost] 18:07:00 Resource [jenkins-edgexfoundry-device-usb-camera-PR-200-1-stack-cost] did not exist. Created. 18:07:00 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-200-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:07:00 + echo total: 0.2199999988079071 [Pipeline] stash 18:07:00 Stashed 1 file(s) [Pipeline] } 18:07:01 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-200-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:07:01 $ docker stop --time=1 f51a6c30351ee00f9623b07648ba43912cf3b30b5a01f8abb8b483eb0350b46a 18:07:02 $ docker rm -f --volumes f51a6c30351ee00f9623b07648ba43912cf3b30b5a01f8abb8b483eb0350b46a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:07:02 Failed in branch amd64 18:09:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5255 in /w/workspace/foundry_device-usb-camera_PR-200 [Pipeline] { [Pipeline] ws 18:09:44 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 18:09:44 Selected Git installation does not exist. Using Default 18:09:44 The recommended git tool is: NONE 18:09:56 using credential edgex-jenkins-ssh 18:09:56 Cloning the remote Git repository 18:09:56 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 18:09:56 > git init /w/workspace/device-usb-camera/1 # timeout=10 18:09:56 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:09:56 > git --version # timeout=10 18:09:56 > git --version # 'git version 2.25.1' 18:09:56 using GIT_SSH to set credentials SSH Credentials for GitHub 18:09:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:09:58 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:09:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:10:01 Merging remotes/origin/main commit 96327e049a2d26e356251a4ee56d80af5c884d85 into PR head commit 1777b6c60d31a55e45e041d6910c546355869369 18:10:00 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:10:00 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:10:00 using GIT_SSH to set credentials SSH Credentials for GitHub 18:10:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/200/head:refs/remotes/origin/PR-200 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:10:01 > git config core.sparsecheckout # timeout=10 18:10:01 Merge succeeded, producing 1777b6c60d31a55e45e041d6910c546355869369 18:10:01 Checking out Revision 1777b6c60d31a55e45e041d6910c546355869369 (PR-200) 18:10:03 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 18:10:03 > git --version # timeout=10 18:10:03 > git --version # 'git version 2.25.1' 18:10:03 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 18:10:01 > git checkout -f 1777b6c60d31a55e45e041d6910c546355869369 # timeout=10 18:10:01 > git remote # timeout=10 18:10:01 > git config --get remote.origin.url # timeout=10 18:10:01 using GIT_SSH to set credentials SSH Credentials for GitHub 18:10:01 > git merge 96327e049a2d26e356251a4ee56d80af5c884d85 # timeout=10 18:10:01 > git rev-parse HEAD^{commit} # timeout=10 18:10:01 > git config core.sparsecheckout # timeout=10 18:10:01 > git checkout -f 1777b6c60d31a55e45e041d6910c546355869369 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:10:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:10:04 % Total % Received % Xferd Average Speed Time Time Time Current 18:10:04 Dload Upload Total Spent Left Speed 18:10:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 168k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh 18:10:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:10:05 + sudo tee /etc/docker/daemon.new 18:10:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:10:05 { 18:10:05 "registry-mirrors": [ 18:10:05 "https://nexus3.edgexfoundry.org:10001" 18:10:05 ], 18:10:05 "bip": "10.250.0.254/24", 18:10:05 "hosts": [ 18:10:05 "tcp://0.0.0.0:5555", 18:10:05 "unix:///var/run/docker.sock" 18:10:05 ], 18:10:05 "mtu": 1458, 18:10:05 "selinux-enabled": true, 18:10:05 "seccomp-profile": "/etc/docker/seccomp.json" 18:10:05 } [Pipeline] sh 18:10:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:10:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:10:25 provisioning config files... 18:10:25 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config8175136501128201225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:10:25 ---> docker-login.sh 18:10:25 nexus3.edgexfoundry.org:10001 18:10:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:26 Configure a credential helper to remove this warning. See 18:10:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:26 18:10:26 Login Succeeded 18:10:26 nexus3.edgexfoundry.org:10002 18:10:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:26 Configure a credential helper to remove this warning. See 18:10:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:26 18:10:26 Login Succeeded 18:10:26 nexus3.edgexfoundry.org:10003 18:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:27 Configure a credential helper to remove this warning. See 18:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:27 18:10:27 Login Succeeded 18:10:27 nexus3.edgexfoundry.org:10004 18:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:28 Configure a credential helper to remove this warning. See 18:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:28 18:10:28 Login Succeeded 18:10:28 docker.io 18:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:28 Configure a credential helper to remove this warning. See 18:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:28 18:10:28 Login Succeeded 18:10:28 ---> docker-login.sh ends [Pipeline] } 18:10:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:10:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:10:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:10:29 ========================================================= 18:10:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:10:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:29 + 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 . 18:10:29 Sending build context to Docker daemon 1.197MB 18:10:29 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:10:29 Step 2/13 : FROM ${BASE} AS builder 18:10:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:10:31 af6eaf76a39c: Pulling fs layer 18:10:31 55522c791124: Pulling fs layer 18:10:31 ce5c4a1c91eb: Pulling fs layer 18:10:31 169dfbe0d373: Pulling fs layer 18:10:31 e1ff8fa3b103: Pulling fs layer 18:10:31 52ebb69f0ebf: Pulling fs layer 18:10:31 5abe8eddf0d5: Pulling fs layer 18:10:31 169dfbe0d373: Waiting 18:10:31 e1ff8fa3b103: Waiting 18:10:31 52ebb69f0ebf: Waiting 18:10:31 5abe8eddf0d5: Waiting 18:10:31 55522c791124: Verifying Checksum 18:10:31 55522c791124: Download complete 18:10:31 169dfbe0d373: Verifying Checksum 18:10:31 169dfbe0d373: Download complete 18:10:31 e1ff8fa3b103: Verifying Checksum 18:10:31 e1ff8fa3b103: Download complete 18:10:31 af6eaf76a39c: Verifying Checksum 18:10:31 af6eaf76a39c: Download complete 18:10:32 af6eaf76a39c: Pull complete 18:10:32 5abe8eddf0d5: Verifying Checksum 18:10:32 5abe8eddf0d5: Download complete 18:10:33 55522c791124: Pull complete 18:10:34 ce5c4a1c91eb: Verifying Checksum 18:10:34 ce5c4a1c91eb: Download complete 18:10:34 52ebb69f0ebf: Verifying Checksum 18:10:34 52ebb69f0ebf: Download complete 18:10:47 ce5c4a1c91eb: Pull complete 18:10:47 169dfbe0d373: Pull complete 18:10:47 e1ff8fa3b103: Pull complete 18:10:53 52ebb69f0ebf: Pull complete 18:10:55 5abe8eddf0d5: Pull complete 18:10:55 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 18:10:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:10:55 ---> 6cb57ee374ae 18:10:55 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:10:56 ---> Running in dcd359771f6f 18:10:56 Removing intermediate container dcd359771f6f 18:10:56 ---> 4f63027a54e7 18:10:56 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:10:56 ---> Running in 4da0b92a80fa 18:10:56 Removing intermediate container 4da0b92a80fa 18:10:56 ---> 521d32f90e37 18:10:56 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:10:56 ---> Running in d1c441fa24d4 18:10:57 Removing intermediate container d1c441fa24d4 18:10:57 ---> 0f8ad71a3bce 18:10:57 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:10:57 ---> Running in a7feb3267293 18:10:57 Removing intermediate container a7feb3267293 18:10:57 ---> cd300c95c600 18:10:57 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:10:57 ---> Running in aa0bacb79dd6 18:10:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:10:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:11:01 (1/14) Installing libintl (0.21.1-r1) 18:11:01 (2/14) Installing eudev-libs (3.2.11-r4) 18:11:01 (3/14) Installing libjpeg-turbo (2.1.4-r0) 18:11:01 (4/14) Installing v4l-utils-libs (1.22.1-r2) 18:11:01 (5/14) Installing v4l-utils (1.22.1-r2) 18:11:01 (6/14) Installing udev-init-scripts (35-r1) 18:11:01 (7/14) Installing libblkid (2.38.1-r1) 18:11:01 (8/14) Installing xz-libs (5.2.9-r0) 18:11:01 (9/14) Installing zstd-libs (1.5.2-r9) 18:11:01 (10/14) Installing kmod-libs (30-r1) 18:11:01 (11/14) Installing eudev (3.2.11-r4) 18:11:01 (12/14) Installing eudev-dev (3.2.11-r4) 18:11:01 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 18:11:01 (14/14) Installing v4l-utils-dev (1.22.1-r2) 18:11:01 Executing busybox-1.35.0-r29.trigger 18:11:01 Executing eudev-3.2.11-r4.trigger 18:11:01 OK: 271 MiB in 67 packages 18:11:02 Removing intermediate container aa0bacb79dd6 18:11:02 ---> f20248ce4a0a 18:11:02 Step 8/13 : WORKDIR /device-usb-camera 18:11:03 ---> Running in 7044a36376a2 18:11:03 Removing intermediate container 7044a36376a2 18:11:03 ---> cf8a85446444 18:11:03 Step 9/13 : COPY go.mod vendor* ./ 18:11:04 ---> bfa82e46aa2e 18:11:04 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:11:04 ---> Running in 5fb5b32734fb 18:12:25 Removing intermediate container 5fb5b32734fb 18:12:25 ---> 89355d80062d 18:12:25 Step 11/13 : COPY . . 18:12:25 ---> 2f747a71ebd3 18:12:25 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:12:25 ---> Running in e164b670547e 18:12:25  % Total % Received % Xferd Average Speed Time Time Time Current 18:12:25 Dload Upload Total Spent Left Speed 18:12:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0  0 3074 0 --:--:-- --:--:-- --:--:-- 3078 18:12:25 Removing intermediate container e164b670547e 18:12:25 ---> d09a84272823 18:12:25 Step 13/13 : RUN ${MAKE} 18:12:25 ---> Running in 512fd83eaa1d 18:12:25 noop 18:12:25 Removing intermediate container 512fd83eaa1d 18:12:25 ---> eca66e9d5457 18:12:25 Successfully built eca66e9d5457 18:12:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:26 + docker inspect -f . ci-base-image-arm64 18:12:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:26 prd-ubuntu20.04-docker-arm64-4c-16g-5255 does not seem to be running inside a container 18:12:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:12:28 $ docker top df8043cca47d838ba919545a61121015f49b44dccd259226e277ac715dc9e732 -eo pid,comm [Pipeline] { [Pipeline] sh 18:12:29 + go version 18:12:29 go version go1.20.2 linux/arm64 [Pipeline] } 18:12:29 $ docker stop --time=1 df8043cca47d838ba919545a61121015f49b44dccd259226e277ac715dc9e732 18:12:30 $ docker rm -f --volumes df8043cca47d838ba919545a61121015f49b44dccd259226e277ac715dc9e732 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:31 + docker inspect -f . ci-base-image-arm64 18:12:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:32 prd-ubuntu20.04-docker-arm64-4c-16g-5255 does not seem to be running inside a container 18:12:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:12:33 $ docker top 37d4b296e6c115a50acb27c67e1a49cb3929f174baccf3c36aa813f3347111f7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:12:34 + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh 18:12:35 + make test 18:12:35 go test ./... -coverprofile=coverage.out ./... 18:13:14 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:15:20 # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 18:15:20 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:30:19: invalid operation: pv.Maximum != "" (mismatched types *float64 and untyped string) 18:15:20 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:31:37: cannot use pv.Maximum (variable of type *float64) as string value in argument to validateWriteMaximum 18:15:20 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:36:19: invalid operation: pv.Minimum != "" (mismatched types *float64 and untyped string) 18:15:20 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:37:37: cannot use pv.Minimum (variable of type *float64) as string value in argument to validateWriteMinimum 18:15:20 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types *float64 and untyped string) 18:15:20 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types *float64 and string) 18:15:20 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type *float64) as string value in argument to transformOffset 18:15:20 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types *float64 and untyped string) 18:15:20 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types *float64 and string) 18:15:20 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type *float64) as string value in argument to transformScale 18:15:20 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:49:44: too many errors 18:15:31 FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] 18:15:31 FAIL 18:15:31 make: *** [Makefile:46: unittest] Error 1 [Pipeline] } 18:15:31 $ docker stop --time=1 37d4b296e6c115a50acb27c67e1a49cb3929f174baccf3c36aa813f3347111f7 18:15:33 $ docker rm -f --volumes 37d4b296e6c115a50acb27c67e1a49cb3929f174baccf3c36aa813f3347111f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:15:35 18:15:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:15:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:15:35 arm64: Pulling from edgex-lftools-log-publisher 18:15:35 8998bd30e6a1: Pulling fs layer 18:15:35 04944245beec: Pulling fs layer 18:15:35 699f458cf7ca: Pulling fs layer 18:15:35 765212b225bb: Pulling fs layer 18:15:35 f23df028b6ca: Pulling fs layer 18:15:35 765212b225bb: Waiting 18:15:35 d65c8cfc05b1: Pulling fs layer 18:15:35 2437ff75d9bd: Pulling fs layer 18:15:35 f23df028b6ca: Waiting 18:15:35 2437ff75d9bd: Waiting 18:15:35 d65c8cfc05b1: Waiting 18:15:35 04944245beec: Verifying Checksum 18:15:35 04944245beec: Download complete 18:15:35 765212b225bb: Verifying Checksum 18:15:35 765212b225bb: Download complete 18:15:35 f23df028b6ca: Verifying Checksum 18:15:35 f23df028b6ca: Download complete 18:15:35 d65c8cfc05b1: Verifying Checksum 18:15:35 d65c8cfc05b1: Download complete 18:15:36 699f458cf7ca: Verifying Checksum 18:15:36 699f458cf7ca: Download complete 18:15:36 8998bd30e6a1: Verifying Checksum 18:15:36 8998bd30e6a1: Download complete 18:15:39 2437ff75d9bd: Verifying Checksum 18:15:39 2437ff75d9bd: Download complete 18:15:40 8998bd30e6a1: Pull complete 18:15:41 04944245beec: Pull complete 18:15:42 699f458cf7ca: Pull complete 18:15:43 765212b225bb: Pull complete 18:15:44 f23df028b6ca: Pull complete 18:15:44 d65c8cfc05b1: Pull complete 18:15:59 2437ff75d9bd: Pull complete 18:15:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:15:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:15:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:15:59 prd-ubuntu20.04-docker-arm64-4c-16g-5255 does not seem to be running inside a container 18:15:59 $ 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-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:16:02 $ docker top bb4fbc3b33d0cea19cd8b4f931caf442c0ca85054b5fb74ae57eed07fc3854bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:16:03 ---> job-cost.sh 18:16:03 lf-activate-venv: SKIPPING 18:16:03 INFO: No Stack... 18:16:03 INFO: Retrieving Pricing Info for: v3-standard-4 18:16:04 INFO: Archiving Costs [Pipeline] sh 18:16:05 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 18:16:05 + cut -d, -f6 [Pipeline] lock 18:16:05 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-200-1-stack-cost] 18:16:05 Resource [jenkins-edgexfoundry-device-usb-camera-PR-200-1-stack-cost] did not exist. Created. 18:16:05 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-200-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:16:06 /w/workspace/device-usb-camera/1@tmp/durable-94a52838/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:16:06 + echo total: 0.10999999940395355 [Pipeline] stash 18:16:07 Warning: overwriting stash ‘stack-cost’ 18:16:07 Stashed 1 file(s) [Pipeline] } 18:16:07 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-200-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:16:07 $ docker stop --time=1 bb4fbc3b33d0cea19cd8b4f931caf442c0ca85054b5fb74ae57eed07fc3854bb 18:16:09 $ docker rm -f --volumes bb4fbc3b33d0cea19cd8b4f931caf442c0ca85054b5fb74ae57eed07fc3854bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:16:09 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:16:11 + [ -d /w/workspace/foundry_device-usb-camera_PR-200/archives ] 18:16:11 + ls -al /w/workspace/foundry_device-usb-camera_PR-200/archives 18:16:11 total 16 18:16:11 drwxr-xr-x 3 root root 4096 Mar 22 18:07 . 18:16:11 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 18:07 .. 18:16:11 drwxr-xr-x 2 root root 4096 Mar 22 18:07 cost 18:16:11 -rw-r--r-- 1 root root 89 Mar 22 18:07 cost.csv 18:16:11 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-200/archives 18:16:11 + ls -al /w/workspace/foundry_device-usb-camera_PR-200/archives 18:16:11 total 16 18:16:11 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 18:07 . 18:16:11 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 18:07 .. 18:16:11 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 18:07 cost 18:16:11 -rw-r--r-- 1 jenkins jenkins 89 Mar 22 18:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:16:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:16:13 ---> package-listing.sh 18:16:13 ++ facter osfamily 18:16:13 ++ tr '[:upper:]' '[:lower:]' 18:16:13 + OS_FAMILY=debian 18:16:13 + workspace=/w/workspace/foundry_device-usb-camera_PR-200 18:16:13 + START_PACKAGES=/tmp/packages_start.txt 18:16:13 + END_PACKAGES=/tmp/packages_end.txt 18:16:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:16:13 + PACKAGES=/tmp/packages_start.txt 18:16:13 + '[' /w/workspace/foundry_device-usb-camera_PR-200 ']' 18:16:13 + PACKAGES=/tmp/packages_end.txt 18:16:13 + case "${OS_FAMILY}" in 18:16:13 + dpkg -l 18:16:13 + grep '^ii' 18:16:13 + '[' -f /tmp/packages_start.txt ']' 18:16:13 + '[' -f /tmp/packages_end.txt ']' 18:16:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:16:13 + '[' /w/workspace/foundry_device-usb-camera_PR-200 ']' 18:16:13 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-200/archives/ 18:16:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-200/archives/ [Pipeline] echo 18:16:13 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-200/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:16:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:16:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:16:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:16:14 prd-ubuntu20.04-docker-8c-8g-5253 does not seem to be running inside a container 18:16:14 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-200/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-200 -v /w/workspace/foundry_device-usb-camera_PR-200:/w/workspace/foundry_device-usb-camera_PR-200:rw,z -v /w/workspace/foundry_device-usb-camera_PR-200@tmp:/w/workspace/foundry_device-usb-camera_PR-200@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:16:14 $ docker top eed842d10bd1e412e1175cbe6b0a7f52ef14d272a59303b8096faed8101e180a -eo pid,comm [Pipeline] { [Pipeline] sh 18:16:15 + touch /tmp/pre-build-complete [Pipeline] sh 18:16:15 + mkdir -p /var/log/sysstat [Pipeline] sh 18:16:15 + ls /var/log/sa-host 18:16:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:16:15 provisioning config files... 18:16:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-200@tmp/config4780607339772804759tmp [Pipeline] { [Pipeline] echo 18:16:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:16:16 ---> create-netrc.sh [Pipeline] } 18:16:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:16:16 ---> python-tools-install.sh [Pipeline] echo 18:16:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:16:16 ---> sudo-logs.sh 18:16:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:16:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:16:17 ---> job-cost.sh 18:16:17 lf-activate-venv: SKIPPING 18:16:17 DEBUG: total: 0.2199999988079071 18:16:17 INFO: Retrieving Stack Cost... 18:16:17 INFO: Retrieving Pricing Info for: v3-standard-8 18:16:18 INFO: Archiving Costs [Pipeline] echo 18:16:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:16:18 ---> logs-deploy.sh 18:16:18 lf-activate-venv: SKIPPING 18:16:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-200/1 18:16:18 INFO: archiving workspace using pattern(s): 18:16:19 Archives upload complete. 18:16:19 INFO: archiving logs to Nexus