Erreur de pipeline : "La propriété end_aem_createsegmentstore est manquante"

"Lorsqu’une erreur se produit dans le pipeline : The end_aem_createsegmentstore property is missing, suivez les instructions fournies dans cet article pour résoudre le problème."

Description description

Environnement

Experience Manager

Problèmes/symptômes

La variable Intégration continue et Déploiement continu   (CI/CD) le pipeline continue d’échouer pendant la Déploiement vers le développement scène.

Les journaux de déploiement n’affichaient aucune erreur en raison de la base de code, mais les erreurs suivantes étaient présentes :

[ 1]

[ docker_entrypoint.sh prepare_environment]  Configure frameworkThe end_aem_createsegmentstore property is missing.java.lang.NumberFormatException: null    at java.base/java.lang.Integer.parseInt(Integer.java:614)    at java.base/java.lang.Integer.parseInt(Integer.java:770)    at com.adobe.skyline.buildlog.metrics.P8sMetricsGenerator.generateMetricsFromContent(P8sMetricsGenerator.java:67)    at com.adobe.skyline.buildlog.metrics.P8sMetricsGenerator.generateMetrics(P8sMetricsGenerator.java:41)    at com.adobe.skyline.buildlog.metrics.P8sMetricsGenerator.generateMetrics(P8sMetricsGenerator.java:36)    at com.adobe.skyline.buildlog.metrics.Main.main(Main.java:33)


[ 2]

*WARN* [ logback-1]  org.apache.sling.commons.log.logback.internal.LogConfig Invalid message format provided [ %d'{'dd.MM.yyyy HH:mm:ss.SSS'}' *{4}* *${project.parent.version}* {3} {5}] . Would use the default patternjava.lang.IllegalArgumentException: can't parse argument number: project.parent.version    at java.base/java.text.MessageFormat.makeFormat(MessageFormat.java:1451)    at java.base/java.text.MessageFormat.applyPattern(MessageFormat.java:491)    at java.base/java.text.MessageFormat.<init>(MessageFormat.java:370)    at java.base/java.text.MessageFormat.format(MessageFormat.java:859)    at org.apache.sling.commons.log.logback.internal.LogConfig.createLayout(LogConfig.java:140)    at org.apache.sling.commons.log.logback.internal.util.LoggerSpecificEncoder.addLogConfig(LoggerSpecificEncoder.java:82)    at org.apache.sling.commons.log.log

Résolution resolution

En vérifiant le pipeline, on peut constater qu’il échoue avec l’erreur errorCode: BLOCKED_QUEUE.

Cela signifie que la file d’attente de réplication est bloquée, ce qui empêche l’installation de contenu modifiable supplémentaire.

Dans les logs, les erreurs [ 1] sont présents pendant la période de déploiement. Le noeud le plus probablement - [ 2] n’est pas présent sur l’éditeur et/ou le serveur d’aperçu et la réplication échoue.

Une fois la file d’attente de réplication effacée, le déploiement du pipeline a réussi.

=======================================================================

[ 1]

