Skip to content
This repository was archived by the owner on Jul 28, 2024. It is now read-only.
This repository was archived by the owner on Jul 28, 2024. It is now read-only.

Some issues related to development infrastructure #1445

Description

@pavelevap

I will only gather some notes from testing here.

  • When starting development environment (npm start), localhost does not work immediatelly, because we are not waiting for MySQL to start (see related commit for testing: c1a1fbb).

  • Network conflict when development environment is active (npm start) and you can try to run full tests, and vice versa.

> Cleaning up Docker containers and volumes...
Found orphan containers (vptest_wordpress_1, vptest_adminer_1, vptest_mysql_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Removing network vptest_default
error while removing network: network vptest_default id 371fa07f3c3c6bb11d61afbf24f19c770477f45274d0b11759d1d1e51b4d83c4 has active endpoints

> Starting MySQL...
Found orphan containers (vptest_wordpress_1, vptest_adminer_1, vptest_mysql_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Creating vptest_mysql-for-tests_1 ... error

ERROR: for vptest_mysql-for-tests_1  Cannot start service mysql-for-tests: driver failed programming external connectivity on endpoint vptest_mysql-for-tests_1 (333000719d6d630d6a2ebadcf3696fa2f773fa17c9b2f06408e2fd73bf2e1486): Bind for 0.0.0.0:3306 failed: port is already allocated

ERROR: for mysql-for-tests  Cannot start service mysql-for-tests: driver failed programming external connectivity on endpoint vptest_mysql-for-tests_1 (333000719d6d630d6a2ebadcf3696fa2f773fa17c9b2f06408e2fd73bf2e1486): Bind for 0.0.0.0:3306 failed: port is already allocated
Encountered errors while bringing up the project.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedGood issue for community contribution – no need for deep knowledge of VP internalsimprovementImprovement of an existing functionality. See "feature" for new features.scope: dev-infrastructureBuild scripts, IDE settings, CI, Docker dev stack, testing, tooling, etc.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions