Project

General

Profile

Actions

Bug #7831

open
LS LS

util/affinity: tests are platform dependent

Bug #7831: util/affinity: tests are platform dependent

Added by Lukas Sismis 8 months ago. Updated 5 months 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

LS Updated by Lukas Sismis 8 months ago Actions #2

  • Status changed from In Progress to In Review

LS Updated by Lukas Sismis 8 months ago Actions #3

  • Affected Versions 8.0.0-beta1, 8.0.0-rc1, 8.0.0 added

LS Updated by Lukas Sismis 7 months ago Actions #4

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

VJ Updated by Victor Julien 7 months ago Actions #5

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

OT Updated by OISF Ticketbot 7 months ago Actions #6

  • Subtask #7915 added

OT Updated by OISF Ticketbot 7 months ago Actions #7

  • Label deleted (Needs backport to 8.0)

LS Updated by Lukas Sismis 5 months ago Actions #8

  • 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).

LS Updated by Lukas Sismis 5 months ago Actions #9

  • Status changed from Resolved to Assigned

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

SB Updated by Shivani Bhardwaj 5 months ago Actions #10

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

Also available in: PDF Atom