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

Fixed zero division for OverallPercent #4727

Closed
wants to merge 2 commits into from

Fix for division asDecHMYSlotCount.

f552a2e
Select commit
Loading
Failed to load commit list.
Closed

Fixed zero division for OverallPercent #4727

Fix for division asDecHMYSlotCount.
f552a2e
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Aug 8, 2024 in 38m 45s

Build Passed

The build passed.

Details

This is a normal build for the fix/avoid-zero-division-panic2 branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build has four jobs, running in parallel.

Job Go ENV OS State
14690.1 1.19.5 TEST="make" Linux passed
14690.2 1.19.5 TEST="bash ./scripts/travis_go_checker.sh" Linux passed
14690.3 1.19.5 TEST="bash ./scripts/travis_rpc_checker.sh" Linux passed
14690.4 1.19.5 TEST="bash ./scripts/travis_rosetta_checker.sh" Linux passed

Build Configuration

Build Option Setting
Language Go
Operating System Linux (Jammy)
Go Version 1.19.5
Build Configuration
{
  "language": "go",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "go": [
    "1.19.5"
  ],
  "go_import_path": "github.com/harmony-one/harmony",
  "cache": {
    "directories": [
      "docker_images"
    ]
  },
  "env": [
    "jobs={:TEST=>\"\\\"make\\\"\"}={:TEST=>\"\\\"bash ./scripts/travis_go_checker.sh\\\"\"}={:TEST=>\"\\\"bash ./scripts/travis_rpc_checker.sh\\\"\"}={:TEST=>\"\\\"bash ./scripts/travis_rosetta_checker.sh\\\"\"}"
  ],
  "before_install": [
    "echo \"deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable\" | sudo tee /etc/apt/sources.list.d/docker.list >/dev/null",
    "sudo apt-get update",
    "sudo apt-get -y -o Dpkg::Options::=\"--force-confnew\" install docker-ce"
  ],
  "install": [
    "echo $TRAVIS_PULL_REQUEST_BRANCH",
    "git clone https://github.com/harmony-one/mcl.git $GOPATH/src/github.com/harmony-one/mcl",
    "git clone https://github.com/harmony-one/bls.git $GOPATH/src/github.com/harmony-one/bls",
    "git clone https://github.com/harmony-one/harmony-test.git $GOPATH/src/github.com/harmony-one/harmony-test",
    "(cd $GOPATH/src/github.com/harmony-one/mcl; make -j4)",
    "(cd $GOPATH/src/github.com/harmony-one/bls; make BLS_SWAP_G=1 -j4)",
    "make go-get",
    "go install golang.org/x/tools/cmd/goimports@latest",
    "go install github.com/harmony-ek/gencodec@latest"
  ],
  "script": [
    "${TEST}"
  ],
  "after_success": [
    "wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh",
    "chmod +x send.sh",
    "./send.sh success $WEBHOOK_URL"
  ],
  "after_failure": [
    "wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh",
    "chmod +x send.sh",
    "./send.sh failure $WEBHOOK_URL"
  ]
}