Skip to content

Scan exits after one second and no result ouput  #1468

@iampilot

Description

@iampilot

Expected behavior
Start a scan task,befor the task done, output result while the host is alive

Actual behavior
Star a scan task, task become done quickly, maybe just spend no more than one minutes and no result ,but the target is alive.
If I restart all the Greenbone Community Containers, the problem also can be solved.
but sometime I restart the Greenbone Community Containers, the problem still exist

Steps to reproduce
1.Start Greenbone Community Containers and wait all the system server start
2. create a task and start it
3. Repeat the above steps several times

GVM versions
docker images version:
gsa:stable
gvmd:stable
ospd-openvas:stable

Environment
redhat-7.9 + docker-compose-2.19.1

Logfiles
`sd main:MESSAGE:2023-08-10 10h02.06 utc:141: openvas 22.7.2 started

sd main:MESSAGE:2023-08-10 10h02.06 utc:141: attack_network_init: INIT MQTT: SUCCESS

sd main:MESSAGE:2023-08-10 10h02.11 utc:141: Vulnerability scan a2951b15-469b-4479-abd4-ad5b61f2be33 started: Target has 1 hosts: 192.168.50.28, with max_hosts = 20 and max_checks = 4

libgvm boreas:MESSAGE:2023-08-10 10h02.11 utc:141: Alive scan a2951b15-469b-4479-abd4-ad5b61f2be33 started: Target has 1 hosts

sd main:MESSAGE:2023-08-10 10h02.12 utc:156: Vulnerability scan a2951b15-469b-4479-abd4-ad5b61f2be33 started for host: 192.168.50.28

libgvm boreas:MESSAGE:2023-08-10 10h02.12 utc:141: Alive scan a2951b15-469b-4479-abd4-ad5b61f2be33 finished in 1 seconds: 1 alive hosts of 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions