text:
KOGITO-7660: Remove kogito-quarkus-test-utils from quarkus platform integration test modules

Jira: https://issues.redhat.com/browse/KOGITO-7660

How to replicate CI configuration locally?

Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.
build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.

How to retest this PR or trigger a specific build:

for pull request checks
Please add comment: Jenkins retest this

for a specific pull request check
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] tests

for quarkus branch checks
Run checks against Quarkus current used branch
Please add comment: Jenkins run quarkus-branch

for a quarkus branch specific check
Run checks against Quarkus current used branch
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] quarkus-branch

for quarkus main checks
Run checks against Quarkus main branch
Please add comment: Jenkins run quarkus-main

for a specific quarkus main check
Run checks against Quarkus main branch
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] quarkus-branch

for native checks
Run native checks
Please add comment: Jenkins run native

for a specific native check
Run native checks
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] native

for mandrel checks
Run native checks against Mandrel image
Please add comment: Jenkins run mandrel

for a specific mandrel check
Run native checks against Mandrel image
Please add comment: Jenkins (re)run [kogito-runtimes|kogito-apps|kogito-examples] mandrel

Full Kogito testing (with cloud images and operator BDD testing)
Please add comment: Jenkins run BDD
This check should be used only if a big change is done as it takes time to run, need resources and one full BDD tests check can be done at a time ...

(tests) - kogito-runtimes job #540 was: UNSTABLE
Possible explanation: This should be test failures
Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.kogito-runtimes/540/display/redirect
Test results:

PASSED: 2835
FAILED: 1

Those are the test failures:

Build projects / org.kie.kogito.it.InfinispanPersistenceIT.testPersistence
java.lang.RuntimeException: java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for detailsCaused by: java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

(tests) - kogito-runtimes job #565 was: UNSTABLE
Possible explanation: This should be test failures
Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.kogito-runtimes/565/display/redirect
Test results:

PASSED: 2838
FAILED: 1

Those are the test failures:

Build projects / org.kie.kogito.it.InfinispanPersistenceIT.testPersistence
java.lang.RuntimeException: java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for detailsCaused by: java.lang.IllegalStateException: Unable to determine the status of the running process. See the above logs for details

(tests) - kogito-apps job #697 was: UNSTABLE
Possible explanation: This should be test failures
Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.kogito-apps/697/display/redirect
Test results:

PASSED: 1864
FAILED: 1

Those are the test failures:

org.kie.kogito.index.ProcessDataIndexMongoDBIT.testProcessInstanceEvents
java.lang.AssertionError: 1 expectation failed.JSON path data.UserTaskInstances[0].comments.size() doesn't match.Expected: is <1>  Actual: <0>

(tests) - kogito-runtimes job #567 was: UNSTABLE
Possible explanation: This should be test failures
Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.kogito-runtimes/567/display/redirect
Test results:

PASSED: 2867
FAILED: 1

Those are the test failures:

org.kie.kogito.quarkus.workflows.SwitchStateEventConditionBasedIT.switchStateEventConditionTimeoutsTransitionDenied
org.opentest4j.AssertionFailedError: expected: "Denied" but was: "NoDecision"	at org.kie.kogito.quarkus.workflows.SwitchStateEventConditionBasedIT.assertDecisionEvent(SwitchStateEventConditionBasedIT.java:234)	at org.kie.kogito.quarkus.workflows.SwitchStateEventConditionBasedIT.switchStateEventConditionTimeoutsTransitionBasedWithEvent(SwitchStateEventConditionBasedIT.java:199)	at org.kie.kogito.quarkus.workflows.SwitchStateEventConditionBasedIT.switchStateEventConditionTimeoutsTransitionDenied(SwitchStateEventConditionBasedIT.java:104)

(tests) - kogito-examples job #616 was: FAILURE
Possible explanation: Pipeline failure or project build failure
Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.kogito-examples/616/display/redirect
Test results:

PASSED: 440
FAILED: 1

Those are the test failures:

Build projects / org.acme.it.QueryAnswerServiceIT.queryAnswerProcessCycle
Assertion condition defined as a lambda expression in org.acme.it.QueryAnswerServiceIT that uses java.lang.String 1 expectation failed.Expected status code <404> but was <200>. within 2 minutes.

See console log:

Console Logs
[2022-08-01T07:18:09.654Z] [INFO] |  |     +- io.quarkus:quarkus-class-change-agent:jar:2.11.0.Final:test[2022-08-01T07:18:09.654Z] [INFO] |  |     +- io.quarkus:quarkus-devtools-utilities:jar:2.11.0.Final:test[2022-08-01T07:18:09.654Z] [INFO] |  |     +- io.quarkus:quarkus-builder:jar:2.11.0.Final:test[2022-08-01T07:18:09.654Z] [INFO] |  |     \- org.junit.platform:junit-platform-launcher:jar:1.8.2:test[2022-08-01T07:18:09.654Z] [INFO] |  +- io.quarkus:quarkus-junit5-properties:jar:2.11.0.Final:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.junit.jupiter:junit-jupiter:jar:5.8.2:test[2022-08-01T07:18:09.654Z] [INFO] |  |  +- org.junit.jupiter:junit-jupiter-api:jar:5.8.2:test[2022-08-01T07:18:09.654Z] [INFO] |  |  |  +- org.opentest4j:opentest4j:jar:1.2.0:test[2022-08-01T07:18:09.654Z] [INFO] |  |  |  +- org.junit.platform:junit-platform-commons:jar:1.8.2:test[2022-08-01T07:18:09.654Z] [INFO] |  |  |  \- org.apiguardian:apiguardian-api:jar:1.1.2:test[2022-08-01T07:18:09.654Z] [INFO] |  |  +- org.junit.jupiter:junit-jupiter-params:jar:5.8.2:test[2022-08-01T07:18:09.654Z] [INFO] |  |  \- org.junit.jupiter:junit-jupiter-engine:jar:5.8.2:test[2022-08-01T07:18:09.654Z] [INFO] |  |     \- org.junit.platform:junit-platform-engine:jar:1.8.2:test[2022-08-01T07:18:09.654Z] [INFO] |  \- com.thoughtworks.xstream:xstream:jar:1.4.19:compile[2022-08-01T07:18:09.654Z] [INFO] |     \- io.github.x-stream:mxparser:jar:1.2.2:compile[2022-08-01T07:18:09.654Z] [INFO] |        \- xmlpull:xmlpull:jar:1.1.3.1:compile[2022-08-01T07:18:09.654Z] [INFO] +- io.rest-assured:rest-assured:jar:4.5.1:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.codehaus.groovy:groovy:jar:3.0.9:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.codehaus.groovy:groovy-xml:jar:3.0.9:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.5.13:compile[2022-08-01T07:18:09.654Z] [INFO] |  |  \- org.apache.httpcomponents:httpcore:jar:4.4.15:compile[2022-08-01T07:18:09.654Z] [INFO] |  +- org.apache.httpcomponents:httpmime:jar:4.5.13:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.hamcrest:hamcrest:jar:2.1:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.ccil.cowan.tagsoup:tagsoup:jar:1.2.1:test[2022-08-01T07:18:09.654Z] [INFO] |  +- io.rest-assured:json-path:jar:4.5.1:test[2022-08-01T07:18:09.654Z] [INFO] |  |  +- org.codehaus.groovy:groovy-json:jar:3.0.9:test[2022-08-01T07:18:09.654Z] [INFO] |  |  \- io.rest-assured:rest-assured-common:jar:4.5.1:test[2022-08-01T07:18:09.654Z] [INFO] |  \- io.rest-assured:xml-path:jar:4.5.1:test[2022-08-01T07:18:09.654Z] [INFO] +- org.assertj:assertj-core:jar:3.22.0:test[2022-08-01T07:18:09.654Z] [INFO] +- com.github.tomakehurst:wiremock-jre8:jar:2.33.0:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.eclipse.jetty:jetty-server:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  |  +- javax.servlet:javax.servlet-api:jar:3.1.0:test[2022-08-01T07:18:09.654Z] [INFO] |  |  +- org.eclipse.jetty:jetty-http:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  |  \- org.eclipse.jetty:jetty-io:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.eclipse.jetty:jetty-servlet:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  |  +- org.eclipse.jetty:jetty-security:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  |  \- org.eclipse.jetty:jetty-util-ajax:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.eclipse.jetty:jetty-servlets:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  |  +- org.eclipse.jetty:jetty-continuation:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  |  \- org.eclipse.jetty:jetty-util:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.eclipse.jetty:jetty-webapp:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  |  \- org.eclipse.jetty:jetty-xml:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.eclipse.jetty:jetty-proxy:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  |  \- org.eclipse.jetty:jetty-client:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.eclipse.jetty.http2:http2-server:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  |  \- org.eclipse.jetty.http2:http2-common:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  |     \- org.eclipse.jetty.http2:http2-hpack:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.eclipse.jetty:jetty-alpn-server:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.eclipse.jetty:jetty-alpn-java-server:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.eclipse.jetty:jetty-alpn-openjdk8-server:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.eclipse.jetty:jetty-alpn-java-client:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  |  \- org.eclipse.jetty:jetty-alpn-client:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.eclipse.jetty:jetty-alpn-openjdk8-client:jar:9.4.46.v20220331:test[2022-08-01T07:18:09.654Z] [INFO] |  +- com.google.guava:guava:jar:31.1-jre:compile[2022-08-01T07:18:09.654Z] [INFO] |  |  +- com.google.guava:failureaccess:jar:1.0.1:compile[2022-08-01T07:18:09.654Z] [INFO] |  |  +- org.checkerframework:checker-qual:jar:3.22.2:compile[2022-08-01T07:18:09.654Z] [INFO] |  |  +- com.google.errorprone:error_prone_annotations:jar:2.14.0:compile[2022-08-01T07:18:09.654Z] [INFO] |  |  \- com.google.j2objc:j2objc-annotations:jar:1.3:compile[2022-08-01T07:18:09.654Z] [INFO] |  +- com.fasterxml.jackson.core:jackson-core:jar:2.13.3:compile[2022-08-01T07:18:09.654Z] [INFO] |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.13.3:compile[2022-08-01T07:18:09.654Z] [INFO] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.13.3:compile[2022-08-01T07:18:09.654Z] [INFO] |  +- org.apache.httpcomponents.client5:httpclient5:jar:5.1.3:test[2022-08-01T07:18:09.654Z] [INFO] |  |  +- org.apache.httpcomponents.core5:httpcore5:jar:5.1.3:test[2022-08-01T07:18:09.654Z] [INFO] |  |  \- org.apache.httpcomponents.core5:httpcore5-h2:jar:5.1.3:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.xmlunit:xmlunit-core:jar:2.9.0:test[2022-08-01T07:18:09.654Z] [INFO] |  |  \- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.xmlunit:xmlunit-legacy:jar:2.9.0:test[2022-08-01T07:18:09.654Z] [INFO] |  +- org.xmlunit:xmlunit-placeholders:jar:2.9.0:test[2022-08-01T07:18:09.654Z] [INFO] |  +- net.javacrumbs.json-unit:json-unit-core:jar:2.33.0:test[2022-08-01T07:18:09.654Z] [INFO] |  |  \- org.hamcrest:hamcrest-core:jar:2.2:test[2022-08-01T07:18:09.654Z] [INFO] |  +- com.jayway.jsonpath:json-path:jar:2.7.0:compile[2022-08-01T07:18:09.654Z] [INFO] |  |  \- net.minidev:json-smart:jar:2.4.7:compile[2022-08-01T07:18:09.654Z] [INFO] |  |     \- net.minidev:accessors-smart:jar:2.4.7:compile[2022-08-01T07:18:09.654Z] [INFO] |  +- org.ow2.asm:asm:jar:9.3:compile[2022-08-01T07:18:09.654Z] [INFO] |  +- org.slf4j:slf4j-api:jar:1.7.36:compile[2022-08-01T07:18:09.654Z] [INFO] |  +- net.sf.jopt-simple:jopt-simple:jar:5.0.4:test[2022-08-01T07:18:09.654Z] [INFO] |  +- com.github.jknack:handlebars:jar:4.3.0:test[2022-08-01T07:18:09.654Z] [INFO] |  +- com.github.jknack:handlebars-helpers:jar:4.3.0:test[2022-08-01T07:18:09.654Z] [INFO] |  +- commons-fileupload:commons-fileupload:jar:1.4:test[2022-08-01T07:18:09.654Z] [INFO] |  \- commons-io:commons-io:jar:2.11.0:compile[2022-08-01T07:18:09.654Z] [INFO] +- org.kie.kogito.examples:serverless-workflow-newsletter-subscription-service:jar:2.0.0-SNAPSHOT:test[2022-08-01T07:18:09.654Z] [INFO] |  +- io.cloudevents:cloudevents-core:jar:2.3.0:compile[2022-08-01T07:18:09.654Z] [INFO] |  |  \- io.cloudevents:cloudevents-api:jar:2.3.0:compile[2022-08-01T07:18:09.654Z] [INFO] |  +- io.cloudevents:cloudevents-json-jackson:jar:2.3.0:compile[2022-08-01T07:18:09.654Z] [INFO] |  \- io.quarkus:quarkus-reactive-pg-client:jar:2.11.0.Final:test[2022-08-01T07:18:09.654Z] [INFO] |     +- io.quarkus:quarkus-reactive-datasource:jar:2.11.0.Final:test[2022-08-01T07:18:09.654Z] [INFO] |     |  \- io.vertx:vertx-sql-client:jar:4.3.2:test[2022-08-01T07:18:09.654Z] [INFO] |     +- io.vertx:vertx-pg-client:jar:4.3.2:test[2022-08-01T07:18:09.654Z] [INFO] |     +- com.ongres.scram:client:jar:2.1:test[2022-08-01T07:18:09.654Z] [INFO] |     |  \- com.ongres.scram:common:jar:2.1:test[2022-08-01T07:18:09.654Z] [INFO] |     |     \- com.ongres.stringprep:saslprep:jar:1.1:test[2022-08-01T07:18:09.654Z] [INFO] |     |        \- com.ongres.stringprep:stringprep:jar:1.1:test[2022-08-01T07:18:09.654Z] [INFO] |     \- io.smallrye.reactive:smallrye-mutiny-vertx-pg-client:jar:2.24.1:test[2022-08-01T07:18:09.654Z] [INFO] |        \- io.smallrye.reactive:smallrye-mutiny-vertx-sql-client:jar:2.24.1:test[2022-08-01T07:18:09.654Z] [INFO] +- org.awaitility:awaitility:jar:4.2.0:test[2022-08-01T07:18:09.654Z] [INFO] +- org.kie.kogito:kogito-addons-quarkus-persistence-jdbc:jar:2.0.0-SNAPSHOT:compile[2022-08-01T07:18:09.654Z] [INFO] |  \- org.kie.kogito:kogito-addons-persistence-jdbc:jar:2.0.0-SNAPSHOT:compile[2022-08-01T07:18:09.654Z] [INFO] +- io.quarkus:quarkus-jdbc-postgresql:jar:2.11.0.Final:compile[2022-08-01T07:18:09.654Z] [INFO] |  \- org.postgresql:postgresql:jar:42.4.0:compile[2022-08-01T07:18:09.654Z] [INFO] \- io.quarkus:quarkus-agroal:jar:2.11.0.Final:compile[2022-08-01T07:18:09.654Z] [INFO]    +- io.quarkus:quarkus-datasource:jar:2.11.0.Final:compile[2022-08-01T07:18:09.654Z] [INFO]    |  \- io.quarkus:quarkus-datasource-common:jar:2.11.0.Final:compile[2022-08-01T07:18:09.654Z] [INFO]    +- io.quarkus:quarkus-narayana-jta:jar:2.11.0.Final:compile[2022-08-01T07:18:09.654Z] [INFO]    |  +- io.quarkus:quarkus-transaction-annotations:jar:2.11.0.Final:compile[2022-08-01T07:18:09.654Z] [INFO]    |  +- io.smallrye:smallrye-context-propagation-jta:jar:1.2.2:compile[2022-08-01T07:18:09.654Z] [INFO]    |  +- io.smallrye.reactive:smallrye-reactive-converter-api:jar:2.7.0:compile[2022-08-01T07:18:09.654Z] [INFO]    |  +- io.smallrye.reactive:smallrye-reactive-converter-mutiny:jar:2.7.0:compile[2022-08-01T07:18:09.654Z] [INFO]    |  +- org.jboss.narayana.jta:narayana-jta:jar:5.12.6.Final:compile[2022-08-01T07:18:09.654Z] [INFO]    |  |  \- org.jboss.spec.javax.resource:jboss-connector-api_1.7_spec:jar:1.0.0.Final:compile[2022-08-01T07:18:09.654Z] [INFO]    |  \- org.jboss.narayana.jts:narayana-jts-integration:jar:5.12.6.Final:compile[2022-08-01T07:18:09.654Z] [INFO]    +- io.agroal:agroal-api:jar:1.16:compile[2022-08-01T07:18:09.654Z] [INFO]    +- io.agroal:agroal-narayana:jar:1.16:compile[2022-08-01T07:18:09.654Z] [INFO]    |  \- org.jboss:jboss-transaction-spi:jar:7.6.0.Final:compile[2022-08-01T07:18:09.654Z] [INFO]    +- io.agroal:agroal-pool:jar:1.16:compile[2022-08-01T07:18:09.654Z] [INFO]    \- io.quarkus:quarkus-credentials:jar:2.11.0.Final:compile[2022-08-01T07:18:09.654Z] [INFO] [2022-08-01T07:18:09.654Z] [INFO] --------< org.kie.kogito.examples:serverless-workflow-examples >--------[2022-08-01T07:18:09.654Z] [INFO] Building Kogito Example :: Serverless Workflow 2.0.0-SNAPSHOT    [20/20][2022-08-01T07:18:09.654Z] [INFO] --------------------------------[ pom ]---------------------------------[2022-08-01T07:18:09.654Z] [INFO] [2022-08-01T07:18:09.654Z] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ serverless-workflow-examples ---[2022-08-01T07:18:09.654Z] [INFO] [2022-08-01T07:18:09.654Z] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-versions) @ serverless-workflow-examples ---[2022-08-01T07:18:09.654Z] [INFO] [2022-08-01T07:18:09.654Z] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-java-version) @ serverless-workflow-examples ---[2022-08-01T07:18:09.654Z] [INFO] [2022-08-01T07:18:09.654Z] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ serverless-workflow-examples ---[2022-08-01T07:18:09.654Z] [INFO] [2022-08-01T07:18:09.654Z] [INFO] --- maven-checkstyle-plugin:3.1.1:check (default) @ serverless-workflow-examples ---[2022-08-01T07:18:09.654Z] [INFO] You have 0 Checkstyle violations.[2022-08-01T07:18:09.655Z] [INFO] [2022-08-01T07:18:09.655Z] [INFO] --- buildnumber-maven-plugin:1.4:create (get-scm-revision) @ serverless-workflow-examples ---[2022-08-01T07:18:09.655Z] [INFO] [2022-08-01T07:18:09.655Z] [INFO] --- formatter-maven-plugin:2.13.0:format (default) @ serverless-workflow-examples ---[2022-08-01T07:18:09.655Z] [INFO] Using 'UTF-8' encoding to format source files.[2022-08-01T07:18:09.655Z] [INFO] Number of files to be formatted: 0[2022-08-01T07:18:09.655Z] [INFO] [2022-08-01T07:18:09.655Z] [INFO] --- impsort-maven-plugin:1.5.0:sort (default) @ serverless-workflow-examples ---[2022-08-01T07:18:09.655Z] [INFO] Using compiler compliance level: JAVA_11[2022-08-01T07:18:09.655Z] [INFO]  Total Files Processed: 0 in 00:00.000[2022-08-01T07:18:09.655Z] [INFO]         Already Sorted: 0[2022-08-01T07:18:09.655Z] [INFO]         Needed Sorting: 0[2022-08-01T07:18:09.655Z] [INFO] [2022-08-01T07:18:09.655Z] [INFO] --- maven-jar-plugin:3.1.0:test-jar (test-jar) @ serverless-workflow-examples ---[2022-08-01T07:18:09.655Z] [INFO] Skipping packaging of the test-jar[2022-08-01T07:18:09.655Z] [INFO] [2022-08-01T07:18:09.655Z] [INFO] --- maven-source-plugin:3.0.1:jar-no-fork (attach-sources) @ serverless-workflow-examples ---[2022-08-01T07:18:09.655Z] [INFO] [2022-08-01T07:18:09.655Z] [INFO] --- maven-source-plugin:3.0.1:test-jar-no-fork (attach-test-sources) @ serverless-workflow-examples ---[2022-08-01T07:18:09.655Z] [INFO] [2022-08-01T07:18:09.655Z] [INFO] --- maven-failsafe-plugin:3.0.0-M5:integration-test (integration-test) @ serverless-workflow-examples ---[2022-08-01T07:18:09.655Z] [INFO] No tests to run.[2022-08-01T07:18:09.655Z] [INFO] [2022-08-01T07:18:09.655Z] [INFO] --- maven-failsafe-plugin:3.0.0-M5:integration-test (default) @ serverless-workflow-examples ---[2022-08-01T07:18:09.655Z] [INFO] No tests to run.[2022-08-01T07:18:09.655Z] [INFO] Skipping execution of surefire because it has already been run for this configuration[2022-08-01T07:18:09.655Z] [INFO] [2022-08-01T07:18:09.655Z] [INFO] --- maven-failsafe-plugin:3.0.0-M5:verify (integration-test) @ serverless-workflow-examples ---[2022-08-01T07:18:09.655Z] [INFO] Failsafe report directory: /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-examples/bc/kiegroup_kogito_examples/kogito-examples-persistence/serverless-workflow-examples/target/failsafe-reports[2022-08-01T07:18:09.655Z] [INFO] [2022-08-01T07:18:09.655Z] [INFO] --- maven-failsafe-plugin:3.0.0-M5:verify (default) @ serverless-workflow-examples ---[2022-08-01T07:18:09.655Z] [INFO] Failsafe report directory: /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-examples/bc/kiegroup_kogito_examples/kogito-examples-persistence/serverless-workflow-examples/target/failsafe-reports[2022-08-01T07:18:09.655Z] [INFO] [2022-08-01T07:18:09.655Z] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ serverless-workflow-examples ---[2022-08-01T07:18:09.655Z] [INFO] Installing /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-examples/bc/kiegroup_kogito_examples/kogito-examples-persistence/serverless-workflow-examples/pom.xml to /home/jenkins/.m2/repository/org/kie/kogito/examples/serverless-workflow-examples/2.0.0-SNAPSHOT/serverless-workflow-examples-2.0.0-SNAPSHOT.pom[2022-08-01T07:18:09.655Z] [INFO] [2022-08-01T07:18:09.655Z] [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ serverless-workflow-examples ---[2022-08-01T07:18:09.655Z] [INFO] org.kie.kogito.examples:serverless-workflow-examples:pom:2.0.0-SNAPSHOT[2022-08-01T07:18:09.655Z] [INFO] ------------------------------------------------------------------------[2022-08-01T07:18:09.655Z] [INFO] Reactor Summary for Kogito Example 2.0.0-SNAPSHOT:[2022-08-01T07:18:09.655Z] [INFO] [2022-08-01T07:18:09.655Z] [INFO] Kogito Example ..................................... SUCCESS [  3.271 s][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Quarkus .......................... SUCCESS [  0.072 s][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Onboarding Example ............... SUCCESS [  0.067 s][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Onboarding Example :: HR with Drools SUCCESS [03:15 min][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Onboarding Example :: Payroll with DMN SUCCESS [ 17.948 s][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Onboarding Example :: Onboarding with Business Process Quarkus SUCCESS [ 57.872 s][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Process PostgreSQL Persistence Quarkus SUCCESS [ 27.970 s][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Process and Quarkus .............. SUCCESS [ 29.472 s][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Spring Boot ...................... SUCCESS [  0.047 s][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Onboarding Example :: Onboarding with Business Process Spring Boot SUCCESS [ 31.955 s][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Process PostgreSQL Persistence Spring Boot SUCCESS [ 17.866 s][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Process and Spring Boot .......... SUCCESS [ 26.951 s][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Serverless Workflow Compensation :: Quarkus SUCCESS [ 26.402 s][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Serverless Workflow Query and Answer Showcase SUCCESS [  0.004 s][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Serverless Workflow Query and Answer :: Workflow Service FAILURE [02:29 min][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Serverless Workflow Query and Answer :: Query Service SUCCESS [ 16.107 s][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Serverless Workflow Newsletter Subscription Showcase SUCCESS [  0.004 s][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Serverless Workflow Newsletter Subscription :: Subscription Service SUCCESS [ 14.073 s][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Serverless Workflow Newsletter Subscription :: Subscription Flow SUCCESS [ 24.983 s][2022-08-01T07:18:09.655Z] [INFO] Kogito Example :: Serverless Workflow .............. SUCCESS [  0.026 s][2022-08-01T07:18:09.655Z] [INFO] ------------------------------------------------------------------------[2022-08-01T07:18:09.655Z] [INFO] BUILD FAILURE[2022-08-01T07:18:09.655Z] [INFO] ------------------------------------------------------------------------[2022-08-01T07:18:09.655Z] [INFO] Total time:  10:42 min[2022-08-01T07:18:09.655Z] [INFO] Finished at: 2022-08-01T03:18:09-04:00[2022-08-01T07:18:09.655Z] [INFO] ------------------------------------------------------------------------[2022-08-01T07:18:09.655Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M7:verify (default) on project query-answer-service: [2022-08-01T07:18:09.655Z] [ERROR] [2022-08-01T07:18:09.655Z] [ERROR] Please refer to /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-examples/bc/kiegroup_kogito_examples/kogito-examples-persistence/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/target/failsafe-reports for the individual test results.[2022-08-01T07:18:09.655Z] [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.[2022-08-01T07:18:09.655Z] [ERROR] -> [Help 1][2022-08-01T07:18:09.655Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M7:verify (default) on project query-answer-service: [2022-08-01T07:18:09.655Z] [2022-08-01T07:18:09.655Z] Please refer to /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-examples/bc/kiegroup_kogito_examples/kogito-examples-persistence/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/target/failsafe-reports for the individual test results.[2022-08-01T07:18:09.655Z] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.[2022-08-01T07:18:09.655Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375)[2022-08-01T07:18:09.655Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)[2022-08-01T07:18:09.655Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)[2022-08-01T07:18:09.655Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)[2022-08-01T07:18:09.655Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)[2022-08-01T07:18:09.655Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)[2022-08-01T07:18:09.655Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)[2022-08-01T07:18:09.655Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)[2022-08-01T07:18:09.655Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)[2022-08-01T07:18:09.655Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)[2022-08-01T07:18:09.655Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)[2022-08-01T07:18:09.655Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)[2022-08-01T07:18:09.655Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)[2022-08-01T07:18:09.655Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)[2022-08-01T07:18:09.655Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)[2022-08-01T07:18:09.655Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)[2022-08-01T07:18:09.655Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)[2022-08-01T07:18:09.655Z]     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)[2022-08-01T07:18:09.655Z]     at java.lang.reflect.Method.invoke (Method.java:566)[2022-08-01T07:18:09.655Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)[2022-08-01T07:18:09.655Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)[2022-08-01T07:18:09.655Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)[2022-08-01T07:18:09.655Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)[2022-08-01T07:18:09.655Z] Caused by: org.apache.maven.plugin.MojoFailureException: [2022-08-01T07:18:09.655Z] [2022-08-01T07:18:09.655Z] Please refer to /home/jenkins/workspace/KIE/kogito/main/pullrequest/kogito-runtimes.tests.downstream.kogito-examples/bc/kiegroup_kogito_examples/kogito-examples-persistence/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-answer-service/target/failsafe-reports for the individual test results.[2022-08-01T07:18:09.655Z] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.[2022-08-01T07:18:09.655Z]     at org.apache.maven.plugin.surefire.SurefireHelper.throwException (SurefireHelper.java:283)[2022-08-01T07:18:09.655Z]     at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution (SurefireHelper.java:171)[2022-08-01T07:18:09.655Z]     at org.apache.maven.plugin.failsafe.VerifyMojo.execute (VerifyMojo.java:201)[2022-08-01T07:18:09.655Z]     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)[2022-08-01T07:18:09.655Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)[2022-08-01T07:18:09.655Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)[2022-08-01T07:18:09.655Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)[2022-08-01T07:18:09.655Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)[2022-08-01T07:18:09.655Z]     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)[2022-08-01T07:18:09.655Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)[2022-08-01T07:18:09.655Z]     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)[2022-08-01T07:18:09.655Z]     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)[2022-08-01T07:18:09.655Z]     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)[2022-08-01T07:18:09.655Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:294)[2022-08-01T07:18:09.655Z]     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)[2022-08-01T07:18:09.655Z]     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)[2022-08-01T07:18:09.655Z]     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)[2022-08-01T07:18:09.656Z]     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)[2022-08-01T07:18:09.656Z]     at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)[2022-08-01T07:18:09.656Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)[2022-08-01T07:18:09.656Z]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)[2022-08-01T07:18:09.656Z]     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)[2022-08-01T07:18:09.656Z]     at java.lang.reflect.Method.invoke (Method.java:566)[2022-08-01T07:18:09.656Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)[2022-08-01T07:18:09.656Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)[2022-08-01T07:18:09.656Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)[2022-08-01T07:18:09.656Z]     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)[2022-08-01T07:18:09.656Z] [ERROR] [2022-08-01T07:18:09.656Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.[2022-08-01T07:18:09.656Z] [ERROR] [2022-08-01T07:18:09.656Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:[2022-08-01T07:18:09.656Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException[2022-08-01T07:18:09.656Z] [ERROR] [2022-08-01T07:18:09.656Z] [ERROR] After correcting the problems, you can resume the build with the command[2022-08-01T07:18:09.656Z] [ERROR]   mvn  -rf :query-answer-service[2022-08-01T07:18:09.656Z] ::error title= [kiegroup/kogito-examples] [Execution ERROR]::bash -c "if [ '' != 'true' ]; then mvn -f kogito-examples-persistence/pom.xml clean install -Ppersistence  -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false dependency:tree -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3  ; fi" -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B[2022-08-01T07:18:09.656Z] [INFO]  Archive artifact won't be executed[2022-08-01T07:18:09.656Z] ::group::[Pull Request Flow] Execution Summary...[2022-08-01T07:18:09.656Z] [INFO]  ----------------------------------------------[2022-08-01T07:18:09.656Z] [INFO]  [kiegroup/drools]. Execution Result: ok. Time: 2m 47.8s (167889 ms)[2022-08-01T07:18:09.656Z] [INFO]  [kiegroup/kogito-runtimes]. Execution Result: ok. Time: 2m 56.9s (176938 ms)[2022-08-01T07:18:09.656Z] [INFO]  [kiegroup/kogito-apps]. Execution Result: ok. Time: 2m 51.9s (171917 ms)[2022-08-01T07:18:09.656Z] [INFO]  [kiegroup/kogito-examples]. Execution Result: error. Time: 57m 54.4s (3474456 ms)[2022-08-01T07:18:09.656Z] [INFO]  ----------------------------------------------[2022-08-01T07:18:09.656Z] ::endgroup::[2022-08-01T07:18:09.948Z] [ERROR]  [kiegroup/kogito-examples] error executing command: 'bash -c "if [ '' != 'true' ]; then mvn -f kogito-examples-persistence/pom.xml clean install -Ppersistence  -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false dependency:tree -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3  ; fi" -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B'. Message: Error: The process '/usr/bin/bash' failed with exit code 1[2022-08-01T07:18:09.948Z] [ERROR]  Command executions have failed, please review latest execution Error: [kiegroup/kogito-examples] error executing command: 'bash -c "if [ '' != 'true' ]; then mvn -f kogito-examples-persistence/pom.xml clean install -Ppersistence  -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false dependency:tree -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3  ; fi" -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B'. Message: Error: The process '/usr/bin/bash' failed with exit code 1[Pipeline] }[Pipeline] // withCredentials[Pipeline] }[2022-08-01T07:18:10.256Z] Deleting 1 temporary files[Pipeline] // configFileProvider[Pipeline] }[Pipeline] // scriptPost stage[Pipeline] junit[2022-08-01T07:18:10.880Z] Recording test results[2022-08-01T07:18:21.475Z] [Checks API] No suitable checks publisher found.[Pipeline] archiveArtifacts[2022-08-01T07:18:21.647Z] Archiving artifacts[Pipeline] script[Pipeline] {[Pipeline] sh[2022-08-01T07:18:24.448Z] + rm -rf console.log[Pipeline] sh[2022-08-01T07:18:24.945Z] + wget --no-check-certificate -qO - https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest/job/kogito-runtimes.tests.downstream.kogito-examples/616/consoleText[2022-08-01T07:18:24.945Z] + tail -n 300

jenkins please retest this

jenkins run kogito-runtimes native

Jenkins run native

authors: cristianonicolai kie-ci3 nmirasch radtriste


text:
KOGITO-6635: Can't push to private Git repositories in KIE Sandbox (0.16.0-prerelease)

JIRA Issue
https://issues.redhat.com/browse/KOGITO-6635
In this PR

Added authInfo to git.listServerRefs call.

The (build) kogito-tooling-stunner-editors check has failed. Please check the logs.

source: gharchive/pull-request

authors: kie-ci thiagoelg

repo: kiegroup/kogito-tooling

license_type: permissive

license_source: github-api


text:
premis -add user select for the raw workflows

raw_input should be sufficient here

https://github.com/kieranjol/IFIscripts/commit/bbcbb3b93fed039cf707999906be85aa1c6742e8
closing as Brian will be the only person for now running the audio scripts

source: gharchive/issue

repo: kieranjol/IFIscripts

license: mit

license_source: bigquery


text:
doesn't daemonize

Not sure what I'm doing wrong here, but I've

updated the Gemfile and bundle installed
deployed

Then as a test, I go to the command line on the server and type:
$ bundle exec pumad -C /mnt/code/shared/puma.rb config.ru
[19709] * Pruning Bundler environment
[19709] Puma starting in cluster mode...
[19709] * Puma version: 5.4.0 (ruby 3.0.2-p107) ("Super Flight")
[19709] *  Min threads: 20
[19709] *  Max threads: 20
[19709] *  Environment: staging
[19709] *   Master PID: 19709
[19709] *      Workers: 2
[19709] *     Restarts: (✔) hot (✔) phased
[19709] * Listening on unix:///mnt/code/shared/tmp/sockets/code-puma.sock
[19709] Use Ctrl-C to stop

The puma is working, but I'm not seeing the line
Puma Daemon: Daemonizing (puma-daemon v0.1.1)...

and it also appears to be not daemonizing.
what am I missing?
versions
puma-daemon 0.1.2
puma 5.0.4

Could you include your puma.rb and config.ru, assuming there is nothing confidential.

config/puma.rb
require 'puma/daemon'

# The directory to operate out of.
# The default is the current directory.

directory '/mnt/code/current'

# Load “path” as a rackup file.
# The default is “config.ru”.

rackup '/mnt/code/current/config.ru'

# Set the environment in which the rack's app will run. The value must be a string.
# The default is “development”.

environment Rails.env

# Daemonize the server into the background. Highly suggest that
# this be combined with “pidfile” and “stdout_redirect”.
# The default is “false”.

# Store the pid of the server in the file at “path”.

pidfile '/mnt/code/current/tmp/pids/puma.pid'

# Use “path” as the file to store the server info state. This is
# used by “pumactl” to query and control the server.
state_path '/mnt/code/current/tmp/pids/puma.state'

# Redirect STDOUT and STDERR to files specified. The 3rd parameter
# (“append”) specifies whether the output is appended, the default is
# “false”.
stdout_redirect '/mnt/code/shared/log/puma_access.log', '/mnt/code/shared/log/puma_error.log', true

# Disable request logging.
# The default is “false”.

quiet

# Configure “min” to be the minimum number of threads to use to answer
# requests and “max” the maximum.
# The default is “0, 16”.

threads 0, 16

# Bind the server to “url”. “tcp://”, “unix://” and “ssl://” are the only
# accepted protocols.
# The default is “tcp://0.0.0.0:9292”.

bind 'unix:///mnt/code/shared/tmp/sockets/code-puma.sock'
# Listens on port 7001
# The default is 9292
#port 7001

# preload_app!

daemonize true
# Instead of “bind 'ssl://127.0.0.1:9292?key=path_to_key&cert=path_to_cert'” you
# can also use the “ssl_bind” option.

 # ssl_bind '127.0.0.1', '9292', { key: path_to_key, cert: path_to_cert }

# Code to run before doing a restart. This code should
# close log files, database connections, etc.

# This can be called multiple times to add code each time.

on_restart do
  puts 'On restart...'
end

# Command to use to restart puma. This should be just how to
# load puma itself (ie. 'ruby -Ilib bin/puma'), not the arguments
# to puma, as those are the same as the original process.

restart_command 'ruby -Ilib bin/puma'

# === Cluster mode ===

# How many worker processes to run.
# The default is “0”.

workers 2

# Code to run when a worker boots to setup the process before booting
# the app.
# This can be called multiple times to add hooks.

# === Puma control rack application ===

# Start the puma control rack application on “url”. This application can
# be communicated with to control the main server. Additionally, you can
# provide an authentication token, so all requests to the control server
# will need to include that token as a query parameter. This allows for
# simple authentication.

# Check out https://github.com/puma/puma/blob/master/lib/puma/app/status.rb
# to see what the app has available.

#activate_control_app 'unix:///var/run/pumactl.sock'

and config.ru
# This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment',  __FILE__)
run CODE::Application

Thanks for the context! Looks like maybe another bug. I've been really busy with work lately so I might  not get to look at for a couple of weeks.

@robmathews Hello.
Try to comment string with environment Rails.env.
If I run local puma and add a string to the config, then I get a error uninitialized constant #<Class:#<Puma::DSL:0x0000000001410bf8>>::Rails (NameError)
You need to add another way of defining the environment in the config

This helps a lot!

Hopefully fixed with #11

authors: Sivard kigster robmathews

repo: kigster/puma-daemon

license: MIT


text:
azurerm_application and caf_applications inconsistency

Current design not consistent.
See application.tf and applications.tf.

This design decision causes a new version to be incompatible with an older one. I believe? Let me verify.

repo: kimfy/station


text:
Update nodegit dependency

The nodegit dependency previously used did not work with the latest
nodejs. Updating to the latest available nodegit fixes relevant errors.
Fixes "Error: Cannot find module '../build/Debug/nodegit.node'"
Closes #15
I've tested git-hours on node v5.5.0 and everything seems to work ok.

Just noticed versioning shouldn't be touched. I'll reopen with just the dependency change.

repo: kimmobrunfeldt/git-hours


text:
Complex animation hangs Desktop Safari

https://jsfiddle.net/k0f5a8yt/ this hangs on Safari. The whole page becomes unresponsive.

It only hangs when the animation is played on loop.
When taking strokeWidth and traiWidth parameters away, it works normally.
If strokeWidth is set to 4, it works, but >=5 hangs

The code:
// progressbar.js@1.0.0 version is used
// Docs: http://progressbarjs.readthedocs.org/en/1.0.0/

var bar = new ProgressBar.Circle(container, {
  color: '#aaa',
  // This has to be the same size as the maximum width to
  // prevent clipping
  strokeWidth: 10,
  trailWidth: 1,
  easing: 'easeInOut',
  duration: 1400,
  text: {
    autoStyleContainer: false
  },
  from: { color: '#aaa', width: 1 },
  to: { color: '#333', width: 10 },
  // Set default step function for all animate calls
  step: function(state, circle) {
    circle.path.setAttribute('stroke', state.color);
    circle.path.setAttribute('stroke-width', state.width);
    var value = Math.round(circle.value() * 100);
    if (value === 0) {
      circle.setText('');
    } else {
      circle.setText(value);
    }
  }
});
bar.text.style.fontFamily = '"Raleway", Helvetica, sans-serif';
bar.text.style.fontSize = '2rem';

function animation() {
    bar.animate(1.0, () => {
      setTimeout(() => bar.animate(0), 500);
  });
}

setInterval(animation, 4000);
animation();

This is not the case anymore with Safari 11.1 on Mac OS.


text:
terminal: dont crash if no size

Problem
Terminal crashes Kinode core when running in CI workflow

Solution
Don't crash.
Testing
It builds; haven't tested in CI yet.
Docs Update
None
Notes
None

Might as well do this in terminal/mod.rs line 174 too. Also I did a big refactor of terminal here: #528

repo: kinode-dao/kinode


text:
WIP: noCluster is confusing

Description
noCluster is confusing people.
Impact
[ 1 sentence detailing the impact this bug is creating for you ]
Environment and steps to reproduce

Set-up: [ describe the environment Flatcar/Lokomotive/Nebraska etc was running in when encountering the bug; Platform etc. ]
Task: [ describe the task performing when encountering the bug ]
Action(s): [ sequence of actions that triggered the bug, see example below ]
a. [ requested the start of a new pod or container ]
b. [ container image downloaded ]
Error: [describe the error that was triggered]

Expected behavior
[ describe what you expected to happen at 4. above but instead got an error ]
Additional information
Please add any information here that does not fit the above format.

This is already fixed in #664 .

authors: illume joaquimrocha

repo: kinvolk/headlamp


text:
Refactor required config params

Right now the way we handle required config params and defaults is a bit inconsistent. For example, the controller_count config param is required at the lokoctl level but optional with a default of 1 at the Terraform level:
https://github.com/kinvolk/lokomotive/blob/a6c6db6a6d3284635396c668ca46d8ff51fdc36f/pkg/platform/packet/packet.go#L58
https://github.com/kinvolk/lokomotive/blob/a6c6db6a6d3284635396c668ca46d8ff51fdc36f/assets/lokomotive-kubernetes/packet/flatcar-linux/kubernetes/variables.tf#L37-L41
I propose we rethink the way we handle required parameters. Here are some points to consider:

We should make a parameter required only if the user really needs to decide something about it. The more required params, the trickier it becomes for newcomers to deploy a cluster. We should prefer to use sane defaults as much as possible and allow "advanced users" to override them if they so desire. Keeping the configuration surface narrow should be a goal.
We should consider enforcing required/optional params in one place - lokoctl or Terraform. To me personally it makes more sense to enforce in lokoctl because we can fail faster this way, do our own validations (rather than use the Terraform ones) and provide meaningful errors.

We should consider enforcing required/optional params in one place - lokoctl or Terraform. To me personally it makes more sense to enforce in lokoctl because we can fail faster this way, do our own validations (rather than use the Terraform ones) and provide meaningful errors.

:+1: for lokoctl to be place for defaults. That way we can control the errors better. For e.g. if we rely on terraform to set default then errors will trickle up from terrform to lokoctl and that generally degrades the UX for user.

:+1: for lokoctl

@johananl
would something like this work
https://github.com/kinvolk/lokomotive/blob/imran/refactor-approach-no-8/pkg/platform/packet/packet.go#L101-#L116

@johananl
would something like this work
https://github.com/kinvolk/lokomotive/blob/imran/refactor-approach-no-8/pkg/platform/packet/packet.go#L101-#L116

@ipochi I'm not sure I understand. I'm seeing a NewConfig() function which returns a config struct with hardcoded values in some of the fields. Could you explain your intention?

@ipochi I'm not sure I understand. I'm seeing a NewConfig() function which returns a config struct with hardcoded values in some of the fields. Could you explain your intention?

@johananl, @ipochi idea is to have a single function, which will return the Platform default configuration. While decoding HCL, user configuration will be decoded on top of this custom configuration.

As long as the right params (and only them) are required and the rest have sane defaults, I don't have a strong opinion on how to implement that.

authors: invidian ipochi johananl surajssd

repo: kinvolk/lokomotive


text:
Reconsider running metallb controllers on controller nodes

In https://github.com/kinvolk/lokomotive/pull/69 we changed the metallb component to run speakers on worker nodes only and to run controllers on controller nodes to avoid "unnecessary interruptions to MetalLB due to cluster scaling events".
Maybe there's a way to solve both problems without running controllers on controllers (:D), we should investigate that.

Closing as stale.


text:
DB Autovacuum, and Autoanalyze thresholds

This hopefully addresses the DB table/index bloat size issue https://github.com/kinvolk/nebraska/issues/507
Because autovacuum and autoanalyze are effectively disabled when tables
are very large. This is because the default is 20% of a table (and 10%
of a table for analyze).
Instead we change it to when about 5,000 rows change. This value was chosen
based on getting the autovacuum to run every day. Because it's large enough
to not cause the autovac to run all the time, but about the right size
to make a difference for query statistics and reducing table bloat.
The analyze threshold was chosen at half the autovacuum threshold
because the defaults are set at half.
Ultimately there should be some sort of auto-tuning done where the table growth/change rates are calculated and then these thresholds are updated. It has happened where a table gets a 5x growth over other months inside one month. It could be even greater. If it's only 10x growth then the autovac would only run 10 times per day, which is acceptable.
Testing done
Ran some tests to reproduce index bloat without the thresholds. https://github.com/kinvolk/nebraska/issues/507#issuecomment-964522622 Then confirmed that table bloat was almost reduced entirely, auto analyze was running and index bloat was reduced to 2x compared to 10x observed.

[x] Check the table growth rates.
[x] Check if there are other tables to add to this list. Only the tables from the cleanup script were chosen.

The lint fail is because the proof-of-concept branch is failing make backend-code-check.

repo: kinvolk/nebraska


text:
bubblesets for groupby results

This is good to have feature. It would be cool to see aggregates on scatterplots highlighted by bubble sets

Ideally, we have a way to generate vegalite spec to show thee bubbleset. More likely is we have to compute points and interpolate to create the bubble sets.
The computed points can be stored as an extra dataset, and rendered as a layer

repo: kirangadhave/interactivede


text:
Information on how to run the plugin.

I've installed this plugin and I'm trying to use it with the default settings. But, unfortunately, there are no annotations in my code. Any advice to run it?
Thanks a lot!

The plugin only works inside java files and it should show traffic light indicators on the gutter (next to the line number indicators). You shouldn't run it explicitly, it should be automatically updated on text changes.

Thank you for your reply.
My intention was to use it to get metrics from my typescript files. But by your comment, I understand that only the Java language is supported.
Best regards!

authors: capitantrueno kisstkondoros

repo: kisstkondoros/codemetrics-idea


text:
Preview before registering a data resource/other resources

Is your feature request related to a problem? Please describe.
Once a resource is created, if there is something seriously wrong, it cannot be easily deleted. It is better to have a separate preview and approve button before registering any resource.
https://matwerk.datamanager.kit.edu/repo-management.html
Describe the solution you'd like
Preview button that shows all the metadata, also the default values assigned by base-repo before finally publishing.

Do you have any example for something going "seriously wrong"? If there is a typo or missing, optional metadata somewhere, this can be fixed later. Besides of that, I cannot imagine any serious error.
But you are right, removing DataResources is not part of the UI, which is intentional. To remove a DataResource from public access, you may update the DataResource and set its state to "REVOKED", which hides the resource for everybody but the owner and site administrators. Deleting the DataResource is then something that should happen in the backend if this is really desired.

As far as I know there are no default values which are not visible in the form before saving. The only "default values" are used if you add an array element which contains a controlled list represented as combo box (see #15).

if no access data is available, access would be set to anonymousUser. Also I think creators and identifiers are assigned by default when not entered specifically(base-repo)

I see, but these are defaults added by the base-repo to assign default ownership and creator information. Basically, it uses the caller to determine these information. The frontend is not aware of these values.
In any case, one should check whether creating resources without login is something that is desired and I have to check if there is a way for disallow such operations if authentication is enabled.

authors: ThomasJejkal reetuelzajoseph

repo: kit-data-manager/frontend-collection


text:
Clean up on top level directory

I believe we should clean up the root directory of the project since it seems that there are a number of files that got there by accident or are no longer really needed.
Would like to get some feedback on whether we need to keep any of the following files in the root directory:

.pydevproject
LibDemo.cpp
README.rst
Run.py
benchmark.sh*
clean.sh*
mbe.py
optional_dependencies.txt
plot.sh*
requirements.txt
template.gnuplot
test.py*

The files marked with an asterisk could for example be kept in a separate scripts/ folder.
Thoughts?

No "keep" requests on my end for the mentioned files. As you say, some
may still be in use but are better kept in a subfolder.
Henning
Am 06.02.17 um 16:05 schrieb Kolja Esders:

I believe we should clean up the root directory of the project since it
seems that there are a number of files that got there by accident or are
no longer really needed.
Would like to get some feedback on whether we need to keep any of the
following files in the root directory:

.pydevproject
LibDemo.cpp
README.rst
Run.py
benchmark.sh*
clean.sh*
mbe.py
optional_dependencies.txt
plot.sh*
requirements.txt
template.gnuplot
test.py*

The files marked with an asterisk could for example be kept in a
separate scripts/ folder.
Thoughts?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kit-parco/networkit/issues/4, or mute the thread
https://github.com/notifications/unsubscribe-auth/AObQo3lqJI_4AhuKJ0ql8ilQCbnADTowks5rZza_gaJpZM4L4TNV.

--
==========================================================
Karlsruhe Institute of Technology (KIT)
Institute of Theoretical Informatics (ITI)
Prof. Dr. Henning Meyerhenke
Theoret. Informatics / Parallel Computing
Phone: +49-721-608-41876
Web: http://parco.iti.kit.edu/henningm/
KIT - The Research University in the Helmholtz Association

authors: hmeyerhenke kolja-esders

repo: kit-parco/networkit


text:
Migrate tests into codec-dubbo-tests

It's not a good practise to leave the tests with external dependencies within the codec-dubbo repo, so a new repo https://github.com/kitex-contrib/codec-dubbo-tests is created for the tests.
Please help on the migration.

I would finish this task.

Resolved by #73 .

repo: kitex-contrib/codec-dubbo


text:
How to get the total items count   ?

Hello,
do you have a 'getTotalItemCount'  that I can show the total number or grid rows  ?
I want to show it like this:
 {# total items count #}

        Total items Count: {{ grid.getTotalItemCount }}

solution:
    {# total items count #}

            Total items Count: {{ grid.paginator.totalItemCount }}

repo: kitpages/KitpagesDataGridBundle


text:
Dokumentation

Uppdelning. T.ex. HOWTO, teknikstack, systemskiss, eventuella problem, REST-interface.

Vilka endpoints ska vi visa upp?

authors: Changis JoakimDanielsson psandboge

repo: kits-ab/gakusei


text:
update examples

reduce babel dependency
Update clock examples
chore: FunctionComponent to FC
Rewrite storybook as tsx
Update storybook documents

Codecov Report
Patch and project coverage have no change.

Comparison is base (da1ea21) 82.80% compared to head (ed22ed6) 82.80%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #68   +/-   ##
=======================================
  Coverage   82.80%   82.80%
=======================================
  Files           9        9
  Lines         157      157
  Branches       11       11
=======================================
  Hits          130      130
  Misses         21       21
  Partials        6        6

Flag
Coverage Δ

unittests
82.80% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

authors: codecov-commenter kitsuyui

repo: kitsuyui/react-playground


text:
Implement seek and get_pos for sdl2 audio

As I wrote in a kivy.groups post I could not make the seek method of SoundLoader to work.
python 2.7.11 kivy 1.9.0 WinXPSP3
Providers: audio_pygame
I'm loading and playing a wave file
self.player = SoundLoader.load('wav2play.wav')
self.player.play()

The wave is playing ok, but if I try
self.player.seek(15)
nothing happens.
By using kivy 1.9.1 things got worst.
Now the pos  method (that worked in 1.9.0), returns always 0.
Providers: audio_sdl2
BTW tried pygame directly but it doesn't support seek with wave files (???)
I must be doing something wrong, but what?
Any ideas?
TIA

Let's ignore the pygame part, the provider is deprecated.
Could you share a runnable app example which shows your issue with kivy 1.9.1 when the sdl2 audio provider is used?

Here is the code.
You can use whatever wave file Soundloader can play.
What the code is trying to do is to let you set a start offset to play (text input).
The label should show the current position (this worked with 1.9.0 and pygame but not with 1.9.1 and sdl2).
from __future__ import absolute_import, division, print_function, unicode_literals
from kivy.app import App
from kivy.core.audio import SoundLoader
from kivy.properties import Clock
from kivy.uix.floatlayout import FloatLayout
from kivy.lang import Builder

Builder.load_string('''
<Base>:
   TextInput:
       id: sec
       text: '0'
       size_hint: None, None
       width: play.width
       height: dp(30)
       y: pos.top
       center_x: play.center_x
   Label:
       id: pos
       text: '0'
       size_hint: None, None
       width: play.width
       height: dp(30)
       y: play.top
       center_x: play.center_x
   ToggleButton:
       id: play
       text: 'Play' if self.state == 'normal' else 'Stop'
       size_hint: None, None
       size: dp(150), dp(70)
       pos_hint: {'center_x': .5, 'center_y': .5}
       on_state:
           if self.state == 'down': root.play()
           else: root.stop()
''')

class Base(FloatLayout):
    def __init__(self, **kwargs):
        super(Base, self).__init__(**kwargs)
        self.player = None
        self.chk_pos = None

    def play(self, *args):
        self.player = SoundLoader.load('x.wav')
        self.player.play()
        self.player.seek(int(self.ids.sec.text))
        self.chk_pos = Clock.schedule_interval(self.position, .5)

    def stop(self, *args):
        self.player.stop()
        self.player.unload()
        Clock.unschedule(self.chk_pos)

    def position(self, *args):
        self.ids.pos.text = str(int(self.player.get_pos()))

class CheckSound(App):
    def build(self):
        return Base()

if __name__ == '__main__':
    CheckSound().run()```

seek and get_pos do not seem to be implemented in the sdl2 audio provider.
https://www.libsdl.org/projects/SDL_mixer/docs/SDL_mixer.html#SEC65
Meanwhile you could use a provider which supports these apis.
https://github.com/kivy/kivy/blob/master/kivy/core/audio/audio_gstplayer.py
https://github.com/kivy/kivy/blob/master/kivy/core/audio/audio_ffpyplayer.py

How can I change them?

You have to set the KIVY_AUDIO env var to your preferred provider, but there may be other things involved, depending on the provider.
How to switch and set up audio providers does not seem to be coherently documented, you might want to open a separate doc issue for that.

Afaik neither of these are straightforward to implement for audio_sdl2.
Mix_SetMusicPosition only works for the music channel, ie if you instantiate MusicSDL2 directly or load a sequenced format like MID, MOD, S3M, etc via SoundLoader. Even then it does different things depending on format (seconds vs pattern number), and won't work at all for WAV.
As for get_pos, I'm not aware of such feature for music or effects, probably the easiest way is to call SDL_GetTicks (or similar) at the time we start playing, but obviously there are challenges with that, such as suspend/resume. Sequenced formats don't even support getting the length, let alone position.

@bionoid, thanks for the info, alternatively, we could just document where these apis are supported.

The problem still exists with kivy 1.10.0
The sdl2 provider does not return pos and does not seek.
Using gstplayer works, but I couldn't keep the resulting distribution package less than 250MB (it was around 25 with 1.9.0's sdl2)
Not practical...

Also still present in 1.10.1. How likely is it that this is going to be implemented, and in case of this, what would a conservatory timeframe for its implementation?
For the time being: I know that there is a workaround for android, but what about iOS?

Based on the comments above:

Implementing for SDL2 would be difficult, and isn't going to happen.
If it is unclear how to change providers, a separate documentation issue should be raised.

Closing as Not Planned.

I tried to use _check_play() method on MusicSDL2 and SoundSDL2 and it worked
the method is scheduled to call every 0.1 second and return a value when the sound is played
just make a variable pos and method getP()
self.sound = SoundLoader.load('file.mp3')
self.sound._check_play = self.getP
def getP(self, value):
    self.pos += value

but its need to be more accurate
like call every 0.01 second at least and it will be very fine
for seek() I haven't found away
@Julian-O is it possible to modify that? it will be interesting and I think and hope this is simple

@IVAN-QX:
I am not sure what you are asking me. I am not an expert in this area. I am just trying to close tickets that will never get implemented.
Your suggestion seems to require 100 fps, which I don't think the Kivy Clock can normally handle.
Your suggestion seems to require pygame, which ha been deprecated and is planned for removal in Kivy 3.0.0.
I can't see how your answer addresses the original problem: self.player.seek(15) wasn't working.

@Julian-O my solution for just get_pos() to implement it
to return the position of sound when it is playing
its possible and have 10 fps
i asked you to say its possible to implement it
for seek() I yeah dont think
but implementing get_pos() I see that is possible
so for that I asked you

authors: IVAN-QX Julian-O bionoid dessant embryo10 rasmuskreiner

repo: kivy/kivy


text:
PyInstaller created kivy app stops on RecycleView

Python: Python 3.6.1 32 bit
OS: Windows 10 64
Kivy: 1.10.0
Kivy installation method: pip (including kivy.deps,angle, kivy.deps.glew, kivy.deps.gstreamer)
PyInstaller: 3.3.dev0-gabfc806 (cause release version does not support Python 3.6)

Description
Application works when started without PyInstaller
Application starts when packaged, but aborts when RecyleView is on opened from App
Similar (unconnected to my app) is on  Stackoverflow https://stackoverflow.com/questions/45068125/recycleview-causing-kivy-executable-to-crash
Spec file
# -*- mode: python -*-

from kivy.deps import sdl2, glew

block_cipher = None

options = [ ('v', None, 'OPTION') ]

a = Analysis(['meltflow.py'],
             pathex=['C:\\Users\\ruediger.rj-w8\\PycharmProjects\\meltflow'],
             binaries=[],
             datas=[("*.json", "."),
                ("*.kv", "."),
                ('C:\\Users\\ruediger.rj-w8\\AppData\\Local\\Programs\\Python\\Python36-32\\lib\\site-packages\\kivy\\data\\*', "data"),
                ('C:\\Users\\ruediger.rj-w8\\AppData\\Local\\Programs\\Python\\Python36-32\\lib\\site-packages\\kivy\\data\\fonts\\*', "data/fonts"),
                ('C:\\Users\\ruediger.rj-w8\\AppData\\Local\\Programs\\Python\\Python36-32\\lib\\site-packages\\kivy\\data\\glsl\\*', "data/glsl"),
                ('C:\\Users\\ruediger.rj-w8\\AppData\\Local\\Programs\\Python\\Python36-32\\lib\\site-packages\\kivy\\data\\images\\*', "data/images"),
                ('C:\\Users\\ruediger.rj-w8\\AppData\\Local\\Programs\\Python\\Python36-32\\lib\\site-packages\\kivy\\data\\keyboards\\*', "data/keyboards"),
                ('C:\\Users\\ruediger.rj-w8\\AppData\\Local\\Programs\\Python\\Python36-32\\lib\\site-packages\\kivy\\data\\logo\\*', "data/logo"),
                ("locale/de/LC_MESSAGES/*", "locale/de/LC_MESSAGES"),
                ("locale/en/LC_MESSAGES/*", "locale/en/LC_MESSAGES"),
                ("rst/*", "rst"),
                ("artwork", "artwork"),
                ("*.png", "."),
                ("data/log/dummy.txt", "data/log")],
             hiddenimports=["kivy.uix.recycleview.__init__."],
             hookspath=[],
             runtime_hooks=[],
             excludes=[],
             win_no_prefer_redirects=False,
             win_private_assemblies=False,
             cipher=block_cipher)
pyz = PYZ(a.pure, a.zipped_data,
             cipher=block_cipher)
exe = EXE(pyz,
          a.scripts,
          options,
          exclude_binaries=True,
          name='meltflow',
          debug=False,
          strip=False,
          upx=True,
          console=True )
coll = COLLECT(exe,
               a.binaries,
               a.zipfiles,
               a.datas,
                *[Tree(p) for p in (sdl2.dep_bins + glew.dep_bins)],
               strip=False,
               upx=True,
               name='meltflow')

Log
Traceback (most recent call last):
  File "C:\Users\ruediger.rj-w8\PycharmProjects\meltflow\meltflow.py", line 277, in main
    app.run()
  File "C:\users\ruediger.rj-w8\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\app.py", line 828, in run
    runTouchApp()
  File "C:\users\ruediger.rj-w8\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\base.py", line 504, in runTouchApp
    EventLoop.window.mainloop()
  File "C:\users\ruediger.rj-w8\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\core\window\window_sdl2.py", line 663, in mainloop
    self._mainloop()
  File "C:\users\ruediger.rj-w8\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\core\window\window_sdl2.py", line 405, in _mainloop
    EventLoop.idle()
  File "C:\users\ruediger.rj-w8\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\base.py", line 342, in idle
    self.dispatch_input()
  File "C:\users\ruediger.rj-w8\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\base.py", line 327, in dispatch_input
    post_dispatch_input(*pop(0))
  File "C:\users\ruediger.rj-w8\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\base.py", line 293, in post_dispatch_input
    wid.dispatch('on_touch_up', me)
  File "kivy\_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy\_event.c:8191)
  File "C:\users\ruediger.rj-w8\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\uix\behaviors\button.py", line 179, in on_touch_up
    self.dispatch('on_release')
  File "kivy\_event.pyx", line 718, in kivy._event.EventDispatcher.dispatch (kivy\_event.c:8191)
  File "C:\Users\ruediger.rj-w8\PycharmProjects\meltflow\menu.py", line 149, in on_release
    self.doRelease()
  File "C:\Users\ruediger.rj-w8\PycharmProjects\meltflow\menu.py", line 155, in doRelease
    self.sequencer.runSequence(self.cmd["action"], done=self.doneHandler, error=self.error)
  File "C:\Users\ruediger.rj-w8\PycharmProjects\meltflow\sequencer.py", line 165, in runSequence
    self.curSequence=Sequence(self, seq, done=done, error=error)
  File "C:\Users\ruediger.rj-w8\PycharmProjects\meltflow\sequencer.py", line 335, in __init__
    self.step()
  File "C:\Users\ruediger.rj-w8\PycharmProjects\meltflow\sequencer.py", line 341, in step
    self.execute()
  File "C:\Users\ruediger.rj-w8\PycharmProjects\meltflow\sequencer.py", line 377, in execute
    cont=obj.run()
  File "C:\Users\ruediger.rj-w8\PycharmProjects\meltflow\seqentity.py", line 117, in run
    entityselect.EntitySelect(self.sequencer, self.curCmd, done=self.completed, error=self.error)
  File "C:\Users\ruediger.rj-w8\PycharmProjects\meltflow\entityselect.py", line 39, in __init__
    XPopup.__init__(self, title=gettext(cmd["title"]), **kwargs)
  File "C:\users\ruediger.rj-w8\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\uix\modalview.py", line 152, in __init__
    super(ModalView, self).__init__(**kwargs)
  File "C:\users\ruediger.rj-w8\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\uix\anchorlayout.py", line 68, in __init__
    super(AnchorLayout, self).__init__(**kwargs)
  File "C:\users\ruediger.rj-w8\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\uix\layout.py", line 76, in __init__
    super(Layout, self).__init__(**kwargs)
  File "C:\users\ruediger.rj-w8\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\uix\widget.py", line 345, in __init__
    Builder.apply(self, ignored_consts=self._kwargs_applied_init)
  File "C:\users\ruediger.rj-w8\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\lang\builder.py", line 451, in apply
    self._apply_rule(widget, rule, rule, ignored_consts=ignored_consts)
  File "C:\users\ruediger.rj-w8\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\lang\builder.py", line 567, in _apply_rule
    self._apply_rule(child, crule, rootrule)
  File "C:\users\ruediger.rj-w8\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\lang\builder.py", line 526, in _apply_rule
    cls = Factory_get(cname)
  File "C:\users\ruediger.rj-w8\AppData\Local\Programs\Python\Python36-32\lib\site-packages\kivy\factory.py", line 139, in __getattr__
    module = __import__(name=item['module'], fromlist='.')
  File "<frozen importlib._bootstrap>", line 1009, in _handle_fromlist
  File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 936, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 948, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'kivy.uix.recycleview.__init__.'

```

I'm seeing the same bug. It appears in both Windows and Mac builds. Here's a slightly different traceback.
mac_traceback.txt

It's because of https://github.com/kivy/kivy/blob/master/kivy/factory_registers.py#L190. That is there because of https://github.com/kivy/kivy/pull/4108#issuecomment-199003918 which is caused by https://github.com/kivy/kivy/issues/2163.
In other words, if I remember correctly, I explicitly listed kivy.uix.recycleview.__init__ because otherwise __import__ is having issues. This can be fixed by replacing the usage of __import__ I think?
A quick fix for the issue with pyinstaller is to change e.g. r('RecycleViewBehavior', module='kivy.uix.recycleview.__init__') to r('RecycleViewBehavior', module='kivy.uix.recycleview').

That quick fix didn't help (at least on the mac build, I haven't tried the windows build). I also experimented with removing init from the following line. Without the init the runtime error is
ImportError: No module named 'kivy.uix.recycleview'
instead of
ImportError: No module named 'kivy.uix.recycleview.init'

Try replacing module = __import__(name=item['module'], fromlist='.') in factory.py with:
import importlib
module = importlib.import_module(item['module'])

And remove the init.py form factory registers.
If that doesn't fix it then try adding kivy.uix.recycleview to hidden_imports (note that the original example above has a type there because it ends with a period).

Modifying factory.py and removing the __init__.py forms worked on the mac build. It almost works on the windows build.
Under windows, the app now crashes in a different place. It doesn't crash when run from the command line. Just from a pyinstaller build. I'm thinking it might be related since the traceback mentions frozen importlib._bootstrap, but maybe that's a red herring.
Traceback (most recent call last):
   File "<frozen importlib._bootstrap>", line 969, in _find_and_load
   File "<frozen importlib._bootstrap>", line 956, in _find_and_load_unlocked
 ImportError: No module named 'win32timezone'

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File "<frozen importlib._bootstrap>", line 968, in _find_and_load
 SystemError: PyEval_EvalFrameEx returned a result with an error set

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File "dashboard\dashboard.py", line 428, in <module>
   File "site-packages\kivy\app.py", line 828, in run
   File "site-packages\kivy\base.py", line 504, in runTouchApp
   File "site-packages\kivy\core\window\window_sdl2.py", line 663, in mainloop
   File "site-packages\kivy\core\window\window_sdl2.py", line 405, in _mainloop
   File "site-packages\kivy\base.py", line 339, in idle
   File "site-packages\kivy\clock.py", line 581, in tick
   File "kivy\_clock.pyx", line 367, in kivy._clock.CyClockBase._process_events
(kivy\_clock.c:7700)
   File "kivy\_clock.pyx", line 397, in kivy._clock.CyClockBase._process_events
(kivy\_clock.c:7577)
   File "kivy\_clock.pyx", line 395, in kivy._clock.CyClockBase._process_events
(kivy\_clock.c:7498)
   File "kivy\_clock.pyx", line 167, in kivy._clock.ClockEvent.tick (kivy\_clock
.c:3490)
   File "site-packages\kivy\uix\filechooser.py", line 697, in _update_files
   File "site-packages\kivy\uix\filechooser.py", line 717, in _create_files_entr
ies
   File "site-packages\kivy\uix\filechooser.py", line 828, in _generate_file_ent
ries
   File "site-packages\kivy\uix\filechooser.py", line 860, in _add_files
   File "site-packages\kivy\uix\filechooser.py", line 860, in <listcomp>
   File "site-packages\kivy\uix\filechooser.py", line 178, in is_hidden
   File "<frozen importlib._bootstrap>", line 968, in _find_and_load
 SystemError: PyEval_EvalFrameEx returned a result with an error set

Adding win32timezone to hidden files in the PyInstaller spec fixed the Windows problem.
hiddenimports=['win32timezone']

Great, I'll make a pr with the fix. Not sure what is up with the win32timezone. But I'm guessing it's specific to your app.

win32timezone seems to be required for FileChooser (at least for my app).

I use FileBrowser in my app, so that must be it.

@rjungbeck @mdurian
1, 2, 3, 4
Nope, but again ref Hidden Imports and maybe you didn't explicitly call something from that, but only used a part of that kind of package with Win32 API, which called that sub-part (example?).
So, just check for any specific Win32 API calls through pywin32 (or something like that, because they change(d) the name) package if there's anything related to timezones or time. Or just start cutting parts off until it works to find the specific lines. That's just when you would like to debug it, you don't need to do it.

@matham. I had the same issue and I made the changes as per your suggestion. After sorting out the 'inconsistent tabs' issue (differences in editors used) it worked like a charm.
After modifying the Factory.py file, is it still necessary to include the 'recycleview' package in the 'hidden imports`?

@matham I ran across the same problem with PyInstaller  on Windows 7. I appied the quick fix to factory_registers.py and it worked!

A quick fix for the issue with pyinstaller is to change e.g. r('RecycleViewBehavior', module='kivy.uix.recycleview.init') to r('RecycleViewBehavior', module='kivy.uix.recycleview').

PS factory_registers.py also has r('RecycleView', module='kivy.uix.recycleview.__init__'), I didn't touch it.

authors: E-Unit KeyWeeUsr LYU-Daliang matham mdurian rjungbeck


text:
Issue when accessing hardware h264 decoder

Software Versions

Python: 3.10
OS: Android
Kivy: v2.1.0
Kivy installation method: Buildozer

Describe the bug
I am developing android app with kivy and ffpyplayer for watching video streams.
But i'm using low performance hardware and getting lag on streams with 2500 bitrate and higher, so I decided to use hardware accelerated codecs like h264_v4l2m2m.
I add 'vcodec': 'h264_v4l2m2m' parameter of MediaPlayer in kivy.core.video.video_ffpyplayer.py but get this issue:
12-28 00:44:29.802  2065  2138 I python  : [ERROR  ] [ffpyplayer  ] [h264_v4l2m2m @ 0x7b181c6100] can't configure decoder
12-28 00:44:29.803  2065  2138 I python  : [CRITICAL] [ffpyplayer  ] Failed to open file 'http://213.145.131.243:80/cam1/stream.m3u8' or configure filtergraph
12-28 00:44:29.787  2138  2138 W Thread-6: type=1400 audit(0.0:25): avc: denied { read } for name="/" dev="tmpfs" ino=7196 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:device:s0 tclass=dir permissive=0

I found some information about this issue and it seems that
W Thread-6: type=1400 audit(0.0:25): avc: denied { read } for name="/" dev="tmpfs" ino=7196 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:device:s0 tclass=dir permissive=0

is a SELinux denial. So SELinux blocks ffmpeg when trying to access the hardware codec but I don't understand why this is happening.
I also post this issue here: https://github.com/matham/ffpyplayer/issues/137 because I don't know it is ffpyplayer or kivy problem.

Not an issue on Kivy side, if the codec is usable on Android, the issue should be addressed on python-for-android or ffpyplayer.


text:
Max_height doesn't work

Description of the Bug
I'm trying to add max_height on a multiline MDTextField and it doesn't work. I'm doing all the gui in a .py file and not .kv file.
The rest of my code, that I do not include in this post, works!
The error I get is:  TypeError: object.init() takes exactly one argument (the instance to initialize)
Code and Logs

#The following code is actually in a class which works. It's just the max_height that presents an issue.
self.content = MDTextField(pos_hint={'x':.01, 'top':.75}, multiline=True, max_height='200dp')
self.add_widget(self.content)

class MainApp(App):
    def build(self):
        self.root = Builder.load_string(kv)

if __name__ == '__main__':
    MainApp().run()

Versions

OS: Ubuntu 20.04
Python: 3.8.5
Kivy: 2.0.0
KivyMD: 0.104.0

@SkrodS  i don't see any error
from kivy.lang import Builder

from kivymd.app import MDApp

from kivymd.uix.textfield import MDTextField

KV = """
BoxLayout:
"""

class Test(MDApp):
    def __init__(self, **kwargs):
        super().__init__(**kwargs)
        self.screen = Builder.load_string(KV)
        self.screen.add_widget(
            MDTextField(
                pos_hint={"center_y": 0.5}, multiline=True, max_height="200dp"
            )
        )

    def build(self):
        return self.screen

Test().run()

Use KivyMD library from master branch.

This issue will be closed 20 of February 2021 if there's no answer by the issue opener.

Use KivyMD library from master branch.

Thank you! Using master branch worked.

authors: HeaTTheatR SkrodS podraco quitegreensky

repo: kivymd/KivyMD


text:
Please fix #252 and add #475

Please consider fixing #252 and add #475

No point to have an issue about other issues. Closing this


text:
🛑 Thainess is down

In bec674e, Thainess (https://thainess.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Thainess is back up in 989ba28.

repo: kizzna/uptime


text:
🛑 Thainess is down

In a3e5427, Thainess (https://thainess.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Thainess is back up in 51c2445.


text:
it doesn't work on my macbook air.

after I run gulp serve, the chrome popups some message,and then the phonegap connecting to device page  shows all the time

did you run "gulp build-app"?

qjouda, thanks a lot. i forgot to run "gulp build-app" -_-|| . after run "gulp build-app", now it works on both pc and macbook. thanks thanks

authors: TonyLuo qjouda

repo: kjda/ReactJs-Phonegap


text:
We should probably add Junit and integration tests to our classes

It's all the rage these days. Also, it's probably better we put in the tests sooner rather than later. One of you guys should start implementing test classes if you know how to.

Actually, I'm working on it right now. Once I write these tests, take note as to how they work, as they will be essential later down the line.


text:
-- UNMET PEER DEPENDENCY react-native-vector-icons@^4.2.0  KKiapay

when i installed kkpiay i get this error -- UNMET PEER DEPENDENCY react-native-vector-icons@^4.2.0  anyone know how can i fixe this issue

This error is not related to KkiaPay. Assuming you want to integrate kkiapay into your reactjs frontend, I recommend you instead use the kkiapay widget method. You have very intuitive documentation at this address: https://docs.kkiapay.me/v1/plugin-et-sdk/sdk-javascript

authors: MOUTAIROU geeckmc

repo: kkiapay/js-sdk


text:
user signIn service, repository, controller implement

Todo
implement

[x] user signin Controller Implement
[x] user signin Service Implement
[x] user singin Repository Implement

Todo
Test

[x] TestCode

ETC

description

do Return -> thenReturn

Implement

repo: kkminseok/real-world-springboot


text:
tensorflow sample?

I know this isn't really a python-ffmpeg question, but what kind of machine were you running the tensorflow_stream example on, and what kind of framerate were you getting? I'm using a g3s.xlarge instance (with a GPU) on AWS and I run it for 5 minutes and get maybe 5 seconds of output video.

You need to set up tensorflow for GPU support. pip install tensorflow-gpu for starters. It was quite an annoying/involved process to get TF running with proper gpu support on my VM at the time and my notes are scattered on the topic (and probably outdated).
Next time I go through the setup I'll try to compile it as some sort of VM provisioning script (at some point). Reproducibility is king of computing.
In the meantime, if you figure out steps to get proper TF GPU support on your VM feel free to share notes here, and it'll be much appreciated.

authors: jlsalmon kkroening

repo: kkroening/ffmpeg-python


text:
Support setting bitrate for output files

Simple use case :
stream = ffmpeg.input('musicvideo.mp4')
stream = ffmpeg.output(stream, 'musicaudio.mp3', bitrate='320k')
ffmpeg.run(stream)

Also, consider adding an option to explicitly specify whether to use VBR (variable-bitrate) or CBR (constant-bitrate)

Fixed in latest releases.

How to set minimum and maximum bitrate in the same time with **{'b:a': '320k'} ?

authors: a0s harsgak kkroening


text:
dev: improve different network handling

Describe the enhancement request

Currently we have an enum that handles all different cases for providing an underlying starknet provider to the kakarot client.
#[derive(Default, Clone)]
pub enum Network {
    #[default]
    Katana,
    Madara,
    Mainnet,
    Goerli1,
    Goerli2,
    ProviderUrl(Url),
}

We'd like to improve this enum to have more information per network
Go from:

currently, we have Network::Katana and then we match on it and provide a constant URL
we could technically have a struct, e.g.:

struct NetworkConfig {
   pub rpc_url: Option<Url>
   pub gateway: Option<Url>
}

Or a more complete, per-network, config.
Describe Preferred Solution

Take example on what is being done on kakarot main repo and assess the feasability and priority of doing it here on kakarot-rpc

Hey, can I maybe pick this up?

Hey, can I maybe pick this up?

Hey @pyropy, thanks for asking to contribute, we're currently performing an overhaul of the RPC repo, we're pausing new contributions for a couple of weeks. I'll ping this conversation when the refactor is done

authors: Eikix pyropy

repo: kkrt-labs/kakarot-rpc


text:
feat: Create an Account enum and associated traits

Feature Request
Describe the Feature Request
Modeling accounts and associated methods properly allows us to avoid duplicating code to check whether an account is an EOA or a CA.
Describe Preferred Solution

Create an Account enum, with EOA and ContractAccount variants.
Create associated methods that return the variant corresponding to an account at address evm_address
TODO: determine other useful methods to add.

Related Code
Additional Context
If the feature request is approved, would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)

[ ] Yes
[ ] No

I can take this today or tomorrow 🔭🏎

I'm almost done @Eikix

authors: Eikix enitrat

repo: kkrt-labs/kakarot-ssj


text:
dev: Remove deploy fee

Pull Request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Other (please describe):

Resolves: #729
Does this introduce a breaking change?

[ ] Yes
[x] No

This change is

@greged93 wdyt? we're removing deploy_fee from SSJ altogether, but it might break ef-tests

Let me check quickly, not sure it will break anything but still would be nicer to remove on ef-tests first.

Made a PR here: https://github.com/kkrt-labs/ef-tests/pull/654
but I think it's fine to merge this, should not have any impact.


text:
Caught exception: Response is missing a Content-Type header

Klarna Checkout API is throwing error with valid code example.
This block of code seems to be causing the error. If you remove this block from the example below the checkout is rendering without errors:
    "options" => [         "additional_checkbox" => [             "text" => "Please add me to the newsletter list, read more here link",             "checked" => false,             "required" => false         ],     ],
Error thrown:
Caught exception: Response is missing a Content-Type header
Reproduce with this full example.
$merchantId = '';
$sharedSecret = '';

$apiEndpoint = Klarna\Rest\Transport\ConnectorInterface::EU_TEST_BASE_URL;

// Create cURL HTTP Transport Connector
$connector = Klarna\Rest\Transport\CURLConnector::create($merchantId,$sharedSecret,$apiEndpoint);

$order = [
    "purchase_country" => "se",
    "purchase_currency" => "sek",
    "locale" => "sv-se",
    "order_amount" => 12750,
    "order_tax_amount" => 2550,

    "order_lines" => [
        [
            "type" => "physical",
            "reference" => "abc123",
            "name" => "Product Name",
            "quantity" => 1,
            "unit_price" => 10000,
            "tax_rate" => 2500,
            "total_amount" => 10000,
            "total_tax_amount" => 2000
        ],
        [
            "type" => "discount",
            "reference" => "discount50",
            "name" => "Discount 50%",
            "quantity" => 1,
            "unit_price" => -5000,
            "tax_rate" => 2500,
            "total_amount" => -5000,
            "total_tax_amount" => -1000
        ],
        [
            "type" => "shipping_fee",
            "reference" => "shipping",
            "name" => "Shipping",
            "quantity" => 1,
            "unit_price" => 7750,
            "tax_rate" => 2500,
            "total_amount" => 7750,
            "total_tax_amount" => 1550
        ],
    ],

    "options" => [
        "additional_checkbox" => [
            "text" => "Please add me to the newsletter list, read more here link",
            "checked" => false,
            "required" => false
        ],
    ],

    "merchant_urls" => [
        "terms" => "http://www.merchant.com/toc",
        "checkout" => "http://www.merchant.com/checkout?klarna_order_id={checkout.order.id}",
        "confirmation" => "http://www.merchant.com/thank-you?klarna_order_id={checkout.order.id}",
        "push" => "http://www.merchant.com/create_order?klarna_order_id={checkout.order.id}"
    ],

];

try {
    $checkout = new Klarna\Rest\Checkout\Order($connector);
    $checkout->create($order);

    // Store checkout order id
    $orderId = $checkout->getId();

    // Get some data if needed
    echo <<<ORDER
         OrderID: $checkout[order_id]
    Order status: $checkout[status]
    HTML snippet: $checkout[html_snippet]
ORDER;
} catch (Exception $e) {
    echo 'Caught exception: ' . $e->getMessage() . "\n";
}

Thank you for the report. I'm checking this issue.

I've checked the exact code you posted and unfortunately cannot reproduce the issue. The response that I have looks good.
Could you enable the DEBUG_SDK and provide the debugging output? https://github.com/klarna/kco_rest_php#logging-and-debugging
I think the problem can be caused by authorization or a playground API server glitch. Anyway, having the debug out will help to understand the problem.
Thanks!

@alexions
Here's the debug response:
`>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> POST : /checkout/v3/orders Headers : {"Content-Type":"application/json"} Body : {"purchase_country":"se","purchase_currency":"sek","locale":"sv-se","order_amount":12750,"order_tax_amount":2550,"order_lines":[{"type":"physical","reference":"abc123","name":"Product Name","quantity":1,"unit_price":10000,"tax_rate":2500,"total_amount":10000,"total_tax_amount":2000},{"type":"discount","reference":"discount50","name":"Discount 50%","quantity":1,"unit_price":-5000,"tax_rate":2500,"total_amount":-5000,"total_tax_amount":-1000},{"type":"shipping_fee","reference":"shipping","name":"Shipping","quantity":1,"unit_price":7750,"tax_rate":2500,"total_amount":7750,"total_tax_amount":1550}],"options":{"additional_checkbox":{"text":"Please add me to the newsletter list, read more here link","checked":false,"required":false}},"merchant_urls":{"terms":"http://www.merchant.com/toc","checkout":"http://www.merchant.com/checkout?klarna_order_id={checkout.order.id}","confirmation":"http://www.merchant.com/thank-you?klarna_order_id={checkout.order.id}","push":"http://www.merchant.com/create_order?klarna_order_id={checkout.order.id}"}} DEBUG MODE: Response <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Headers : {"Http":"HTTP/1.1 100 Continue"} Body : HTTP/1.1 201 Created Date: Mon, 14 Oct 2019 16:51:38 GMT Content-Type: application/json Content-Length: 4947 Connection: keep-alive Server: openresty Cache-Control: max-age=0, no-cache, no-store Pragma: no-cache Klarna-Correlation-Id: 6f485aa7-da9e-4f4a-845d-fb6ed0b90a98 Location: https://api.playground.klarna.com/checkout/v3/orders/269f158a-7988-5075-a7f8-c9c19224dfa4 Render-Time: 8 Strict-Transport-Security: max-age=31536000; includeSubDomains {"order_id":"269f158a-7988-5075-a7f8-c9c19224dfa4","status":"checkout_incomplete","purchase_country":"se","purchase_currency":"sek","locale":"sv-SE","billing_address":{"country":"se"},"customer":{},"shipping_address":{"country":"se"},"order_amount":12750,"order_tax_amount":2550,"order_lines":[{"type":"physical","reference":"abc123","name":"Product Name","quantity":1,"unit_price":10000,"tax_rate":2500,"total_amount":10000,"total_discount_amount":0,"total_tax_amount":2000},{"type":"discount","reference":"discount50","name":"Discount 50%","quantity":1,"unit_price":-5000,"tax_rate":2500,"total_amount":-5000,"total_discount_amount":0,"total_tax_amount":-1000},{"type":"shipping_fee","reference":"shipping","name":"Shipping","quantity":1,"unit_price":7750,"tax_rate":2500,"total_amount":7750,"total_discount_amount":0,"total_tax_amount":1550}],"merchant_urls":{"terms":"http://www.merchant.com/toc","checkout":"http://www.merchant.com/checkout?klarna_order_id={checkout.order.id}","confirmation":"http://www.merchant.com/thank-you?klarna_order_id={checkout.order.id}","push":"http://www.merchant.com/create_order?klarna_order_id={checkout.order.id}"},"html_snippet":"
\n
\n \n
Oops.
\n
It looks like an important part of the checkout experience failed to load and we are unable to offer you a way to pay right now.
\n
Please refresh the page to try again. If this isn't the first time you've seen this message then there may be a more permanent error and you should contact customer service at Klarna.com.
\n
\n \n \n
","started_at":"2019-10-14T16:51:38Z","last_modified_at":"2019-10-14T16:51:38Z","options":{"allow_separate_shipping_address":false,"date_of_birth_mandatory":false,"additional_checkbox":{"text":"Please add me to the newsletter list, read more here link","checked":false,"required":false},"require_validate_callback_success":false},"external_payment_methods":[],"external_checkouts":[]} Caught exception: Response is missing a Content-Type header`

Thanks @pflind for the provided information. This info helped me to understand the issue.
This issue is a combination of multiple factors:

Server/env configuration
Headers processing in the SDK

Looks like your server/environment has a limitation on the HTTP protocol version. By default CURL tries to use the latest available HTTP protocol, which is currently HTTP2
* SSL connection using TLSv1.2
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7fde11006400)
> POST /checkout/v3/orders HTTP/2

In your case you cannot upgrade connection to HTTP2 and your curl library uses HTTP1.1
* SSL connection using TLSv1.2
* SSL certificate verify ok.
> POST /checkout/v3/orders HTTP/1.1

The RFC2616 says, that when sending POST requests you should send an Expect header in order to pre-validate the request body. CURL follows this RFC and sends it if the request body is bigger that 1k.
But based on this pre-validation server must send 2 responses (actually 2 headers): one with HTTP/1.1 100 Continue in order to verify that we can send the body and the second one with the actual HTTP response code.
In the SDK parser we rely only on the first headers part and not on the second one and this created the issue you reported.
You can check the fix we're going to release.
Thank you one more time for the provided feedback!

authors: alexions pflind


text:
Pydocstyle release 6.2.0 breaks pylama

With the release of pydocstyle 6.2.0, they changed the method signature of PyDocChecker().check_source to have an additional parameter
https://github.com/PyCQA/pydocstyle/pull/546/files#diff-8036a1f043bf5856770399b0a1b5b13e7fc59cd1fc2e6bc2d8ca93f49a5d3406R134
def check_source(
    self,
    source,
    filename,
    ignore_decorators=None,
    property_decorators=None,
    ignore_inline_noqa=False,
)

So now it is passing in the ignore_inline_noqa value to the property_decorators param in
pylama_pycodestyle.py
for err in PyDocChecker().check_source(
    ctx.source,
    ctx.filename,
    params.get("ignore_decorators"),
    params.get("ignore_inline_noqa", False),
):

Any updates on this one?

When this fix is going to be published?

authors: TomaszAniolowski cjkirk09 ddnomad

repo: klen/pylama


text:
fix(web): update alchemy url for arbitrum mainnet

PR-Codex overview
This PR updates the AlchemyChain type and related functions to include a new chain option "arb-mainnet".
Detailed summary

Updated AlchemyChain type to include "arb-mainnet"
Updated alchemyTransport function to use "arb-mainnet" instead of "arb"
Updated transports object to use "arb-mainnet" instead of "arb" when in production

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Summary by CodeRabbit

Bug Fixes

Updated blockchain network type from "arb" to "arb-mainnet" to ensure proper production deployment.

Superseded by #1638

authors: alcercu jaybuidl


text:
is there support to select/send a client certificate(for authentication PKCS12) during the TLS handshake?

my api request requires a client certificate (pkcs12). Can I send/select during the request?

It seems to be possible in OkHttp and NSURLSession.
It's quite complicated though. I'll accept PR's for it

Can you tell me how to do it? I would be very gratefull.

Can you tell me how to do it? I would be very gratefull.

I linked two pieces of code how to implement it in native code, meaning it would technically be possible to implement it into this plugin, but it's not currently supported.
The Android (OkHttp) code should be implemented here and here.
The iOS (NSURLSession) code here

Thank you for answering so quickly. I am going to try to implement it, but I don't know if I will succeed as I have never developed native code.

Hello, I am overwhelmed. I've been trying for three weeks but I can't find it. Could you help me how to do it.

Hello, I am overwhelmed. I've been trying for three weeks but I can't find it. Could you help me how to do it.

Can you tell me how far you came in your approach? Any repo on Github that I can take a look at?
It's quite some work to implement, and I'm not really interested in it so I'm probably not going to build it myself.

repo: klippa-app/nativescript-http