PFsense logs come in with wrong source / sourcetype

PFsense Firewall logs come in as sourcetype=nix:syslog source=program:kernel.

These are likely because the parser determined these were generic linux system (OS) messages from the underlying platform which are best represented by nix:syslog.  In this case, though, it does appear as if these could be classified as relevant FW events, though it appears to just be interface statistics.
Can you post an "on the wire" raw message (with the  string intact) of this event or a similar one?  This is best obtained with tcpdump.  Also, can you post raw messages of any events that are correct?  Thanks.

Hey,
Thanks for the quick response. Below is some of the one the wire data as of right now there have been no events classified correctly.  I also tried to set the IP in vendor_product_by_source.conf, this fails to work as well.
filter f_pfsense {     host("pfsense-*" type(glob))     or netmask(<IP_ADDRESS>/32) };
14:01:37.894086 IP (tos 0x0, ttl 63, id 8834, offset 0, flags [none], proto UDP (17), length 160)     <IP_ADDRESS>.syslog > sc4s.mybeda.com.syslog: SYSLOG, length: 132 	Facility local0 (16), Severity info (6) 	Msg: Feb 13 14:01:37 filterlog: 5,,,1000000103,em0,match,block,in,4,0x0,,64,33796,0,DF,17,udp,63,<IP_ADDRESS>,<IP_ADDRESS>,37341,15600,43 14:01:38.894355 IP (tos 0x0, ttl 63, id 43068, offset 0, flags [none], proto UDP (17), length 169)     <IP_ADDRESS>.syslog > sc4s.mybeda.com.syslog: SYSLOG, length: 141 	Facility local0 (16), Severity info (6) 	Msg: Feb 13 14:01:38 filterlog: 5,,,1000000103,em0,match,block,in,4,0x0,,255,34844,0,none,17,udp,199,<IP_ADDRESS>,<IP_ADDRESS>,49157,6666,179

Unfortunately, that's not raw.  Use a different argument to tcpdump that doesn't decode the syslog header.  I need the <PRI> string intact (in other words, I need to "play back" this event to my sc4s instance to duplicate your issue).  I can figure out what that string will be given your dump above, but I'd rather see it as it appears "on the wire" and not decoded.

For the filter you set above, did you reference it in vendor_product_by_source.csv?

And is this pfsense or Ubiquiti USG?  Maybe you built the filter for the wrong vendor/product?

I did manage to reproduce your event above into sourcetype nix:syslog.  I really need to know now, at this point, what vendor/device this is.  Confused between pfsense or Ubiquiti.

Try the attached pcap (remove .txt) for the raw on the wire Syslog messages.
The above filter is the default filter I just added the address to match the source.  The default vendor_product_by_source.csv already has a line f_pfsense,sc4s_vendor_product,"pfsense" that matches this filter does more need to be referenced than this?  The docs say to create an "ip filter" for this sourcetype but are real light on details.
https://splunk-connect-for-syslog.readthedocs.io/en/master/sources/Pfsense/
dump.pcap.txt
This is my first venture into trying to make use of this SC4S and trying to really get a deep understanding of it so I can start implementing it / teaching it to my team.

This is pfsense, apologies for the confusion I pasted the wrong event in the original message but have updated it to reflect the correct events.  I do have issues with USG but I'm focusing on one issue at a time.

This may be entirely on me and my configuration.  I'm trying to setup without the separate port and use the IP filter as described in the doc.
"Configure a dedicated SC4S port OR configure IP filter"
Is setting up the IP filter done via the vendor_product.conf using syslogng filter correct?

So -- please post your vendor_product_by_source.conf file again to see what the actual filter looks like.  Also, if you could look at the indexed field sc4s_fromhostip in your event to see if you really have the IP correct, that would be helpful to diagnose why your filter didn't fire.

Ya, I don't get why the filter isn't triggering either.
Also, another oddity is it's assigning the host of 172.x.0.1 which I have no idea where that comes from I have no 172.x.x.x IPs on my network.
vendor_product_by_source.conf:
filter f_pfsense {
host("pfsense-*" type(glob))
or host("<IP_ADDRESS>")
or network(<IP_ADDRESS>/32)
};
vendor_product_by_source.csv:
f_pfsense,sc4s_vendor_product,"pfsense"
tcpdump -X -i ens18 src <IP_ADDRESS> -v
pfsense-beda.mybeda.com.syslog > sc4s.mybeda.com.syslog: SYSLOG, length: 141
Facility local0 (16), Severity info (6)
<134>Feb.13.20:15:59.filterlog:.5,,,1000000103,em0,match,block,in,4,0x0,,255,43089,0,none,17,udp,199,<IP_ADDRESS>,<IP_ADDRESS>,49157,6666,179
Side note, when I set a separate listening port it works as expected.

Follow up,
I missed explaining sc4s_fromhostip more thoroughly below image shows that field is the same as the host field.  However, I have no idea where SC4S is coming up with that IP my network is ALL 10.x.x.x addresses I have zero 172.x.x.x addresses and if i start-stop the container it will iterate up one number in the second octet.  The second image shows a tcpdump that was running for 5min with that IP as a filter with zero results, I'm really baffled at this one.

Well, for now use <IP_ADDRESS> in your filter, because that's what syslog-ng under the hood thinks is the originating IP.  It will likely work, and at that point we can figure out what router (or load balancer) is munging your source IP :-)

Do an ifconfig to see if you have any virtual NICs with that IP range too.

Also post your unit file (if using systemctl); want to make sure you're using host networking with podman/docker and not virtual container networking (like we used to do in the older versions).

So looks like were getting closer... it does appear to be something with the virtual network.
17: br-bdca27292e73: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
    link/ether 02:42:69:1b:cb:4b brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/16 brd <IP_ADDRESS> scope global br-bdca27292e73
       valid_lft forever preferred_lft forever

18: br-fa9104817865: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
    link/ether 02:42:c9:66:ac:5c brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/16 brd <IP_ADDRESS> scope global br-fa9104817865
       valid_lft forever preferred_lft forever

99: br-4bc3adfe005c: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:bb:78:6e:af brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/16 brd <IP_ADDRESS> scope global br-4bc3adfe005c
       valid_lft forever preferred_lft forever
    inet6 fe80::42:bbff:fe78:6eaf/64 scope link
       valid_lft forever preferred_lft forever

I am using the docker-compose from the mac setup.
---
version: "3.7"
services:
  sc4s:
    image: docker.io/splunk/scs:latest
    ports:
       - target: 514
         published: 514
         protocol: tcp
       - target: 514
         published: 514
         protocol: udp
       #- target: 601
       #  published: 601
       #  protocol: udp
       #- target: 6514
       #  published: 6514
       #  protocol: tcp
    env_file:
      - env_file
    volumes:
      - /opt/sc4s/local:/etc/syslog-ng/conf.d/local:z
      - splunk-sc4s-var:/var/lib/syslog-ng
# Uncomment the following line if local disk archiving is desired
      - /opt/sc4s/archive:/var/lib/syslog-ng/archive:z
# Uncomment the following line if custom TLS certs are provided
#     - /opt/sc4s/tls:/etc/syslog-ng/tls:z

volumes:
  splunk-sc4s-var:

Updated docker-compose to the below and use the host network and it appears to be working as expected.  I guess the docker network is nat'ing the address for pfsense but not the unifi stuff (scratches head)?  Everything was set to use default 514.
---
version: "3.7"
services:
  #newtork_mode: host
  sc4s:
    network_mode: host
    image: docker.io/splunk/scs:latest
    #ports:
       #- target: 514
       #  published: 514
       #  protocol: tcp
       #- target: 514
       #  published: 514
       #  protocol: udp
       #- target: 601
       #  published: 601
       #  protocol: tcp
       #- target: 6514
       #  published: 6514
       #  protocol: tcp
    env_file:
      - env_file
    volumes:
      - /opt/sc4s/local:/etc/syslog-ng/conf.d/local:z
      - splunk-sc4s-var:/var/lib/syslog-ng
# Uncomment the following line if local disk archiving is desired
      - /opt/sc4s/archive:/var/lib/syslog-ng/archive:z
# Uncomment the following line if custom TLS certs are provided
#     - /opt/sc4s/tls:/etc/syslog-ng/tls:z

volumes:
  splunk-sc4s-var:

Bear in mind that docker networking for a mac is totally different from that in linux, and IIRC you cannot use host networking on the mac (if forces some sort of virtual network).  There is no sourcetype-level delineation between nat'ing; the whole interface is either natted or it's not depending on what time of container networking is in use.  Perhaps the unifi is actually using the host part of your filter and not the IP/CIDR block?

