Project

General

Profile

Actions

Bug #2881

closed

TestNlsr/FaceDestroyEvent test case fails on TravisCI

Added by Alex Afanasyev almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

TestNlsr/FaceDestroyEvent test case has been consistently failing on Travis-CI.
https://travis-ci.org/named-data/NLSR/builds/66059075

Actions #1

Updated by Vince Lehman almost 9 years ago

  • Assignee set to Vince Lehman
Actions #2

Updated by Junxiao Shi almost 9 years ago

  • Subject changed from TestNlsr/FaceDestroyEvent test case fails in some cases to TestNlsr/FaceDestroyEvent test case fails on TravisCI
  • Description updated (diff)

Same failure occurs with NLSR's own TravisCI project, so it's not caused by ndn-cxx-breaks build script.

Actions #3

Updated by Vince Lehman almost 9 years ago

  • Target version set to v0.2.1
Actions #4

Updated by Vince Lehman almost 9 years ago

  • Assignee changed from Vince Lehman to Muktadir Chowdhury
Actions #5

Updated by Junxiao Shi almost 9 years ago

I initially suspects there is uninitialized memory, but valgrind reports nothing wrong.

I ran this test case individually on Ubuntu 12.04.
The first execution gives this error, but the second and third executions are successful.
Thus, this is probably a timing issue.

Actions #6

Updated by Junxiao Shi almost 9 years ago

Then I noticed nlsrSeqNo.txt file in the home directory. I deleted that file, and the error reappears.

So the new conclusion is: the test case fails every time if $HOME/nlsrSeqNo.txt does not exist; it succeeds when this file exists from a previous execution.

Actions #7

Updated by Vince Lehman almost 9 years ago

  • Status changed from New to In Progress
Actions #8

Updated by Vince Lehman almost 9 years ago

  • Status changed from In Progress to Code review
  • % Done changed from 0 to 90
Actions #9

Updated by Vince Lehman almost 9 years ago

  • Status changed from Code review to Closed
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF