Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: make unit-test is broken #45

Open
estensen opened this issue Nov 16, 2023 · 1 comment
Open

[Bug]: make unit-test is broken #45

estensen opened this issue Nov 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@estensen
Copy link
Contributor

What happened + What you expected to happen

Running the unit tests locally fails

...
2023/11/16 16:00:45 Localstack started successfully! URL: http://0.0.0.0:4568
2023/11/16 16:00:45 Current Working Directory: /Users/estensen/Developer/eigenda/inabox
Creating S3 bucket
Creating S3 bucket
Creating S3 bucket
Creating S3 bucket
Creating S3 bucket
Creating S3 bucket
Creating S3 bucket
Could not connect to docker: reached retry deadline: exit status 127:
Stopping Dockertest resources
Expiring docker resource
Purging docker resource
panic: failed to deploy AWS resources

goroutine 1 [running]:
github.com/Layr-Labs/eigenda/disperser/apiserver_test.setup(0xc00039fe48?)
	/Users/estensen/Developer/eigenda/disperser/apiserver/server_test.go:291 +0x258
github.com/Layr-Labs/eigenda/disperser/apiserver_test.TestMain(0x9fbb5a2deb6cb00b?)
	/Users/estensen/Developer/eigenda/disperser/apiserver/server_test.go:45 +0x27
main.main()
	_testmain.go:61 +0x308
FAIL	github.com/Layr-Labs/eigenda/disperser/apiserver	16.282s
...

I also think that the docs should mention that you need to run Docker to run the unit tests.

Versions / Dependencies

main branch
go version go1.21.4 darwin/amd64

How to reproduce

make unit-test

Issue Severity

High: It blocks me from completing my task.

@estensen estensen added the bug Something isn't working label Nov 16, 2023
@DudessaPr
Copy link

I had a similar issue when I was trying to run: make deploy-all
Found out that the error was because I didn't change the branch to opstack-poc
On the master branch, there are some important commented lines:

// TODO: When these are uncommented, the deployer sometimes fails to start anvil
// cmd.Stdout = &out
// cmd.Stderr = &stderr

When on another branch it is:
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants