elastic / elastic/elastic-package

Error running pipeline test

Open
#1,202 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
72
Forks
141
Avg merge
19h 42m
Merged PRs (30d)
55

Description

nicholas@computer zeronetworks % elastic-package test pipeline -v
2023/03/24 13:26:28 DEBUG Enable verbose logging
Run pipeline tests for the package
Error: error running package pipeline tests: could not complete test run: installing ingest pipelines failed: marshalling pipeline content failed (pipeline: default-1679678788367577000): json: unsupported type: map[interface {}]interface {}
nicholas@computer zeronetworks % elastic-package test pipeline -v -g
2023/03/24 13:27:25 DEBUG Enable verbose logging
Run pipeline tests for the package
Error: error running package pipeline tests: could not complete test run: installing ingest pipelines failed: marshalling pipeline content failed (pipeline: default-1679678845327827000): json: unsupported type: map[interface {}]interface {}

Getting the above error trying to test a pipeline, but it's pretty generic. Any recommendations how to troubleshoot?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure with `elastic-package test pipeline -v` and `-g`, then inspect the pipeline content and the marshalling path implicated by the `map[interface {}]interface {}` error. Done means the affected pipeline test runs successfully and the failure has regression coverage or a clearly actionable diagnostic.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.