question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Flaky test `manipulation_tests.test_basic.TestBasic.test_copyto_multigpu`

See original GitHub issue
Error Message
AssertionError: 
Arrays are not equal

Mismatched elements: 24 / 24 (100%)
Max absolute difference: 23.
Max relative difference: 1.
 x: array([[[0.   , 0.   , 0.   , 1.984],
        [0.   , 0.   , 0.   , 2.   ],
        [0.   , 0.   , 0.   , 2.016]],...
 y: array([[[ 1.,  2.,  3.,  4.],
        [ 5.,  6.,  7.,  8.],
        [ 9., 10., 11., 12.]],...

https://jenkins.preferred.jp/job/chainer/job/cupy_pr/3016/TEST=cupy-py3-cub,label=mn1-p100/testReport/junit/tests.cupy_tests.manipulation_tests.test_basic/TestBasic/test_copyto_multigpu/

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:27 (27 by maintainers)

github_iconTop GitHub Comments

2reactions
kmaehashicommented, Feb 19, 2021

As for test_copyto_multigpu , I think random numbers are not related, as it just tries to copy arange result between devices.

1reaction
leofangcommented, Apr 5, 2021

Right I forgot it’s a weakref.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Flaky Tests - Semaphore CI
Randomly failing tests are the hardest to debug. Here's a framework you can use to fix them and keep your test suite healthy....
Read more >
Flaky tests - GitLab Docs
Flaky tests. What's a flaky test? It's a test that sometimes fails, but if you retry it enough times, it passes, eventually.
Read more >
What is a flaky test? Definition from WhatIs.com. - TechTarget
A flaky test is an analysis of web application code that fails to produce the same result each time the same analysis is...
Read more >
Test Flakiness - Methods for identifying and dealing with flaky ...
This view allows teams to see their tests, see which ones are fast & slow, and see which ones are flaky. Simple right?...
Read more >
Test Flakiness - One of the main challenges of automated testing
Dealing with test flakiness is a critical skill in testing because automated tests that do not provide a consistent signal will slow down ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found