From the Docker docs (https://docs.docker.com/network/host/):
The host networking driver only works on Linux hosts, and is not supported on Docker Desktop for Mac, Docker Desktop for Windows, or Docker EE for Windows Server.

Reference, I am using SC4S on Centos7 with a Docker CE environment and docker-compose installed (does not run through MacOS at all. I am just using the docker-compose file from the mac setup to facilitate testing.  The PFSense is sending from its WAN port (still internal) which is static set to be <IP_ADDRESS> and shows up as such on the interface of the Centos7 host SC4S is running on as shown in the TCPDumps.  However, for whatever reason, docker was nat'ing or somehow altering the PFSense IP only and not that of any other host.  Ultimately this appears to be a docker thing, not an SC4S thing as it worked as expected when I changed the IP filter to be that off <IP_ADDRESS> (pre-host config) and when I changed the network mode to be host.  Might need to exec into SC4S and run a tcpdump and see what it sees on the interface but since host networking is recommended anyway may just follow the guidelines :)

If you're using CentOS and docker CE, I would recommend launching out of systemd (with the specified unit file) rather than docker-compose, if only because the vast majority in the community are doing that and you'll have more support "surface area"...


Is support split .prisma file?

Support split .prisma file?
I want to split prisma schema file as each Model file, and final can merge it.
Is support it?

Duplicate of https://github.com/prisma/prisma2/issues/92

Hey @zerox12311, please check my blog and script here:
New Trick – Organizing Prisma Models with the MERN Stack
Github Repo
This script could be help in both model split into multiple files and also for enum & types of Prisma ORM. And there is also a way to import predefined data into database too.
Hope, it would be solve your problem.
Thanks


remove august migration ref

In Terra, there is a reference to a permanent migration to Terra from FireCloud. Where this messaging is present it mentions a date of August 2019. Since we don't have a concrete timeline established we should remove any references to dates (there was only one found when searching for August).

Just had a good meeting with William where we refined language and he approves. Would this be okay to merge once the checks pass?


error en.enov(...).targetPlacement when resize

[ x ] bug report
hi, can you help me please, i have an error after install ngx mart modal, with angular 6 SSR.

This error come when i resize google chrome, mozilla etc...
Thanks

Hi @athemb ,
thanks for your report.
But can you edit your issue with the right issue's template ?

Close this because of no answer from @athemb and I can't reproduce the bug. Will reopen it if further informations about it.


MWPW-158986 Fix Jenkin master name

Resolves: MWPW-158986

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.06%. Comparing base (1009050) to head (a9520dc).

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #863      +/-   ##
==========================================
- Coverage   85.07%   85.06%   -0.02%
==========================================
  Files          48       48
  Lines        6092     6092
==========================================
- Hits         5183     5182       -1
- Misses        909      910       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Sometimes a branch name is moved during amend operations.

Description of the bug
I've encountered a situation where I do amend or rebase operations and the branch name ends up on a different commit than expected.
For example, if I start with this:
$ git smartlog
◇ 85543e73 9m (master, remote origin/master) Initial commit.
┃
● a4dd2541 9m (feature-1) Update line 2.
┃
◯ eacd5224 9m (feature-2) Make line 2 extra verbose

and I amend something (git commit --amend) to the feature-1 branch, I get this:
$ git smartlog
◇ 85543e73 8m (master, remote origin/master) Initial commit.
┃
● c3da2846 7m Update line 2.
┃
◯ efcc9993 7m (feature-1, feature-2) Make line 2 extra verbose

where I would hope to get this:
$ git smartlog
◇ 85543e73 8m (master, remote origin/master) Initial commit.
┃
● c3da2846 7m (feature-1) Update line 2.
┃
◯ efcc9993 7m (feature-2) Make line 2 extra verbose

I don't have a good understanding of all the circumstances where I am seeing this, however I've attached a small script that replicates the behavior that I'm seeing. I'm using:
$ git-branchless --version
git-branchless 0.3.8

#! /bin/bash

#
# Create origin repo.
#
mkdir -p origin-repo
cd origin-repo
git init .
printf "one\ntwo\nthree\n" > README.md
git add .
git commit -am "Initial commit."
cd ..

#
# Clone the origin repo.
#
git clone origin-repo/.git cloned-repo

#
# Configure with branchless extensions.
#
cd cloned-repo
git branchless init

#
# Make branch feature-1 with a change.
#
git checkout -b feature-1
cp README.md tmp && sed '2s/^/lin /' < tmp > README.md && rm tmp
git commit -am "Update line 2."

#
# Make a branch feature-2, stacked on feature-1, with a change on the same line.
#
git checkout -b feature-2
cp README.md tmp && sed '2s/^/this is /' < tmp > README.md && rm tmp
git commit -am "Make line 2 extra verbose"

#
# Go back to the feature-1 branch and make a conflicting change.
#
git ch feature-1
cp README.md tmp && sed '2s/^lin /line /' < tmp > README.md && rm tmp
git amend -a

# This step will cause a conflict, so the --merge flag is necessary.
git restack --merge

# Resolve the conflict.
printf "one\nthis is line two\nthree" > README.md
git add README.md
GIT_EDITOR=true git rebase --continue

Expected behavior
$ git smartlog
◇ 85543e73 8m (master, remote origin/master) Initial commit.
┃
● c3da2846 7m (feature-1) Update line 2.
┃
◯ efcc9993 7m (feature-2) Make line 2 extra verbose

Actual behavior
$ git smartlog
◇ 85543e73 8m (master, remote origin/master) Initial commit.
┃
● c3da2846 7m Update line 2.
┃
◯ efcc9993 7m (feature-1, feature-2) Make line 2 extra verbose

Version of git-branchless
git-branchless 0.3.8
Version of rustc
rustc 1.57.0 (f1edd0429 2021-11-29)

@jacobsimpson-addepar Thanks for the report. This issue looks similar to https://github.com/arxanas/git-branchless/issues/249. Can you try installing the latest git-branchless from source and see if the issue persists?
 It should no longer do so (https://github.com/arxanas/git-branchless/issues/219) but it's possible that you installed a version from source in between versions which did overwrite your user alias.

I compiled the latest version from source and re-ran my test case. I see the expected behavior now. Looks good to me.
Thanks for the FYI about amend. I'll verify that I'm getting the expected behavior.


How to compile the source  code

Hello!
When I compile the source code <IP_ADDRESS> using Ant1.9.2,I get a result as "Build Failure" Here is the detail:
Buildfile: /home/wangfvgherpeng/stratio-cassandra-master/build.xml
init:
[mkdir] Created dir: /home/wangfvgherpeng/stratio-cassandra-master/build/classes/main
[mkdir] Created dir: /home/wangfvgherpeng/stratio-cassandra-master/build/classes/thrift
[mkdir] Created dir: /home/wangfvgherpeng/stratio-cassandra-master/build/test/lib
[mkdir] Created dir: /home/wangfvgherpeng/stratio-cassandra-master/build/test/classes
[mkdir] Created dir: /home/wangfvgherpeng/stratio-cassandra-master/src/gen-java
[mkdir] Created dir: /home/wangfvgherpeng/stratio-cassandra-master/build/lib
maven-ant-tasks-localrepo:
maven-ant-tasks-download:
[echo] Downloading Maven ANT Tasks...
[get] Getting: http://repo2.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar
[get] To: /home/wangfvgherpeng/stratio-cassandra-master/build/maven-ant-tasks-2.1.3.jar
maven-ant-tasks-init:
maven-declare-dependencies:
maven-ant-tasks-retrieve-build:
[artifact:dependencies] Downloading: junit/junit/4.6/junit-4.6.pom from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'junit:junit:pom:4.6' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: junit/junit/4.6/junit-4.6.pom from repository apache at https://repository.apache.org/content/repositories/releases
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'junit:junit:pom:4.6' in repository apache (https://repository.apache.org/content/repositories/releases)
[artifact:dependencies] Downloading: junit/junit/4.6/junit-4.6.pom from repository java.net2 at http://download.java.net/maven/2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'junit:junit:pom:4.6' from repository java.net2 (http://download.java.net/maven/2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.pom from repository apache at https://repository.apache.org/content/repositories/releases
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'org.slf4j:slf4j-api:pom:1.5.2' in repository apache (https://repository.apache.org/content/repositories/releases)
[artifact:dependencies] Downloading: org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.pom from repository java.net2 at http://download.java.net/maven/2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'org.slf4j:slf4j-api:pom:1.5.2' from repository java.net2 (http://download.java.net/maven/2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: org/slf4j/slf4j-api/1.5.2/slf4j-api-1.5.2.pom from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'org.slf4j:slf4j-api:pom:1.5.2' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: com/sun/jersey/jersey-server/1.0/jersey-server-1.0.pom from repository apache at https://repository.apache.org/content/repositories/releases
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'com.sun.jersey:jersey-server:pom:1.0' in repository apache (https://repository.apache.org/content/repositories/releases)
[artifact:dependencies] Downloading: com/sun/jersey/jersey-server/1.0/jersey-server-1.0.pom from repository java.net2 at http://download.java.net/maven/2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'com.sun.jersey:jersey-server:pom:1.0' from repository java.net2 (http://download.java.net/maven/2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: com/sun/jersey/jersey-server/1.0/jersey-server-1.0.pom from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'com.sun.jersey:jersey-server:pom:1.0' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: junit/junit/4.8.1/junit-4.8.1.pom from repository apache at https://repository.apache.org/content/repositories/releases
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'junit:junit:pom:4.8.1' in repository apache (https://repository.apache.org/content/repositories/releases)
[artifact:dependencies] Downloading: junit/junit/4.8.1/junit-4.8.1.pom from repository java.net2 at http://download.java.net/maven/2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'junit:junit:pom:4.8.1' from repository java.net2 (http://download.java.net/maven/2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: junit/junit/4.8.1/junit-4.8.1.pom from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'junit:junit:pom:4.8.1' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: com/google/code/findbugs/jsr305/2.0.2/jsr305-2.0.2.pom from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'com.google.code.findbugs:jsr305:pom:2.0.2' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: com/google/code/findbugs/jsr305/2.0.2/jsr305-2.0.2.pom from repository apache at https://repository.apache.org/content/repositories/releases
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'com.google.code.findbugs:jsr305:pom:2.0.2' in repository apache (https://repository.apache.org/content/repositories/releases)
[artifact:dependencies] Downloading: com/google/code/findbugs/jsr305/2.0.2/jsr305-2.0.2.pom from repository java.net2 at http://download.java.net/maven/2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'com.google.code.findbugs:jsr305:pom:2.0.2' from repository java.net2 (http://download.java.net/maven/2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: org/antlr/antlr/3.5.2/antlr-3.5.2.pom from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'org.antlr:antlr:pom:3.5.2' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: org/antlr/antlr/3.5.2/antlr-3.5.2.pom from repository apache at https://repository.apache.org/content/repositories/releases
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'org.antlr:antlr:pom:3.5.2' in repository apache (https://repository.apache.org/content/repositories/releases)
[artifact:dependencies] Downloading: org/antlr/antlr/3.5.2/antlr-3.5.2.pom from repository java.net2 at http://download.java.net/maven/2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'org.antlr:antlr:pom:3.5.2' from repository java.net2 (http://download.java.net/maven/2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: com/datastax/cassandra/cassandra-driver-core/2.0.5/cassandra-driver-core-2.0.5.pom from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'com.datastax.cassandra:cassandra-driver-core:pom:2.0.5' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: com/datastax/cassandra/cassandra-driver-core/2.0.5/cassandra-driver-core-2.0.5.pom from repository apache at https://repository.apache.org/content/repositories/releases
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'com.datastax.cassandra:cassandra-driver-core:pom:2.0.5' in repository apache (https://repository.apache.org/content/repositories/releases)
[artifact:dependencies] Downloading: com/datastax/cassandra/cassandra-driver-core/2.0.5/cassandra-driver-core-2.0.5.pom from repository java.net2 at http://download.java.net/maven/2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'com.datastax.cassandra:cassandra-driver-core:pom:2.0.5' from repository java.net2 (http://download.java.net/maven/2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: net/ju-n/compile-command-annotations/compile-command-annotations/1.2.0/compile-command-annotations-1.2.0.pom from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'net.ju-n.compile-command-annotations:compile-command-annotations:pom:1.2.0' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: net/ju-n/compile-command-annotations/compile-command-annotations/1.2.0/compile-command-annotations-1.2.0.pom from repository apache at https://repository.apache.org/content/repositories/releases
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'net.ju-n.compile-command-annotations:compile-command-annotations:pom:1.2.0' in repository apache (https://repository.apache.org/content/repositories/releases)
[artifact:dependencies] Downloading: net/ju-n/compile-command-annotations/compile-command-annotations/1.2.0/compile-command-annotations-1.2.0.pom from repository java.net2 at http://download.java.net/maven/2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'net.ju-n.compile-command-annotations:compile-command-annotations:pom:1.2.0' from repository java.net2 (http://download.java.net/maven/2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: junit/junit/4.6/junit-4.6.jar from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Downloading: com/datastax/cassandra/cassandra-driver-core/2.0.5/cassandra-driver-core-2.0.5.jar from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'junit:junit:jar:4.6' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'com.datastax.cassandra:cassandra-driver-core:jar:2.0.5' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: com/google/code/findbugs/jsr305/2.0.2/jsr305-2.0.2.jar from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Downloading: com/datastax/cassandra/cassandra-driver-core/2.0.5/cassandra-driver-core-2.0.5.jar from repository apache at https://repository.apache.org/content/repositories/releases
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'com.google.code.findbugs:jsr305:jar:2.0.2' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: com/sun/jersey/jersey-server/1.0/jersey-server-1.0.jar from repository apache at https://repository.apache.org/content/repositories/releases
[artifact:dependencies] Downloading: junit/junit/4.6/junit-4.6.jar from repository apache at https://repository.apache.org/content/repositories/releases
[artifact:dependencies] Downloading: com/google/code/findbugs/jsr305/2.0.2/jsr305-2.0.2.jar from repository apache at https://repository.apache.org/content/repositories/releases
[artifact:dependencies] Downloading: net/ju-n/compile-command-annotations/compile-command-annotations/1.2.0/compile-command-annotations-1.2.0.jar from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'net.ju-n.compile-command-annotations:compile-command-annotations:jar:1.2.0' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: net/ju-n/compile-command-annotations/compile-command-annotations/1.2.0/compile-command-annotations-1.2.0.jar from repository apache at https://repository.apache.org/content/repositories/releases
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'com.google.code.findbugs:jsr305:jar:2.0.2' in repository apache (https://repository.apache.org/content/repositories/releases)
[artifact:dependencies] Downloading: com/google/code/findbugs/jsr305/2.0.2/jsr305-2.0.2.jar from repository java.net2 at http://download.java.net/maven/2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'com.google.code.findbugs:jsr305:jar:2.0.2' from repository java.net2 (http://download.java.net/maven/2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: org/antlr/antlr/3.5.2/antlr-3.5.2.jar from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'org.antlr:antlr:jar:3.5.2' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: org/antlr/antlr/3.5.2/antlr-3.5.2.jar from repository apache at https://repository.apache.org/content/repositories/releases
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'com.sun.jersey:jersey-server:jar:1.0' in repository apache (https://repository.apache.org/content/repositories/releases)
[artifact:dependencies] Downloading: com/sun/jersey/jersey-server/1.0/jersey-server-1.0.jar from repository java.net2 at http://download.java.net/maven/2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'com.sun.jersey:jersey-server:jar:1.0' from repository java.net2 (http://download.java.net/maven/2): Error transferring file: Network is unreachable
[artifact:dependencies] Downloading: com/sun/jersey/jersey-server/1.0/jersey-server-1.0.jar from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'com.sun.jersey:jersey-server:jar:1.0' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'org.antlr:antlr:jar:3.5.2' in repository apache (https://repository.apache.org/content/repositories/releases)
[artifact:dependencies] Downloading: org/antlr/antlr/3.5.2/antlr-3.5.2.jar from repository java.net2 at http://download.java.net/maven/2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'org.antlr:antlr:jar:3.5.2' from repository java.net2 (http://download.java.net/maven/2): Error transferring file: Network is unreachable
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'net.ju-n.compile-command-annotations:compile-command-annotations:jar:1.2.0' in repository apache (https://repository.apache.org/content/repositories/releases)
[artifact:dependencies] Downloading: net/ju-n/compile-command-annotations/compile-command-annotations/1.2.0/compile-command-annotations-1.2.0.jar from repository java.net2 at http://download.java.net/maven/2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'net.ju-n.compile-command-annotations:compile-command-annotations:jar:1.2.0' from repository java.net2 (http://download.java.net/maven/2): Error transferring file: Network is unreachable
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'com.datastax.cassandra:cassandra-driver-core:jar:2.0.5' in repository apache (https://repository.apache.org/content/repositories/releases)
[artifact:dependencies] Downloading: com/datastax/cassandra/cassandra-driver-core/2.0.5/cassandra-driver-core-2.0.5.jar from repository java.net2 at http://download.java.net/maven/2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'com.datastax.cassandra:cassandra-driver-core:jar:2.0.5' from repository java.net2 (http://download.java.net/maven/2): Error transferring file: Network is unreachable
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'junit:junit:jar:4.6' in repository apache (https://repository.apache.org/content/repositories/releases)
[artifact:dependencies] Downloading: junit/junit/4.6/junit-4.6.jar from repository java.net2 at http://download.java.net/maven/2
[artifact:dependencies] Error transferring file: Network is unreachable
[artifact:dependencies] [WARNING] Unable to get resource 'junit:junit:jar:4.6' from repository java.net2 (http://download.java.net/maven/2): Error transferring file: Network is unreachable
[artifact:dependencies] An error has occurred while processing the Maven artifact tasks.
[artifact:dependencies]  Diagnosis:
[artifact:dependencies]
[artifact:dependencies] Unable to resolve artifact: Missing:
[artifact:dependencies] ----------
[artifact:dependencies] 1) com.google.code.findbugs:jsr305:jar:2.0.2
[artifact:dependencies]
[artifact:dependencies]   Try downloading the file manually from the project website.
[artifact:dependencies]
[artifact:dependencies]   Then, install it using the command:
[artifact:dependencies]       mvn install:install-file -DgroupId=com.google.code.findbugs -DartifactId=jsr305 -Dversion=2.0.2 -Dpackaging=jar -Dfile=/path/to/file
[artifact:dependencies]
[artifact:dependencies]   Alternatively, if you host your own repository you can deploy the file there:
[artifact:dependencies]       mvn deploy:deploy-file -DgroupId=com.google.code.findbugs -DartifactId=jsr305 -Dversion=2.0.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[artifact:dependencies]
[artifact:dependencies]   Path to dependency:
[artifact:dependencies]         1) com.stratio.cassandra:cassandra-build-deps:jar:<IP_ADDRESS>-SNAPSHOT
[artifact:dependencies]         2) com.google.code.findbugs:jsr305:jar:2.0.2
[artifact:dependencies]
[artifact:dependencies] 2) com.sun.jersey:jersey-server:jar:1.0
[artifact:dependencies]
[artifact:dependencies]   Try downloading the file manually from the project website.
[artifact:dependencies]
[artifact:dependencies]   Then, install it using the command:
[artifact:dependencies]       mvn install:install-file -DgroupId=com.sun.jersey -DartifactId=jersey-server -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
[artifact:dependencies]
[artifact:dependencies]   Alternatively, if you host your own repository you can deploy the file there:
[artifact:dependencies]       mvn deploy:deploy-file -DgroupId=com.sun.jersey -DartifactId=jersey-server -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[artifact:dependencies]
[artifact:dependencies]   Path to dependency:
[artifact:dependencies]         1) com.stratio.cassandra:cassandra-build-deps:jar:<IP_ADDRESS>-SNAPSHOT
[artifact:dependencies]         2) org.apache.hadoop:hadoop-minicluster:jar:1.0.3
[artifact:dependencies]         3) com.sun.jersey:jersey-server:jar:1.0
[artifact:dependencies]
[artifact:dependencies] 3) org.antlr:antlr:jar:3.5.2
[artifact:dependencies]
[artifact:dependencies]   Try downloading the file manually from the project website.
[artifact:dependencies]
[artifact:dependencies]   Then, install it using the command:
[artifact:dependencies]       mvn install:install-file -DgroupId=org.antlr -DartifactId=antlr -Dversion=3.5.2 -Dpackaging=jar -Dfile=/path/to/file
[artifact:dependencies]
[artifact:dependencies]   Alternatively, if you host your own repository you can deploy the file there:
[artifact:dependencies]       mvn deploy:deploy-file -DgroupId=org.antlr -DartifactId=antlr -Dversion=3.5.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[artifact:dependencies]
[artifact:dependencies]   Path to dependency:
[artifact:dependencies]         1) com.stratio.cassandra:cassandra-build-deps:jar:<IP_ADDRESS>-SNAPSHOT
[artifact:dependencies]         2) org.antlr:antlr:jar:3.5.2
[artifact:dependencies]
[artifact:dependencies] 4) net.ju-n.compile-command-annotations:compile-command-annotations:jar:1.2.0
[artifact:dependencies]
[artifact:dependencies]   Try downloading the file manually from the project website.
[artifact:dependencies]
[artifact:dependencies]   Then, install it using the command:
[artifact:dependencies]       mvn install:install-file -DgroupId=net.ju-n.compile-command-annotations -DartifactId=compile-command-annotations -Dversion=1.2.0 -Dpackaging=jar -Dfile=/path/to/file
[artifact:dependencies]
[artifact:dependencies]   Alternatively, if you host your own repository you can deploy the file there:
[artifact:dependencies]       mvn deploy:deploy-file -DgroupId=net.ju-n.compile-command-annotations -DartifactId=compile-command-annotations -Dversion=1.2.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[artifact:dependencies]
[artifact:dependencies]   Path to dependency:
[artifact:dependencies]         1) com.stratio.cassandra:cassandra-build-deps:jar:<IP_ADDRESS>-SNAPSHOT
[artifact:dependencies]         2) net.ju-n.compile-command-annotations:compile-command-annotations:jar:1.2.0
[artifact:dependencies]
[artifact:dependencies] 5) com.datastax.cassandra:cassandra-driver-core:jar:2.0.5
[artifact:dependencies]
[artifact:dependencies]   Try downloading the file manually from the project website.
[artifact:dependencies]
[artifact:dependencies]   Then, install it using the command:
[artifact:dependencies]       mvn install:install-file -DgroupId=com.datastax.cassandra -DartifactId=cassandra-driver-core -Dversion=2.0.5 -Dpackaging=jar -Dfile=/path/to/file
[artifact:dependencies]
[artifact:dependencies]   Alternatively, if you host your own repository you can deploy the file there:
[artifact:dependencies]       mvn deploy:deploy-file -DgroupId=com.datastax.cassandra -DartifactId=cassandra-driver-core -Dversion=2.0.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[artifact:dependencies]
[artifact:dependencies]   Path to dependency:
[artifact:dependencies]         1) com.stratio.cassandra:cassandra-build-deps:jar:<IP_ADDRESS>-SNAPSHOT
[artifact:dependencies]         2) com.datastax.cassandra:cassandra-driver-core:jar:2.0.5
[artifact:dependencies]
[artifact:dependencies] 6) junit:junit:jar:4.6
[artifact:dependencies]
[artifact:dependencies]   Try downloading the file manually from the project website.
[artifact:dependencies]
[artifact:dependencies]   Then, install it using the command:
[artifact:dependencies]       mvn install:install-file -DgroupId=junit -DartifactId=junit -Dversion=4.6 -Dpackaging=jar -Dfile=/path/to/file
[artifact:dependencies]
[artifact:dependencies]   Alternatively, if you host your own repository you can deploy the file there:
[artifact:dependencies]       mvn deploy:deploy-file -DgroupId=junit -DartifactId=junit -Dversion=4.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[artifact:dependencies]
[artifact:dependencies]   Path to dependency:
[artifact:dependencies]         1) com.stratio.cassandra:cassandra-build-deps:jar:<IP_ADDRESS>-SNAPSHOT
[artifact:dependencies]         2) junit:junit:jar:4.6
[artifact:dependencies]
[artifact:dependencies] ----------
[artifact:dependencies] 6 required artifacts are missing.
[artifact:dependencies]
[artifact:dependencies] for artifact:
[artifact:dependencies]   com.stratio.cassandra:cassandra-build-deps:jar:<IP_ADDRESS>-SNAPSHOT
[artifact:dependencies]
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies]   central (http://repo1.maven.org/maven2),
[artifact:dependencies]   apache (https://repository.apache.org/content/repositories/releases),
[artifact:dependencies]   java.net2 (http://download.java.net/maven/2)
[artifact:dependencies]
[artifact:dependencies]
BUILD FAILED
/home/wangerxerpeng/stratio-cassandra-master/build.xml:579: Unable to resolve artifact: Missing:

com.datastax.cassandra:cassandra-driver-core:jar:2.0.5

Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.datastax.cassandra -DartifactId=cassandra-driver-core -Dversion=2.0.5 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.datastax.cassandra -DartifactId=cassandra-driver-core -Dversion=2.0.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.stratio.cassandra:cassandra-build-deps:jar:<IP_ADDRESS>-SNAPSHOT
2) com.datastax.cassandra:cassandra-driver-core:jar:2.0.5

junit:junit:jar:4.6

Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=junit -DartifactId=junit -Dversion=4.6 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=junit -DartifactId=junit -Dversion=4.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.stratio.cassandra:cassandra-build-deps:jar:<IP_ADDRESS>-SNAPSHOT
2) junit:junit:jar:4.6

org.antlr:antlr:jar:3.5.2

Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.antlr -DartifactId=antlr -Dversion=3.5.2 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.antlr -DartifactId=antlr -Dversion=3.5.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.stratio.cassandra:cassandra-build-deps:jar:<IP_ADDRESS>-SNAPSHOT
2) org.antlr:antlr:jar:3.5.2