ERROR[ Queue Processor for Subscriber agent previewSubscriber]  org.apache.jackrabbit.vault.fs.io.Importer E /content/parent_site/main_page/global/main/en_en/page_1/page_2/page_3/page_4/page_5/jcr:content (java.lang.IllegalStateException: Parent node not found.)ERROR[ Queue Processor for Subscriber agent previewSubscriber]  org.apache.sling.distribution.journal.impl.subscriber.DistributionSubscriber Error processing queue itemorg.apache.sling.distribution.common.DistributionException: Failed attempt (9/infinite) to import the distribution package PackageMessage(pubSlingId=78c413c0-6b5e-4d05-b9ae-117c2bf90d2e, reqType=ADD, pkgId=dstrpck-1681137348395-548c1b76-b393-4c65-97e3-8e2bc0b8a9ab, pkgType=journal_filevault, pkgLength=14951, pubAgentName=preview, userId=replication-service, paths=[ /content/parent_site/main_page/global/main/en_en/page_1/page_2/page_3/page_4/page_5] , deepPaths=[ ] ) at offset=53704345 because of 'javax.jcr.RepositoryException: Some errors occurred while installing packages.Please check the logs for details.First exception is logged as cause.', the importer will retry laterat org.apache.sling.distribution.journal.bookkeeper.BookKeeper.failure(BookKeeper.java:265) [ org.apache.sling.distribution.journal:0.1.27.T20220928143421-68fdb1a] at org.apache.sling.distribution.journal.bookkeeper.BookKeeper.importPackage(BookKeeper.java:178) [ org.apache.sling.distribution.journal:0.1.27.T20220928143421-68fdb1a] at org.apache.sling.distribution.journal.impl.subscriber.DistributionSubscriber.processQueueItem(DistributionSubscriber.java:384) [ org.apache.sling.distribution.journal:0.1.27.T20220928143421-68fdb1a] at org.apache.sling.distribution.journal.impl.subscriber.DistributionSubscriber.fetchAndProcessQueueItem(DistributionSubscriber.java:336) [ org.apache.sling.distribution.journal:0.1.27.T20220928143421-68fdb1a] at org.apache.sling.distribution.journal.impl.subscriber.DistributionSubscriber.processQueue(DistributionSubscriber.java:314) [ org.apache.sling.distribution.journal:0.1.27.T20220928143421-68fdb1a] at java.base/java.lang.Thread.run(Thread.java:834)Caused by: org.apache.sling.distribution.common.DistributionException: javax.jcr.RepositoryException: Some errors occurred while installing packages. Please check the logs for details. First exception is logged as cause.at org.apache.sling.distribution.serialization.impl.vlt.FileVaultContentSerializer.importFromStream(FileVaultContentSerializer.java:159) [ org.apache.sling.distribution.core:0.6.0.T202209271257-98a9dd5] at org.apache.sling.distribution.packaging.impl.InMemoryDistributionPackageBuilder.installPackageInternal(InMemoryDistributionPackageBuilder.java:119) [ org.apache.sling.distribution.core:0.6.0.T202209271257-98a9dd5] at org.apache.sling.distribution.packaging.impl.AbstractDistributionPackageBuilder.installPackage(AbstractDistributionPackageBuilder.java:156) [ org.apache.sling.distribution.core:0.6.0.T202209271257-98a9dd5] at org.apache.sling.distribution.monitor.impl.MonitoringDistributionPackageBuilder.installPackage(MonitoringDistributionPackageBuilder.java:92) [ org.apache.sling.distribution.core:0.6.0.T202209271257-98a9dd5] at org.apache.sling.distribution.serialization.impl.vlt.VaultDistributionPackageBuilderFactory.installPackage(VaultDistributionPackageBuilderFactory.java:317) [ org.apache.sling.distribution.core:0.6.0.T202209271257-98a9dd5] at org.apache.sling.distribution.journal.bookkeeper.PackageHandler.installAddPackage(PackageHandler.java:78) [ org.apache.sling.distribution.journal:0.1.27.T20220928143421-68fdb1a] at org.apache.sling.distribution.journal.bookkeeper.PackageHandler.apply(PackageHandler.java:61) [ org.apache.sling.distribution.journal:0.1.27.T20220928143421-68fdb1a] at org.apache.sling.distribution.journal.bookkeeper.BookKeeper.importPackage(BookKeeper.java:159) [ org.apache.sling.distribution.journal:0.1.27.T20220928143421-68fdb1a] ... 4 common frames omittedCaused by: javax.jcr.RepositoryException: Some errors occurred while installing packages. Please check the logs for details. First exception is logged as cause.at org.apache.jackrabbit.vault.fs.io.Importer.run(Importer.java:555) [ org.apache.jackrabbit.vault:3.6.9.T20230216120000-0a9b076a] at org.apache.sling.distribution.serialization.impl.vlt.FileVaultContentSerializer.importFromStream(FileVaultContentSerializer.java:151) [ org.apache.sling.distribution.core:0.6.0.T202209271257-98a9dd5] ... 11 common frames omittedCaused by: org.apache.jackrabbit.vault.packaging.PackageException: Error creating/updating node /content/parent_site/main_page/global/main/en_en/page_1/page_2/page_3/page_4/page_5/jcr:contentat org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:1101) [ org.apache.jackrabbit.vault:3.6.9.T20230216120000-0a9b076a] at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:902) [ org.apache.jackrabbit.vault:3.6.9.T20230216120000-0a9b076a] at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:942) [ org.apache.jackrabbit.vault:3.6.9.T20230216120000-0a9b076a] at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:942) [ org.apache.jackrabbit.vault:3.6.9.T20230216120000-0a9b076a] at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:942) [ org.apache.jackrabbit.vault:3.6.9.T20230216120000-0a9b076a] at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:942) [ org.apache.jackrabbit.vault:3.6.9.T20230216120000-0a9b076a] at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:942) [ org.apache.jackrabbit.vault:3.6.9.T20230216120000-0a9b076a] at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:942) [ org.apache.jackrabbit.vault:3.6.9.T20230216120000-0a9b076a] at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:942) [ org.apache.jackrabbit.vault:3.6.9.T20230216120000-0a9b076a] at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:942) [ org.apache.jackrabbit.vault:3.6.9.T20230216120000-0a9b076a] at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:942) [ org.apache.jackrabbit.vault:3.6.9.T20230216120000-0a9b076a] at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:942) [ org.apache.jackrabbit.vault:3.6.9.T20230216120000-0a9b076a] at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:942) [ org.apache.jackrabbit.vault:3.6.9.T20230216120000-0a9b076a] at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:942) [ org.apache.jackrabbit.vault:3.6.9.T20230216120000-0a9b076a] at org.apache.jackrabbit.vault.fs.io.Importer.run(Importer.java:508) [ org.apache.jackrabbit.vault:3.6.9.T20230216120000-0a9b076a] ... 12 common frames omittedCaused by: java.lang.IllegalStateException: Parent node not found.at org.apache.jackrabbit.vault.fs.io.Importer.commit(Importer.java:1027) [ org.apache.jackrabbit.vault:3.6.9.T20230216120000-0a9b076a] ... 26 common frames omitted

[ 2] /content/parent_site/main_page/global/main/en_fr/page_1/page_2/page_3/page_4/page_5

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f