TheHive-Project / TheHive-Project/Cortex-Analyzers

[Bug] Drone Test Suite misconfigured

Open
#611 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

category:bug
Dominant language
Python
Stars
490
Forks
405
Avg merge
2d 43m
Merged PRs (30d)
8

Description

Describe the bug
This repository’s Drone file is misconfigured, preventing test suites and builds from executing properly. Judging by the error message linked below, the username and password are not being passed properly.

Complementary information
https://drone.thehive-project.org/TheHive-Project/Cortex-Analyzers/270/1/2

trace:
Starting Docker daemon ...
2	+ echo 'Starting Docker daemon ...'
3	+ DOCKER_PID=6
4	+ /usr/local/bin/build.py
5	+ dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375
6	usage: build.py [-h] [-n NAMESPACE] -u USER -p PASSWORD [-r REGISTRY] [-s]
7	[-w WORKERS] [--path WORKER_PATH] [--base-path BASE_PATH] [-f]
8	build.py: error: the following arguments are required: -u/--user, -p/--password
9	+ kill 6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the repository’s Drone configuration and the build.py invocation shown in the trace. Compare the required -u/--user and -p/--password arguments with the values passed by Drone, then use the linked Drone run to verify that test suites and builds execute successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
ci-cd, devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.