com.google.code.findbugs:jsr305:jar:2.0.2

Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.google.code.findbugs -DartifactId=jsr305 -Dversion=2.0.2 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.google.code.findbugs -DartifactId=jsr305 -Dversion=2.0.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.stratio.cassandra:cassandra-build-deps:jar:<IP_ADDRESS>-SNAPSHOT
2) com.google.code.findbugs:jsr305:jar:2.0.2

net.ju-n.compile-command-annotations:compile-command-annotations:jar:1.2.0

Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=net.ju-n.compile-command-annotations -DartifactId=compile-command-annotations -Dversion=1.2.0 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=net.ju-n.compile-command-annotations -DartifactId=compile-command-annotations -Dversion=1.2.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.stratio.cassandra:cassandra-build-deps:jar:<IP_ADDRESS>-SNAPSHOT
2) net.ju-n.compile-command-annotations:compile-command-annotations:jar:1.2.0

com.sun.jersey:jersey-server:jar:1.0

Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun.jersey -DartifactId=jersey-server -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.sun.jersey -DartifactId=jersey-server -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.stratio.cassandra:cassandra-build-deps:jar:<IP_ADDRESS>-SNAPSHOT
2) org.apache.hadoop:hadoop-minicluster:jar:1.0.3
3) com.sun.jersey:jersey-server:jar:1.0

