I'm facing an issue with the marketplace extension submission. When I try to submit a module on the marketplace and below error report returns from the marketplace.

The report is:

"tool": "varnish",
  "status": "FAIL",
  "reports": [
      "php_version": "8.1",
      "magento_platform": "M2",
      "magento_edition": "ce",
      "magento_version": "2.4.5-p1",
      "tool": "varnish",
      "vendor": "test",
      "extension": "dev",
      "version": "1.0.1",
      "platform": "m2",
      "magento_cloud_docker": "1.3.3",
      "status": "FAIL"

I have checked with docker cloud-build and cloud-deploy on the local machine as below command, and both working fine with my extension.

  • docker-compose -f docker-compose.yml run --rm build cloud-build
  • docker-compose -f docker-compose.yml run --rm deploy cloud-deploy

Check the attached screenshot.cloud build and deploy

Let me know if you have any solution to fix this. Thanks!

  • Did you get any errors, while running the website in the docker-compose?
    – Bojjaiah
    Commented Nov 3, 2022 at 8:55
  • @Bojjaiah Thanks for the prompt response. There is no error on docker-compose, as the above attached screenshot, it is successfully cloud Building and Deploying. Commented Nov 3, 2022 at 8:59
  • Have you tested with Magento Coding Standards github.com/magento/magento-coding-standard?
    – Bojjaiah
    Commented Nov 3, 2022 at 16:53
  • If already been tested successfully, Can you share your composer file here?
    – Bojjaiah
    Commented Nov 3, 2022 at 16:54
  • Yes, I have tested with Magento Coding Standards[phpcs and phpstan] and it tested successfully. Please find below the composer.json Commented Nov 4, 2022 at 4:44

1 Answer 1


@Bojjaiah due to too long comment limit, I have pasted here composer.json code. Please find composer.json

    "name": "test/dev",
    "description": "Dev test module",
    "type": "magento2-module",
    "version": "1.0.1",
    "license": [
    "require": {
        "php": "~7.3.0||~7.4.0||~8.0.0||~8.1.0",
        "magento/framework": "103.0.*",
        "test/core": "*"
    "autoload": {
        "files": [ "registration.php" ],
        "psr-4": {
            "Test\\Dev\\": ""
    "config": {
        "allow-plugins": {
            "magento/*": true,
            "laminas/*": true,
            "cweagans/composer-patches": true
  • composer.json looks good. In most cases, the extension failed in the Varnish. Did you test the varnish test? If No, Please configure and test. Also, they will provide the reason and the stage of compilation failed you can follow the steps that they followed. Or you can log in to the Magento Slack to get support directly from the Magento Team. magentocommeng.slack.com/archives/C7SL5CGDN
    – Bojjaiah
    Commented Nov 4, 2022 at 5:50
  • @Bojjaiah Sorry for the late response. I found an exact issue with my module and the issue was related to the console command file. Need to use the Factory class instead of the simple Model class in the Console command file because when marketplace checking module with docker-Varnish before the module initialized console command checking and that time class is not being generated so we need to use Factory class and then it works fine. Thanks for your time. Commented Dec 26, 2022 at 6:30
  • Great, Congrats.
    – Bojjaiah
    Commented Dec 26, 2022 at 8:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.