Erro de pipeline: "a propriedade end_aem_createsegmentstore está ausente"

Última atualização em 2023-12-06

"Quando ocorre um erro no pipeline: The end_aem_createsegmentstore property is missing, siga as instruções neste artigo para corrigir o problema."

Descrição

Ambiente

Experience Manager

Problemas/Sintomas

A variável Integração contínua e Implantação contínua (CI/CD) O pipeline continua falhando durante o Implantar para desenvolvimento estágio.

Os logs de implantação não mostraram nenhum erro devido à base de código, mas os seguintes erros estão presentes:
 
[ 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

Resolução

Ao verificar o pipeline, pode-se ver que ele falha com o erro errorCode: BLOCKED_QUEUE.

Isso significa que a fila de replicação está bloqueada, dificultando a instalação de conteúdo mutável adicional.

Nos logs, os erros [ 1] estão presentes durante o período de implantação. Provavelmente o nó - [ 2] não está presente no publicador e/ou no servidor de visualização e a replicação falha.

Depois de limpar a fila de replicação, a implantação do pipeline foi bem-sucedida.

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

[ 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_en/page_1/page_2/page_3/page_4/page_5

Nesta página