Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix-CVE-2023-40591 #344

Merged
merged 1 commit into from
Oct 31, 2023

p2p: move ping handling into pingLoop goroutine (#27887)

f5cdfb2
Select commit
Failed to load commit list.
Merged

fix-CVE-2023-40591 #344

p2p: move ping handling into pingLoop goroutine (#27887)
f5cdfb2
Select commit
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Oct 31, 2023 in 37m 42s

Build Passed

The build passed, just like the previous build.

Details

This is a normal build for the fix-CVE-2023-40591 branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build has nine jobs, running in parallel.

Stage 1: Tests

This stage passed.

Job Go ENV OS State
593.1 A-B tests 1.14.x GOPROXY=https://proxy.golang.org Linux passed
593.2 C-[a-m] tests 1.14.x GOPROXY=https://proxy.golang.org Linux passed
593.3 C-[n-o] tests 1.14.x GOPROXY=https://proxy.golang.org Linux passed
593.4 C-[p-z] tests 1.14.x GOPROXY=https://proxy.golang.org Linux passed
593.5 D-I tests 1.14.x GOPROXY=https://proxy.golang.org Linux passed
593.6 J-N tests 1.14.x GOPROXY=https://proxy.golang.org Linux passed
593.7 O-R tests 1.14.x GOPROXY=https://proxy.golang.org Linux passed
593.8 S tests 1.14.x GOPROXY=https://proxy.golang.org Linux passed
593.9 T-Z tests 1.14.x GOPROXY=https://proxy.golang.org Linux passed

Build Configuration

Build Option Setting
Language Go
Operating System Linux (Xenial)
Build Configuration
{
  "on": {
    "branches": [
      "master",
      "dev-upgrade"
    ],
    "tags": true
  },
  "language": "go",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "sudo": true,
  "go_import_path": "github.com/XinFinOrg/XDPoSChain",
  "env": [
    "global={:GOPROXY=>\"https://proxy.golang.org\"}={:GO111MODULE=>\"on\"}={:tf_version=>\"1.3.0\"}={:tf_init_cli_options=>\"\\\" -input=false\\\"\"}={:tf_validation_cli_options=>\"\\\"\\\"\"}={:tf_plan_cli_options=>\"\\\" -lock=false -input=false\\\"\"}={:tf_apply_cli_options=>\"\\\" -auto-approve -input=false\\\"\"}"
  ],
  "jobs": {
    "include": [
      {
        "stage": "Tests",
        "os": "linux",
        "dist": "bionic",
        "go": "1.14.x",
        "env": [
          {
            "GO111MODULE": "auto"
          }
        ],
        "name": "A-B tests",
        "script": [
          "travis_retry go run build/ci.go test -coverage $(go list ./... | grep \"github.com\\/XinFinOrg\\/XDPoSChain\\/[a-b].*\")"
        ]
      },
      {
        "script": [
          "travis_retry go run build/ci.go test -coverage $(go list ./... | grep \"github.com\\/XinFinOrg\\/XDPoSChain\\/c[a-m].*\")"
        ],
        "os": "linux",
        "dist": "bionic",
        "go": "1.14.x",
        "env": [
          {
            "GO111MODULE": "auto"
          }
        ],
        "name": "C-[a-m] tests"
      },
      {
        "script": [
          "travis_retry go run build/ci.go test -coverage $(go list ./... | grep \"github.com\\/XinFinOrg\\/XDPoSChain\\/c[n-o].*\")"
        ],
        "os": "linux",
        "dist": "bionic",
        "go": "1.14.x",
        "env": [
          {
            "GO111MODULE": "auto"
          }
        ],
        "name": "C-[n-o] tests"
      },
      {
        "script": [
          "travis_retry go run build/ci.go test -coverage $(go list ./... | grep \"github.com\\/XinFinOrg\\/XDPoSChain\\/c[p-z].*\")"
        ],
        "os": "linux",
        "dist": "bionic",
        "go": "1.14.x",
        "env": [
          {
            "GO111MODULE": "auto"
          }
        ],
        "name": "C-[p-z] tests"
      },
      {
        "script": [
          "travis_retry go run build/ci.go test -coverage $(go list ./... | grep \"github.com\\/XinFinOrg\\/XDPoSChain\\/[d-i].*\")"
        ],
        "os": "linux",
        "dist": "bionic",
        "go": "1.14.x",
        "env": [
          {
            "GO111MODULE": "auto"
          }
        ],
        "name": "D-I tests"
      },
      {
        "script": [
          "travis_retry go run build/ci.go test -coverage $(go list ./... | grep \"github.com\\/XinFinOrg\\/XDPoSChain\\/[j-n].*\")"
        ],
        "os": "linux",
        "dist": "bionic",
        "go": "1.14.x",
        "env": [
          {
            "GO111MODULE": "auto"
          }
        ],
        "name": "J-N tests"
      },
      {
        "script": [
          "travis_retry go run build/ci.go test -coverage $(go list ./... | grep \"github.com\\/XinFinOrg\\/XDPoSChain\\/[o-r].*\")"
        ],
        "os": "linux",
        "dist": "bionic",
        "go": "1.14.x",
        "env": [
          {
            "GO111MODULE": "auto"
          }
        ],
        "name": "O-R tests"
      },
      {
        "script": [
          "travis_retry go run build/ci.go test -coverage $(go list ./... | grep \"github.com\\/XinFinOrg\\/XDPoSChain\\/s.*\")"
        ],
        "os": "linux",
        "dist": "bionic",
        "go": "1.14.x",
        "env": [
          {
            "GO111MODULE": "auto"
          }
        ],
        "name": "S tests"
      },
      {
        "script": [
          "travis_retry go run build/ci.go test -coverage $(go list ./... | grep \"github.com\\/XinFinOrg\\/XDPoSChain\\/[t-z].*\")"
        ],
        "os": "linux",
        "dist": "bionic",
        "go": "1.14.x",
        "env": [
          {
            "GO111MODULE": "auto"
          }
        ],
        "name": "T-Z tests"
      },
      {
        "stage": "TAG Build",
        "if": "tag IS present",
        "services": [
          "docker"
        ],
        "install": [
          "skip"
        ],
        "before_script": [
          "echo \"$DOCKER_PASSWORD\" | docker login -u \"$DOCKER_USERNAME\" --password-stdin",
          "docker --version",
          "docker build -t xinfinorg/xdposchain:$TRAVIS_TAG -f cicd/Dockerfile ."
        ],
        "script": [
          "docker push xinfinorg/xdposchain:$TRAVIS_TAG"
        ]
      },
      {
        "stage": "(Devnet) Build, and push images",
        "if": "branch = dev-upgrade AND type = push AND tag IS blank",
        "services": [
          "docker"
        ],
        "install": [
          "skip"
        ],
        "before_script": [
          "echo \"$DOCKER_PASSWORD\" | docker login -u \"$DOCKER_USERNAME\" --password-stdin",
          "docker --version",
          "docker build -t xinfinorg/devnet:latest -f cicd/Dockerfile ."
        ],
        "script": [
          "docker push xinfinorg/devnet:latest"
        ]
      },
      {
        "stage": "(Devnet)Terraform plan",
        "if": "branch = dev-upgrade AND type = push AND tag IS blank",
        "dist": "xenial",
        "language": "shell",
        "install": [
          "wget https://releases.hashicorp.com/terraform/\"$tf_version\"/terraform_\"$tf_version\"_linux_amd64.zip",
          "unzip terraform_\"$tf_version\"_linux_amd64.zip",
          "sudo mv terraform /usr/local/bin/",
          "rm terraform_\"$tf_version\"_linux_amd64.zip"
        ],
        "script": [
          "echo \"Pull request detected, creating change plan(Devnet)\"",
          "cd cicd/devnet/terraform",
          "terraform init $tf_init_cli_options",
          "terraform validate $tf_validation_cli_options",
          "terraform plan $tf_plan_cli_options"
        ]
      },
      {
        "stage": "(Devnet) Terraform apply",
        "if": "branch = dev-upgrade AND type = push AND tag IS blank",
        "dist": "xenial",
        "language": "shell",
        "install": [
          "wget https://releases.hashicorp.com/terraform/\"$tf_version\"/terraform_\"$tf_version\"_linux_amd64.zip",
          "unzip terraform_\"$tf_version\"_linux_amd64.zip",
          "sudo mv terraform /usr/local/bin/",
          "rm terraform_\"$tf_version\"_linux_amd64.zip",
          "curl \"https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip\" -o \"awscliv2.zip\"",
          "unzip awscliv2.zip",
          "sudo ./aws/install",
          "export PATH=$PATH:$HOME/.local/bin"
        ],
        "script": [
          "echo \"Merge detected, executing changes(Devnet)\"",
          "cd cicd/devnet/terraform",
          "terraform init $tf_init_cli_options",
          "terraform apply $tf_apply_cli_options",
          "sleep 5",
          "source .env\nfor ((i=$us_east_2_start;i<$us_east_2_end;i++)); do\n  echo \"Force deploy xdc-$i\"\n  aws ecs update-service --region us-east-2 --cluster devnet-xdcnode-cluster --service ecs-service-xdc$i --force-new-deployment --no-cli-pager;\ndone\nfor ((i=$eu_west_1_start;i<$eu_west_1_end;i++)); do\n  echo \"Force deploy xdc-$i\"\n  aws ecs update-service --region eu-west-1 --cluster devnet-xdcnode-cluster --service ecs-service-xdc$i --force-new-deployment --no-cli-pager;\ndone\nfor ((i=$ap_southeast_2_start;i<$ap_southeast_2_end;i++)); do\n  echo \"Force deploy xdc-$i\"\n  aws ecs update-service --region ap-southeast-2 --cluster devnet-xdcnode-cluster --service ecs-service-xdc$i --force-new-deployment --no-cli-pager;\ndone"
        ]
      }
    ]
  }
}