Skip to content

Instantly share code, notes, and snippets.

@rfay
Created February 5, 2024 15:50
Show Gist options
  • Save rfay/967350ffd1038cb2f2db7902f2cdf1b5 to your computer and use it in GitHub Desktop.
Save rfay/967350ffd1038cb2f2db7902f2cdf1b5 to your computer and use it in GitHub Desktop.
`make testcmd` results
rfay@rfay-tag1-m1:~/workspace/ddev$ make testcmd
building .gotmp/bin/darwin_arm64/ddev from ./cmd/... ./pkg/...
LDFLAGS=-extldflags -static -X github.com/ddev/ddev/pkg/versionconstants.DdevVersion=v1.22.6-45-g877dbeea3 -X github.com/ddev/ddev/pkg/versionconstants.SegmentKey=CawBO33fRNynkaZsfgjY8sTxDT3yrH9c -X github.com/ddev/ddev/pkg/versionconstants.AmplitudeAPIKey=200bd388e841b7de0539338d49c96eb9
DDEV_BINARY_FULLPATH=/Users/rfay/workspace/ddev/.gotmp/bin/darwin_arm64/ddev
export PATH="/Users/rfay/workspace/ddev/.gotmp/bin/darwin_arm64:$PATH" DDEV_NO_INSTRUMENTATION=true CGO_ENABLED=0 DDEV_BINARY_FULLPATH=/Users/rfay/workspace/ddev/.gotmp/bin/darwin_arm64/ddev; go test -p 1 -timeout 4h -v -installsuffix static -ldflags " -extldflags -static -X 'github.com/ddev/ddev/pkg/versionconstants.DdevVersion=v1.22.6-45-g877dbeea3' -X 'github.com/ddev/ddev/pkg/versionconstants.SegmentKey=CawBO33fRNynkaZsfgjY8sTxDT3yrH9c' -X 'github.com/ddev/ddev/pkg/versionconstants.AmplitudeAPIKey=200bd388e841b7de0539338d49c96eb9' " ./cmd/...
? github.com/ddev/ddev/cmd/ddev [no test files]
time="2024-02-05T08:38:35-07:00" level=info msg="Running DDEV with ddev= /Users/rfay/workspace/ddev/.gotmp/bin/darwin_arm64/ddev"
Copying directory /Users/rfay/.ddev/testcache/cbceb39f_wordpress-5.8.2.tar.gz to /Users/rfay/tmp/ddevtest/TestCmdWordpress692900910
Copying complete
=== RUN TestCmdVersion
--- PASS: TestCmdVersion (0.13s)
=== RUN TestCustomCommands
Container ddev-TestCmdWordpress-db Stopped
Container ddev-TestCmdWordpress-web Stopped
Container ddev-TestCmdWordpress-web Stopped
Container ddev-TestCmdWordpress-db Stopped
Container ddev-TestCmdWordpress-db Removed
Container ddev-TestCmdWordpress-web Removed
Network ddev-testcmdwordpress_default Removed
Not trying to remove hostnames because DDEV_NONINTERACTIVE=true
Volume TestCmdWordpress-mariadb for project TestCmdWordpress was deleted
Volume TestCmdWordpress-postgres for project TestCmdWordpress was deleted
Volume TestCmdWordpress_project_mutagen for project TestCmdWordpress was deleted
Project TestCmdWordpress was deleted. Your code and configuration are unchanged.
Network ddev-testcmdwordpress_default created
Not trying to add hostnames because DDEV_NONINTERACTIVE=true
Building project images...
Project images built in 0s.
Container ddev-TestCmdWordpress-web Created
Container ddev-TestCmdWordpress-db Created
Container ddev-TestCmdWordpress-db Started
Container ddev-TestCmdWordpress-web Started
Starting Mutagen sync process...
Mutagen sync flush completed in 2s.
For details on sync status 'ddev mutagen st TestCmdWordpress -l'
Waiting for web/db containers to become ready: [web db]
Starting ddev-router if necessary...
Container ddev-router Running
Waiting for additional project containers to become ready...
All project containers are now ready.
Not trying to add hostnames because DDEV_NONINTERACTIVE=true
Building project images...
Project images built in 0s.
Container ddev-TestCmdWordpress-db Recreate
Container ddev-TestCmdWordpress-web Recreate
Container ddev-TestCmdWordpress-db Recreated
Container ddev-TestCmdWordpress-web Recreated
Container ddev-TestCmdWordpress-web Started
Container ddev-TestCmdWordpress-db Started
Starting Mutagen sync process...
Mutagen sync flush completed in 2s.
For details on sync status 'ddev mutagen st TestCmdWordpress -l'
Waiting for web/db containers to become ready: [web db]
Starting ddev-router if necessary...
Container ddev-router Running
Waiting for additional project containers to become ready...
All project containers are now ready.
Your project may need a DJANGO_SETTINGS_MODULE environment variable to work correctly
Your project may need a WSGI_APP environment variable to work correctly
Container ddev-TestCmdWordpress-db Stopped
Container ddev-TestCmdWordpress-web Stopped
Container ddev-TestCmdWordpress-web Stopped
Container ddev-TestCmdWordpress-db Stopped
Container ddev-TestCmdWordpress-db Removed
Container ddev-TestCmdWordpress-web Removed
Network ddev-testcmdwordpress_default Removed
Not trying to remove hostnames because DDEV_NONINTERACTIVE=true
Volume TestCmdWordpress-mariadb for project TestCmdWordpress was deleted
Volume TestCmdWordpress-postgres for project TestCmdWordpress was deleted
Volume TestCmdWordpress_project_mutagen for project TestCmdWordpress was deleted
Project TestCmdWordpress was deleted. Your code and configuration are unchanged.
Stopped Mutagen daemon
--- PASS: TestCustomCommands (73.25s)
=== RUN TestLaunchCommand
Network ddev-testlaunchcommand1940420731_default created
Not trying to add hostnames because DDEV_NONINTERACTIVE=true
Building project images...
Project images built in 0s.
Container ddev-TestLaunchCommand1940420731-db Created
Container ddev-TestLaunchCommand1940420731-web Created
Container ddev-TestLaunchCommand1940420731-db Started
Container ddev-TestLaunchCommand1940420731-web Started
You have Mutagen enabled and your '' project type doesn't have `upload_dirs` set.
For faster startup and less disk usage, set upload_dirs to where your user-generated files are stored.
If this is intended you can disable this warning with `ddev config --disable-upload-dirs-warning`.
Starting Mutagen sync process...
Mutagen sync flush completed in 1s.
For details on sync status 'ddev mutagen st TestLaunchCommand1940420731 -l'
Waiting for web/db containers to become ready: [web db]
Starting ddev-router if necessary...
Container ddev-router Recreate
Container ddev-router Recreated
Container ddev-router Started
Waiting for additional project containers to become ready...
All project containers are now ready.
Container ddev-TestLaunchCommand1940420731-db Stopped
Container ddev-TestLaunchCommand1940420731-web Stopped
Container ddev-TestLaunchCommand1940420731-web Stopped
Container ddev-TestLaunchCommand1940420731-db Stopped
Container ddev-TestLaunchCommand1940420731-db Removed
Container ddev-TestLaunchCommand1940420731-web Removed
Network ddev-testlaunchcommand1940420731_default Removed
Not trying to remove hostnames because DDEV_NONINTERACTIVE=true
Volume TestLaunchCommand1940420731-mariadb for project TestLaunchCommand1940420731 was deleted
Volume TestLaunchCommand1940420731-postgres for project TestLaunchCommand1940420731 was deleted
Volume TestLaunchCommand1940420731_project_mutagen for project TestLaunchCommand1940420731 was deleted
Project TestLaunchCommand1940420731 was deleted. Your code and configuration are unchanged.
--- PASS: TestLaunchCommand (31.41s)
=== RUN TestMysqlCommand
Network ddev-testmysqlcommand4291014812_default created
Not trying to add hostnames because DDEV_NONINTERACTIVE=true
Building project images...
Project images built in 0s.
Container ddev-TestMysqlCommand4291014812-db Created
Container ddev-TestMysqlCommand4291014812-web Created
Container ddev-TestMysqlCommand4291014812-web Started
Container ddev-TestMysqlCommand4291014812-db Started
You have Mutagen enabled and your '' project type doesn't have `upload_dirs` set.
For faster startup and less disk usage, set upload_dirs to where your user-generated files are stored.
If this is intended you can disable this warning with `ddev config --disable-upload-dirs-warning`.
Starting Mutagen sync process...
Mutagen sync flush completed in 1s.
For details on sync status 'ddev mutagen st TestMysqlCommand4291014812 -l'
Waiting for web/db containers to become ready: [web db]
Starting ddev-router if necessary...
Container ddev-router Recreate
Container ddev-router Recreated
Container ddev-router Started
Waiting for additional project containers to become ready...
All project containers are now ready.
Container ddev-TestMysqlCommand4291014812-db Stopped
Container ddev-TestMysqlCommand4291014812-web Stopped
Container ddev-TestMysqlCommand4291014812-web Stopped
Container ddev-TestMysqlCommand4291014812-db Stopped
Container ddev-TestMysqlCommand4291014812-db Removed
Container ddev-TestMysqlCommand4291014812-web Removed
Network ddev-testmysqlcommand4291014812_default Removed
Not trying to remove hostnames because DDEV_NONINTERACTIVE=true
Volume TestMysqlCommand4291014812-mariadb for project TestMysqlCommand4291014812 was deleted
Volume TestMysqlCommand4291014812-postgres for project TestMysqlCommand4291014812 was deleted
Volume TestMysqlCommand4291014812_project_mutagen for project TestMysqlCommand4291014812 was deleted
Project TestMysqlCommand4291014812 was deleted. Your code and configuration are unchanged.
--- PASS: TestMysqlCommand (30.02s)
=== RUN TestPsqlCommand
Network ddev-testpsqlcommand1618289166_default created
Not trying to add hostnames because DDEV_NONINTERACTIVE=true
Building project images...
.Project images built in 7s.
Container ddev-TestPsqlCommand1618289166-web Created
Container ddev-TestPsqlCommand1618289166-db Created
Container ddev-TestPsqlCommand1618289166-db Started
Container ddev-TestPsqlCommand1618289166-web Started
You have Mutagen enabled and your '' project type doesn't have `upload_dirs` set.
For faster startup and less disk usage, set upload_dirs to where your user-generated files are stored.
If this is intended you can disable this warning with `ddev config --disable-upload-dirs-warning`.
Starting Mutagen sync process...
Mutagen sync flush completed in 2s.
For details on sync status 'ddev mutagen st TestPsqlCommand1618289166 -l'
Waiting for web/db containers to become ready: [web db]
Starting ddev-router if necessary...
Container ddev-router Running
Waiting for additional project containers to become ready...
All project containers are now ready.
Container ddev-TestPsqlCommand1618289166-db Stopped
Container ddev-TestPsqlCommand1618289166-web Stopped
Container ddev-TestPsqlCommand1618289166-db Stopped
Container ddev-TestPsqlCommand1618289166-web Stopped
Container ddev-TestPsqlCommand1618289166-db Removed
Container ddev-TestPsqlCommand1618289166-web Removed
Network ddev-testpsqlcommand1618289166_default Removed
Not trying to remove hostnames because DDEV_NONINTERACTIVE=true
Volume TestPsqlCommand1618289166-mariadb for project TestPsqlCommand1618289166 was deleted
Volume TestPsqlCommand1618289166-postgres for project TestPsqlCommand1618289166 was deleted
Volume TestPsqlCommand1618289166_project_mutagen for project TestPsqlCommand1618289166 was deleted
Project TestPsqlCommand1618289166 was deleted. Your code and configuration are unchanged.
--- PASS: TestPsqlCommand (33.96s)
=== RUN TestNpmYarnCommands
Network ddev-testcmdwordpress_default created
Not trying to add hostnames because DDEV_NONINTERACTIVE=true
Building project images...
Project images built in 0s.
Container ddev-TestCmdWordpress-db Created
Container ddev-TestCmdWordpress-web Created
Container ddev-TestCmdWordpress-db Started
Container ddev-TestCmdWordpress-web Started
Starting Mutagen sync process...
Mutagen sync flush completed in 2s.
For details on sync status 'ddev mutagen st TestCmdWordpress -l'
Waiting for web/db containers to become ready: [web db]
Starting ddev-router if necessary...
Container ddev-router Running
Waiting for additional project containers to become ready...
All project containers are now ready.
Container ddev-TestCmdWordpress-db Stopped
Container ddev-TestCmdWordpress-web Stopped
Container ddev-TestCmdWordpress-web Stopped
Container ddev-TestCmdWordpress-db Stopped
Container ddev-TestCmdWordpress-db Removed
Container ddev-TestCmdWordpress-web Removed
Network ddev-testcmdwordpress_default Removed
Not trying to remove hostnames because DDEV_NONINTERACTIVE=true
Volume TestCmdWordpress-mariadb for project TestCmdWordpress was deleted
Volume TestCmdWordpress-postgres for project TestCmdWordpress was deleted
Volume TestCmdWordpress_project_mutagen for project TestCmdWordpress was deleted
Project TestCmdWordpress was deleted. Your code and configuration are unchanged.
--- PASS: TestNpmYarnCommands (31.44s)
=== RUN TestComposerCreateCmd
composer-create_test.go:52: == BEGIN TestComposerCreateCmd for project of type 'php' with docroot ''
Not trying to add hostnames because DDEV_NONINTERACTIVE=true
Building project images...
Project images built in 0s.
Container ddev-TestComposerCreateCmdphp3332294338-db Recreate
Container ddev-TestComposerCreateCmdphp3332294338-web Recreate
Container ddev-TestComposerCreateCmdphp3332294338-db Recreated
Container ddev-TestComposerCreateCmdphp3332294338-web Recreated
Container ddev-TestComposerCreateCmdphp3332294338-web Started
Container ddev-TestComposerCreateCmdphp3332294338-db Started
You have Mutagen enabled and your 'php' project type doesn't have `upload_dirs` set.
For faster startup and less disk usage, set upload_dirs to where your user-generated files are stored.
If this is intended you can disable this warning with `ddev config --disable-upload-dirs-warning`.
Starting Mutagen sync process...
Mutagen sync flush completed in 2s.
For details on sync status 'ddev mutagen st TestComposerCreateCmdphp3332294338 -l'
Waiting for web/db containers to become ready: [web db]
Starting ddev-router if necessary...
Container ddev-router Running
Waiting for additional project containers to become ready...
All project containers are now ready.
Container ddev-TestComposerCreateCmdphp3332294338-db Stopped
Container ddev-TestComposerCreateCmdphp3332294338-web Stopped
Container ddev-TestComposerCreateCmdphp3332294338-db Stopped
Container ddev-TestComposerCreateCmdphp3332294338-web Stopped
Container ddev-TestComposerCreateCmdphp3332294338-db Removed
Container ddev-TestComposerCreateCmdphp3332294338-web Removed
Network ddev-testcomposercreatecmdphp3332294338_default Removed
Not trying to remove hostnames because DDEV_NONINTERACTIVE=true
Volume TestComposerCreateCmdphp3332294338-mariadb for project TestComposerCreateCmdphp3332294338 was deleted
Volume TestComposerCreateCmdphp3332294338-postgres for project TestComposerCreateCmdphp3332294338 was deleted
Volume TestComposerCreateCmdphp3332294338_project_mutagen for project TestComposerCreateCmdphp3332294338 was deleted
Project TestComposerCreateCmdphp3332294338 was deleted. Your code and configuration are unchanged.
composer-create_test.go:52: == BEGIN TestComposerCreateCmd for project of type 'drupal10' with docroot ''
Not trying to add hostnames because DDEV_NONINTERACTIVE=true
Building project images...
Project images built in 0s.
Container ddev-TestComposerCreateCmddrupal101040353857-db Recreate
Container ddev-TestComposerCreateCmddrupal101040353857-web Recreate
Container ddev-TestComposerCreateCmddrupal101040353857-db Recreated
Container ddev-TestComposerCreateCmddrupal101040353857-web Recreated
Container ddev-TestComposerCreateCmddrupal101040353857-db Started
Container ddev-TestComposerCreateCmddrupal101040353857-web Started
Starting Mutagen sync process...
Mutagen sync flush completed in 2s.
For details on sync status 'ddev mutagen st TestComposerCreateCmddrupal101040353857 -l'
Waiting for web/db containers to become ready: [web db]
Starting ddev-router if necessary...
Container ddev-router Running
Waiting for additional project containers to become ready...
All project containers are now ready.
Container ddev-TestComposerCreateCmddrupal101040353857-db Stopped
Container ddev-TestComposerCreateCmddrupal101040353857-web Stopped
Container ddev-TestComposerCreateCmddrupal101040353857-web Stopped
Container ddev-TestComposerCreateCmddrupal101040353857-db Stopped
Container ddev-TestComposerCreateCmddrupal101040353857-db Removed
Container ddev-TestComposerCreateCmddrupal101040353857-web Removed
Network ddev-testcomposercreatecmddrupal101040353857_default Removed
Not trying to remove hostnames because DDEV_NONINTERACTIVE=true
Volume TestComposerCreateCmddrupal101040353857-mariadb for project TestComposerCreateCmddrupal101040353857 was deleted
Volume TestComposerCreateCmddrupal101040353857-postgres for project TestComposerCreateCmddrupal101040353857 was deleted
Volume TestComposerCreateCmddrupal101040353857_project_mutagen for project TestComposerCreateCmddrupal101040353857 was deleted
Project TestComposerCreateCmddrupal101040353857 was deleted. Your code and configuration are unchanged.
composer-create_test.go:52: == BEGIN TestComposerCreateCmd for project of type 'php' with docroot 'doc-root'
Not trying to add hostnames because DDEV_NONINTERACTIVE=true
Building project images...
Project images built in 0s.
Container ddev-TestComposerCreateCmdphp406385029-web Recreate
Container ddev-TestComposerCreateCmdphp406385029-db Recreate
Container ddev-TestComposerCreateCmdphp406385029-db Recreated
Container ddev-TestComposerCreateCmdphp406385029-web Recreated
Container ddev-TestComposerCreateCmdphp406385029-db Started
Container ddev-TestComposerCreateCmdphp406385029-web Started
You have Mutagen enabled and your 'php' project type doesn't have `upload_dirs` set.
For faster startup and less disk usage, set upload_dirs to where your user-generated files are stored.
If this is intended you can disable this warning with `ddev config --disable-upload-dirs-warning`.
Starting Mutagen sync process...
Mutagen sync flush completed in 3s.
For details on sync status 'ddev mutagen st TestComposerCreateCmdphp406385029 -l'
Waiting for web/db containers to become ready: [web db]
Starting ddev-router if necessary...
Container ddev-router Running
Waiting for additional project containers to become ready...
All project containers are now ready.
Container ddev-TestComposerCreateCmdphp406385029-db Stopped
Container ddev-TestComposerCreateCmdphp406385029-web Stopped
Container ddev-TestComposerCreateCmdphp406385029-web Stopped
Container ddev-TestComposerCreateCmdphp406385029-db Stopped
Container ddev-TestComposerCreateCmdphp406385029-db Removed
Container ddev-TestComposerCreateCmdphp406385029-web Removed
Network ddev-testcomposercreatecmdphp406385029_default Removed
Not trying to remove hostnames because DDEV_NONINTERACTIVE=true
Volume TestComposerCreateCmdphp406385029-mariadb for project TestComposerCreateCmdphp406385029 was deleted
Volume TestComposerCreateCmdphp406385029-postgres for project TestComposerCreateCmdphp406385029 was deleted
Volume TestComposerCreateCmdphp406385029_project_mutagen for project TestComposerCreateCmdphp406385029 was deleted
Project TestComposerCreateCmdphp406385029 was deleted. Your code and configuration are unchanged.
composer-create_test.go:52: == BEGIN TestComposerCreateCmd for project of type 'drupal10' with docroot 'doc-root'
Not trying to add hostnames because DDEV_NONINTERACTIVE=true
Building project images...
Project images built in 0s.
Container ddev-TestComposerCreateCmddrupal10724497599-web Recreate
Container ddev-TestComposerCreateCmddrupal10724497599-db Recreate
Container ddev-TestComposerCreateCmddrupal10724497599-db Recreated
Container ddev-TestComposerCreateCmddrupal10724497599-web Recreated
Container ddev-TestComposerCreateCmddrupal10724497599-web Started
Container ddev-TestComposerCreateCmddrupal10724497599-db Started
Starting Mutagen sync process...
Mutagen sync flush completed in 1s.
For details on sync status 'ddev mutagen st TestComposerCreateCmddrupal10724497599 -l'
Waiting for web/db containers to become ready: [web db]
Starting ddev-router if necessary...
Container ddev-router Running
Waiting for additional project containers to become ready...
All project containers are now ready.
Container ddev-TestComposerCreateCmddrupal10724497599-db Stopped
Container ddev-TestComposerCreateCmddrupal10724497599-web Stopped
Container ddev-TestComposerCreateCmddrupal10724497599-db Stopped
Container ddev-TestComposerCreateCmddrupal10724497599-web Stopped
Container ddev-TestComposerCreateCmddrupal10724497599-db Removed
Container ddev-TestComposerCreateCmddrupal10724497599-web Removed
Network ddev-testcomposercreatecmddrupal10724497599_default Removed
Not trying to remove hostnames because DDEV_NONINTERACTIVE=true
Volume TestComposerCreateCmddrupal10724497599-mariadb for project TestComposerCreateCmddrupal10724497599 was deleted
Volume TestComposerCreateCmddrupal10724497599-postgres for project TestComposerCreateCmddrupal10724497599 was deleted
Volume TestComposerCreateCmddrupal10724497599_project_mutagen for project TestComposerCreateCmddrupal10724497599 was deleted
Project TestComposerCreateCmddrupal10724497599 was deleted. Your code and configuration are unchanged.
--- PASS: TestComposerCreateCmd (330.20s)
=== RUN TestComposerCreateAutocomplete
composer-create_test.go:130:
Error Trace: /Users/rfay/workspace/ddev/cmd/ddev/cmd/composer-create_test.go:130
Error: "--json-output\tIf true, user-oriented output will be in JSON format.\n--yes\tYes - skip confirmation prompt\n" does not contain "--no-install"
Test: TestComposerCreateAutocomplete
composer-create_test.go:131:
Error Trace: /Users/rfay/workspace/ddev/cmd/ddev/cmd/composer-create_test.go:131
Error: "--json-output\tIf true, user-oriented output will be in JSON format.\n--yes\tYes - skip confirmation prompt\n" does not contain "--no-scripts"
Test: TestComposerCreateAutocomplete
composer-create_test.go:132:
Error Trace: /Users/rfay/workspace/ddev/cmd/ddev/cmd/composer-create_test.go:132
Error: "--json-output\tIf true, user-oriented output will be in JSON format.\n--yes\tYes - skip confirmation prompt\n" does not contain "--keep-vcs"
Test: TestComposerCreateAutocomplete
--- FAIL: TestComposerCreateAutocomplete (0.44s)
=== RUN TestComposerCmdCreateConfigInstall
^Csignal: interrupt
FAIL github.com/ddev/ddev/cmd/ddev/cmd 571.544s
make: *** [testcmd] Error 1
@rfay
Copy link
Author

rfay commented Feb 5, 2024

The tests run in this order result in the failure:

=== RUN   TestCmdVersion
=== RUN   TestCustomCommands
=== RUN   TestLaunchCommand
=== RUN   TestMysqlCommand
=== RUN   TestPsqlCommand
=== RUN   TestNpmYarnCommands
=== RUN   TestComposerCreateCmd
=== RUN   TestComposerCreateAutocomplete
=== RUN   TestComposerCmdCreateConfigInstall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment