text:
Tests not passing but assertion is passing

Hi,
I'm puzzled why I'm getting Tests passed: 0 but not explicitly failing from my tests when running via Idea.
I made a simple pom and I seem to pass the examples in another project, but my custom tests aren't passing. It seems the assertions are as expected and the tables are created. Then for some reason some part of the test setup or annotations is not passing my tests. Can someone get me back on track?
Thanks
package com.test.scno.hiveunit.location;

import com.google.common.collect.Sets;
import com.klarna.hiverunner.HiveShell;
import com.klarna.hiverunner.StandaloneHiveRunner;
import com.klarna.hiverunner.annotations.HiveProperties;
import com.klarna.hiverunner.annotations.HiveResource;
import com.klarna.hiverunner.annotations.HiveRunnerSetup;
import com.klarna.hiverunner.annotations.HiveSQL;
import com.klarna.hiverunner.annotations.HiveSetupScript;
import com.klarna.hiverunner.config.HiveRunnerConfig;
import org.apache.commons.collections.MapUtils;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;

import java.io.File;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;

@RunWith(StandaloneHiveRunner.class)
public class SomeTableTest {

    @HiveRunnerSetup
    public final HiveRunnerConfig CONFIG = new HiveRunnerConfig(){{
        setHiveExecutionEngine("tez");
    }};

    @HiveProperties
    public Map<String, String> hiveProperties = MapUtils.putAll(new HashMap(), new Object[]{
            "MY.HDFS.DIR", "${hadoop.tmp.dir}",
            "my.schema", "SOME_DB",
            "my.schema2", "ANOTHER_DB"
    });

    @HiveSetupScript
    private String createSchemaScript = "create schema ${hiveconf:my.schema}"+";" +"create schema ${hiveconf:my.schema2}";

    @HiveResource(targetFile = "${hiveconf:MY.HDFS.DIR}/data/in/data.gz")
    private File dataFromFile = new File(ClassLoader.getSystemResource("data/location/SOME_DB/SOME_TABLE/data.gz").getPath());

    @HiveSQL(files = {"schemas/hive/ANOTHER_DB/SOME_TABLE.sql"}, encoding = "UTF-8")
    private HiveShell hiveShell;

    @Test
    public void testTablesContainsItems() {
        List<String> sourceTableResult = hiveShell.executeQuery("SELECT * FROM SOME_DB.SOME_TABLE LIMIT 10");
        List<String> targetTableResult = hiveShell.executeQuery("SELECT * FROM ANOTHER_DB.ANOTHER_TABLE LIMIT 10");
        System.out.println(sourceTableResult.size());
        System.out.println(targetTableResult.size());
        Assert.assertTrue(sourceTableResult.size()==10);
        Assert.assertTrue(targetTableResult.size()==10);
    }
}

<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.test.scno</groupId>
  <artifactId>scno-hive-unit</artifactId>
  <version>1.0.0</version>
  <name>${project.artifactId}</name>
  <properties>
   <hiverunner.version>4.0.0</hiverunner.version>
    <encoding>UTF-8</encoding>
    <junit.version>4.12</junit.version>
    <!-- Plugins -->
    <surefire.plugin.version>2.21.0</surefire.plugin.version>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
  </properties>
  <dependencies>
    <dependency>
      <groupId>com.klarna</groupId>
      <artifactId>hiverunner</artifactId>
      <version>${hiverunner.version}</version>
     <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>${junit.version}</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.21.0</version>
        <configuration>
          <includes>
          </includes>
          <forkCount>1C</forkCount>
          <reuseForks>true</reuseForks>
          <argLine>-Xmx2048m -XX:MaxPermSize=512m</argLine>
          <systemProperties>
            <hiveconf_hive.execution.engine>tez</hiveconf_hive.execution.engine>
            <hiveconf_hive.exec.counters.pull.interval>1000</hiveconf_hive.exec.counters.pull.interval>
            <commandShellEmulator>BEELINE</commandShellEmulator>
            <enableTimeout>false</enableTimeout>
            <timeoutSeconds>30</timeoutSeconds>
            <timeoutRetries>2</timeoutRetries>
          </systemProperties>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.7.0</version>
        <configuration>
          <source>${maven.compiler.source}</source>
          <target>${maven.compiler.target}</target>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>

CREATE EXTERNAL TABLE SOME_DB.SOME_TABLE
     (
      E1 VARCHAR(5),
      E2 VARCHAR(100),
      E3 VARCHAR(50),
      E4 DATE,
      E5 TIMESTAMP,
      E6 TIMESTAMP
      )
ROW FORMAT DELIMITED FIELDS TERMINATED BY '\037'
STORED AS TEXTFILE
LOCATION "${hiveconf:hadoop.tmp.dir}/path/to/data.gz";

CREATE EXTERNAL TABLE ANOTHER_DB.ANOTHER_TABLE
     (
      E1 VARCHAR(5),
      E2 VARCHAR(100),
      E3 VARCHAR(50),
      E4 DATE,
      E5 TIMESTAMP,
      E6 TIMESTAMP
      )
STORED AS PARQUET
LOCATION "${hiveconf:hadoop.tmp.dir}/data/out/";

INSERT INTO ANOTHER_DB.ANOTHER_TABLE SELECT * from SOME_DB.SOME_TABLE

Test failure but values are returned as expected.

Where is the test failure in the above log? I don't see any output from JUnit indicating the test failed? Do you get some feedback in the IDE or somewhere else that says this?

Hi, there's a clear green check mark on pass but not sure what that symbol is. I will take a screenshot of a passing test. If you missed it look at the top left. Tests passed 0 of 1 test. I will try to give more details and run through the debugger and see if I can figure out anything else.

A separate project to reproduce would be nice.
I'm a bit confused, I thought the original issue you raised was that the
assertions pass, i.e. your tests pass but that HiveRunner wasn't indicating
that the tests pass. The above screenshot seems to indicate that all the
tests are passing so this is good isn't it?
On 25 July 2018 at 16:26, colin-williams notifications@github.com wrote:

Here's examples of the tests passing. I'm going to create a project which
reproduces the failures so it's easy to reproduce on clone.
[image: pass]
https://user-images.githubusercontent.com/28717206/43210544-434c4f0e-8fe4-11e8-834e-58a048ba2db5.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/klarna/HiveRunner/issues/94#issuecomment-407794495,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABzEbXojJB6dMSAga4Ht966draS-DESks5uKI4WgaJpZM4VblrZ
.

OK, good luck tracking it down!
On 25 July 2018 at 17:29, colin-williams notifications@github.com wrote:

I took a screenshot of passing tests from a different example to
juxtaposition the differences between a passing test and my issue. I tried
to reproduce but there's some subtle issue I am having problems with. Then
I will update when I can reproduce or if I can find the issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/klarna/HiveRunner/issues/94#issuecomment-407815655,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABzEYUvOp8aVJXgBJIEE9VgZJX2XJUfks5uKJzagaJpZM4VblrZ
.

We're having the same issue:

Our behaviour appear when moving from 1.2.2 to 2.0.0

Posting from one of our engineers:
Could perhaps be other issues but what I have identified is that when there is any set statement in a hive sql we get this behaviour.
Have debugged the code all the way down to the nitty-gritty in the hive code and can see that the set works as expected without throwing any errors as far as I could tell. Can also see that hiverunner notifies IntelliJ that the test has finished and without reporting any failures.
Of course I must be missing something somewhere but no solution in sight so far.
Get the same behaviour when running tests in the hiverunner project from github for example:
MultipleExecutionEnginesTest
OrcSnappyTest
The good news is I found the commit in hiverunner where this behaviour started:
80d990c5220ab5aa175b73f993b7a485817b3081
The bad news is that the commit contain 79 changed files and it is the commit where hive.version was bumped from 1.2.1 to 2.3.3.
Actually the behaviour disappear if hive.version is flipped back to 1.2.1(and making some small changes to make the code compile with that version).
Behaviour appear when moving from 1.2.2 to 2.0.0

Any resolution on this issue? I have the same behaviour using IJ, but it works fine in Eclipse.

Can you compare the IJ and Eclipse classpaths? It might be due to some classpath ordering differences.

@PelleUllberg described the problem very well, I am experiencing the same.  Looks like when a Hive query has an explicit "SET" it forces the unit test to exit.
`
USE ${hivevar:db};
SET hive.exec.dynamic.partition.mode=nonstrict;
SET hive.exec.dynamic.partition=true;
SELECT * FROM mytable;
`
This test ^^^ will fail.  If you remove the "SET", it works.

@labbedaine @PelleUllberg @colin-williams @philltomlinson
Hey everyone, I'm trying to fix this issue and I was wondering if any of you figured anything else that could be useful?
I've been trying things with the https://github.com/labbedaine/HiveRunnerAssertionIssue project but I still haven't figured anything out.
Any help is appreciated :) !

authors: PelleUllberg colin-williams labbedaine massdosage shermosa

repo: klarna/HiveRunner


text:
Feature request: Merge notes

This function is not available in the web version of Evernote. NixNote can do it.  Select several notes, copy them one by one to the end of the first note, delete the rest.
Why this is important and cannot be done manually:
Imagine the following usecase: a user is browsing the web for some small pieces of data, like all news related to some subject. If the merge function is available, a user can use Evernote Web Clipper to clip every piece he finds separately, then use merge to turn all those 30-40 scraps into one note. Without merge function, a user will have to avoid using web clipper and resort to Ctrl+C/Ctrl+V instead. Also, not everything can be copied what can be clipped.
So, please, add a merge function to collapse many notes into the first one or into a new one. This is the only reason why I keep using a client for Windows.

Would also be cool if this feature could have a configurable merge template. I never use the default merge in the desktop apps since it adds those big headers as dividers.

This is the only reason that prevents me from using Tusk.
Any news on this?
At least a comment?
Thanks in advance!

source: gharchive/issue

authors: Barafu BlockchainBud mickmattes

repo: klaussinani/tusk

license: MIT

license_type: permissive

license_source: github-api


text:
Fix cases on userAgentGenerator

Use the proper json object keys on the Microsoft Edge products API, and prevent future issues by allowing both case methods.
fix #232

Merged #237 which should handle #232. Thanks for contributing, but give develop a try and see if it works for you.

Seems to be working, thanks.

source: gharchive/pull-request


text:
feat(converter):update convert

What this PR does / why we need it:
update DL model convert.
add caffe2 -> onnx convert
Which issue(s) this PR is related to (optional, link to 3rd issue(s)):
Fixes #
Reference to #

Special notes for your reviewer:
/cc @simon-cj @FogDong

Release note:

add caffe2 -> onnx

/retest

CI is not passed, PTAL

What this PR does / why we need it:
Add your description

scripts/convert/converter/* LGTM @simon-cj

/lgtm

@simon-cj PTAL

/lgtm

/hold cancel

authors: baiqilin1991 judgeeeeee simon-cj

repo: kleveross/klever-model-registry


text:
touch background widgets

Hi,
every thing is ok just I can't touch the apps behind the floating window and it's too bad!
Is there any way to correct it?

No sorry, it will pause the activity behind the window, you won't be able
to do this without ROM tweets
On Apr 23, 2015 3:14 PM, "Ahmad" notifications@github.com wrote:

Hi,
every thing is ok just I can't touch the apps behind the floating window
and it's too bad!
Is there any way to correct it?
—
Reply to this email directly or view it on GitHub
https://github.com/klinker24/FloatingWindowDemo/issues/2.

license_source: bigquery


text:
overrideNamespace - no "missing namespace" error in diff, but in deploy

Operating system
WSL2 with Ubuntu 20.04.5 LTS
Kluctl Version
2.14.1
Kubernetes Version
v1.23
kubectl Version
v1.25
Bug description
Hey there,
tiny, but tricky thing that came up today :-)
We have a folder with some services to deploy in it and a deployment.yml for all subfolders with an overrideNamespace.
So the namespace is not defined in the resources for each service.
When diffing this to an environment, there is no error and everything looks fine.
But when deploying, the error about missing namespace comes up.

root
service1

kustomization.yml
deploy.yml

service2

kustomization.yml
deploy.yml
ingress.yml

deployment.yml <-- here we have the overrideNamespace declared.

When defining a namespace in the ingress.yml for example, the diff throws an error messages about the missing namespace. So its only the case when overrideNamespace is defined.
Steps to reproduce
No response
Relevant log output
No response

Thanks for reporting this! :)
I managed to reproduce and fix this. Will be released in the next release.

authors: codablock selfisch

repo: kluctl/kluctl


text:
Automatic config management for pihole?

@klutchell As far as I can tell, the only configuration management in balena-pihole is manual export/import via Teleporter.
I would like to automatically commit to private git repositories whenever the configuration is updated, such as when a new blocklist is added, or when whitelist and blacklist entries are updated.
Would the addition of a 3rd Balena service be a good strategy for configuration management?    The 3rd container could run gitwatch to monitor and commit any changes to the named volumes.  etckeeper is another option, though it might be overkill.
If a gitwatch service is implemented, should the pihole Dockerfile  be updated to pull /etc/pihole and /etc/dnsmasq.d from git during build?

What you've described with a 3rd service sounds like it should work for the git commit and push using gitwatch. For the restore/pull I would personally add a new init file to the pihole container (similar to 30-checktft.sh) that pulls the latest config from the remote before the pihole app starts.

authors: klutchell nmelin

repo: klutchell/balena-pihole


text:
[release 0.4]start_kmesh.sh in 0.4.0 Kmesh arm image doesn't has exec privileges.

What happened:
/bin/sh: line1: ./start_kmesh.sh: Permission denied

What you expected to happen:
Give script execution privileges to enable kmesh to start properly
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

Kmesh version:
Others:

@lec-bit Is this fixed?

@lec-bit

Done
/close

repo: kmesh-net/kmesh


text:
redirect_dir=on

kmxz using your merge tool with a single lower in https://github.com/StuartIanNaylor/zram-config.
Firstly many thanks as even though OverlayFS is now a mainline module there seems to be a total lack of any tools apart from yours.
I am terribly new to OverlayFS but when it comes to renaming folders and redirect_dir do you plan to add support?

At the time I wrote this tool, redirect_dir wasn't there yet. I will try to support it when I have time.

Brilliant because as far as I am aware overlayfs-tools is the only tool in existence and has just the best licence.
I am a terrible scripter and my C is non existent and the merge down to a single lower for https://github.com/StuartIanNaylor/zram-config just wouldn't be possible without merge and if you ever have the time to maybe quell my curiosity how it seems to be a kernel module with the absence of any tools seems weird?
Anyway if you do I will endeavour to  WTFPL and if it could also have an output directory and 'run script' option that would be awesome but secondary.
https://github.com/StuartIanNaylor/zram-config is just a hack for makers, IoT and tinkerers and it would really appreciate overlayfs-tools in fact its essential.
So currently on my mounts I should run -o redirect_dir=off at the moment then?

kmxz dunno if I can twist your arm and just ask if you had time to have a look.
My C is non existent but also with latest version of Arch running into compile probs with http://git.savannah.nongnu.org/cgit/attr.git/commit/?id=7921157890d07858d092f4003ca4c6bae9fd2c38

Hows it doing? Time or just a pain?

authors: StuartIanNaylor kmxz

repo: kmxz/overlayfs-tools

license: WTFPL


text:
atgolferが止まってるので再起動かなんかお願いします

https://twitter.com/henkoudekimasu/status/1165281616081707008

ログ見るとふたつの異なる理由で落ちてて不穏だ
Traceback (most recent call last):
  File "/home/ubuntu/atgolfer/main.py", line 290, in <module>
    main()
  File "/home/ubuntu/atgolfer/main.py", line 271, in main
    raise e
  File "/home/ubuntu/atgolfer/main.py", line 265, in main
    for data in gen:
  File "/home/ubuntu/atgolfer/main.py", line 217, in read_atcoder_problems
    merged_problems: List[Dict[str, Any]] = get_json('https://kenkoooo.com/atcoder/atcoder-api/info/merged-problems')
  File "/home/ubuntu/atgolfer/main.py", line 47, in get_json
    resp.raise_for_status()
  File "/home/ubuntu/.local/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://kenkoooo.com/atcoder/atcoder-api/info/merged-problems

Traceback (most recent call last):
  File "/home/ubuntu/atgolfer/main.py", line 290, in <module>
    main()
  File "/home/ubuntu/atgolfer/main.py", line 271, in main
    raise e
  File "/home/ubuntu/atgolfer/main.py", line 266, in main
    post_text(data['text'], in_reply_to_status_id=last_status_id.get(data['problem_id']))
  File "/home/ubuntu/atgolfer/main.py", line 253, in post_text
    status = api.PostUpdate(text, in_reply_to_status_id=in_reply_to_status_id)
  File "/home/ubuntu/.local/lib/python3.6/site-packages/twitter/api.py", line 1176, in PostUpdate
    resp = self._RequestUrl(url, 'POST', data=parameters)
  File "/home/ubuntu/.local/lib/python3.6/site-packages/twitter/api.py", line 4962, in _RequestUrl
    limit = self.CheckRateLimit(url)
  File "/home/ubuntu/.local/lib/python3.6/site-packages/twitter/api.py", line 4809, in CheckRateLimit
    self.InitializeRateLimit()
  File "/home/ubuntu/.local/lib/python3.6/site-packages/twitter/api.py", line 4792, in InitializeRateLimit
    data = self._ParseAndCheckTwitter(resp.content.decode('utf-8'))
  File "/home/ubuntu/.local/lib/python3.6/site-packages/twitter/api.py", line 4908, in _ParseAndCheckTwitter
    self._CheckForTwitterError(data)
  File "/home/ubuntu/.local/lib/python3.6/site-packages/twitter/api.py", line 4928, in _CheckForTwitterError
    raise TwitterError(data['errors'])
twitter.error.TwitterError: [{'code': 32, 'message': 'Could not authenticate you.'}]

500 が再現したのでとりあえず kenkoooo さんに問い合わせしといた https://github.com/kenkoooo/AtCoderProblems/issues/241

Problems の方は endpoint を更新したら回避できた。
でも twitter.error.TwitterError: [{'code': 32, 'message': 'Could not authenticate you.'}] は残っててきびしい。

依存の python-twitter を更新 (3.5) したら例外が新しいのに変わった
Traceback (most recent call last):
  File "/home/ubuntu/atgolfer/main.py", line 290, in <module>
    main()
  File "/home/ubuntu/atgolfer/main.py", line 271, in main
    raise e
  File "/home/ubuntu/atgolfer/main.py", line 265, in main
    for data in gen:
  File "/home/ubuntu/atgolfer/main.py", line 211, in read_atcoder
    for data in crawl_contest(contest, shortest_codes=shortest_codes, latest_submission_ids=latest_submission_ids):
  File "/home/ubuntu/atgolfer/main.py", line 116, in crawl_contest
    old_size = shortest_codes[task_id]['size']
KeyError: 'size'

twitter.error.TwitterError: [{'code': 32, 'message': 'Could not authenticate you.'}] で落ちると DB (shortest_codes.json) に不整合がおきるぽい。せめて SQLite を使うべきなんだよな

App が SUSPENDED でした。再申請します
https://twitter.com/a3VtYQo/status/1165302109434081280

再申請しました。終了です

repo: kmyk/atgolfer


text:
When I insert, I only create a user ID

My code:
async createUser(@Body() createUserDto: CreateUserDto) {     const newUser = await this.drizzleTrello       .insert(schema.Users)       .values({ data: createUserDto });     return {       newUser: newUser,     };   }
{     "newUser": [         {             "fieldCount": 0,             "affectedRows": 1,             "insertId": 27,             "info": "",             "serverStatus": 2,             "warningStatus": 0,             "changedRows": 0         },         null     ] }

It is because you are not using returning as described here - https://orm.drizzle.team/docs/insert#insert-returning
The scope of this package is only to integrate Drizzle in NestJS. Please ask Drizzle related queries in its repo 🙏

authors: Weronnip mithleshjs

repo: knaadh/nestjs-drizzle


text:
post_authenticated_signal not sent and request missing

Hi,
I found a little bug, same as https://github.com/knaperek/djangosaml2/issues/37 the post_authenticated signal is not sent.
Line:
https://github.com/knaperek/djangosaml2/blob/master/djangosaml2/views.py#L320
Instead of user sender should be user.__class__.
Next to this, it would be nice to have the request as well.
Suggested fix: Change line 320 to:
post_authenticated.send_robust(sender=user.__class__, instance=user, session_info=session_info, request=request)

If you prefer a merge request, just let me know.
Thanks for the plugin anyway!

Hi @JeroenvO I think that this is a good moment to merge all the pending contribution in what we'll be the v0.18.2 release, we're gaining also a bit of entropy but we just have to start a new deal with a renewed community.
Your purpose sounds good and I think that if possibile - two yeasr passed! - I'd like to see your PR and merge it, let us know

It will take me some time to get to know the code again. I think only
https://github.com/knaperek/djangosaml2/blob/master/djangosaml2/views.py#L352
has to change, but this should be tested of course.

Thank you @JeroenvO, take your time and have fun in this.
I think that you can do a PR, sure!
this will help us to have better tests before the next release.
If something goes bad in the tests you'll do please tell us, this would be the integrated in the unit tests in useful times

authors: JeroenvO peppelinux


text:
ConsumerGroup related SIGSEGV error in kafka-controller

Describe the bug
I just installed the latest version for knative-kafka-broker and the kafka-controller component keeps crashing.
Expected behavior
To receive a human readable error. I'm unable to figure out where the problem is.
To Reproduce
followed the instructions to install the kafka source controller
Knative release version
eventing 1.14.5
broker 1.14.7
Additional context
I'm using a confluent kafka cluster.
I already have a broker which is working perfectly, so the cluster is reachable using the credentials I provided.
I feel like this kafkaClusterAdminClient wasn't properly initialized because I'm missing some configuration, but I don't know which.
Am I supposed to configure the consumergroup in some way? Do I need to specify the bootstrap anywhere else than in kafka-broker/channel configmap? I also tried creating a secret in the default namespace with 'user', 'password' and 'sslType' keys, but it still crashes.
Logs
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1c6c655]
goroutine 630 [running]:
knative.dev/eventing-kafka-broker/control-plane/pkg/reconciler/consumergroup.(*Reconciler).deleteConsumerGroupMetadata(0xc0000dc2d0, {0x261e178, 0xc001691ce0}, 0xc000004a88)
knative.dev/eventing-kafka-broker/control-plane/pkg/reconciler/consumergroup/consumergroup.go:304 +0x135
knative.dev/eventing-kafka-broker/control-plane/pkg/reconciler/consumergroup.(*Reconciler).FinalizeKind(0xc0000dc2d0, {0x261e178, 0xc001691ce0}, 0xc000004a88)
knative.dev/eventing-kafka-broker/control-plane/pkg/reconciler/consumergroup/consumergroup.go:276 +0x5e5
knative.dev/eventing-kafka-broker/control-plane/pkg/client/internals/kafka/injection/reconciler/eventing/v1alpha1/consumergroup.(*reconcilerImpl).Reconcile(0xc000136320, {0x261e178, 0xc001691cb0}, {0xc0010498f0, 0x2c})
knative.dev/eventing-kafka-broker/control-plane/pkg/client/internals/kafka/injection/reconciler/eventing/v1alpha1/consumergroup/reconciler.go:249 +0x3b8
knative.dev/pkg/controller.(*Impl).processNextWorkItem(0xc00073b7a0)
knative.dev/pkg@v0.0.0-20240416145024-0f34a8815650/controller/controller.go:542 +0x508
knative.dev/pkg/controller.(*Impl).RunContext.func3()
knative.dev/pkg@v0.0.0-20240416145024-0f34a8815650/controller/controller.go:491 +0x59
created by knative.dev/pkg/controller.(*Impl).RunContext in goroutine 601
knative.dev/pkg@v0.0.0-20240416145024-0f34a8815650/controller/controller.go:489 +0x325

We merged a fix yesterday https://github.com/knative-extensions/eventing-kafka-broker/pull/4006, fix will be released roughly next Tuesday

authors: hosudan pierDipi


text:
Make SECURITY.md consistent

We're missing these across a lot of Knative repos, this is copied/improved from the 3 that existed.

/approve
/lgtm

/retest

authors: davidhadas evankanderson

repo: knative-extensions/net-kourier


text:
Drop everything but awssqs

Fixes knative/community#232
Proposed Changes

Drop everything but the awssqs bits
Move eventing-contrib/awssqs to eventing-awssqs

/lgtm
Thanks!

authors: lberk lionelvillard

repo: knative-sandbox/eventing-awssqs


text:
Pinning deps to master for post-0.18 release

Post 0.18 release steps:
vim ./hack/update-deps.sh
./hack/update-deps.sh --upgrade
./hack/update-codegen.sh

/lgtm

repo: knative-sandbox/eventing-gitlab


text:
doc: add documentation for using podman remotely

📖   This commit adds more documentation for using podman, specifically in this case, connecting to and using a remote podman service from a Mac computer.

/kind documentation

I find the name registry confusing there, it suggest relation to image registry in my mind.
Maybe rename it to my-remote-machine.

I find the name registry confusing there, it suggest relation to image registry in my mind. Maybe rename it to my-remote-machine.

@matejvasek I renamed to podman-remote - wdyt?

I think that's fine.

/lgtm

/lgtm

authors: lance matejvasek

repo: knative-sandbox/kn-plugin-func


text:
[master] Upgrade to latest dependencies

Justification, Retriggering after https://github.com/knative-sandbox/knobots/pull/34 -slinkydeveloper
/cc knative-sandbox/networking-wg-leads
/assign knative-sandbox/networking-wg-leads
Produced via:
./hack/update-deps.sh --upgrade --release v0.21
./hack/update-codegen.sh

Details:
bumping knative.dev/hack 4ed1ecb...d946d25:
  > d946d25 Revert "Add hermetic go mod aware handling to run_go_tool (# 38)" (# 39)
  > ea9c9a0 Add hermetic go mod aware handling to run_go_tool (# 38)
bumping knative.dev/pkg 51c72e2...acbf2af:
  > acbf2af Harden logstream against non-object events (# 1984)
  > 93874f0 Drainer supports customized kubelet probe check (# 1977)
bumping knative.dev/networking ecb89ce...4c4c237:
  > 4c4c237 Add config to disable auto-creation of domain claims (# 330)
  > 3a89509 As per discussion with @mattmoor keep drainer in pkg (# 329)
  > c30dc94 Use symlink for testdata version of config-network.yaml (# 328)

/lgtm
/approve

/lgtm
/approve

authors: knative-automation vagababov

repo: knative-sandbox/net-istio


text:
enable saving config between steps in a single feature

Changes
Looking for feedback on a method to pass data between steps in a feature.
Note that the interface introduced here is aligned with the implementation in pkg: https://github.com/knative/pkg/tree/master/kvstore
/kind enhancement
Relates to https://github.com/knative-sandbox/reconciler-test/issues/66

having the store be context based will not work because of how passing and threading work, it would have to be injected into the context higher up and then used as a pointer to another kvstore, which we can do as a followup that is feature based. So I say we start with this when I fix it up with the comments and we can look at fancy hooks to access the kvstore later? or maybe ... meh YOLO, brb.

ok please take another look, I took the request from @vaikas and @slinkydeveloper and made the feature integration look like this:
setup,
		state.SetOrFail(ctx, t, "event", FullEvent())
...
		state.SetOrFail(ctx, t, "to", to)

using,
		to := state.GetStringOrFail(ctx, t, "to")
		var event cloudevents.Event
		state.GetOrFail(ctx, t, "event", &event)

but nothing is stopping you from loading the KVStore directly:
s := state.FromContext(ctx)
s.Get/Set ...

/hold
Just holding in case @slinkydeveloper has more thoughts.
But otherwise, LGTM. Thanks!

Ready.
/unhold

repo: knative-sandbox/reconciler-test


text:
Last of test-infra

Which issue(s) this PR fixes:
Fixes https://github.com/knative/infra/issues/59
This PR picks in any relevant changes from https://github.com/knative/infra/pull/77 that are not false positives.

@upodroid  see:
┌infra/prow/jobs_config/knative
└╼ diff test-infra.yaml infra.yaml
2c2
< repo: test-infra
---
> repo: infra

So, it seems that we don't need test-infra (and shouldn't need) yaml anymore, but want to draw your attention there too just in case I was mistaken.

repo: knative/infra


text:
micro-Nit in the test: don't make a private type public

/assign @mattmoor

/lgtm
/approve

authors: vagababov yanweiguo

repo: knative/pkg


text:
Update leads for 1.13

Changes

Similar to https://github.com/knative/release/pull/249

/hold for Eventing

cc @Cali0707 should I add you?

/unhold

/assign @ReToCode
/assign @pierDipi

@creydr should I add you?

@creydr should I add you?

Sorry for the late reply, but I was on PTO. I can help for eventing, but I guess we have already enough :shrug:

but I guess we have already enough 🤷
I will add you and you can help on demand if you have cycles ;)

I will add you and you can help on demand if you have cycles if that is ok ;)

sure. Thanks

authors: creydr skonto

repo: knative/release


text:
[master] Auto-update dependencies

Produced via:
./hack/update-deps.sh --upgrade && ./hack/update-codegen.sh
/assign houshengbo k4leung4
/cc houshengbo k4leung4

/approve
/lgtm

repo: knative/serving-operator


text:
Add page navigation for reader apps

Add tags to navigate pages and chapters.
Implement pages (and chapters/tabs when applicable) for reader apps:

Adobe Acrobat Reader DC (mac missing)
Calibre Viewer (mac missing)
Kindle (mac missing)
Okular (mac missing)
Atril
Evince
Nitro Reader 5
Sumatra PDF

Since I don't have a Mac, I could only implement for Windows and Linux.

Thanks for all the work making actions for those apps!


text:
Uncaught exception occasionally when using timeout

Environment
Knex version: 2.4.0
Database + version: PostgreSQL 14.6 (via postgres:14-alpine docker)
OS: macOS Ventura 13.1
Bug
Our production app is crashing once in a while with an uncaught exception. After investigating, my best guess so far is that some kind of race condition leads to mishandling connection errors when the query has .timeout() (we get lots of random terminating connection due to conflict with recovery in particular).
Trying to get a minimal reproduction, I came up with this:

code
// index.mjs

import knex from "knex";

process.on("uncaughtException", (err) => {
  console.error("*** UNCAUGHT EXCEPTION ***", err);
  process.exit(1);
});

const k = knex({
  client: "pg",
  connection: {
    user: "whatever",
    password: "whatever",
    database: "whatever",
  },
  pool: {
    min: 2,
    max: 40,
    idleTimeoutMillis: 5000,
  },
  asyncStackTraces: true,
});

async function f() {
  try {
    await k
      .raw("do $$ begin perform pg_sleep(0.001); raise exception 'boo'; end $$")
      .timeout(3, { cancel: true });
    console.log("Knex okay!");
  } catch (err) {
    console.error("Knex error!", err.message);
  }
}

await Promise.all([...Array(100000).keys()].map(() => f()));

await k.destroy();

If I start this running and then shut down the postgres docker container, usually I get an uncaught exception:
*** UNCAUGHT EXCEPTION *** error: terminating connection due to administrator command
    at Parser.parseErrorMessage (/Users/luke/vivaa/backend/ppp/node_modules/pg-protocol/dist/parser.js:287:98)
    at Parser.handlePacket (/Users/luke/vivaa/backend/ppp/node_modules/pg-protocol/dist/parser.js:126:29)
    at Parser.parse (/Users/luke/vivaa/backend/ppp/node_modules/pg-protocol/dist/parser.js:39:38)
    at Socket.<anonymous> (/Users/luke/vivaa/backend/ppp/node_modules/pg-protocol/dist/index.js:11:42)
    at Socket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Readable.push (node:internal/streams/readable:234:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)

I noticed a possibly-related issue in pg-protocol, which the stack trace suggests is involved, but usually these connection errors are handled just fine, with just a rare uncaught exception like the one above.

Released in 2.5.0

authors: LukeNotable OlivierCavadenti

repo: knex/knex


text:
disconf简化配置问题

能否将disconf做一个简化版本，不需要配置nginx这些，我觉得disconf就是一个web控制台，tomcat完全可以做这个事情，不需要引入nginx，很多新人都是死在了配置这块，不得不说官方文档非常详细，安装官方文档配置，是可以配置好的。

我做了 disconf-upgrade ，你在github 上搜索一下

authors: dizena sundylgz

repo: knightliao/disconf


text:
ryoungblom_pull_1

-- db_connection_sample.py doesn't exist, but can target run.py
-- /db_test does not display entries, throws 404 error.  Can display /browse_bsg_people
-- throws module errors on flip unless "python -m" is added to flask run
-- side note: git clone did not produce "CS340_sample_flask_app" for me, unable to verify if this is true across servers

I am going to merge and make the changes myself as this is giving grief to many students.
Thanks again for the fixes, @ryoungblom!

authors: knightsamar ryoungblom


text:
Added cache control for tags and its tests

Summary
This PR adds the cache control support for tags.
It enables both pessimistic and optimistic lock under user defined tag(s).
Notice
One thing might breaks current behavior, is the default values of tag's cache control.
Before this feature, tags does not care any cache control but behaves like following the LLC cache control option.
But after this PR, it has falsy options for cache control by default.
So the users who set any of LLC cache control option to true, those users tagged cache become out of cache control unexpectedly.
Test

[x] passed  go test . on my local environment
[x] passed  go test -run TestConfig on my local environment

LGTM !!

LGTM !

authors: dolow goccy kanataxa

repo: knocknote/rapidash


text:
Can't connect to Erlang MQTT

Hello,
I am using Arduino Espressif ESP32 along with DHT22 to connect to Erlang MQTT http://emqtt.io/.
On the serial console, I am getting an output as -
Attempting MQTT Connection...failed, rc= -4
 try again in 5 seconds
Attempting MQTT Connection...failed, rc= -4
 try again in 5 seconds
Attempting MQTT Connection...failed, rc= -4
 try again in 5 seconds

This is the code that I have used -
#include <WiFi.h>
#include <WiFiClient.h>
#include <WiFiServer.h>
#include <WiFiUdp.h>
#include <PubSubClient.h>
#include "DHT.h"

#define wifi_ssid "****"
#define wifi_password "*****"

#define mqtt_server "******"
#define mqtt_user "*****"
#define mqtt_password "*****"

#define DHTPIN 5          //define as DHTPIN the Pin 3 used to connect the Sensor
#define DHTTYPE DHT22     // DHT 22  (AM2302), AM232
DHT dht(DHTPIN, DHTTYPE); //create an instance of DHT

#define humidity_topic "sensor/humidity"
#define temperature_topic "sensor/temperature"

WiFiClient espClient;
PubSubClient client(espClient);

void setup() {
  Serial.begin(115200);
  dht.begin();
  Serial.println("DHT Started");
  setup_wifi();
  client.setServer(mqtt_server, 8883);
}

void setup_wifi() {
  delay(10);
  // We start by connecting to a WiFi network
  Serial.println();
  Serial.print("Connecting to: ");
  Serial.println(wifi_ssid);

  WiFi.begin(wifi_ssid, wifi_password);

  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }

  Serial.println("");
  Serial.println("WiFi connected");
  Serial.println("IP address: ");
  Serial.println(WiFi.localIP());
}

void reconnect() {
  // Loop until we're reconnected
  while (!client.connected()) {
    Serial.print("Attempting MQTT Connection...");
    // Attempt to connect
    // If you do not want to use a username and password, change next line to
    // if (client.connect("ESP32Client")) {
    if (client.connect("ESP32Client", mqtt_user, mqtt_password)) {
      Serial.println("connected");
    } else {
      Serial.print("failed, rc= ");
      Serial.println(client.state());
      Serial.println(" try again in 5 seconds");
      // Wait 5 seconds before retrying
      delay(5000);
    }
  }
}

bool checkBound(float newValue, float prevValue, float maxDiff) {
  return !isnan(newValue) &&
         (newValue < prevValue - maxDiff || newValue > prevValue + maxDiff);
}

long lastMsg = 0;
float temp = 0.0;
float hum = 0.0;
float diff = 1.0;

void loop() {
  if (!client.connected()) {
    reconnect();
  }
  client.loop();

  long now = millis();
  if (now - lastMsg > 1000) {
    lastMsg = now;

    float newTemp = dht.readTemperature();
    float newHum = dht.readHumidity();

    if (checkBound(newTemp, temp, diff)) {
      temp = newTemp;
      Serial.print("New temperature: ");
      Serial.println(String(temp).c_str());
      client.publish(temperature_topic, String(temp).c_str(), true);
    }

    if (checkBound(newHum, hum, diff)) {
      hum = newHum;
      Serial.print("New humidity: ");
      Serial.println(String(hum).c_str());
      client.publish(humidity_topic, String(hum).c_str(), true);
    }
  }
}

Is the port number 8883 correct for MQTT over SSL?
Please suggest me the changes!
Thank you

Hi, a return code of -4 means connection timed out - http://pubsubclient.knolleary.net/api.html#state
That means the client established its TCP connection and sent the initial connect packet but no response was received. Can you check the logs on your broker for any corresponding error message? I've never tried emqtt, so don't know the specifics of its configuration. Not sure there's anything else I can help with here.

Turns out, I was using a wrong WiFi library. So I have got it resolved. Thanks anyway!

repo: knolleary/pubsubclient

license: mit


text:
socket error on client when payload bigger than 4096 esp32

Hello,
I'm currently facing the issue that I'm getting the error "Socket error on client xxxxxx, disconnecting" from my broker.
But this is only the case when i publish data that is bigger than 4096 Bytes.
I have already set the buffer size a little bit bigger, but that does not seem to be the problem.
#include "WiFi.h"
#include <PubSubClient.h>
#include <WiFiClientSecure.h>

WiFiClientSecure clientMqtt;
PubSubClient mqttClient(clientMqtt);

mqttClient.setBufferSize(8192);
mqttClient.setKeepAlive(60);
mqttClient.setSocketTimeout(60);´

Funny thing is the broker gets this message. Until 432 everything is correct, but then the message starts again.
{"deviceID":"243bd1a3c9c8","data": {"0":1,"1":1,"2":4,"3":4,"4":4,"5":4,"6":4,"7":4,"8":4,"9":7,"10":1,"11":0,"12":0,"13":32766,"14":32766,"15":32766,"16":32766,"17":32766,"18":32766,"19":101,"20":2,"21":0,"22":0,"23":0,"24":0,"25":10,"26":30,"27":1,"28":25,"29":65531,"30":0,"31":20,"32":42,"33":1,"34":5,"35":3,"36":32766,"37":32766,"38":32766,"39":32766,"40":70,"41":100,"42":60,"43":50,"44":99,"45":15,"46":3,"47":3,"48":120,"49":3,"50":3,"51":99,"52":5,"53":1,"54":32766,"55":32766,"56":32766,"57":32766,"58":32766,"59":32766,"60":1,"61":0,"62":4,"63":100,"64":0,"65":8,"66":0,"67":0,"68":20,"69":44,"70":0,"71":0,"72":1,"73":1,"74":1,"75":9,"76":1,"77":1,"78":0,"79":0,"80":55,"81":45,"82":99,"83":65,"84":65,"85":0,"86":3,"87":0,"88":0,"89":1,"90":32766,"91":32766,"92":32766,"93":32766,"94":32766,"95":32766,"96":32766,"97":32766,"98":32766,"99":32766,"100":18,"101":10,"102":32766,"103":20,"104":35,"105":50,"106":65,"107":0,"108":1,"109":15,"110":3,"111":32766,"112":32766,"113":0,"114":18,"115":10,"116":220,"117":20,"118":35,"119":50,"120":65,"121":0,"122":1,"123":15,"124":3,"125":50,"126":3,"127":0,"128":18,"129":10,"130":200,"131":20,"132":35,"133":50,"134":65,"135":0,"136":1,"137":15,"138":3,"139":50,"140":3,"141":0,"142":18,"143":10,"144":280,"145":20,"146":35,"147":50,"148":65,"149":0,"150":1,"151":15,"152":3,"153":50,"154":3,"155":0,"156":18,"157":10,"158":208,"159":20,"160":35,"161":50,"162":65,"163":0,"164":1,"165":15,"166":3,"167":50,"168":3,"169":0,"170":18,"171":10,"172":200,"173":20,"174":35,"175":50,"176":65,"177":0,"178":1,"179":15,"180":3,"181":50,"182":3,"183":0,"184":18,"185":10,"186":200,"187":20,"188":35,"189":50,"190":65,"191":0,"192":1,"193":15,"194":3,"195":50,"196":3,"197":0,"198":18,"199":10,"200":200,"201":20,"202":35,"203":50,"204":65,"205":0,"206":1,"207":15,"208":3,"209":50,"210":3,"211":0,"212":0,"213":65534,"214":65496,"215":3,"216":24,"217":12,"218":2018,"219":26,"220":12,"221":2022,"222":1200,"223":1200,"224":1200,"225":1200,"226":1200,"227":1200,"228":32766,"229":32766,"230":32766,"231":32766,"232":32766,"233":32766,"234":1200,"235":1200,"236":1200,"237":1200,"238":1200,"239":1200,"240":5,"241":5,"242":5,"243":5,"244":5,"245":5,"246":5,"247":5,"248":0,"249":0,"250":0,"251":0,"252":0,"253":0,"254":0,"255":0,"256":0,"257":0,"258":0,"259":0,"260":0,"261":0,"262":0,"263":0,"264":15,"265":0,"266":0,"267":0,"268":0,"269":0,"270":0,"271":0,"272":0,"273":0,"274":1200,"275":1200,"276":15,"277":0,"278":0,"279":0,"280":0,"281":0,"282":0,"283":0,"284":0,"285":0,"286":1200,"287":1200,"288":15,"289":0,"290":0,"291":0,"292":0,"293":0,"294":0,"295":0,"296":0,"297":0,"298":1200,"299":1200,"300":15,"301":0,"302":0,"303":0,"304":0,"305":0,"306":600,"307":2200,"308":1200,"309":1200,"310":1200,"311":1200,"312":600,"313":2200,"314":1200,"315":1200,"316":1200,"317":1200,"318":600,"319":2200,"320":1200,"321":1200,"322":1200,"323":1200,"324":600,"325":2200,"326":1200,"327":1200,"328":1200,"329":1200,"330":600,"331":2200,"332":1200,"333":1200,"334":1200,"335":1200,"336":600,"337":2200,"338":1200,"339":1200,"340":1200,"341":1200,"342":600,"343":2200,"344":1200,"345":1200,"346":1200,"347":1200,"348":600,"349":2200,"350":1200,"351":1200,"352":1200,"353":1200,"354":600,"355":2200,"356":1200,"357":1200,"358":1200,"359":1200,"360":600,"361":2200,"362":1200,"363":1200,"364":1200,"365":1200,"366":600,"367":2200,"368":1200,"369":1200,"370":1200,"371":1200,"372":600,"373":2200,"374":1200,"375":1200,"376":1200,"377":1200,"378":600,"379":2200,"380":1200,"381":1200,"382":1200,"383":1200,"384":600,"385":2200,"386":1200,"387":1200,"388":1200,"389":1200,"390":600,"391":2200,"392":1200,"393":1200,"394":1200,"395":1200,"396":600,"397":2200,"398":1200,"399":1200,"400":1200,"401":1200,"402":600,"403":2200,"404":1200,"405":1200,"406":1200,"407":1200,"408":600,"409":2200,"410":1200,"411":1200,"412":1200,"413":1200,"414":600,"415":2200,"416":1200,"417":1200,"418":1200,"419":1200,"420":600,"421":2200,"422":1200,"423":1200,"424":1200,"425":1200,"426":600,"427":2200,"428":1200,"429":1200,"430":1200,"431":1200,"432"0�. device/243bd1a3c9c8/data{"deviceID":"243bd1a3c9c8","data": {"0":1,"1":1,"2":4,"3":4,"4":4,"5":4,"6":4,"7":4,"8":4,"9":7,"10":1,"11":0,"12":0,"13":32766,"14":32766,"15":32766,"16":32766,"17":32766,"18":32766,"19":101,"20":2,"21":0,"22":0,"23":0,"24":0,"25":10,"26":30,"27":1,"28":25,"29":65531,"30":0,"31":20,"32":42,"33":1,"34":5,"35":3,"36":32766,"37":32766,"38":32766,"39":32766,"40":70,"41":100,"42":60,"43":50,"44":99,"45":15,"46":3,"47":3,"48":120,"49":3,"50":3,"51":99,"52":5,"53":1,"54":32766,"55":32766,"56":32766,"57":32766,"58":32766,"59":32766,"60":1,"61":0,"62":4,"63":100,"64":0,"65":8,"66":0,"67":0,"68":20,"69":44,"70":0,"71":0,"72":1,"73":1,"74":1,"75":9,"76":1,"77":1,"78":0,"79":0,"80":55,"81":45,"82":99,"83":65,"84":65,"85":0,"86":3,"87":0,"88":0,"89":1,"90":32766,"91":32766,"92":32766,"93":32766,"94":32766,"95":32766,"96":32766,"97":32766,"98":32766,"99":32766,"100":18,"101":10,"102":32766,"103":20,"104":35,"105":50,"106":65,"107":0,"108":1,"109":15,"110":3,"111":32766,"112":32766,"113":0,"114":18,"115":10,"116":220,"117":20,"118":35,"119":50,"120":65,"121":0,"122":1,"123":15,"124":3,"125":50,"126":3,"127":0,"128":18,"129":10,"130":200,"131":20,"132":35,"133":50,"134":65,"135":0,"136":1,"137":15,"138":3,"139":50,"140":3,"141":0,"142":18,"143":10,"144":280,"145":20,"146":35,"147":50,"148":65,"149":0,"150":1,"151":15,"152":3,"153":50,"154":3,"155":0,"156":18,"157":10,"158":208,"159":20,"160":35,"161":50,"162":65,"163":0,"164":1,"165":15,"166":3,"167":50,"168":3,"169":0,"170":18,"171":10,"172":200,"173":20,"174":35,"175":50,"176":65,"177":0,"178":1,"179":15,"180":3,"181":50,"182":3,"183":0,"184":18,"185":10,"186":200,"187":20,"188":35,"189":50,"190":65,"191":0,"192":1,"193":15,"194":3,"195":50,"196":3,"197":0,"198":18,"199":10,"200":200,"201":20,"202":35,"203":50,"204":65,"

This looks like my string has an overflow.
"431":1200,"432"0�. device/243bd1a3c9c8/data{"deviceID":"243bd1a3c9c8","data": {"0":1,"1":1,"2":4,"3":4,"4":4,"

 String publishTopic = "";
  String socketString = "{\"deviceID\":\"";
  socketString += macString;
  socketString += "\",\"data\": {";

  for (int i = 0; i < 600; i++)
  {
    socketString += "\"";
    socketString += i;
    socketString += "\":";
    socketString += getValue(i);
    if (i < 599)
    {
      socketString += ",";
    }
  }
  socketString += " }}";

  publishTopic = "device/";
  publishTopic += macString;
  publishTopic += "/data";
  mqttClient.publish(publishTopic.c_str(), socketString.c_str());
  Serial.println("send mqtt");

Edit: I'm using Arduino as Component

Update:
I'm now using the .print() function to send data. First that seemed to fix the problem but then i recognized that this function is extremly slow (~5 Seconds to send the data).
Now I'm using a combination of both approaches. But i'm not really happy with that.
Maybe anyone could help me?
void sendDeviceData()
{
  int sendLength = 0;
  String publishTopic = "";
  String socketString = "{\"deviceID\":\"";
  socketString += macString;
  socketString += "\",\"data\": {";
  socketString += " }}";

  sendLength = socketString.length();

  for (int i = 0; i < 1200; i++)
  {
    socketString = "\"";
    socketString += i;
    socketString += "\":";
    socketString += getValue(i);
    if (i < 1199)
    {
      socketString += ",";
    }
    sendLength += socketString.length();
  }

  Serial.println(sendLength);

  publishTopic = "device/";
  publishTopic += macString;
  publishTopic += "/data";

  mqttClient.beginPublish(publishTopic.c_str(), (sendLength-1), false);
  mqttClient.print("{\"deviceID\":\"");
  mqttClient.print(macString);
  mqttClient.print("\",\"data\": {");
  for(int j = 0; j < 6; j++) {

    socketString = "";
    for (int i = 0; i < 200; i++)
    {
      socketString += "\"";
      socketString += i+(j*200);
      socketString += "\":";
      socketString += getValue(i+(j*200));
      if (i+(j*200) < 1199)
      {
        socketString += ",";
      }
    }
     mqttClient.print(socketString);
  }
  mqttClient.print("}}");

  mqttClient.endPublish();

  //mqttClient.publish(publishTopic.c_str(), socketString.c_str());
  Serial.println("send mqtt");
}

@fsommer1968 thanks for your help, i will try this.


text:
Add a reference to Cassandre trading bot

Hello, I developed a trading bot that uses XChange, maybe it would be a good idea to add list of tools that uses XChange on your readme ?
Sources
Guide

Thanks, I added it to the Wiki.

authors: straumat timmolter

repo: knowm/XChange


text:
NullPointerException getLegendRenderType(XYSeries.java:44)

Hello,
I'm using version 3.5.4 and get an exception in the AWT-EventQueue thread.
The exception comes quite arbitrary and not every Time I'm running the process.
As shown in the readme I'm quite certain that I'm using the api correctly.
Compared to the advanced Example the only difference I can see is that I'm not creating my JFrame in the invokeLater method.
Even so, the chart looks completely fine and everything works without a problem.
The chart in question if that matters:

The full Stacktrace:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
	at org.knowm.xchart.XYSeries.getLegendRenderType(XYSeries.java:44)
	at org.knowm.xchart.internal.chartpart.Legend_Marker.getSeriesLegendRenderGraphicHeight(Legend_Marker.java:165)
	at org.knowm.xchart.internal.chartpart.Legend_Marker.getSeriesLegendRenderGraphicHeight(Legend_Marker.java:15)
	at org.knowm.xchart.internal.chartpart.Legend_.getBoundsHintVertical(Legend_.java:196)
	at org.knowm.xchart.internal.chartpart.Legend_.getBounds(Legend_.java:378)
	at org.knowm.xchart.internal.chartpart.AxisPair.paint(AxisPair.java:112)
	at org.knowm.xchart.XYChart.paint(XYChart.java:415)
	at org.knowm.xchart.XChartPanel.paintComponent(XChartPanel.java:90)
	at javax.swing.JComponent.paint(JComponent.java:1056)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
	at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1579)
	at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
	at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
	at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
	at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
	at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
	at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

For completeness how I'm using xchart.
I'm creating a chart like this:
XYChart chart = new XYChartBuilder()
                .width(1000)
                .height(500)
                .title(label)
                .xAxisTitle("Generation")
                .yAxisTitle("Fitness")
                .theme(Styler.ChartTheme.GGPlot2)
                .build();

chart.getStyler().setDefaultSeriesRenderStyle(XYSeries.XYSeriesRenderStyle.Line);
chart.getStyler().setLegendPosition(Styler.LegendPosition.OutsideE);
chart.getStyler().setMarkerSize(5);

JPanel chartPanel = new XChartPanel<XYChart>(chart);

Don't know if it's important but I take the chart, and chartPanel object and store them in a different object for access when I need them.
I'm adding the chart onto a JTabbedPane with the initial draw like this
javax.swing.SwingUtilities.invokeLater(() -> {
             frame.validate();
             frame.pack();
             frame.setVisible(true);
});

Everey time i use the updateXYSeries method i repaint the respective chartPanel.
javax.swing.SwingUtilities.invokeLater(() -> {
        chartPanel.revalidate();
        chartPanel.repaint();
});

It seems to be a rather simple fix.
When creating a new XYSeries with addSeries the legendRenderType and lineStyle are missing.
I just had to set them myself with:
            xySeries.setXYSeriesRenderStyle(myXYChart.getDefaultSeriesRenderStyle());
            xySeries.setLineStyle(new BasicStroke());

Why do you call the xySeries.getLegendRenderType() method before drawing?

xySeriesRenderStyle is null by default. When xySeriesRenderStyle is null, a null pointer will be reported when the getLegendRenderType method is executed.
@timmolter
Think this issue is not a problem.

@Mr14huashao Thank, I'll close it. BTW, I'm really busy right now, but I will get to you other PRs and comments ASAP.

@Mr14huashao In which line of my own code do I call xySeries.getLegendRenderType() ?
And if you'd be able to look at the full stack trace you'd see that it's an internal call made while painting.
And as I originally stated: I just copied the given advanced example.
So I think this issue is either not good explained on how to fix it properly or it's just not resolved correctly.

@Blaxzter
Your sample code does not call xySeries.getLegendRenderType ().
I carefully looked at the error stack information and code, and your description.
In the example you gave, the initial XYChart did not add a series, and then added a series.
This situation may occur when the same XYChart is drawn by multiple threads. When the first thread draws XYChart, the series is still empty, and XYSeries.xySeriesRenderStyle may still be null
for (XYSeries xySeries : getSeriesMap().values()) {
  XYSeries.XYSeriesRenderStyle chartXYSeriesRenderStyle =
	  xySeries.getXYSeriesRenderStyle(); // would be directly set
  if (chartXYSeriesRenderStyle == null) { // wasn't overridden, use default from Style Manager
	xySeries.setXYSeriesRenderStyle(getStyler().getDefaultSeriesRenderStyle());
  }
}

At the same time, the second thread added the series first when drawing XYChart, and the first thread continued to draw. drawing AxisPair will use XYSeries.xySeriesRenderStyle, which will cause NullPointerException.
Like you said it is really easy to solve, add code:
xySeries.setXYSeriesRenderStyle(myXYChart.getDefaultSeriesRenderStyle());

If you think this is not the case, this problem will definitely occur. You can paste the sample code and I can continue to analyze.

authors: Blaxzter Mr14huashao timmolter

repo: knowm/XChart


text:
HTML base element

I found another thing that has to be considered when crawling a website: The HTML base element. It changes the address relative hrefs are relative to.

This is an interesting case of which I was not aware.
This line currently uses the parent url to resolve relative urls. A simple regex to attempt to extract the base url should be easy enough.
But like with all things that seem easy, we get a bunch of edge cases!
 "Absolute and relative URLs are allowed."
I can't fathom why someone would use a relative URL for this. I will probably handle the absolute case first and open a new issue for the relative one after.

authors: Thyra knyzorg

repo: knyzorg/Sitemap-Generator-Crawler


text:
List new jobs opportunities

Add to https://kodadot.xyz/jobs so yeah could be pushed to main-nuxt
We will be looking for

developer advocate -- very needed for a hackathon to start
--Description -> We need you to help us with incoming developers, creating tutorials for developers on how to hack on our stuff, making streamlined flow when bugs occur and the rest of the greatly known avocados. Making good demos. Being an english-native speaker is highly needed for a lot of educational videos
Technical writer -- Creating technical writings to help better understand what we are doing with KodaDot and Metaprime

Add Discord link for Learn more https://discord.gg/35hzy2dXXh

on it

Many jobs seem to be expired. Shouldn't they be removed from the website ?

Many jobs seem to be expired. Shouldn't they be removed from the website ?

@LatinSoul Let me know which ones should be removed. It just takes me a matter of seconds to edit 😝

Almost all of them! hahaha. More seriously, here is the list of those tagged as "expired", at list in cryptojoblist.com :
https://cryptojobslist.com/jobs/senior-business-and-operations-manager-at-metaprime-berlin
https://cryptojobslist.com/jobs/senior-business-and-operations-manager-at-metaprime-berlin
https://cryptojobslist.com/jobs/technical-product-manager-at-metaprime-kodadot-berlin
https://cryptojobslist.com/jobs/vuejs-frontend-engineer-at-nft-gallery-on-kusama-polkadot-at-metaprime-kodadot-berlin
I'd gladly remove them as well. Just let me know :P

all done 👍

Ah, I see, where it comes from...
Thinking...
@kkukelka let's add those back I left a comment in #1696 and put there same Discord link!  It should drop person to introduction, probably I don't need specify job position if they know what they are applying for, intent is just to virtue signal potential seekers we have those positions open :)

authors: LatinSoul kkukelka yangwao

repo: kodadot/nft-gallery


text:
Simple mint shows 0 fees for minting

Fees for simple mint now show always zero, caught by cypress here but also tested manually:

👋

this shows up on loading:

this shows up every time I change price:

i sadly wasn't able to find reason for this while debugging. so open to anyone

need to update @polkadot/api to the latest? https://substrate.stackexchange.com/a/4838
currently we are using @polkadot/api@8.14.1
latest version is @polkadot/api@9.4.1

need to update @polkadot/api to the latest?

related with kodadot/packages#48 ?

need to update @polkadot/api to the latest?

related with kodadot/packages#48 ?

aahh, I see. yes it might be related with that PR

closed by #4060

authors: kkukelka petersopko preschian roiLeo


text:
Persist data from subquery

Is your feature request related to a problem? Please describe.
There are some pages (like /spotlight) that could benefit from cached queries.
Describe the solution you'd like
There is something called apollo3-cache-persist which could be used for this
Additional context
Deliverables:

[ ] implement
[ ] chceck if it's working

Link pls apollo3-cache-persist 👀

Meanwhile we've solved with subsquid

authors: vikiival yangwao


text:
feat: Lazy Drops

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[x] Feature

Needs QA check

@kodadot/qa-guild please review

Context

[x] Closes #8268
[ ] Requires deployment <snek/rubick/worker>

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[ ] My fix has changed UI

Copilot Summary

🤖[deprecated] Generated by Copilot at a923299
This pull request improves the accuracy and performance of the drop components by using the useDropStatus function and the services/waifu.ts API to fetch and update the minted status of drops from the blockchain. It also refactors some components to use the maxCount property and the disabled timestamp of drops, and deletes an unused GraphQL query file.

🤖[deprecated] Generated by Copilot at a923299

To show when and why drops are disabled
The disabled prop was made able
To store a timestamp as a number
Instead of a boolean, how clever
This change was part of a pull request table

cc @prury can you please check?

cc @prury can you please check?

checking!

deployed version shows 21 minted and canary 20 on Kodachain drop, which one is right?

Swirls have the same count info on both deployed and canary ✔

deployed version shows 21 minted and canary 20 on Kodachain drop, which one is right?

So It means one was not minted:
Thanks for the info I will open an issue for myself

should fetchDropStatus() be async?
otherwise lgtm

Yes, It should be async because there are await calls inside this function definition.

authors: Jarsen136 prury vikiival


text:
Generated kite.key is invalid

I am trying to set up a local kontrol install and I am pretty sure I generated my keys and everything correctly but when I go to check the key that i generated with kontrol -initial with kite showkey I am getting an error of:
Invalid Key: Key must be PEM encoded PKCS1 or PKCS8 private key

Looks like I had my public key in the wrong format. I ended up with a ssh format instead of the RSA block format. I will try to document how to go about setting up a kontrol server once I have it fully up and running since there is no documentation at this point

Yeah documentation is sparse, you are right. However if you have problems just let us know, at least I can guide you to the right file or doc, so you don't get problems :)

authors: devinsba fatih

repo: koding/kite


text:
Window Modification functions not working.

After upgrading system to Sonoma, window modification functions stop working.
Does anyone find similar problems? Do I need to grand some permissions?
functions from configs like:
# window opacity (default: off)
# example: render all unfocused windows with 90% opacity
yabai -m config window_opacity on
yabai -m config active_window_opacity 1.0
yabai -m config normal_window_opacity 0.9

# window border
yabai -m config window_border                on
yabai -m config window_border_blur           off
yabai -m config window_border_width          1
yabai -m config window_border_hidpi          off
yabai -m config window_border_radius         11
yabai -m config active_window_border_color   0xffe1e3e4
yabai -m config normal_window_border_color   0xff2a2f38
yabai -m config insert_feedback_color        0xff9dd274

csrutil status returns:
❯ csrutil status
System Integrity Protection status: unknown (Custom Configuration).

Configuration:
	Apple Internal: disabled
	Kext Signing: enabled
	Filesystem Protections: disabled
	Debugging Restrictions: disabled
	DTrace Restrictions: enabled
	NVRAM Protections: enabled
	BaseSystem Verification: enabled

This is an unsupported configuration, likely to break in the future and leave your machine in an unknown state.

I've fixed that by restarting my mac

After a few hours of explorations, I've fixed my problems:

The sha256 is changed after upgrade, reconfigure it according to this.
It seems that the window border config is no longer supported, comment them in config.
Restart everything.

@KuangyeChen
I've ran into the same issue after the last update of yabai via brew just minutes ago. My border does not show up anymore. I've tried the hints listed here, including restart, restart service etc. but that did not help. I'm using yabai with SIP enabled (some hammerspoon coding can help for some things even with SIP on)
Here's the log. window_topmost is removed according to the release notes, but it seems that more than topmost was removed, as the commands are unknown
yabai: System Integrity Protection: Filesystem Protections and Debugging Restrictions must be disabled!
unknown command 'window_topmost' for domain 'config'
unknown command 'on' for domain 'config'
unknown command 'window_border' for domain 'config'
unknown command 'on' for domain 'config'
unknown command 'window_border_width' for domain 'config'
unknown command '1' for domain 'config'
unknown command 'active_window_border_color' for domain 'config'
unknown command '0xff8789c9' for domain 'config'
unknown command 'normal_window_border_color' for domain 'config'
unknown command '0xff555555' for domain 'config'
yabai configuration loaded..

@cloud-wanderer Thx for the snippet, if you want rounded corners, just add roundedRectRadii = { xRadius = 11.0, yRadius = 11.0 }, to the rectangle element config.
...
indicatorWIN = hs.canvas.new { x = max.x, y = max.y, h = max.h, w = max.w }:appendElements({
		type = "rectangle",
		action = "stroke",
		strokeWidth = 2.0,
		roundedRectRadii = { xRadius = 11.0, yRadius = 11.0 },
		strokeColor = { red = 98 / 255, green = 157 / 255, blue = 255 / 255 },
		frame = { x = f.x, y = f.y, h = f.h, w = f.w }
	}):show()
...

authors: KuangyeChen MaximilianHeidenreich cloud-wanderer loveshadowfiend

repo: koekeishiya/yabai


text:
Added Community Themes

Added Darker by JackFly26 to close #26

Beep, boop, Netlify, build.

NEEEEEEETLIFY!

I think we're okay - they're not "Official Themes", they're "Community Themes". I think it's okay for them to go out of date. The community can always make pull requests on those forks to bring them up to speed, or make their own forks that will be kept up to date.

Also since mine is just extending dark.css you could make a way to have it sync to the current dark.css.

@JackFly26 Probably not - we aren't owners of your repository.

@JackFly26 Would you mind adding your theme into a seperate file, so it's like darker.css or something instead of dark.css?
We'll work on adding community theme requirements.

We should wait for #71 before adding community theme requirements. This makes theme contributions a lot easier.

Looks like Darker by @JackFly26 is 7 months out of date and would probably need to be updated to the new CSS variables methodology to be included in a community themes listing.
We can track the guidelines around community theming in #147

authors: JackFly26 kognise kylejrp


text:
Variable assignment error

Hi,
I've been testing your project using both the supplied sample data and some of my own data. The sample data works fine. However, using my on data (single sample with 28 SSR primer pairs) I've come across an issue that I cannot resolve. The error occurs using a python env running python 3.6 (or 3.7) with mgt installed using pip3.
mgt allele-check ./project --force-no-visual-check
Processing D2S1326_filtered.fasta.gz (Wed Sep 23 11:00:22 2020):

Traceback (most recent call last):
File "/mnt/software/anaconda/envs/mg4/bin/mgt", line 8, in
sys.exit(main())
File "/mnt/software/anaconda/envs/mg4/lib/python3.6/site-packages/massgenotyping/init.py", line 31, in main
allele_check.main(args)
File "/mnt/software/anaconda/envs/mg4/lib/python3.6/site-packages/massgenotyping/allele_check.py", line 799, in main
ach.run()
File "/mnt/software/anaconda/envs/mg4/lib/python3.6/site-packages/massgenotyping/allele_check.py", line 267, in run
self.tree = construct_tree(self.align, self.ssr_regions, self.motifs)
File "/mnt/software/anaconda/envs/mg4/lib/python3.6/site-packages/massgenotyping/allele_check.py", line 659, in construct_tree
return constructor.upgma(dmat)
File "/mnt/software/anaconda/envs/mg4/lib/python3.6/site-packages/Bio/Phylo/TreeConstruction.py", line 701, in upgma
inner_clade.branch_length = 0
UnboundLocalError: local variable 'inner_clade' referenced before assignment

Other iterations to supply the working directory as ./project/D1S550 or ./project/D1S550/D1S550_filtered.fasta.gz also fail but do not generate an error message (blast output is absent). I have considered that since I have only a single sample (i.e. one set of fastq reads), an exception occurs. In other words, the routine is not designed to process only a single sample. If so, fine. I just wanted to check with you before I delve into this a little deeper.

Hi,
Thank you for pointing out the issue. That seems to be due to that you only have a single sample and there is no variation in sequences.
I fixed this issue in the branch iss1. Could you reinstall the package as follows and try the command again?
pip3 uninstall massgenotyping
pip3 install git+https://github.com/kohyamat/massgenotyping@iss1

Hi Tetsuo,
Your fix solves the exception - thank you very much.

repo: kohyamat/massgenotyping


text:
ERROR: Service [/relocalize] is not available.

Hi @koide3 !
I use hdl_localization to run my own bag. However, localization failed after several frames. I tried the /relocalize service but encountered the following error:
rosservice list

/globalmap_server_nodelet/get_loggers
/globalmap_server_nodelet/set_logger_level
/hdl_global_localization/get_loggers
/hdl_global_localization/query
/hdl_global_localization/set_engine
/hdl_global_localization/set_global_map
/hdl_global_localization/set_logger_level
/hdl_localization_nodelet/get_loggers
/hdl_localization_nodelet/set_logger_level
/play_1618372696267675442/get_loggers
/play_1618372696267675442/pause_playback
/play_1618372696267675442/set_logger_level
/rosout/get_loggers
/rosout/set_logger_level
/rviz_1618372690694040347/get_loggers
/rviz_1618372690694040347/load_config
/rviz_1618372690694040347/reload_shaders
/rviz_1618372690694040347/save_config
/rviz_1618372690694040347/set_logger_level
/velodyne_nodelet_manager/get_loggers
/velodyne_nodelet_manager/list
/velodyne_nodelet_manager/load_nodelet
/velodyne_nodelet_manager/set_logger_level
/velodyne_nodelet_manager/unload_nodelet

source ./devel/setup.bash
rosservice call /relocalize

ERROR: Service [/relocalize] is not available.

rosbag play --clock XXX.bag gogo

Hi @JaredLee1218 ! I did use rosbag play --clock when playing the bag, but somehow I can't call the /relocalize service :(

i met the same problem ,


text:
Prepare release v0.4.0

Prepare release v0.4.0

Pull Request Test Coverage Report for Build 8760374322
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 8760366427:
0.0%

Covered Lines:
735

Relevant Lines:
735

💛  - Coveralls

authors: coveralls miguelnietoa

repo: kommitters/bas


text:
Combine three bundle build tasks into one

Seems that scheduling Task pods often runs into issues, most likely the inability to mount persistent volumes caused by "volume node affinity conflict". To minimize this issue three separate bundle build Tasks are now combined into a single Tasks as three Steps instead.
Reference: https://issues.redhat.com/browse/EC-705

The diff is not easy to review by eye, but I like the concept. If this can solve or even reduce the frequency of the intermittent failures described in EC-705 that would be fantastic.

Thanks for the review, I'll start the merge now and watch out for any issues.

Found an issue:
cat: /workspace/source/task-bundle-list-konflux-ci: No such file or directory
cat: /workspace/source/task-bundle-list-appstudio: No such file or directory

I'll do a followup PR with the fix

authors: simonbaird zregvart

repo: konflux-ci/build-definitions


text:
Fix:修复MIUI主题下PopMenu左右边距异常

感谢

repo: kongzue/DialogX


text:
SettingFragment loses its elevation setting

Go Setting from menu  (or sponsor, or any other fragments without tablayout)
send activity on background
pull activity to foreground
shadow under toolbar is gone

Before

After

Thanks for your report. I didn't notice it.


text:
Add parameter context secret update detection

Q
A

Bug fix?
no

New feature?
yes

API breaks?
no

Deprecations?
no

Related tickets
-

License
Apache 2.0

What's in this PR?

The operator will look into the ManagedFields of the Secret to retrieve the Time of the operations and extract the latest to compare it to the one stored in its Status to detect the updates.
Why?

The operator needs to be able to update sensitive parameter but as Nifi doesn't return their value, the operator needs to detect the update of secret to trigger an update of the corresponding parameter.
Additional context

Checklist

[X] Implementation tested
[X] Error handling code meets the guideline
[X] Logging code meets the guideline
[X] User guide and development docs updated (if needed)
[x] Append changelog with changes

I prefer this solution to one implemented in PR 309, it does not require a new Controller and can be easly implemented for the other resources that needs it.

instead of recommending 10 changes, i'll just let you change lastest to latest everywhere 🙂

repo: konpyutaika/nifikop


text:
kontena app init products "undefined method `[]' for nil:NilClass"

Dockerfile gets created but nothing else does
Ubuntu 14.10

Kontena Version 0.9.1

How about if you run DEBUG=true kontena app init. Can you provide the backtrace?

$ DEBUG=true kontena app init
Found Dockerfile
/var/lib/gems/2.1.0/gems/kontena-cli-0.9.1/lib/kontena/cli/apps/init_command.rb:75:in create_env_file': undefined method []' for nil:NilClass (NoMethodError)
from /var/lib/gems/2.1.0/gems/kontena-cli-0.9.1/lib/kontena/cli/apps/init_command.rb:39:in execute'         from /var/lib/gems/2.1.0/gems/clamp-1.0.0/lib/clamp/command.rb:68:in run'
from /var/lib/gems/2.1.0/gems/clamp-1.0.0/lib/clamp/subcommand/execution.rb:11:in execute'         from /var/lib/gems/2.1.0/gems/clamp-1.0.0/lib/clamp/command.rb:68:in run'
from /var/lib/gems/2.1.0/gems/clamp-1.0.0/lib/clamp/subcommand/execution.rb:11:in execute'         from /var/lib/gems/2.1.0/gems/clamp-1.0.0/lib/clamp/command.rb:68:in run'
from /var/lib/gems/2.1.0/gems/clamp-1.0.0/lib/clamp/command.rb:133:in run'         from /var/lib/gems/2.1.0/gems/kontena-cli-0.9.1/bin/kontena:67:in <top (required)>'
from /usr/local/bin/kontena:23:in load'         from /usr/local/bin/kontena:23:in '

Thanks. I found the reason for this error and fix is coming.

authors: Mrono nevalla

repo: kontena/kontena


text:
PoC: shutdown gracefully on SIGTERM

When developing locally for example with #935, shutting down api and agent take time because api or agent don't shutdown gracefully on SIGTERM -- docker-compose will eventially SIGKILL them.
I don't know enough of the codebase to make a real pull-request of this, but something like this patch should be done?
As it is now:

With this PoC patch:

Thanks for spotting this! Closing this one because we have a little bit different implementation in #937

Cool.

On 29 Aug 2016, at 12:46, Jari Kolehmainen notifications@github.com wrote:
Thanks for spotting this! Closing this one because we have a little bit different implementation in #937
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

authors: jakolehm matti


text:
feat: Use docker or podman to build and run

This PR improves the Makefile to check which container tool is installed in the enviroment (only docker or podman).
The user will not have to set up anything before to build or to run the image locally, only a container tool is needed to be installed.
HTH

@ashokponkumar Here the PR as you request me related with https://github.com/konveyor/move2kube-ui/pull/98
Ready for your review.

@HarikrishnanBalagopal I don't know why DCO is not passing. I followed the instructions to signoff my latest commit, but it is something not working.
From my local repo:
move2kube-api on  use-container-tool via 🐹 v1.16.8 via ⬢ v10.17.0 took 8s
❯ git commit --amend --no-edit --signoff
[use-container-tool bfa4189] :twisted_rightwards_arrows: Merge branch 'use-container-tool' of https://github.com/rmarting/move2kube-api into use-container-tool
 Date: Thu Sep 30 12:06:19 2021 +0200
move2kube-api on  use-container-tool via 🐹 v1.16.8 via ⬢ v10.17.0
❯ git push --force-with-lease origin use-container-tool
Enumerating objects: 1, done.
Counting objects: 100% (1/1), done.
Writing objects: 100% (1/1), 311 bytes | 311.00 KiB/s, done.
Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/rmarting/move2kube-api.git
 + c4d900a...bfa4189 use-container-tool -> use-container-tool (forced update)

What am I doing wrong?

@HarikrishnanBalagopal I don't know why DCO is not passing. I followed the instructions to signoff my latest commit, but it is something not working.
From my local repo:
move2kube-api on  use-container-tool via 🐹 v1.16.8 via ⬢ v10.17.0 took 8s
❯ git commit --amend --no-edit --signoff
[use-container-tool bfa4189] :twisted_rightwards_arrows: Merge branch 'use-container-tool' of https://github.com/rmarting/move2kube-api into use-container-tool
 Date: Thu Sep 30 12:06:19 2021 +0200
move2kube-api on  use-container-tool via 🐹 v1.16.8 via ⬢ v10.17.0
❯ git push --force-with-lease origin use-container-tool
Enumerating objects: 1, done.
Counting objects: 100% (1/1), done.
Writing objects: 100% (1/1), 311 bytes | 311.00 KiB/s, done.
Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/rmarting/move2kube-api.git
 + c4d900a...bfa4189 use-container-tool -> use-container-tool (forced update)

What am I doing wrong?

Possibly one of the commits ( I guess the merge commit) does not have the sign off. Possibly you can squash and sign that commit.

Possibly one of the commits ( I guess the merge commit) does not have the sign off. Possibly you can squash and sign that commit.

Squash some commits into single one, but now this PR includes my changes and others coming from the main branch. TBH I don't know what it is happeing, but at least the commits include my changes.
Ready for your review.

Possibly one of the commits ( I guess the merge commit) does not have the sign off. Possibly you can squash and sign that commit.

Squash some commits into single one, but now this PR includes my changes and others coming from the main branch. TBH I don't know what it is happeing, but at least the commits include my changes.
Ready for your review.

Can you please try a rebase with main? It shows a warning that the branch is out of date.

Done!

authors: ashokponkumar rmarting


text:
Fix to ensure scenario-2 are running different deployments

Small nit which caused scenario-2 jobs running PR type of tests instead of real different deployment methods.
Testing Instructions
Ensure cluster has nothing in pelorus namespace
$ make e2e-tests-scenario-2
Check if proper deployments were made:
$ oc get pods -n pelorus
NAME                                                   READY   STATUS      RESTARTS      AGE
committime-exporter-1-deploy                           0/1     Completed   0             27m
committime-exporter-1-j2mvb                            1/1     Running     0             27m
deploytime-exporter-2-956x6                            1/1     Running     0             27m
deploytime-exporter-2-deploy                           0/1     Completed   0             27m
git-custom-source-ref-committime-exporter-1-build      0/1     Completed   0             27m
git-custom-source-ref-committime-exporter-1-deploy     0/1     Completed   0             25m
git-custom-source-ref-committime-exporter-1-qvp64      1/1     Running     0             25m
git-custom-source-ref-deploytime-exporter-1-build      0/1     Completed   0             27m
git-custom-source-ref-deploytime-exporter-1-deploy     0/1     Completed   0             25m
git-custom-source-ref-deploytime-exporter-1-kpsss      1/1     Running     0             25m
git-custom-url-committime-exporter-1-build             0/1     Completed   0             27m
git-custom-url-committime-exporter-1-deploy            0/1     Completed   0             25m
git-custom-url-committime-exporter-1-jjsd6             1/1     Running     0             25m
git-custom-url-deploytime-exporter-1-build             0/1     Completed   0             27m
git-custom-url-deploytime-exporter-1-c2n5s             1/1     Running     0             25m
git-custom-url-deploytime-exporter-1-deploy            0/1     Completed   0             25m
grafana-deployment-55f77ccc8f-fz7w8                    2/2     Running     0             28m
grafana-operator-controller-manager-7678cc5c7c-b8j2d   2/2     Running     0             29m
latest-custom-imagetag-committime-exporter-1-deploy    0/1     Completed   0             27m
latest-custom-imagetag-committime-exporter-1-sktmz     1/1     Running     0             27m
latest-custom-imagetag-deploytime-exporter-1-deploy    0/1     Completed   0             27m
latest-custom-imagetag-deploytime-exporter-1-hbbm2     1/1     Running     0             27m
prometheus-operator-559d659944-ksd6f                   1/1     Running     0             28m
prometheus-prometheus-pelorus-0                        3/3     Running     1 (28m ago)   28m
prometheus-prometheus-pelorus-1                        3/3     Running     1 (28m ago)   28m

@redhat-cop/mdt

/retest

/retest

/retest

repo: konveyor/pelorus


text:
Create rules for dedicated EJB access

According to the migration guide:

Dedicated EJB access has also been removed as part of [the RPC-style remoting removal] effort. If you need to lookup an EJB, use JNDI directly via JndiObjectFactoryBean or jee:jndi-lookup.

Investigate and create rules if necessary. Probably will have to check EJB lookup APIs and match on their usage.
In the rule description and message, try to be as verbose and clear as possible. Code examples are always welcome and useful. Feel free to use markdown syntax for these.

Mostly handled previously by LocalStatelessSessionProxyFactoryBean and SimpleRemoteStatelessSessionProxyFactoryBean. Now must be done by the developer manually.

repo: konveyor/rulesets


text:
:bug: Address required status bug

Resolves https://issues.redhat.com/browse/MTA-2505

Adds additional unit test coverage

I still see 'in progress' status in the described scenario:

fully assess an application ("save and review") - assessment status changes to "completed"
disable the questionnaire (mark as not required)
go back to  application table - assessment status is "in progress"


text:
test pr

Type of change

Bugfix
Enhancement / new feature
Refactoring
Documentation

Description

Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[ ] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

/test-iot

repo: kornys/enmasse


text:
Refactor for v1.0.0-alpha3

[x] Fix #14
done in 64ee34f12e9744bef80f3de812e8a65d2ff3ba6e and 68163e8d3e476f3a80fd02d02efe4ed21c3af234

[ ] Fix #11

[ ] Remove the if os.getpid() == self.testsuite_pid: checks, now that we have moved away from forks

e6561730aea9d0bfc10e752978d52711ebbe9105 might actually fix https://github.com/kostrykin/repype/issues/12

769552e1cc2cdc66a93de1aaba40297538edaa03: In the system test tests.test_repype.repype_segmentation.test, the pickup stage of the 2nd task sometimes changes to unzip, which should be segmentation:
2 task(s) selected for running

  (1/2) Entering task: /private/var/.../tmpbexx2ayp/task
  Starting from scratch

    (1/1) Processing input: B2--W00026--P00001--Z00000--T00000--dapi.tif

  Results have been stored ✅

  (2/2) Entering task: /private/var/.../tmpbexx2ayp/task/sigma=2
  Picking up from: /private/var/.../tmpbexx2ayp/task (unzip)

    (1/1) Processing input: B2--W00026--P00001--Z00000--T00000--dapi.tif

  Results have been stored ✅

This seems to be due to stage.sha changing unexpectedly

Apparently, the issue is due to a varying order of the values in the inputs, outputs, consumes fields. It is not clear, why the order varies, but 18b3718d48c088dd0277e9f5b7c4a6eb48e755c5 fixes this for the moment by establishing a well-defined order. A more elegant solution would be desirable, but this is fine for the moment.

repo: kostrykin/repype


text:
Sending message with InlineKeyboardButton which have only text results in Bad Request response

Expected behavior
Sending message with InlineKeyboardButton which have only text: String as constructor property should be prohibited or work properly.
Actual behavior
It causes Error 400 "Bad Request: can't parse inline keyboard button: Text buttons are unallowed in the inline keyboard" as response.
To Reproduce
bot {
    token = "<token>"
    dispatch {
        command("start") { bot, update ->
            val chatId = update.message?.chat?.id ?: return@command
            val result = bot.sendMessage(
                chatId,
                "Hello there!",
                replyMarkup = InlineKeyboardMarkup(listOf(listOf(InlineKeyboardButton("General Kenobi"))))
            )
            bot.sendMessage(chatId, result.first?.errorBody()?.string() ?: "O_o")
        }
    }
}.startPolling()

Screenshots/Traceback
Error body:
{
   "ok" : false,
   "error_code" : 400,
   "description" : "Bad Request: can't parse inline keyboard button: Text buttons are unallowed in the inline keyboard"
}

Thanks for the report @FoRRestDp! I'll take a look to this

repo: kotlin-telegram-bot/kotlin-telegram-bot


text:
InitialDateTime for minute Time Picker

So i can init the default time with InitialDateTime like this, but only hour is change, minute always init 0 no matter what number i choose

same

The version 2.3.1 just published check it out
for time constructor now you need to set the initalTime with the Time class
example
BottomPicker.time(
      title: 'Set your next meeting time',
      titleStyle: TextStyle(
        fontWeight: FontWeight.bold,
        fontSize: 15,
        color: Colors.orange,
      ),
      onSubmit: (index) {
        print(index);
      },
      onClose: () {
        print('Picker closed');
      },
      bottomPickerTheme: BottomPickerTheme.orange,
      use24hFormat: true,
      initialTime: Time(
        minutes: 23,
      ),
      maxTime: Time(
        hours: 17,
      ),
    ).show(context);

authors: AhmedAElllatif koukibadr quocviet1996

repo: koukibadr/Bottom-Picker


text:
ReactiveSearch compatibility

Hi, I tried to use it with reactive search, for react js
and it makes it crash, did you change the normal response. I'm using ES 6

For normal _search queries it should only reorder the search results and add the nboost key.
Is there a console error message?

yea, I just had a quick look, will have a deeper one tomorrow and provide more details

{…}

_bodyBlob: Object { _data: {…} }

_bodyInit: Object { _data: {…} }

headers: Object { map: {…} }

ok: false

status: 502

statusText: undefined

type: "default"

url: "http://sem.xxxxxxxxxxx.com/myidx/_msearch?"

<prototype>: Object { … }
1ecc7cf2-1d07-49bf-8c60-a108c4509a30:23139:28
    reactConsoleErrorHandler blob:http://0.0.0.0:8081/1ecc7cf2-1d07-49bf-8c60-a108c4509a30:23139
    error blob:http://0.0.0.0:8081/1ecc7cf2-1d07-49bf-8c60-a108c4509a30:67319
    handleError blob:http://0.0.0.0:8081/1ecc7cf2-1d07-49bf-8c60-a108c4509a30:306796
    msearch blob:http://0.0.0.0:8081/1ecc7cf2-1d07-49bf-8c60-a108c4509a30:306860
    run blob:http://0.0.0.0:8081/1ecc7cf2-1d07-49bf-8c60-a108c4509a30:252733
    notify blob:http://0.0.0.0:8081/1ecc7cf2-1d07-49bf-8c60-a108c4509a30:252754
    flush blob:http://0.0.0.0:8081/1ecc7cf2-1d07-49bf-8c60-a108c4509a30:253135
    tryCallOne blob:http://0.0.0.0:8081/1ecc7cf2-1d07-49bf-8c60-a108c4509a30:24756
    handleResolved blob:http://0.0.0.0:8081/1ecc7cf2-1d07-49bf-8c60-a108c4509a30:24857
    id blob:http://0.0.0.0:8081/1ecc7cf2-1d07-49bf-8c60-a108c4509a30:28419
    _callTimer blob:http://0.0.0.0:8081/1ecc7cf2-1d07-49bf-8c60-a108c4509a30:28308
    _callImmediatesPass blob:http://0.0.0.0:8081/1ecc7cf2-1d07-49bf-8c60-a108c4509a30:28344
    callImmediates blob:http://0.0.0.0:8081/1ecc7cf2-1d07-49bf-8c60-a108c4509a30:28563
    __callImmediates blob:http://0.0.0.0:8081/1ecc7cf2-1d07-49bf-8c60-a108c4509a30:2187
    flushedQueue blob:http://0.0.0.0:8081/1ecc7cf2-1d07-49bf-8c60-a108c4509a30:1993
    __guard blob:http://0.0.0.0:8081/1ecc7cf2-1d07-49bf-8c60-a108c4509a30:2170
    flushedQueue blob:http://0.0.0.0:8081/1ecc7cf2-1d07-49bf-8c60-a108c4509a30:1992
    callFunctionReturnFlushedQueue blob:http://0.0.0.0:8081/1ecc7cf2-1d07-49bf-8c60-a108c4509a30:1961
    onmessage http://0.0.0.0:8081/debugger-ui/debuggerWorker.js:80

could you post the body of the nboost response?

@pertschuk unfortunately I don't have information, I suppose the msearch is not really supported by nboost, since it says capture path:
nboost_1                 |     "capture_path": "/.*/_search",
and not _msearch.
Is there a debug/verbose mode for nboost to just show this information from the backend, since the frontend is a mobile app, and it's tedious a bit to dig deeper from there, I think it maybe is doable is just hectic

You can use --verbose=True to output debug logging. Additionally, using debug=True adds the runtime configurations and parsed query/values to the nboost key of the json response.

bump!

Hi @0mars ,
Hope you are all well !
I am also interested by an integration with reactivesearch as I created a related project to this stack (https://github.com/twintproject/twint-search).
Did you manage to get it work together ? if yes, do you have some snippets or piece of code to share about the integration of nboost/reactivesearch ?
Cheers,
X

@x0rzkov no, I couldn't. the problem is a compatibility with _msearch that reactivesearch uses it.
we can try to modify reactive search to use the _search it will work.
so let me know if u wanna pair on this, I suck at javascript. but we can organize a zoom call we explore code and get it working together if u r interested, 2 brains are better than 1 🧠

Sure, do you have a twitter account so we can DM together. Mine is https://twitter.com/x0rzkov.
For now, before integrating reactivesearch, I need to fix this issue first before going further https://github.com/koursaros-ai/nboost/issues/83 but yeah a call can be a great idea.
Did you post an issue/question on reactivesearch repository about it ?

Did you post an issue/question on reactivesearch repository about it ?
no

twtr: omars_music

Someone asked this question on the ReactiveSearch github: https://github.com/appbaseio/reactivesearch/issues/471 and the response was to use the transformRequest property of ReactiveBase component.
I was able to get ReactiveSearch to use the _search endpoint however Nboost appears to only support the basic GET ?q= query string search and ReactiveSearch only uses the POST nbjson query format.
I wonder if Nboost could use the full ElasticSearch DSL on POST in addition to the GET simple query format?
transformRequest={(props) => ({
          ...props,
          headers: { ...props.headers, "Content-Type": "application/json" },
          props.body.replace(/{"preference":".*?"}\n/, ""),
        })}

@pertschuk @colethienes please advise!
Thanks

repo: koursaros-ai/nboost


text:
Meross integration not showing up in HA integrations list

Meross integration isn't showing up in integration list

issue #348 doesn't seem relevant as I'm on the latest version of HA (2024.5.5)
running on Ubuntu Server 22.04.5 LTS in docker (CasaOS)
Mac mini 2010 10GB RAM.
Version of the custom_component
n/a (not installed)
Configuration
n/a (not installed)
Describe the bug
Meross integration not showing up in HA integration search list
Am I looking in the right place?

Debug log

(integration not installed)

For some reason CasaOS won't let me edit the docker compose file to change the log level. I'm hoping I'm just looking in the wrong place.

I didn't realize HACS was a separate repo - in case anyone else runs into the issue - install HACS:
https://hacs.xyz
and then the HACS tab will show up on the lefthand side.


text:
Spurious test failure in t\mojo\daemon.t

t\mojo\daemon.t ............................ 1/?
#   Failed test 'right script name'
#   at t\mojo\daemon.t line 83.
#          got: 'C:\Users\...\.cpanm\work\1428402499.3108\Mojolicious-6.06\t\mojo\lib\myapp.pl'
#     expected: 'C:/Users/.../.cpanm/work/1428402499.3108/Mojolicious-6.06/t/mojo/lib/../lib/myapp.pl'
# Looks like you failed 1 test of 81.
These paths clearly refer to the same file. But, the strings are different.
# Script name
my $path = "$FindBin::Bin/lib/../lib/myapp.pl";
is(Mojo::Server::Daemon->new->load_app($path)->config('script'),
    $path, 'right script name');

In load_app (which, coincidentally, start on line 42), you have local $0 = $path = rel2abs $path; which calls canonpath.
The File::Spec docs do say "Note that [canonpath] does not collapse x/../y sections into y."
I haven't examined this, but it looks like, on Windows, it actually does collapse lib/../lib into lib seemingly based on the wrong assumption that there are no symlinks on Windows, but that does not help this issue.
In the mean time, changing the definition of $path to
my $path = File::Spec->canonpath( "$FindBin::Bin/lib/../lib/myapp.pl" );

fixes the test and should not affect anything anywhere else. Ideally, all test paths would be constructed using catfile catpath and canonpath, but I understand what you have works most of the time.

This was the commit that broke it. https://github.com/kraih/mojo/commit/7efcb3e184973040b1acabf8d975092dd92639a2

I tend towards reverting the switch from abs_path to rel2abs, instead of trying more test workarounds.

This may fix the issue too. https://github.com/kraih/mojo/commit/8d64f62bd9721090d6335b41a48d7ed71b0dc41a

I am not familiar with the internals and why the change from abs_path to rel2abs was made, so I thought of applying the least intrusive fix ... Since rel2abs does apply canonpath to arguments, it seemed logically parsimonious to me that the $path also should have canonpath applied to it.
From a casual observer's point of view, reverting to abs_path makes sense to me. After all, these paths should and ought to resolve.

This may fix the issue too. 8d64f62

Yes, it should ... Safer, just in case $FindBin::Bin is not an absolute path.

We have reverted the original change. https://github.com/kraih/mojo/commit/693a3cf2ba8288cca89a45781dc9b33406251bde

authors: kraih nanis

repo: kraih/mojo


text:
Removed warning when using undef values in tablify

Usefull with Mojo::Pg::Results::text and null values.

Thanks, applied.

authors: avkhozov kraih


text:
KeyError in cluster_status

Hello!
I faced the problem of getting active monitors.
Django traceback:
Environment:

Request Method: GET
Request URL: http://127.0.0.1:8000/

Django Version: 1.6.2
Python Version: 2.7.3
Installed Applications:
('django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'rest_framework')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware')

Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
  114.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/kraken/krakendash/status/views.py" in home
  66.     up_mons = cluster_status['output']['health']['timechecks']['mons']

Exception Type: KeyError at /
Exception Value: 'mons'

cluster_status value:
{u'output': {u'election_epoch': 21,
  u'fsid': u'e895ae7e-73bb-4847-ae2d-b9bb22ab2aef',
  u'health': {u'detail': [],
   u'health': {u'health_services': [{u'mons': [{u'avail_percent': 91,
        u'health': u'HEALTH_OK',
        u'kb_avail': 60551588,
        u'kb_total': 65891964,
        u'kb_used': 1970196,
        u'last_updated': u'2014-03-14 00:34:28.473436',
        u'name': u'node1',
        u'store_stats': {u'bytes_log': 983040,
         u'bytes_misc': 65609,
         u'bytes_sst': 16715933,
         u'bytes_total': 17764582,
         u'last_updated': u'0.000000'}}]}]},
   u'overall_status': u'HEALTH_OK',
   u'summary': [],
   u'timechecks': {u'epoch': 21, u'round': 0, u'round_status': u'finished'}},
  u'mdsmap': {u'by_rank': [], u'epoch': 1, u'in': 0, u'max': 1, u'up': 0},
  u'monmap': {u'created': u'0.000000',
   u'epoch': 2,
   u'fsid': u'e895ae7e-73bb-4847-ae2d-b9bb22ab2aef',
   u'modified': u'2014-03-13 22:40:41.025898',
   u'mons': [{u'addr': u'10.251.8.238:6789/0',
     u'name': u'node1',
     u'rank': 0}]},
  u'osdmap': {u'osdmap': {u'epoch': 63,
    u'full': u'false',
    u'nearfull': u'false',
    u'num_in_osds': u'3',
    u'num_osds': 3,
    u'num_up_osds': 3}},
  u'pgmap': {u'bytes_avail': 5773770256384,
   u'bytes_total': 5790183444480,
   u'bytes_used': 16413188096,
   u'data_bytes': 93518157,
   u'num_pgs': 264,
   u'pgs_by_state': [{u'count': 264, u'state_name': u'active+clean'}],
   u'version': 2459},
  u'quorum': [0],
  u'quorum_names': [u'node1']},
 u'status': u'OK'}

Ceph version and mon status:
# ceph -v
ceph version 0.72.2 (a913ded2ff138aefb8cb84d347d72164099cfd60)

 # ceph mon stat
e2: 1 mons at {node1=10.251.8.238:6789/0}, election epoch 21, quorum 0 node1

This is my configuration problem or a problem in the code?
Thank you!

Did this restriction of needing more than one monitor ever get removed?

I never removed it. I basically made the assumption there would never be less than three. However, if you commit a patch ill merge it in.

authors: daniel-yavorovich dontalton tdeneau

repo: krakendash/krakendash


text:
Back Porting Releases for s390x and ppc64le

@krallin I was wondering if you would be willing to back “port” some of the releases for s390x and  ppc64le? Some projects I found are still using dated versions of Tini, like v0.14.0 and v0.15.0, but no binaries exist for s390x and ppc64le. This makes it hard to get other open source projects to support s390x and ppc64le since now it requires them to add in the functionality of manually building Tini.
Would you be willing to release the binaries and push them to the GitHub release page? The most dated version I saw was v0.14.0. So ideally, if you could push binaries for architectures at  v0.14.0 and  v0.15.0, that would be amazing!

This would be non-trivial since the building code (and notably the cross-compiling bits) has evolved along with the rest of the versions.
With regard to:

This makes it hard to get other open source projects to support s390x and ppc64le since now it requires them to add in the functionality of manually building Tini.

Is upgrading to a newer version of Tini not an option? There haven't really ever been breaking changes in Tini, is there a reason to not simply update?

@krallin

Is upgrading to a newer version of Tini not an option? There haven't really ever been breaking changes in Tini, is there a reason to not simply update?

That totally works. Some projects are a little less then willing to update. But the guys over at https://github.com/ansible/awx/issues/4700, seem open to working with me. I'll just suggest updating Tini.
Thanks for building for s390x and ppc64le! It helps everyone out with getting more applications to work on those platforms.
Feel free to close out this issue if you want!

authors: james-crowley krallin

repo: krallin/tini