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

Docker image 2.3.6-p1 error affecting marketplace module testig #315

Open
maurisource opened this issue Apr 6, 2021 · 9 comments
Open
Assignees
Projects

Comments

@maurisource
Copy link

- Summary of the issue

Module submission on the Marketplace. There seems to be an error with that specific image.

- Information on your environment,

This environment is failing:

php_version":"7.3","magento_platform":"M2","magento_edition":"ce","magento_version":"2.3.6-p1","tool":"varnish","vendor":"maurisource","extension":"lightspeed","version":"1.3.62","platform":"m2","magento_cloud_docker":"1.2.1"

- Steps to reproduce

If you check submission ID: 0p8jeuucuj you'll be able to cross-check the error.

- Expected and actual results,

Actual relevant error as seen in the report.json file generated, which is irrelevant to the module.

Researching the error, I've found this possible solution:
The issue is because during the install process Magento installs the store data, but then doesn't flush its cache.

n \u001b[37;41m Unable to apply patch Magento\\InventorySales\\Setup\\Patch\\Schema\\I \n nitializeW \u001b[39;49m \n \u001b[37;41m ebsiteDefaultSock for module Magento_InventorySales. Original exc \n eption mes \u001b[39;49m \n \u001b[37;41m sage: The default website isn't defined. Set the website and try \n again. \u001b[39;49m \n \u001b[37;41m

@sloanfardele
Copy link

Got the same issue here !

With environnement {"php_version":"7.3","magento_platform":"M2","magento_edition":"ce","magento_version":"2.3.6-p1","tool":"varnish","vendor":"laposte","extension":"magento2-colissimo-module","version":"1.1.0","platform":"m2","magento_cloud_docker":"1.2.1" and "php_version":"7.4","magento_platform":"M2","magento_edition":"ce","magento_version":"2.4.2","tool":"varnish","vendor":"laposte","extension":"magento2-colissimo-module","version":"1.1.0","platform":"m2","magento_cloud_docker":"1.2.1"

My submission ID is : rr7l1swgkx

@shiftedreality
Copy link
Member

Hello @maurisource,

Could you provide steps to reproduce? Unfortunately, we do not have an access to submissions

@maurisource
Copy link
Author

maurisource commented Apr 12, 2021

Hello @shiftedreality

In terms of reproducing the error, I think it depends on the module being submitted to the Marketplace.
For now, as @sloanfardele also is complaining. Module maurisource/lightspeed and laposte/magento2-colissimo-module are being affected

Actions I have performed: Selected those Magento versions for CE (2.3 and 2.4)
As you can see, the CE Docker image pertaining those Magento
Screen Shot 2021-04-12 at 15 04 44
versions are both failing the technical submission with exit code 1.

"magento_edition":"ce","magento_version":"2.3.6-p1"
"magento_edition":"ce","magento_version":"2.4.2"

on EE, there's no errors at all pertaining Magento version 2.3 and 2.4

I have attached the report.json file and the screenshot of the Installation & Varnish install.

report-11.json.zip

@sloanfardele
Copy link

report.zip

Here is the report.json for laposte/magento2-colissimo-module. Our extension is not compatible with Magento EE, so I can only tell that I got the same errors on Magento CE

@shiftedreality
Copy link
Member

Assigning to @slitviachenko for investigation

@YPyltiai YPyltiai added bug report issue type community PR/issue origin labels Apr 20, 2021
@slitviachenko
Copy link

@maurisource , @sloanfardele , as I mentioned in https://magentocommeng.slack.com/archives/C7SL5CGDN/p1617935586035800 , I was able to narrow down the root cause, both rr7l1swgkx and 0p8jeuucuj have cli commands, after disabling LaPoste\Colissimo\Console\Command\PurgeOldReturnLabels and LaPoste\Colissimo\Console\Command\PurgeLabelFolder, and Maurisource\Lightspeed\Console\Command\LsSyncAll respectively, I was able to install laposte/magento2-colissimo-module:1.1.0 and maurisource/lightspeed:1.3.62 on Magento 2.4.2 CE on Magento Cloud Docker 1.2.1.

@slitviachenko
Copy link

^^^ I believe Magento proxies could help to resolve this issue.
https://devdocs.magento.com/guides/v2.4/extension-dev-guide/proxies.html

@slitviachenko
Copy link

@shiftedreality , below are some details:

  • Extensions fail on the
docker-compose -f docker-compose.yml run --rm deploy cloud-deploy

command. The previous

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

command finishes successfully.

@shiftedreality
Copy link
Member

shiftedreality commented May 20, 2021

Thank you for reporting this,

Internal issue: MCLOUD-7964

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Backlog
Ready for Grooming
Development

No branches or pull requests

5 participants