Project

General

Profile

Actions

Bug #7831

open

util/affinity: tests are platform dependent

Added by Lukas Sismis 4 months ago. Updated 14 days ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

On machines with less than 4 CPU cores present/enabled, threading unittests fail.

Test ThreadingAffinityTest02                                      : pass
Test ThreadingAffinityTest03                                      : FAILED
Test ThreadingAffinityTest04                                      : pass
Test ThreadingAffinityTest05                                      : pass
Test ThreadingAffinityTest06                                      : pass
Test ThreadingAffinityTest07                                      : pass
Test ThreadingAffinityTest08                                      : pass
Test ThreadingAffinityTest09                                      : pass
Test ThreadingAffinityTest10                                      : pass
Test ThreadingAffinityTest11                                      : FAILED
Test ThreadingAffinityTest12                                      : FAILED
Test ThreadingAffinityTest13                                      : pass

Subtasks 1 (1 open0 closed)

Bug #7915: util/affinity: tests are platform dependent (8.0.x backport)AssignedLukas SismisActions
Actions #2

Updated by Lukas Sismis 4 months ago

  • Status changed from In Progress to In Review
Actions #3

Updated by Lukas Sismis 4 months ago

  • Affected Versions 8.0.0-beta1, 8.0.0-rc1, 8.0.0 added
Actions #4

Updated by Lukas Sismis 2 months ago

  • Status changed from In Review to In Progress
  • Target version changed from 8.0.1 to 8.0.2
Actions #5

Updated by Victor Julien about 2 months ago

  • Target version changed from 8.0.2 to 9.0.0-beta1
  • Label Needs backport to 8.0 added
Actions #6

Updated by OISF Ticketbot about 2 months ago

  • Subtask #7915 added
Actions #7

Updated by OISF Ticketbot about 2 months ago

  • Label deleted (Needs backport to 8.0)
Actions #8

Updated by Lukas Sismis 22 days ago

  • Status changed from In Progress to Resolved

In https://github.com/OISF/suricata/pull/13645 we concluded it would be better to go with https://github.com/OISF/suricata/pull/14113, which skips tests in incompatible test environments (generally if the test requires 4 CPUs and the machine has only 2 then it is skipped).

Actions #9

Updated by Lukas Sismis 22 days ago

  • Status changed from Resolved to Assigned

The goal of this task will be, after merging #14113, to adjust ThreadingAffinity tests.

Actions #10

Updated by Shivani Bhardwaj 14 days ago

  • Subject changed from threading: make thread affinity tests platform independent to util/affinity: tests are platform dependent
Actions

Also available in: Atom PDF