6 required artifacts are missing.
for artifact:
com.stratio.cassandra:cassandra-build-deps:jar:<IP_ADDRESS>-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
apache (https://repository.apache.org/content/repositories/releases),
java.net2 (http://download.java.net/maven/2)

I can successfully build it with Ant 1.9.2 and JDK 1.7.0_75. Your Ant output is showing the error message "Network is unreachable" several times, so it seems that you have a problem with your Internet connection when Ant tries to download the dependencies of the project. I guess that it is the same problem reported in issue #25, right?


Enable External Store use with Update Operation

Description
Add support for Update operation to work with external store.
Related issues
Addresses [AB#104373].
Testing
Updated existing tests and added new tests

Dont' we need to update the new function name in appsettings?


update setops

Pull Request Test Coverage Report for Build 508302770

5 of 9 (55.56%)  changed or added relevant lines in 1 file are covered.
395 unchanged lines in 22 files lost coverage.
Overall coverage decreased (-6.5%) to 36.612%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Continuous/discretization.jl
5
9
55.56%

Files with Coverage Reduction
New Missed Lines
%

src/Algorithms/BOX/reach_homog.jl
1
37.5%

src/Algorithms/TMJets/reach.jl
2
93.99%

src/Flowpipes/solutions.jl
2
28.81%

src/Continuous/solve.jl
3
78.85%

src/Flowpipes/fields.jl
3
50.0%

src/Algorithms/BOX/post.jl
4
74.07%

src/Hybrid/constructors.jl
4
62.5%

src/Continuous/normalization.jl
5
31.71%

src/Algorithms/BOX/BOX.jl
7
26.67%

src/Algorithms/VREP/VREP.jl
8
11.76%

Totals

Change from base Build 507707268:
-6.5%

Covered Lines:
1660

Relevant Lines:
4534

💛  - Coveralls

Pull Request Test Coverage Report for Build 508302770

5 of 9 (55.56%)  changed or added relevant lines in 1 file are covered.
395 unchanged lines in 22 files lost coverage.
Overall coverage decreased (-6.5%) to 36.612%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Continuous/discretization.jl
5
9
55.56%

Files with Coverage Reduction
New Missed Lines
%

src/Algorithms/BOX/reach_homog.jl
1
37.5%

src/Algorithms/TMJets/reach.jl
2
93.99%

src/Flowpipes/solutions.jl
2
28.81%

src/Continuous/solve.jl
3
78.85%

src/Flowpipes/fields.jl
3
50.0%

src/Algorithms/BOX/post.jl
4
74.07%

src/Hybrid/constructors.jl
4
62.5%

src/Continuous/normalization.jl
5
31.71%

src/Algorithms/BOX/BOX.jl
7
26.67%

src/Algorithms/VREP/VREP.jl
8
11.76%

Totals

Change from base Build 507707268:
-6.5%

Covered Lines:
1660

Relevant Lines:
4534

💛  - Coveralls


Release Workflow Change, Release Branch Creation Workflow

What this PR does / why we need it

This PR consolidates the GA, Non-GA, and "Fake" (aka Test) release workflows into a single workflow. This is done largely by just defaulting with "pre-release=true and also consolidating the GCP upload buckets to a single workflow. The only consequence of this change is that when we are ready to post a "GA" release, a human just needs to uncheck the pre-release box before publishing. This is the cause of a good majority of the deletion in this PR (example deletion of "fake" releases in the cut-release/create-release script).
In the v0.11.0 release, the release-0.11  branch created was actually done by hand which (thankfully) we didnt have any problems (since I planned and mapped this out like crazy). I took that "receipe" and turn it into a github action so that we never have to do this by hand again.
To kick off a release (most likely an RC type release) and create it's release branch and also fix up main to set it up for the next version, you can invoke this by simply running the following command:
gh workflow run --repo https://github.com/vmware-tanzu/community-edition/ \
  --ref main \
  release-tag-and-branch.yaml \
  --raw-field release_version=v0.3.0-rc.2

That command basically means that main branch contains the work for v0.3.0 (which we have cut an rc.1). Invoking the above will create a release-0.3 branch, tag that branch with v0.3.0-rc.2 thus subsequently creating a release. Then on main, the version will get bumped to v0.4.0 and reference v0.3.0 as the previous release. All while setting up the dev tags on both branches, v0.3.0-dev.3 and v0.4.0-dev.1 respectively.
The testing work can be seen here where I simulated a bunch of RC, GA, and release branch creation:
https://github.com/dvonthenen/ghactiontest/actions
We removed using the release-notes utility as it just bloated the release notes. Removed all references to the ensure-deps for the util and removed from all workflows.
Other changes:

"Fake" releases have been renamed to "Test".
This PR has a TON of clean up also.

Details for the Release Notes (PLEASE PROVIDE)

Release Workflow Change, Release Branch Creation Workflow

Which issue(s) this PR fixes

NA
Describe testing done for PR

Verified all the branching happened as expected. You can see some of the tests done on this repo which mirrors these workflow changes:
https://github.com/dvonthenen/ghactiontest/actions
make release with an install of TCE
[vonthd@rocky8 community-edition]$ ./release/tce-linux-amd64-v0.12.0-dev.1/install.sh
+ set +x
====================================
 Installing Tanzu Community Edition
====================================

Installing tanzu cli to /usr/local/bin/tanzu
[sudo] password for vonthd:

Installing plugin 'builder:v0.11.2'
✔  successfully installed 'builder' plugin
Installing plugin 'codegen:v0.11.2'
✔  successfully installed 'codegen' plugin
Installing plugin 'cluster:v0.11.2'
✔  successfully installed 'cluster' plugin
Installing plugin 'kubernetes-release:v0.11.2'
✔  successfully installed 'kubernetes-release' plugin
Installing plugin 'login:v0.11.2'
✔  successfully installed 'login' plugin
Installing plugin 'management-cluster:v0.11.2'
✔  successfully installed 'management-cluster' plugin
Installing plugin 'package:v0.11.2'
✔  successfully installed 'package' plugin
Installing plugin 'pinniped-auth:v0.11.2'
✔  successfully installed 'pinniped-auth' plugin
Installing plugin 'secret:v0.11.2'
✔  successfully installed 'secret' plugin
Installing plugin 'conformance:v0.12.0-dev.1'
✔  successfully installed 'conformance' plugin
Installing plugin 'diagnostics:v0.12.0-dev.1'
✔  successfully installed 'diagnostics' plugin
Installing plugin 'unmanaged-cluster:v0.12.0-dev.1'
✔  successfully installed 'unmanaged-cluster' plugin

Installation complete!

Special notes for your reviewer

NA

Fixed up the description a little since I was referencing my test repo.

Merged on flakey delete cluster


Heap use-after-free in mark_context_stack

The following input to mirb demonstrates a crash:
def method_missing(*)m Module.new do
end
end
().()
().()
e fiber0=Fiber.new{r}
fiber0.resume
d
d
{}.()
().s

(Note that input only crashes mirb, not mruby).
ASAN report:
==50431==ERROR: AddressSanitizer: heap-use-after-free on address 0x62f000098340 at pc 0x00010a9ee194 bp 0x7fff55291fd0 sp 0x7fff55291fc8
READ of size 4 at 0x62f000098340 thread T0
    #0 0x10a9ee193 in mark_context_stack gc.c:554
    #1 0x10a9ed706 in mark_context gc.c:571
    #2 0x10a9ef382 in gc_mark_children gc.c:654
    #3 0x10a9ee3ef in gc_gray_mark gc.c:888
    #4 0x10a9ec7b6 in incremental_marking_phase gc.c:983
    #5 0x10a9eb803 in incremental_gc gc.c:1087
    #6 0x10a9e792c in incremental_gc_step gc.c:1122
    #7 0x10a9e6b3c in mrb_incremental_gc gc.c:1166
    #8 0x10a9e64b8 in mrb_obj_alloc gc.c:507
    #9 0x10aa4f363 in mrb_proc_new proc.c:22
    #10 0x10aa4f64c in mrb_closure_new proc.c:69
    #11 0x10aaf35ac in mrb_vm_exec vm.c:2396
    #12 0x10aaca969 in mrb_vm_run vm.c:820
    #13 0x10a965a29 in main mirb.c:549
    #14 0x7fffaf458254 in start (libdyld.dylib+0x5254)

0x62f000098340 is located 48960 bytes inside of 49200-byte region [0x62f00008c400,0x62f000098430)
freed by thread T0 here:
    #0 0x10ad0ddb9 in wrap_free (libclang_rt.asan_osx_dynamic.dylib+0x4adb9)
    #1 0x10aa6002b in mrb_default_allocf state.c:56
    #2 0x10a9e2ec9 in mrb_free gc.c:268
    #3 0x10a9ed31f in incremental_sweep_phase gc.c:1055
    #4 0x10a9eb84c in incremental_gc gc.c:1096
    #5 0x10a9e7816 in incremental_gc_until gc.c:1112
    #6 0x10a9e6b2a in mrb_incremental_gc gc.c:1163
    #7 0x10a9e64b8 in mrb_obj_alloc gc.c:507
    #8 0x10a968bf3 in ary_new_capa array.c:30
    #9 0x10a96954a in mrb_ary_new_from_values array.c:78
    #10 0x10aadd57e in mrb_vm_exec vm.c:1610
    #11 0x10aaca969 in mrb_vm_run vm.c:820
    #12 0x10a965a29 in main mirb.c:549
    #13 0x7fffaf458254 in start (libdyld.dylib+0x5254)

previously allocated by thread T0 here:
    #0 0x10ad0df87 in wrap_realloc (libclang_rt.asan_osx_dynamic.dylib+0x4af87)
    #1 0x10aa60045 in mrb_default_allocf state.c:60
    #2 0x10a9e1bf8 in mrb_realloc_simple gc.c:201
    #3 0x10a9e22de in mrb_realloc gc.c:215
    #4 0x10a9e2d53 in mrb_malloc gc.c:236
    #5 0x10a9e2ded in mrb_calloc gc.c:254
    #6 0x10a9e3399 in add_heap gc.c:324
    #7 0x10a9e6517 in mrb_obj_alloc gc.c:510
    #8 0x10a9a4b61 in mrb_instance_alloc class.c:1392
    #9 0x10a9a427c in mrb_instance_new class.c:1416
    #10 0x10aad5543 in mrb_vm_exec vm.c:1263
    #11 0x10aaca969 in mrb_vm_run vm.c:820
    #12 0x10a965a29 in main mirb.c:549
    #13 0x7fffaf458254 in start (libdyld.dylib+0x5254)

SUMMARY: AddressSanitizer: heap-use-after-free gc.c:554 in mark_context_stack
Shadow bytes around the buggy address:
  0x1c5e00013010: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x1c5e00013020: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x1c5e00013030: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x1c5e00013040: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x1c5e00013050: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
=>0x1c5e00013060: fd fd fd fd fd fd fd fd[fd]fd fd fd fd fd fd fd
  0x1c5e00013070: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x1c5e00013080: fd fd fd fd fd fd fa fa fa fa fa fa fa fa fa fa
  0x1c5e00013090: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x1c5e000130a0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x1c5e000130b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Heap right redzone:      fb
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack partial redzone:   f4
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==50431==ABORTING
Abort trap: 6

The ASAN report looks similar to https://github.com/mruby/mruby/issues/3486 so I suspect the root cause might be the same.
This issue was reported by https://hackerone.com/ston3

This mirb input stopped causing a crash after https://github.com/mruby/mruby/commit/dcf6a413cab097e39d2d883d7c8c297d29ea43b8 but I'm not sure whether that's a coincidence or the underlying bug was fixed.

I'm closing this issue, as the input is no longer producing a crash.


What about no Async Work?

What if I don't have any async work to perform?  How should I write my InvokeAsync method?

Warning	CS1998	This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread

namespace ViewComponentSample.ViewComponents
{
    public class PriorityListViewComponent : ViewComponent
    {
        public async Task<IViewComponentResult> InvokeAsync(
        int maxPriority, bool isDone)
        {
            var items = new List<Item>{ ... };
            return View(items);
        }
    }
}

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9d2902f4-b6fd-ba1c-6762-d7c26f5eb4b9
Version Independent ID: b5715d72-5f10-bb93-1051-7f06dfa9cde8
Content: View components in ASP.NET Core
Content Source: aspnetcore/mvc/views/view-components.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Possibly like this ...
public async Task<IViewComponentResult> InvokeAsync(int maxPriority, bool isDone)
{
    var items = new List<Item>{ ... };
    return await Task.Run(() => View(items));
}

... but that might :boom: or get my picture up in the Async Programmer's Hall of Shame! :smile: I haven't had to do that in a real app.

@spottedmahn Why not make a synchronous method instead? Something like this:
namespace ViewComponentSample.ViewComponents
{
    public class PriorityListViewComponent : ViewComponent
    {
        public IViewComponentResult Invoke(
            int maxPriority, bool isDone)
        {
            var items = new List<Item>{ ... };
            return View(items);
        }
    }
}

@guardrex nope, don't do that 😄

@scottaddie IViewComponentHelper method sig demands a Task<T> and a InvokeAsync name.
https://docs.microsoft.com/dotnet/api/microsoft.aspnetcore.mvc.iviewcomponenthelper

@guardrex Thanks for the link. Once we figure this out, let's get it added to the doc. Others are likely wondering the same thing.

How can a synchronous ViewComponent be called without IViewComponentHelper or resorting to Task.Run with an async ViewComponent?

Task.FromResult(someResult)

Thanks @pranavkm ... I'll place the example using that into the topic.
Thanks @spottedmahn.

One small additional update ... add Result to the call to get the output that way ...
@Component.InvokeAsync(nameof(PriorityList), new { maxPriority = 4, isDone = true }).Result

In general, making a blocking call may result in thread starvation and deadlock your server. I wouldn't recommend using it.

@pranavkm Plz clarify which approach you're addressing. I thought that at least with Task.Run it wouldn't be blocking but use an additional thread. Still might starve, but it wouldn't block. Are you saying that what you just suggested will block? ... or are you saying that both what I show and what you show will block?

@spottedmahn Looks like we'll have to leave this in the realm of workaround; therefore, not documented. However, this issue is attached to the topic, so readers who scroll to the bottom will see it.

Sorry, I hadn't paid attention to the original issue: you can write a ViewComponent with a synchronous Invoke method:
 public class PriorityListViewComponent : ViewComponent
{
    public IViewComponentResult Invoke(int maxPriority, bool isDone)
    {
        var items = new List<Item>{ ... };
        return View(items);
    }
}

should work

@pranavkm How is it called in Razor with @Component (IViewComponentHelper)? It seems to want a Task<T> and a method named InvokeAsync.
https://docs.microsoft.com/dotnet/api/microsoft.aspnetcore.mvc.iviewcomponenthelper

MVC handles invoking a synchronous ViewComponent.Invoke method. The same way you can have sync and async actions or page handlers, and not have to worry about how it gets invoked.

It seems a bit strange to call the dev's method (with a synchronous method signature) using the @await Component.InvokeAsync( ... ); syntax, but it :tada: Just Works:tm: 🎈 .
I'll get this documented within a few days. Thanks everyone!
Cross-ref the discussion for the invocation changes: https://github.com/aspnet/Mvc/issues/3973

It seems a bit strange to call the dev's method (with a synchronous method signature) using the @await Component.InvokeAsync( ... );

👍

Based upon the comments I above I've got this working:
public Task<IViewComponentResult> InvokeAsync()
{
	var model = new MyModel
	{
		Name = "Hello world"
	};
	var result = (IViewComponentResult)View(model);
	return Task.FromResult(result);
}

//doesn't work
//InvalidOperationException: Method 'InvokeAsync' of view component
//'ViewComponentSyncTest.Views.Shared.Components.MyViewComponent.PocViewComponent'
//should be declared to return Task<T>
//public IViewComponentResult InvokeAsync()
//{
//    var model = new MyModel
//    {
//        Name = "Hello world"
//    };
//    return View(model);
//}

Full source: PocViewComponent.cs
@await Component.InvokeAsync(nameof(PocViewComponent).Replace("ViewComponent", ""))

Full source: Index.cshtml
Demo site: https://viewcomponentsync.azurewebsites.net/
Thanks to everyone!  ASP.NET Core team rocks 👏👏 🏆

cleaner version with Task.FromResult<T>(T result)...
public Task<IViewComponentResult> InvokeAsync()
{
    var model = new MyModel
    {
        Name = "Hello world"
    };
    var result = View(model);
    return Task.FromResult<IViewComponentResult>(result);
}

Based upon the PR, I see I can do the following:
@await Component.InvokeAsync(nameof(PocSyncViewComponent).Replace("ViewComponent", ""))

public class PocSyncViewComponent : ViewComponent
{
	public IViewComponentResult Invoke()
	{
		var model = new MyModel
		{
			Name = "hello world sync"
		};
		return View(model);
	}
}

Full source, Demo app

Feels like magic 🧝♂ in that I'm telling it to call InvokeAsync() but the runtime calls Invoke()... not sure I'm a fan of that...

Thanks again 🙏

@pranavkm See the comment from @spottedmahn above. This seems like an area that could use some polishing. Is there already an open issue on this in the aspnet/Mvc repo or elsewhere?

This will be auto-closed by the PR.


[C Sharp] Error: No source code was seen and extracted to path

Hi @criemen,
I have tried adding /p:UseSharedCompilation=false to the command line of the dotnet build step.
Actually I have CSharp .NET 3.1 tried following documentation in order to publish codeql scan reports in azure devops platform but ended with
Error: No code found during the build. Please see:
https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-code-scanning#no-code-found-during-the-build
Any suggestions on this!
Originally posted by @tangirala-aditya in https://github.com/github/codeql-action/issues/851#issuecomment-1003437654

Hi,
what's the platform you're building on? If it's Windows Server 2022, we're unfortunately not compatible with that yet, and there's nothing you can do about that :(

Hi, The platform I am building on is Linux Platform(ubuntu-latest).Would like to know any code changes needed to be included in order to accomplish manual build in (C# .NET 3.1) runtime. So, any suggestions on this?

Could you please share your complete Azure DevOps workflow file, and the logs from the failing build?

Could you please share your complete Azure DevOps workflow file, and the logs from the failing build?

The following is the yaml file for azure devops pipeline.
trigger: none
pool:
vmImage: ubuntu-latest
stages:

stage: build
displayName: Build
dependsOn: []
jobs:

job: codeQl
displayName: Code Scanning using CodeQL
steps:

checkout: self
displayName: Checkout repository

task: PowerShell@2
displayName: CodeQL Scan
inputs:
targetType: inline
script: |-
Write-Host "downloading Code QL analysis for windows"
$ProgressPreference = 'SilentlyContinue'
wget https://github.com/github/codeql-action/releases/latest/download/codeql-runner-linux
chmod +x codeql-runner-linux
Write-Host "Code QL analysis for linux downloaded, now we init it...."
./codeql-runner-linux init --github-url https://github.com --repository tangirala-aditya/azure-iot-platform-dotnet  --github-auth $(GITHUB_PAT_TOKEN) --languages csharp

script: >-
chmod +x ./codeql-runner/codeql-env.sh
. ./codeql-runner/codeql-env.sh
displayName: Export Environment Variables

task: PowerShell@2
displayName: Manual Build and Analyse CodeQL
inputs:
targetType: inline
script: |-
dotnet restore
dotnet build /p:UseSharedCompilation=false /p:OutDir=$(Build.SourcesDirectory)
Write-Host "Analyzing with CodeQL"
./codeql-runner-linux analyze --github-url https://github.com --repository tangirala-aditya/azure-iot-platform-dotnet --github-auth $(GITHUB_PAT_TOKEN) --commit $(Build.SourceVersion) --ref $(Build.SourceBranch)

task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.SourcesDirectory)\src\codeql-runner\codeql-sarif'
ArtifactName: 'CodeAnalysis'
publishLocation: 'Container'

The following are the logs that says the following :
No source code was seen and extracted to /home/vsts/work/1/s/codeql-runner/codeql_databases/csharp.
This can occur if the specified build commands failed to compile or process any code.

Confirm that there is some source code for the specified language in the project.
For codebases written in Go, JavaScript, TypeScript, and Python, do not specify
an explicit --command.
For other languages, the --command must specify a "clean" build which compiles
all the source code files without reusing existing build artefacts.
No source code was seen and extracted to /home/vsts/work/1/s/codeql-runner/codeql_databases/csharp.
This can occur if the specified build commands failed to compile or process any code.
Confirm that there is some source code for the specified language in the project.
For codebases written in Go, JavaScript, TypeScript, and Python, do not specify
an explicit --command.
For other languages, the --command must specify a "clean" build which compiles
all the source code files without reusing existing build artefacts.
Analyze failed
Error: No code found during the build. Please see:
https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-code-scanning#no-code-found-during-the-build
at toolrunnerErrorCatcher (/snapshot/dist/codeql-runner.js)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.finalizeDatabase (/snapshot/dist/codeql-runner.js)
at async finalizeDatabaseCreation (/snapshot/dist/codeql-runner.js)
at async runFinalize (/snapshot/dist/codeql-runner.js)
at async Command. (/snapshot/dist/codeql-runner.js)
##[error]PowerShell exited with code '1'.

Thanks for sharing the workflow. The problem here is that . codeql-env.sh is not sufficient to export the environment variables for future build steps in Azure DevOps -- you need to use the ADO-specific mechanism for persisting environment variables.
Please follow the example at https://codeql.github.com/docs/codeql-cli/creating-codeql-databases/#example-of-creating-a-codeql-database-using-indirect-build-tracing on using the CodeQL CLI within an Azure DevOps workflow, and let us know if you need further help with it.
(That example also uses the CodeQL CLI rather than the CodeQL Runner, since the Runner is deprecated. See these docs on how to migrate.)


Proxies created by Import are undefined

var artifactBucket = BucketRef.Import(this, "PipelineArtifactBucket", new BucketRefProps()
{
    BucketName = "TestBucket"
});
var pipeline = new Pipeline(this, "Pipeline", new PipelineProps
{
    ArtifactBucket = artifactBucket,
    RestartExecutionOnUpdate = true
});
Console.WriteLine(pipeline.ArtifactBucket.BucketName == artifactBucket.BucketName);

Returns False.
var codeCommit = RepositoryRef.Import(this, "CodeCommit", new RepositoryRefProps
{
    RepositoryName = "test-repo"
});
new PipelineSourceAction(this, "CodeCommitSourceAction",
    new PipelineSourceActionProps
    {
        Stage = sourceStage,
        Branch = "master",
        Repository = codeCommit
    });

Throws an exception - "Unhandled Exception: Amazon.JSII.Runtime.JsiiException: Cannot read property 'repositoryName' of undefined."

The thrown are now "Interfaces should not used directly, bindings should use a proxy type" (paraphrase).


1121 peers e2e and gateway

Peers topic e3e edit for gateway, in detail, substantial.
Minor updates to gateway overview since prior commit.
Flow diagrams figure 6 and figure 10 are commented out for now - pending design update to reflect the associated text updates.

Type of change

New feature
Documentation update

Description
Fabric Gateway service - new feature.
Related issues
https://github.com/hyperledger/fabric/issues/2807

Replaces https://github.com/hyperledger/fabric/pull/3054

iterating again so will likely close this PR in favor of a new one. it's a process that works for me in GitHub.

Closing, replacement PR is https://github.com/hyperledger/fabric/pull/3077


Processing single-end data caused error

Hello,
I encounter an issue when dealing with single-end data. Here is the design I used:
group,replicate,fastq_1,fastq_2,antibody,control
DMSO,1,/hpc/grid/wip_drm_targetsciences/projects/p013_TE_Expression/GSE78206/SRR3183896.fastq.gz,,,
DMSO,2,/hpc/grid/wip_drm_targetsciences/projects/p013_TE_Expression/GSE78206/SRR3183897.fastq.gz,,,
DMSO,3,/hpc/grid/wip_drm_targetsciences/projects/p013_TE_Expression/GSE78206/SRR3183898.fastq.gz,,,
DMSO,4,/hpc/grid/wip_drm_targetsciences/projects/p013_TE_Expression/GSE78206/SRR3183899.fastq.gz,,,
DMSO,5,/hpc/grid/wip_drm_targetsciences/projects/p013_TE_Expression/GSE78206/SRR3183900.fastq.gz,,,
KDM5-C70,1,/hpc/grid/wip_drm_targetsciences/projects/p013_TE_Expression/GSE78206/SRR3183901.fastq.gz,,H3K4me3,DMSO
KDM5-C70,2,/hpc/grid/wip_drm_targetsciences/projects/p013_TE_Expression/GSE78206/SRR3183902.fastq.gz,,H3K4me3,DMSO
KDM5-C70,3,/hpc/grid/wip_drm_targetsciences/projects/p013_TE_Expression/GSE78206/SRR3183903.fastq.gz,,H3K4me3,DMSO

Error pop as "Argument of file function cannot be empty
-- Check script '/home/shangl02/.nextflow/assets/nf-core/chipseq/main.nf' at line: 347 or see '.nextflow.log' file for more details
"
This error seems to be caused by mis-parsing of single-end/pairend data. Could any one give any suggestion?
Thanks,

Did you provide --single_end on the command line @mavershang ? This won't be a problem in future releases because single end will be auto-detected from the input design file.

Thanks. I thought it was auto-detected. Good to learn.


What is maximum repository size asset share query will work?

Does asset share search query will give decent performance for large repositories(around 30 TB)?
What is maximum repository size asset share search built to support?

@vineeth522 There is no limit based on the repository size. Any "limits" would be in the Oak index size (# of records) and the queries performed against them.
Generally,  important performance characteristics of queries are based on the number of matching results (or candidate results).  There are some details involving guessTotal and Limits (ie. pagination) that make handling even super-large result sets performant.
The two main causes of performance degradation in ASC are:

Not configuring your damAssetLucene index to match any custom filtering/sorting. For example, if you want to sort on a custom property "releaseDate", and you do not mark this property as orderable in your damAssetLucene index definition, then the query will likely be slow for large result sets (since it sorts in memory). ASC provides guardrails around this, for example by only allowing Orderable properties to be selected in the Sort by component, as well as showing Fast (lightning) and Slow (turtle) icons next to Filter properties. Ideally the properties you "configure" in the Search components are all "fast" (meaning they are backed by an index rule in damAssetLucene)

Using post-query QB filters against super-large results sets. Some query restrictions cannot be represented by native JCR-SQL2 queries, so QueryBuilder will "post-process" the results in memory, removing results that do not match. If the query engine returns 1MM results, and the first 900k need to get filtered out, then this query will be slow (since it has to iterate over 900k records before finding the first one). That said, this is seldom a problem IRL because having properly qualified query restrictions (see #1 above) are in place to help ensure the results form the QueryEngine are not super-large.  If this case is ever hit, its normally easy to resolve by adding other filtering parameters that reduce the super-large result set before it hits in-memory filtering.

HTH


different behaviour when staring a chat or someone else does

I am using mx-puppet-discord as a double-puppeted bridge
If I join a room myself, then _discordpuppet_bot will show enter/show itself and the online status of the users will reflect the one on discord.
If I bridge a guild and someone sends a message to a chat, I'll be prompted to join the chatroom, if I do, the bot won't be listed among the nicks, also, I'm not 100% sure of this but I think in such condition the user status will be based off chat activity rather than user status in discord

This is intended behaviour. The bot isn't in the discord side, either, though, so whenever possible it won't be in the room. Ghost statuses still accurately reflect those of the users in discord.
Am 6. Januar 2020 13:50:07 MEZ schrieb BrainDamage<EMAIL_ADDRESS>
I am using mx-puppet-discord as a double-puppeted bridge
If I join a room myself, then _discordpuppet_bot will show enter/show
itself and the online status of the users will reflect the one on
discord.
If I bridge a guild and someone sends a message to a chat, I'll be
prompted to join the chatroom, if I do, the bot won't be listed among
the nicks, also, I'm not 100% sure of this but I think in such
condition the user status will be based off chat activity rather than
user status in discord
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/matrix-discord/mx-puppet-discord/issues/40

So I should not join a room, but rather wait for someone else to speak to prevent having a "useless" bot in the nicklist? Can the bot quit the room once a user speaks, so that there'll be more than one participant?

If you are up-to-date it should auto-quit as new ghosts join. If not, that's a bug.
Am 6. Januar 2020 16:48:19 MEZ schrieb BrainDamage<EMAIL_ADDRESS>
So I should not join a room, but rather wait for someone else to speak
to prevent having a "useless" bot in the nicklist? Can the bot quit the
room once a user speaks, so that there'll be more than one participant?
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/matrix-discord/mx-puppet-discord/issues/40#issuecomment-571190770

I apologize for the italian, but it should show that once a user joins the channel, it doesn't remove the bot
my version hash is 226c4f5

do you have any log output for when the other ghost joins? Just tried and here the bot user leaves the room (as it should)

@BrainDamage do you have any logs? Just re-tried and it works locally, that the appservice bot leaves once a ghost joins.

After trying latest version, I cannot reproduce the bug anymore.
I apologize for not replying for so long, I've missed the notification and forgot about the issue.

Don't worry, and thank you for reporting it originally ^^


docs: example of direct plug

I am not sure if there is a reason this isn't the recommended approach, but it seems to work well.

It won't work as expected because the environment variable will be read at compile time and not at runtime.
The endpoint will thus be compiled with the environment variable as the enforced canonical host and you won't be able to change it at runtime.

@remi I meant to add runtime not releases, with runtime you can read env vars outside of compile time:

config/runtime.exs - this file is read after our application and dependencies are compiled and therefore it can configure how our application works at runtime. If you want to read system environment variables (via System.get_env/1) or any sort of external configuration, this is the appropriate place to do so

That won’t work.

config/runtime.exs - this file is read after our application and dependencies are compiled and therefore it can configure how our application works at runtime

In your example:
defmodule MyApp.Endpoint do
  plug PlugCanonicalHost, canonical_host: Application.get_env(:my_app, :canonical_host)
end

Application.get_env(:my_app, :canonical_host) is called at compile-time, not at runtime.

@iloveitaly Feel free to reopen this PR if you want to keep discussing it! ✌


[FR] If we detect the component, don't worry about the template

From @schmidt-sebastian:
If we can guess the component, we can let the user off easy about filling in the rest of the template.

Example:
https://github.com/firebase/firebase-js-sdk/issues/356


[WFLY-16387] Test to demonstrate being able to call the platform mbea…

…n server
with RBAC enabled. We need to piggy-back on application security.
Test for https://issues.redhat.com/browse/WFLY-16387. WildFly provides all the functionality, but the user needs to do some setup

@fjuma FYI


Badges!

Since the cookiecutter sets up .travis.yml and codecov, it would be cool if it added the badges to the top of README.md, which will also serve as a reminder to enable those services to get the badges to work.

Moar badges ™

(but yes I completely agree with this suggestion)

Good to add docs and appveyor badges as well.
On that note it might be wise to have a switch for Windows CI or not with appveyor.

I had considered having a "Do you want CI on these OS's" as part of the setup, but I wanted to keep the options minimal, and users can always delete the corresponding files. But if you want to have the options, we can include them!

I think a single option for whether windows CI support (appveyor.yaml and the corresponding badge) should be included is reasonable.

What about for OSX?

I think we can assume we want to use Travis-CI for linux and osx by default.


Reserved storage size in the dashboard isn't useful

Summary
The displayed storage statistics in the Dashboard and Hosts page were incorrect. The calculation was incorrect and has been adapted to how it is done in Longhorn.
Related Issue #
https://github.com/harvester/harvester/issues/6362
Occurred changes and/or fixed issues

Rename Reserved to Allocated.
Adapt the calculation of the values used to populate the gauge components.
Add properties to HardwareResourceGauge to be able to customize the titles.

Technical notes summary
The most important change was the calculation of the total storage which is done based on the formula ((maximum - reserved) * storageOverProvisioningPercentage)) / 100.
Screenshot/Video

@bk201 , do we want to include this fix in v1.3.2 release ? ( I saw the ticket is labelled v1.3.3)

I'm open to this. If we manage to backport this before the release, we can consult the QA to use an external ui source for validation (if there is no 1.3.2-rc3)

Hi @votdev, since v1.3.2 is released. We are good to merge and backport to harvester-release-v1.3 branch.

1.3.2 is out. It looks like this didn't make it. Can we put it in 1.4 now before it passes?


Removed flutter_facebook_auth dependency and its implementation

I've adjusted the version under pubspec.yaml and from the change log as well :)

May I ask what happened here? Was this failing on iOS builds?
In my tests on Android, MissingPluginException only occurred when I explicitly called signInWithFacebook() function without configuration.

@merfire this was removed because when you try to call google auth login you get a "not implemented exception" if facebook auth is not setup.


How to adjust the width and height of scan area (i.e. green bracket) pragmatically

I am trying to modify the size of scannable area.
Please do let me know how it can be done.

While you can modify the camera view and the green bracket if you want to compile the library from source, this won't really work without more complicated changes to how card.io reads and understands the scanned images itself.


Little more update for #502

@mhwelander You just missed to put  as you merged the last changes

💚 !


Update required to use semver in common.json

Hey team,
The zkSync upgrade common.json file has been updated to use semantic versioning for the protocol version (example here).
Previously it would look like:
{
  "name": "boojum",
  "creationTimestamp":<PHONE_NUMBER>,
  "protocolVersion": "18"
}

now it looks like:
{
  "name": "hyperchain-upgrade",
  "creationTimestamp":<PHONE_NUMBER>,
  "protocolVersion": "0.24.1"
}

pnpm validate check currently fails because of this change.

Hi @arose00 ! We are already working on a fix and will let you know as soon as it's ready. Thanks!

Hi @arose00! With fix #31, you should be able to run the check command with the corresponding version number showing. Now the tool interprets the current version as semantic version.
For example, with hyperchain upgrade:
pnpm validate check ../zksync-era/etc/upgrades/1711451944-hyperchain-upgrade --ref=8a70bbbc48125f5bde6189b4e3c6a3ee79631678

Thanks for raising awareness of this issue!


Order track&trace postnl points to incorrect country

Duplicates ❌

[X] I have searched the existing issues

Libraries

[ ] Vitamin Web UI Kit
[ ] Vitamin Android UI Kit
[ ] Vitamin iOS UI Kit
[ ] Vitamin Icons
[ ] Vitamin Assets
[ ] Vitamin Core theme (Light mode)
[ ] Vitamin Core theme (Dark mode)
[ ] Vitamin Base colors palette
[ ] Vitamin Extras kit
[ ] Not related to one Figma library

Current behavior 😯
When ordering something from the webshop, there is a "track my order" button. This opens a new tab to the website of the delivery partner, in this case PostNL, with a URL of the following format:
https://jouw.postnl.nl/track-and-trace/--
The parcel ID and region code were correct, but the country code said "NL", while it should have been "BE". As a result, the track&trace page said "parcel not found". When manually changing the URL to BE, it found the parcel.
Expected behavior 🤔
When a something is ordered to Belgium, the URL to the delivery partner contains "BE" instead of "NL".
Context 🔦
No response
Screenshots / Videos 📸

Hello, sorry but you are there in the Design System repository which is not related to e-commerce.
Can you please contact the belgium support to understand how you can report this bug, please?
Thank you.


implement account choose for the profile page

Found with Mohs
Also, the i button / hitbox is tiny. Recommend making it a bit bigger.

Has this been discussed? I'm not sure exactly what this means.


Use BadRequest as failure reason when we can't get containers

What does this PR do?
Treat failures to extract containers/initContainers from a DevWorkspace as a BadRequest failure, as this will typically be due to an issue in the DevWorkspace itself.
What issues does this PR fix or reference?
Fixes https://github.com/eclipse/che/issues/20751
Note this issue is also fixed by https://github.com/devfile/api/pull/685, which will cause workspace start to fail earlier and with a better message.
Is it tested? How?
N/A
PR Checklist

[ ] E2E tests pass (when PR is ready, comment /test v8-devworkspace-operator-e2e, v8-che-happy-path to trigger)

[ ] v8-devworkspace-operator-e2e: DevWorkspace e2e test
[ ] v8-che-happy-path: Happy path for verification integration with Che

/test v8-devworkspace-operator-e2e


when i op my self on my server

when i op my self on my server when i do any op commands its say  you dont have permission

wrong place


feature support use catalog.db when client connect t…

…o the doris server
Signed-off-by: nextdreamblue<EMAIL_ADDRESS>Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[x] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[x] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.22 seconds
load time: 636 seconds
storage size:<PHONE_NUMBER>0 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221222135709_clickbench_pr_67405.html


Create HR analytics_narendra

HR-Analytics_Employee-Attrition-Analysis-and-Prediction.
I am excited to share that I have completed my first project as a Data Analyst Intern at Technocolabs Softwares. This project involved creating an HR analytics dashboard focused on employee attrition.
🚀 Exciting News from Acme Corporation! 🚀
We're thrilled to share that Acme Corporation is taking a proactive step towards addressing one of our biggest challenges - employee turnover. Our HR department has been increasingly concerned about the rising attrition rates, which can impact team dynamics, project continuity, and overall company morale.
To tackle attrition head-on, we are leveraging the power of data analytics with our new HR Analytics for Attrition Dashboard. This state-of-the-art tool will help us:
🔍 Understand the Factors Influencing Employee Turnover: By analyzing key metrics and trends, we can identify the root causes of attrition and take targeted actions to address them.
📊 Make Data-Driven Decisions: With real-time insights at our fingertips, our HR team can implement strategies that enhance employee satisfaction and retention.
At Acme Corporation, we believe in the power of technology to transform our workplace and create a more resilient, engaged, and motivated team. Stay tuned for more updates as we continue to innovate and lead the way in employee retention strategies! Key Insights:
High Attrition in Sales Roles: Sales Representatives have a notably high attrition rate of 36.4%.
Salary Correlation: Employees with salaries below $5K show a significantly higher attrition rate (22.77%).
Field-specific Trends: Marketing professionals exhibit a higher attrition rate compared to other fields (19.33%).
Actionable Recommendations:
Focus on Sales Retention: Implement targeted retention strategies for sales roles, such as career development opportunities and enhanced compensation packages.
Review Compensation Structures: Evaluate and adjust salary structures to ensure competitive pay, particularly for lower salary brackets.
Field-specific Engagement: Develop tailored engagement programs for marketing and other high-attrition fields to improve retention rates.

Please review the dashboard


numba-dpex and numba are failing to parallelize for range loop in pairwise_distance

Both numba and numba-dpex is failing to parallelize pairwise_distance test case in dpbench. The error message is:

NumbaPerformanceWarning:
The keyword argument 'parallel=True' was specified but no transformation for parallel execution was possible.
To find out why, try turning on parallel diagnostics, see https://numba.readthedocs.io/en/stable/user/parallel.html#diagnostics for help.
File "reproducer.py", line 5:
@numba.njit(parallel=True, fastmath=True)
def pairwise_distance():

A simple reproducer is attached here.
import numba
import numpy as np

@numba.njit(parallel=True, fastmath=True)
def pairwise_distance():

    npoints=2
    dims=3
    X1=np.full((2,3), 1)
    X2=np.full((3,2),1)
    D=np.empty((2,2))

    M = X1.shape[0]
    N = X2.shape[0]
    O = X1.shape[1]
    for i in range(M):
        for j in range(N):
            d=0.0
            for k in range(O):
                tmp = X1[i, k] - X2[j, k]
                d += tmp
            D[i, j] = np.sqrt(d)
    print(D)

The issue is Numba and dpex's preparfor pass do not identify the loop nest as data-parallel. The ParallelAccelerator loop parallelizer in Numba does not have general-purpose dependence analysis or other capabilities to identify parallel regions. The parallelizer is domain-specific and requires users to code using specific identifiers: NumPy calls, NumPy vector expressions, or prange loops.
As such the behavior described in the issue is as expected.


When importing a new schema definition the operations are getting modified to /*

Description
Hi Team,
We have observed that when importing a new schema definition to a created API all the operations are getting modified to /*.
Please note that when using the schema provided in our official documentation[1] with the same steps, this was not reproduced. The difference between the 2 schemas is that the schema attached to the official documentation[1] has object types defined as "Query", "Mutation" and "Subscription". But in the tested schema didn't have it defined with the same names. Because of this reason, it fails adding the correct operations.
We were able to observe the same behaviour in the latest u2 update level-130 as well.
[1]https://apim.docs.wso2.com/en/latest/design/create-api/create-a-graphql-api/#step-2-design-a-graphql-api
Thanks,
Chaveeka
Steps to Reproduce

Create a GraphQL API by Importing GraphQL SDL definition.
Provide GraphQL File.
Provide the API name, context, version and endpoint and create the API.
List the Operations under API Configurations. You will observe all the operations as follows,

Go to Schema Definition and import the updated GraphQL file.

List the Operations You will observe all the operations are modified to /*.

Affected Component
APIM
Version
4.1.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

Fix merged in public branch from https://github.com/wso2/carbon-apimgt/pull/12241


Fix README typos

There are a few typos that need attention.
Markdown syntax:

Outdated information:

For the above, it should be Ruby 2.5.3.

Closed by #16


Sunstone cannot delete non empty clusters

Author Name: Tino Vázquez (Tino Vázquez)
Original Redmine Issue: 1665, https://dev.opennebula.org/issues/1665
Original Date: 2012-11-27

None

Already done


When I open the GUI version this appears

jinja2.exceptions.UndefinedError
jinja2.exceptions.UndefinedError: list object has no element 0
Traceback (most recent call last)
File "/home/david/.local/lib/python3.8/site-packages/flask/app.py", line 1997, in call
return self.wsgi_app(environ, start_response)
File "/home/david/.local/lib/python3.8/site-packages/flask/app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "/home/david/.local/lib/python3.8/site-packages/flask/app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/david/.local/lib/python3.8/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/home/david/.local/lib/python3.8/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/home/david/.local/lib/python3.8/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/david/.local/lib/python3.8/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/david/.local/lib/python3.8/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/home/david/.local/lib/python3.8/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/home/david/.local/lib/python3.8/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functionsrule.endpoint
File "/home/david/Apps/SpotifyMusic/GUI/backend.py", line 34, in index
return render_template(
File "/home/david/.local/lib/python3.8/site-packages/flask/templating.py", line 133, in render_template
return _render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
File "/home/david/.local/lib/python3.8/site-packages/flask/templating.py", line 116, in _render
rv = template.render(context)
File "/home/david/.local/lib/python3.8/site-packages/jinja2/environment.py", line 1090, in render
self.environment.handle_exception()
File "/home/david/.local/lib/python3.8/site-packages/jinja2/environment.py", line 832, in handle_exception
reraise(*rewrite_traceback_stack(source=source))
File "/home/david/.local/lib/python3.8/site-packages/jinja2/_compat.py", line 28, in reraise
raise value.with_traceback(tb)
File "/home/david/Apps/SpotifyMusic/GUI/templates/home.html", line 1, in top-level template code
{% extends 'base.html' %}
File "/home/david/Apps/SpotifyMusic/GUI/templates/base.html", line 98, in top-level template code
{% block body %}
File "/home/david/Apps/SpotifyMusic/GUI/templates/home.html", line 84, in block "body"

File "/home/david/.local/lib/python3.8/site-packages/jinja2/environment.py", line 471, in getattr
return getattr(obj, attribute)
jinja2.exceptions.UndefinedError: list object has no element 0
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.
You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:
dump() shows all variables in the frame
dump(obj) dumps all that's known about the object

Same.


Fix matching on registries to be consistent across various annotations

Codecov Report

Merging #218 into master will decrease coverage by 0.16%.
The diff coverage is 28.57%.

@@            Coverage Diff             @@
##           master     #218      +/-   ##
==========================================
- Coverage   64.89%   64.72%   -0.17%
==========================================
  Files          52       52
  Lines        2199     2203       +4
==========================================
- Hits         1427     1426       -1
- Misses        608      613       +5
  Partials      164      164

Impacted Files
Coverage Δ

pkg/dockercreds/match.go
50% <0%> (-50%)
:arrow_down:

pkg/dockercreds/k8sdockercreds/k8s_keychain.go
71.79% <100%> (-0.71%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5b5178c...6335e8b. Read the comment docs.


Update README.md with good user information and examples

The README is brutally sparse right now and for anyone to realistically use this it needs to contain some good getting started information as well as example screen caps of igniter working with a Rocket.rs application. At minimum it should contain the following:

[x] Clear overview and explanation of what the crate does

[x] Installation and usage instructions (specifically the default configuration and configuration options)

[x] Link to docs.rs to find API docks

[x] Badges from Travis, crates.io, and coveralls

[x] License information

Issue was closed by #23


ds.plots multiple plots in 1 figure

Requesting more than two plots will raise an error:
ds.plot([['x','y'],['x','z']], shape=10, limits=[[-1,1],[-1,1]], f='log10')
plt.show()

ds.plot([['x','y'],['x','z'],['y','z']], shape=10, limits=[[-1,1],[-1,1]], f='log10')
plt.show()

IndexError                                Traceback (most recent call last)
 in ()
2 plt.show()
3
----> 4 ds.plot([['x','y'],['x','z'],['y','z']], shape=10, limits=[[-1,1],[-1,1]], f='log10')
5 plt.show()
/net/gaia/data/users/breddels/python/anaconda3/lib/python3.6/site-packages/vaex/viz/mpl.py in plot(self, x, y, z, what, vwhat, reduce, f, normalize, normalize_axis, vmin, vmax, shape, vshape, limits, grid, colormap, figsize, xlabel, ylabel, aspect, tight_layout, interpolation, show, colorbar, colorbar_label, selection, selection_labels, title, background_color, pre_blend, background_alpha, visual, smooth_pre, smooth_post, wrap, wrap_columns, return_extra, hardcopy)
764             else:
765                 subplot_index = 0
--> 766             extend = np.array(xlimits[subplot_index][-2:]).flatten()
767             #   extend = np.array(xlimits[i]).flatten()
768             logger.debug("plot rgrid: %r", plot_rgrid.shape)
IndexError: list index out of range

This is fixed now

Hi,
Thanks again. I have a minor comment about how the limits argument work if you have multiple subplots, let's say 3 subplots. Then:

limits=[-1,1] # Will set the same x-limits as y-limits (and for each subplot)
limits=[[-1,1],[-2,2],[-3,3]] # Will set the same x-limits as y-limits per subplot, though different for each subplot
limits=None # Automatically computes (different) x- and y-limits for each subplot individually.

Is this how it should work?
I am wondering: wouldn't it be useful to also implement something like this:

limits=[[-1,2],[-2,3]] # NOT WORKING: I want to set xlim and ylim (identical for each subplot)

or else arguments xlimits and ylimits. So this is similar to (1), though just different x- and y-limits, whereas in (1): xlimits=ylimits.
I could already achieve this by setting:

limits=[[[-1,2],[-2,3]],[[-1,2],[-2,3]],[[-1,2],[-2,3]]]  Will set x-limits and y-limits (identical for each subplot)

Though this is not a nice solution (especially for many subplots).